lbcwallet/votingpool/test_coverage.txt
2018-05-23 19:38:56 -07:00

142 lines
12 KiB
Text

github.com/roasbeef/btcwallet/votingpool/db.go serializeSeriesRow 100.00% (31/31)
github.com/roasbeef/btcwallet/votingpool/pool.go branchOrder 100.00% (19/19)
github.com/roasbeef/btcwallet/votingpool/withdrawal.go withdrawal.splitLastOutput 100.00% (16/16)
github.com/roasbeef/btcwallet/votingpool/pool.go convertAndValidatePubKeys 100.00% (16/16)
github.com/roasbeef/btcwallet/votingpool/input_selection.go byAddress.Less 100.00% (12/12)
github.com/roasbeef/btcwallet/votingpool/withdrawal.go withdrawal.maybeDropRequests 100.00% (12/12)
github.com/roasbeef/btcwallet/votingpool/withdrawal.go withdrawalTx.rollBackLastOutput 100.00% (10/10)
github.com/roasbeef/btcwallet/votingpool/withdrawal.go calculateSize 100.00% (10/10)
github.com/roasbeef/btcwallet/votingpool/pool.go Pool.decryptExtendedKey 100.00% (10/10)
github.com/roasbeef/btcwallet/votingpool/withdrawal.go OutputRequest.outBailmentIDHash 100.00% (8/8)
github.com/roasbeef/btcwallet/votingpool/pool.go Pool.ReplaceSeries 100.00% (8/8)
github.com/roasbeef/btcwallet/votingpool/withdrawal.go withdrawalTx.toMsgTx 100.00% (8/8)
github.com/roasbeef/btcwallet/votingpool/pool.go Pool.CreateSeries 100.00% (8/8)
github.com/roasbeef/btcwallet/votingpool/withdrawal.go withdrawalTx.addChange 100.00% (7/7)
github.com/roasbeef/btcwallet/votingpool/db.go putPool 100.00% (5/5)
github.com/roasbeef/btcwallet/votingpool/pool.go Create 100.00% (5/5)
github.com/roasbeef/btcwallet/votingpool/withdrawal.go newWithdrawalTx 100.00% (5/5)
github.com/roasbeef/btcwallet/votingpool/db.go getUsedAddrHash 100.00% (4/4)
github.com/roasbeef/btcwallet/votingpool/pool.go CanonicalKeyOrder 100.00% (4/4)
github.com/roasbeef/btcwallet/votingpool/pool.go SeriesData.IsEmpowered 100.00% (4/4)
github.com/roasbeef/btcwallet/votingpool/pool.go Pool.DepositScriptAddress 100.00% (4/4)
github.com/roasbeef/btcwallet/votingpool/withdrawal.go getRedeemScript 100.00% (4/4)
github.com/roasbeef/btcwallet/votingpool/withdrawal.go newWithdrawal 100.00% (4/4)
github.com/roasbeef/btcwallet/votingpool/db.go @102:3 100.00% (4/4)
github.com/roasbeef/btcwallet/votingpool/withdrawal.go withdrawalTx.removeInput 100.00% (4/4)
github.com/roasbeef/btcwallet/votingpool/withdrawal.go withdrawalTx.removeOutput 100.00% (4/4)
github.com/roasbeef/btcwallet/votingpool/pool.go Pool.GetSeries 100.00% (4/4)
github.com/roasbeef/btcwallet/votingpool/pool.go @119:3 100.00% (4/4)
github.com/roasbeef/btcwallet/votingpool/withdrawal.go withdrawalTx.outputTotal 100.00% (3/3)
github.com/roasbeef/btcwallet/votingpool/withdrawal.go withdrawalTx.inputTotal 100.00% (3/3)
github.com/roasbeef/btcwallet/votingpool/pool.go Pool.highestUsedIndexFor 100.00% (3/3)
github.com/roasbeef/btcwallet/votingpool/withdrawal.go withdrawal.popRequest 100.00% (3/3)
github.com/roasbeef/btcwallet/votingpool/pool.go @458:26 100.00% (3/3)
github.com/roasbeef/btcwallet/votingpool/db.go uint32ToBytes 100.00% (3/3)
github.com/roasbeef/btcwallet/votingpool/pool.go @811:3 100.00% (3/3)
github.com/roasbeef/btcwallet/votingpool/withdrawal.go withdrawal.popInput 100.00% (3/3)
github.com/roasbeef/btcwallet/votingpool/withdrawal.go withdrawal.updateStatusFor 100.00% (3/3)
github.com/roasbeef/btcwallet/votingpool/withdrawal.go withdrawalTx.addInput 100.00% (2/2)
github.com/roasbeef/btcwallet/votingpool/withdrawal.go withdrawalTx.addOutput 100.00% (2/2)
github.com/roasbeef/btcwallet/votingpool/db.go putSeries 100.00% (2/2)
github.com/roasbeef/btcwallet/votingpool/withdrawal.go Ntxid 100.00% (2/2)
github.com/roasbeef/btcwallet/votingpool/pool.go Pool.addressFor 100.00% (2/2)
github.com/roasbeef/btcwallet/votingpool/pool.go zero 100.00% (2/2)
github.com/roasbeef/btcwallet/votingpool/pool.go @780:3 100.00% (2/2)
github.com/roasbeef/btcwallet/votingpool/db.go existsPool 100.00% (2/2)
github.com/roasbeef/btcwallet/votingpool/db.go getUsedAddrBucketID 100.00% (1/1)
github.com/roasbeef/btcwallet/votingpool/db.go bytesToUint32 100.00% (1/1)
github.com/roasbeef/btcwallet/votingpool/error.go newError 100.00% (1/1)
github.com/roasbeef/btcwallet/votingpool/input_selection.go newCredit 100.00% (1/1)
github.com/roasbeef/btcwallet/votingpool/input_selection.go credit.TxSha 100.00% (1/1)
github.com/roasbeef/btcwallet/votingpool/input_selection.go credit.OutputIndex 100.00% (1/1)
github.com/roasbeef/btcwallet/votingpool/input_selection.go credit.Address 100.00% (1/1)
github.com/roasbeef/btcwallet/votingpool/input_selection.go byAddress.Len 100.00% (1/1)
github.com/roasbeef/btcwallet/votingpool/input_selection.go byAddress.Swap 100.00% (1/1)
github.com/roasbeef/btcwallet/votingpool/input_selection.go Pool.isCharterOutput 100.00% (1/1)
github.com/roasbeef/btcwallet/votingpool/log.go init 100.00% (1/1)
github.com/roasbeef/btcwallet/votingpool/log.go DisableLog 100.00% (1/1)
github.com/roasbeef/btcwallet/votingpool/log.go UseLogger 100.00% (1/1)
github.com/roasbeef/btcwallet/votingpool/pool.go @105:3 100.00% (1/1)
github.com/roasbeef/btcwallet/votingpool/pool.go newPool 100.00% (1/1)
github.com/roasbeef/btcwallet/votingpool/pool.go Pool.Manager 100.00% (1/1)
github.com/roasbeef/btcwallet/votingpool/pool.go @250:27 100.00% (1/1)
github.com/roasbeef/btcwallet/votingpool/pool.go @761:3 100.00% (1/1)
github.com/roasbeef/btcwallet/votingpool/pool.go poolAddress.Addr 100.00% (1/1)
github.com/roasbeef/btcwallet/votingpool/pool.go poolAddress.AddrIdentifier 100.00% (1/1)
github.com/roasbeef/btcwallet/votingpool/pool.go poolAddress.RedeemScript 100.00% (1/1)
github.com/roasbeef/btcwallet/votingpool/pool.go poolAddress.Series 100.00% (1/1)
github.com/roasbeef/btcwallet/votingpool/pool.go poolAddress.SeriesID 100.00% (1/1)
github.com/roasbeef/btcwallet/votingpool/pool.go poolAddress.Branch 100.00% (1/1)
github.com/roasbeef/btcwallet/votingpool/pool.go poolAddress.Index 100.00% (1/1)
github.com/roasbeef/btcwallet/votingpool/withdrawal.go byAmount.Len 100.00% (1/1)
github.com/roasbeef/btcwallet/votingpool/withdrawal.go byAmount.Less 100.00% (1/1)
github.com/roasbeef/btcwallet/votingpool/withdrawal.go byAmount.Swap 100.00% (1/1)
github.com/roasbeef/btcwallet/votingpool/withdrawal.go byOutBailmentID.Len 100.00% (1/1)
github.com/roasbeef/btcwallet/votingpool/withdrawal.go byOutBailmentID.Swap 100.00% (1/1)
github.com/roasbeef/btcwallet/votingpool/withdrawal.go byOutBailmentID.Less 100.00% (1/1)
github.com/roasbeef/btcwallet/votingpool/withdrawal.go WithdrawalStatus.Outputs 100.00% (1/1)
github.com/roasbeef/btcwallet/votingpool/withdrawal.go OutputRequest.String 100.00% (1/1)
github.com/roasbeef/btcwallet/votingpool/withdrawal.go OutputRequest.outBailmentID 100.00% (1/1)
github.com/roasbeef/btcwallet/votingpool/withdrawal.go WithdrawalOutput.addOutpoint 100.00% (1/1)
github.com/roasbeef/btcwallet/votingpool/withdrawal.go WithdrawalOutput.Status 100.00% (1/1)
github.com/roasbeef/btcwallet/votingpool/withdrawal.go WithdrawalOutput.Address 100.00% (1/1)
github.com/roasbeef/btcwallet/votingpool/withdrawal.go WithdrawalOutput.Outpoints 100.00% (1/1)
github.com/roasbeef/btcwallet/votingpool/withdrawal.go OutBailmentOutpoint.Amount 100.00% (1/1)
github.com/roasbeef/btcwallet/votingpool/withdrawal.go withdrawalTxOut.pkScript 100.00% (1/1)
github.com/roasbeef/btcwallet/votingpool/withdrawal.go @237:20 100.00% (1/1)
github.com/roasbeef/btcwallet/votingpool/withdrawal.go @240:16 100.00% (1/1)
github.com/roasbeef/btcwallet/votingpool/withdrawal.go withdrawalTx.hasChange 100.00% (1/1)
github.com/roasbeef/btcwallet/votingpool/withdrawal.go withdrawal.pushRequest 100.00% (1/1)
github.com/roasbeef/btcwallet/votingpool/withdrawal.go withdrawal.pushInput 100.00% (1/1)
github.com/roasbeef/btcwallet/votingpool/withdrawal.go @246:21 100.00% (1/1)
github.com/roasbeef/btcwallet/votingpool/pool.go Pool.EmpowerSeries 96.30% (26/27)
github.com/roasbeef/btcwallet/votingpool/db.go deserializeSeriesRow 94.59% (35/37)
github.com/roasbeef/btcwallet/votingpool/withdrawal.go withdrawal.fulfillNextRequest 94.44% (17/18)
github.com/roasbeef/btcwallet/votingpool/pool.go Pool.putSeries 93.75% (15/16)
github.com/roasbeef/btcwallet/votingpool/pool.go validateAndDecryptKeys 92.31% (24/26)
github.com/roasbeef/btcwallet/votingpool/withdrawal.go getRawSigs 91.43% (32/35)
github.com/roasbeef/btcwallet/votingpool/input_selection.go nextAddr 90.48% (19/21)
github.com/roasbeef/btcwallet/votingpool/withdrawal.go withdrawal.fulfillRequests 87.50% (14/16)
github.com/roasbeef/btcwallet/votingpool/db.go getMaxUsedIdx 87.50% (7/8)
github.com/roasbeef/btcwallet/votingpool/input_selection.go Pool.getEligibleInputs 85.71% (30/35)
github.com/roasbeef/btcwallet/votingpool/input_selection.go Pool.isCreditEligible 85.71% (6/7)
github.com/roasbeef/btcwallet/votingpool/pool.go Load 85.71% (6/7)
github.com/roasbeef/btcwallet/votingpool/withdrawal.go signMultiSigUTXO 85.19% (23/27)
github.com/roasbeef/btcwallet/votingpool/input_selection.go groupCreditsByAddr 83.33% (10/12)
github.com/roasbeef/btcwallet/votingpool/db.go loadAllSeries 83.33% (5/6)
github.com/roasbeef/btcwallet/votingpool/input_selection.go Pool.highestUsedSeriesIndex 81.82% (9/11)
github.com/roasbeef/btcwallet/votingpool/withdrawal.go withdrawal.handleOversizeTx 80.00% (12/15)
github.com/roasbeef/btcwallet/votingpool/pool.go Pool.LoadAllSeries 80.00% (8/10)
github.com/roasbeef/btcwallet/votingpool/pool.go LoadAndCreateSeries 80.00% (8/10)
github.com/roasbeef/btcwallet/votingpool/pool.go LoadAndEmpowerSeries 80.00% (4/5)
github.com/roasbeef/btcwallet/votingpool/pool.go LoadAndReplaceSeries 80.00% (4/5)
github.com/roasbeef/btcwallet/votingpool/withdrawal.go withdrawal.finalizeCurrentTx 79.31% (23/29)
github.com/roasbeef/btcwallet/votingpool/pool.go Pool.ChangeAddress 76.92% (10/13)
github.com/roasbeef/btcwallet/votingpool/pool.go Pool.WithdrawalAddress 76.92% (10/13)
github.com/roasbeef/btcwallet/votingpool/pool.go Pool.getUsedAddr 76.47% (13/17)
github.com/roasbeef/btcwallet/votingpool/withdrawal.go Pool.StartWithdrawal 75.00% (12/16)
github.com/roasbeef/btcwallet/votingpool/pool.go Pool.ensureUsedAddr 75.00% (9/12)
github.com/roasbeef/btcwallet/votingpool/withdrawal.go validateSigScript 75.00% (6/8)
github.com/roasbeef/btcwallet/votingpool/pool.go LoadAndGetDepositScript 75.00% (6/8)
github.com/roasbeef/btcwallet/votingpool/withdrawal.go getTxOutIndex 75.00% (3/4)
github.com/roasbeef/btcwallet/votingpool/pool.go Pool.poolAddress 75.00% (3/4)
github.com/roasbeef/btcwallet/votingpool/db.go putUsedAddrHash 75.00% (3/4)
github.com/roasbeef/btcwallet/votingpool/pool.go SeriesData.getPrivKeyFor 75.00% (3/4)
github.com/roasbeef/btcwallet/votingpool/pool.go Pool.DepositScript 73.08% (19/26)
github.com/roasbeef/btcwallet/votingpool/db.go @132:3 71.43% (5/7)
github.com/roasbeef/btcwallet/votingpool/withdrawal.go nextChangeAddr 71.43% (5/7)
github.com/roasbeef/btcwallet/votingpool/withdrawal.go storeTransactions 70.59% (12/17)
github.com/roasbeef/btcwallet/votingpool/pool.go Pool.saveSeriesToDisk 70.00% (14/20)
github.com/roasbeef/btcwallet/votingpool/pool.go Pool.addUsedAddr 69.23% (9/13)
github.com/roasbeef/btcwallet/votingpool/error.go ErrorCode.String 66.67% (2/3)
github.com/roasbeef/btcwallet/votingpool/withdrawal.go SignTx 62.50% (5/8)
github.com/roasbeef/btcwallet/votingpool/db.go putSeriesRow 53.85% (7/13)
github.com/roasbeef/btcwallet/votingpool/withdrawal.go nBytesToSerialize 40.00% (2/5)
github.com/roasbeef/btcwallet/votingpool/error.go Error.Error 0.00% (0/3)
github.com/roasbeef/btcwallet/votingpool/withdrawal.go WithdrawalOutput.String 0.00% (0/1)
github.com/roasbeef/btcwallet/votingpool/input_selection.go credit.String 0.00% (0/1)
github.com/roasbeef/btcwallet/votingpool/withdrawal.go withdrawalTxOut.String 0.00% (0/1)
github.com/roasbeef/btcwallet/votingpool/pool.go poolAddress.String 0.00% (0/1)
github.com/roasbeef/btcwallet/votingpool ------------------------------- 87.49% (818/935)