aboutsummaryrefslogtreecommitdiff
path: root/src/httpserver.cpp
diff options
context:
space:
mode:
authorAndrew Chow <[email protected]>2018-06-28 19:04:40 -0700
committerAndrew Chow <[email protected]>2018-07-16 16:08:24 -0700
commitc27fe419efb3b6588c400d764122ffb33375e028 (patch)
tree710267c171e804f20286191f1495c66ca59683cf /src/httpserver.cpp
parentSignPSBTInput wrapper function (diff)
downloaddiscoin-c27fe419efb3b6588c400d764122ffb33375e028.tar.xz
discoin-c27fe419efb3b6588c400d764122ffb33375e028.zip
Create utility RPCs for PSBT
decodepsbt takes a PSBT and decodes it to JSON combinepsbt takes multiple PSBTs for the same tx and combines them. finalizepsbt takes a PSBT and finalizes the inputs. If all inputs are final, it extracts the network serialized transaction and returns that instead of a PSBT unless instructed otherwise. createpsbt is like createrawtransaction but for PSBTs instead of raw transactions. convertpsbt takes a network serialized transaction and converts it into a psbt. The resulting psbt will lose all signature data and an explicit flag must be set to allow transactions with signature data to be converted.
Diffstat (limited to 'src/httpserver.cpp')
0 files changed, 0 insertions, 0 deletions