Commit graph

9 commits

Author SHA1 Message Date
Olaoluwa Osuntokun
3385fba2f2 psbt: rename psbt.Psbt to psbt.Packet, rename existing constructors 2020-01-15 17:43:16 -08:00
Olaoluwa Osuntokun
014f58c55d psbt: create new utils file, refactor finalizer for consistent code style 2020-01-15 17:42:03 -08:00
Olaoluwa Osuntokun
ea41fc5177 psbt: modify Extract method to return the transaction directly
In this commit, we modify the Extract method to return the transaction directly as in many cases a user will likely want to write the transaction to disk, or perform additional validation rather than obtain the raw bytes directly.
2020-01-15 17:41:17 -08:00
Olaoluwa Osuntokun
0cda523b34
psbt: remove Creator struct, create New function as entry point into package
The creator struct really didn't do anything before, as a result in this
commit we move to get rid of it, and create a `New` method as
customarily used in go packages.
2020-01-15 17:40:24 -08:00
Olaoluwa Osuntokun
3aff531d68 psbt: move bip32 structs into new file 2020-01-15 17:39:15 -08:00
Olaoluwa Osuntokun
2643fb1a75 psbt: move output into new file 2020-01-15 17:36:48 -08:00
Olaoluwa Osuntokun
62e680c41c psbt: move input into new file 2020-01-15 17:36:21 -08:00
Olaoluwa Osuntokun
112dd55802 psbt: move PSBT keys/type into new file 2020-01-15 17:35:45 -08:00
Adam Gibson
e17c9730c4 PSBT BIP 174 implementation (#126)
Implements: PSBT struct, roles: creator, updater, signer, extractor.
Passing test vectors.
2019-12-19 15:20:22 -03:00