elements/src/script
Wladimir J. van der Laan d5b929c813
Merge #13932: Additional utility RPCs for PSBT
540729ef4b Implement analyzepsbt RPC and tests (Andrew Chow)
77542cf2a5 Move PSBT UTXO fetching to a separate method (Andrew Chow)
cb40b3abd4 Figure out what is missing during signing (Andrew Chow)
08f749c914 Implement joinpsbts RPC and tests (Andrew Chow)
7344a7b998 Implement utxoupdatepsbt RPC and tests (Andrew Chow)

Pull request description:

  This PR adds 3 new utility RPCs for interacting with PSBTs.

  `utxoupdatepsbt` updates a PSBT with UTXO information from the node. It only works with witness UTXOs because full transactions (as would be needed for non-witness UTXOs) are not available unless txindex is enabled.

  `joinpsbts` joins the inputs from multiple distinct PSBTs into one PSBT. e.g. if PSBT 1 has inputs 1 and 2, and PSBT 2 has inputs 3 and 4, `joinpsbts` would create a new PSBT with inputs 1, 2, 3, and 4.

  `analyzepsbt` analyzes a PSBT and determines the current state of it and all of its inputs, and the next step that needs to be done.

Tree-SHA512: 3c1fa302201abca76a8901d0c2be7b4ccbce334d989533c215f8b3e50e22f2f018ce6209544b26789f58f5980a253c0655111e1e20d47d5656e0414c64891a5c
2019-02-16 20:45:03 +01:00
..
bitcoinconsensus.cpp Drop unused GetType() from CSizeComputer 2018-09-11 00:58:05 -04:00
bitcoinconsensus.h Update copyright headers to 2018 2018-07-27 07:15:02 -04:00
descriptor.cpp Add WriteHDKeypath function and move *HDKeypath to util/bip32.{h,cpp} 2019-02-14 14:00:28 -05:00
descriptor.h Add descriptor expansion cache 2018-11-28 15:24:49 -08:00
interpreter.cpp Merge #13780: 0.17: Pre-branch maintenance 2018-08-08 13:55:27 +02:00
interpreter.h Update copyright headers to 2018 2018-07-27 07:15:02 -04:00
ismine.cpp doxygen: Fix member comments 2018-09-26 15:42:21 -04:00
ismine.h Update copyright headers to 2018 2018-07-27 07:15:02 -04:00
script.cpp scripted-diff: Move util files to separate directory. 2018-11-04 22:46:07 -08:00
script.h Avoid using numeric_limits for sequence numbers and lock times 2018-11-01 12:55:39 -04:00
script_error.cpp Update copyright headers to 2018 2018-07-27 07:15:02 -04:00
script_error.h Update copyright headers to 2018 2018-07-27 07:15:02 -04:00
sigcache.cpp scripted-diff: Move util files to separate directory. 2018-11-04 22:46:07 -08:00
sigcache.h Update copyright headers to 2018 2018-07-27 07:15:02 -04:00
sign.cpp Figure out what is missing during signing 2019-02-16 00:04:27 -05:00
sign.h Merge #13932: Additional utility RPCs for PSBT 2019-02-16 20:45:03 +01:00
standard.cpp scripted-diff: Move util files to separate directory. 2018-11-04 22:46:07 -08:00
standard.h Merge #13429: Return the script type from Solver 2018-08-25 17:41:00 +02:00