| 791 | } |
| 792 | |
| 793 | std::string EncodePSBT(const PartiallySignedTransaction& psbt) |
| 794 | { |
| 795 | CDataStream ssTx(SER_NETWORK, PROTOCOL_VERSION); |
| 796 | ssTx << psbt; |
| 797 | return EncodeBase64(ssTx); |
| 798 | } |
| 799 | |
| 800 | bool DecodeBase64PSBT(PartiallySignedTransaction& psbt, const std::string& base64_tx, std::string& error) |
| 801 | { |
no test coverage detected