lnd.xprv/input
Conner Fromknecht 6eb7f2800d
input/size: correct NP2WKH and NP2SH input count
This commit corrects a bug in TxWeightEstimator that could result in
underestimations for transactions involving NestedP2WPKH and NestedP2WSH
inputs. The scriptSig data push is now accounted for in a proper size
constant, and the input count is now incremented in both. This would
only be detectable in the event that the number of non-nested inputs and
the total number of inputs straddle the discontinuities in the
CompactSize encoding, e.g. 253, 2^16-1, or 2^32-1.
2020-03-04 08:00:33 -08:00
..
input.go input: add constructor for csv-locked inputs 2019-11-13 10:17:26 +01:00
script_utils_test.go multi: move Input interface and related code 2019-01-31 13:25:33 +01:00
script_utils.go input: update CommitSpendNoDelay to be aware of tweakless commits, add new witness type 2019-09-25 18:25:37 -07:00
signdescriptor_test.go multi: move Input interface and related code 2019-01-31 13:25:33 +01:00
signdescriptor.go input: update SignDescriptor doc to note only segwit is supported 2020-01-06 12:08:14 +01:00
signer.go multi: move Input interface and related code 2019-01-31 13:25:33 +01:00
size.go input/size: correct NP2WKH and NP2SH input count 2020-03-04 08:00:33 -08:00
test_utils.go multi: move Input interface and related code 2019-01-31 13:25:33 +01:00
txout_test.go multi: move Input interface and related code 2019-01-31 13:25:33 +01:00
txout.go multi: move Input interface and related code 2019-01-31 13:25:33 +01:00
witnessgen.go input+sweep: log input witness types instead of CSV/CLTV count 2019-10-23 17:09:31 +02:00