lbcwallet/wallet/internal/txsizes
Olaoluwa Osuntokun beb3231a03 wallet/txauthor: add ability to sign for nested+normal p2wkh
This commit enabled the wallet to properly spend nested and normal
p2wkh outputs under its control.

For regular p2wkh outputs, spending simply involves presenting the
original pub key, and signature as the witness data.

For nested p2wkh outputs, in addition to the above, the version zero
witness p2wkh witness program is placed in the sigScript in order to
allow clients who are aware of BIP 16 to validate the witness spend.
2018-05-23 19:38:56 -07:00
..
size.go wallet/txauthor: add ability to sign for nested+normal p2wkh 2018-05-23 19:38:56 -07:00
size_test.go Refactor wallet transaction creation code. 2016-03-08 17:42:27 -05:00