lbcwallet/votingpool/test_coverage.txt

93 lines
8 KiB
Text
Raw Normal View History

github.com/conformal/btcwallet/votingpool/db.go serializeSeriesRow 100.00% (29/29)
github.com/conformal/btcwallet/votingpool/pool.go branchOrder 100.00% (19/19)
github.com/conformal/btcwallet/votingpool/pool.go convertAndValidatePubKeys 100.00% (16/16)
github.com/conformal/btcwallet/votingpool/input_selection.go Credits.Less 100.00% (12/12)
github.com/conformal/btcwallet/votingpool/pool.go Pool.decryptExtendedKey 100.00% (10/10)
github.com/conformal/btcwallet/votingpool/pool.go Pool.ReplaceSeries 100.00% (8/8)
github.com/conformal/btcwallet/votingpool/input_selection.go AddressRange.NumAddresses 100.00% (7/7)
github.com/conformal/btcwallet/votingpool/pool.go Create 100.00% (5/5)
github.com/conformal/btcwallet/votingpool/db.go putPool 100.00% (5/5)
github.com/conformal/btcwallet/votingpool/pool.go Pool.DepositScriptAddress 100.00% (5/5)
github.com/conformal/btcwallet/votingpool/withdrawal.go currentTx.addTxIn 100.00% (4/4)
github.com/conformal/btcwallet/votingpool/withdrawal.go currentTx.addTxOut 100.00% (4/4)
github.com/conformal/btcwallet/votingpool/pool.go CanonicalKeyOrder 100.00% (4/4)
github.com/conformal/btcwallet/votingpool/pool.go @81:3 100.00% (4/4)
github.com/conformal/btcwallet/votingpool/pool.go Pool.GetSeries 100.00% (4/4)
github.com/conformal/btcwallet/votingpool/pool.go seriesData.IsEmpowered 100.00% (4/4)
github.com/conformal/btcwallet/votingpool/pool.go Pool.CreateSeries 100.00% (4/4)
github.com/conformal/btcwallet/votingpool/pool.go Pool.existsSeries 100.00% (3/3)
github.com/conformal/btcwallet/votingpool/db.go uint32ToBytes 100.00% (3/3)
github.com/conformal/btcwallet/votingpool/pool.go @398:27 100.00% (3/3)
github.com/conformal/btcwallet/votingpool/pool.go zero 100.00% (2/2)
github.com/conformal/btcwallet/votingpool/db.go putSeries 100.00% (2/2)
github.com/conformal/btcwallet/votingpool/db.go existsPool 100.00% (2/2)
github.com/conformal/btcwallet/votingpool/withdrawal.go Ntxid 100.00% (2/2)
github.com/conformal/btcwallet/votingpool/withdrawal.go NewOutputRequest 100.00% (1/1)
github.com/conformal/btcwallet/votingpool/withdrawal.go votingPoolAddress.Index 100.00% (1/1)
github.com/conformal/btcwallet/votingpool/withdrawal.go init 100.00% (1/1)
github.com/conformal/btcwallet/votingpool/withdrawal.go estimateSize 100.00% (1/1)
github.com/conformal/btcwallet/votingpool/withdrawal.go calculateFee 100.00% (1/1)
github.com/conformal/btcwallet/votingpool/db.go bytesToUint32 100.00% (1/1)
github.com/conformal/btcwallet/votingpool/withdrawal.go currentTx.isTooBig 100.00% (1/1)
github.com/conformal/btcwallet/votingpool/error.go newError 100.00% (1/1)
github.com/conformal/btcwallet/votingpool/input_selection.go Credit.TxSha 100.00% (1/1)
github.com/conformal/btcwallet/votingpool/input_selection.go Credit.OutputIndex 100.00% (1/1)
github.com/conformal/btcwallet/votingpool/input_selection.go Credit.Address 100.00% (1/1)
github.com/conformal/btcwallet/votingpool/input_selection.go newCredit 100.00% (1/1)
github.com/conformal/btcwallet/votingpool/input_selection.go Credits.Len 100.00% (1/1)
github.com/conformal/btcwallet/votingpool/input_selection.go Credits.Swap 100.00% (1/1)
github.com/conformal/btcwallet/votingpool/withdrawal.go WithdrawalOutput.Outpoints 100.00% (1/1)
github.com/conformal/btcwallet/votingpool/withdrawal.go WithdrawalOutput.Address 100.00% (1/1)
github.com/conformal/btcwallet/votingpool/input_selection.go Pool.isCharterOutput 100.00% (1/1)
github.com/conformal/btcwallet/votingpool/pool.go @67:3 100.00% (1/1)
github.com/conformal/btcwallet/votingpool/pool.go newPool 100.00% (1/1)
github.com/conformal/btcwallet/votingpool/withdrawal.go WithdrawalOutput.Status 100.00% (1/1)
github.com/conformal/btcwallet/votingpool/withdrawal.go WithdrawalOutput.addOutpoint 100.00% (1/1)
github.com/conformal/btcwallet/votingpool/withdrawal.go WithdrawalStatus.Outputs 100.00% (1/1)
github.com/conformal/btcwallet/votingpool/withdrawal.go WithdrawalOutput.Amount 100.00% (1/1)
github.com/conformal/btcwallet/votingpool/withdrawal.go ChangeAddress.Next 100.00% (1/1)
github.com/conformal/btcwallet/votingpool/pool.go @205:28 100.00% (1/1)
github.com/conformal/btcwallet/votingpool/withdrawal.go votingPoolAddress.Addr 100.00% (1/1)
github.com/conformal/btcwallet/votingpool/withdrawal.go votingPoolAddress.SeriesID 100.00% (1/1)
github.com/conformal/btcwallet/votingpool/pool.go managerError 100.00% (1/1)
github.com/conformal/btcwallet/votingpool/withdrawal.go votingPoolAddress.Branch 100.00% (1/1)
github.com/conformal/btcwallet/votingpool/pool.go Pool.EmpowerSeries 96.43% (27/28)
github.com/conformal/btcwallet/votingpool/db.go deserializeSeriesRow 94.87% (37/39)
github.com/conformal/btcwallet/votingpool/pool.go Pool.putSeries 93.75% (15/16)
github.com/conformal/btcwallet/votingpool/pool.go validateAndDecryptKeys 92.31% (24/26)
github.com/conformal/btcwallet/votingpool/input_selection.go Pool.getEligibleInputsFromSeries 86.36% (19/22)
github.com/conformal/btcwallet/votingpool/input_selection.go Pool.getEligibleInputs 85.71% (6/7)
github.com/conformal/btcwallet/votingpool/pool.go Load 85.71% (6/7)
github.com/conformal/btcwallet/votingpool/input_selection.go Pool.isCreditEligible 85.71% (6/7)
github.com/conformal/btcwallet/votingpool/withdrawal.go withdrawal.finalizeCurrentTx 84.21% (16/19)
github.com/conformal/btcwallet/votingpool/input_selection.go groupCreditsByAddr 83.33% (10/12)
github.com/conformal/btcwallet/votingpool/db.go loadAllSeries 83.33% (5/6)
github.com/conformal/btcwallet/votingpool/withdrawal.go Pool.ChangeAddress 83.33% (5/6)
github.com/conformal/btcwallet/votingpool/pool.go LoadAndCreateSeries 80.00% (8/10)
github.com/conformal/btcwallet/votingpool/pool.go Pool.LoadAllSeries 80.00% (8/10)
github.com/conformal/btcwallet/votingpool/pool.go LoadAndEmpowerSeries 80.00% (4/5)
github.com/conformal/btcwallet/votingpool/pool.go LoadAndReplaceSeries 80.00% (4/5)
github.com/conformal/btcwallet/votingpool/withdrawal.go Pool.WithdrawalAddress 80.00% (4/5)
github.com/conformal/btcwallet/votingpool/withdrawal.go withdrawal.sign 75.76% (25/33)
github.com/conformal/btcwallet/votingpool/pool.go LoadAndGetDepositScript 75.00% (6/8)
github.com/conformal/btcwallet/votingpool/withdrawal.go OutputRequest.pkScript 75.00% (3/4)
github.com/conformal/btcwallet/votingpool/pool.go Pool.DepositScript 73.08% (19/26)
github.com/conformal/btcwallet/votingpool/withdrawal.go ValidateSigScripts 72.73% (8/11)
github.com/conformal/btcwallet/votingpool/withdrawal.go withdrawal.fulfilNextOutput 72.41% (21/29)
github.com/conformal/btcwallet/votingpool/withdrawal.go SignMultiSigUTXO 71.43% (15/21)
github.com/conformal/btcwallet/votingpool/db.go @77:3 71.43% (5/7)
github.com/conformal/btcwallet/votingpool/withdrawal.go getRedeemScript 71.43% (5/7)
github.com/conformal/btcwallet/votingpool/pool.go Pool.saveSeriesToDisk 70.00% (14/20)
github.com/conformal/btcwallet/votingpool/withdrawal.go withdrawal.fulfilOutputs 70.00% (7/10)
github.com/conformal/btcwallet/votingpool/withdrawal.go getPrivKey 70.00% (7/10)
github.com/conformal/btcwallet/votingpool/withdrawal.go Pool.Withdrawal 66.67% (12/18)
github.com/conformal/btcwallet/votingpool/pool.go @426:3 66.67% (4/6)
github.com/conformal/btcwallet/votingpool/error.go ErrorCode.String 66.67% (2/3)
github.com/conformal/btcwallet/votingpool/db.go putSeriesRow 53.85% (7/13)
github.com/conformal/btcwallet/votingpool/error.go Error.Error 0.00% (0/3)
github.com/conformal/btcwallet/votingpool/withdrawal.go withdrawal.updateStatusFor 0.00% (0/0)
github.com/conformal/btcwallet/votingpool/withdrawal.go currentTx.rollBackLastOutput 0.00% (0/0)
github.com/conformal/btcwallet/votingpool -------------------------------- 85.36% (554/649)