MCPcopy Create free account
hub / github.com/ElementsProject/elements / EncodePSBT

Function EncodePSBT

src/psbt.cpp:793–798  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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

Callers 3

combinepsbtFunction · 0.85
createpsbtFunction · 0.85
updatepsbtpeginFunction · 0.85

Calls 1

EncodeBase64Function · 0.50

Tested by

no test coverage detected