aboutsummaryrefslogtreecommitdiff
path: root/src/node/transaction.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Remove unused TransactionError constantsMarcoFalke2019-02-141-26/+14
|
* Factor out combine / finalize / extract PSBT helpersGlenn Willen2019-02-111-0/+2
| | | | | | Refactor the new CombinePSBT, FinalizePSBT, and FinalizeAndExtractPSBT general-purpose functions out of the combinepsbt and finalizepsbt RPCs, for use in the GUI code.
* Switch away from exceptions in refactored tx codeGlenn Willen2019-02-111-11/+45
| | | | | | | | After refactoring general-purpose PSBT and transaction code out of RPC code, for use in the GUI, it's no longer appropriate to throw exceptions. Instead we now return bools for success, and take an output parameter for an error object. We still use JSONRPCError() for the error objects, since only RPC callers actually care about the error codes.
* Factor BroadcastTransaction out of sendrawtransactionGlenn Willen2019-02-111-0/+79
Factor out a new BroadcastTransaction function, performing the core work of the sendrawtransaction rpc, so that it can be used from the GUI code. Move it from src/rpc/ to src/node/.