MCPcopy Create free account
hub / github.com/bitcoin/bitcoin / DecodeBase64PSBT

Function DecodeBase64PSBT

src/psbt.cpp:864–871  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

862}
863
864util::Result<PartiallySignedTransaction> DecodeBase64PSBT(const std::string& base64_tx)
865{
866 auto tx_data = DecodeBase64(base64_tx);
867 if (!tx_data) {
868 return util::Error{Untranslated("invalid base64")};
869 }
870 return DecodeRawPSBT(MakeByteSpan(*tx_data));
871}
872
873util::Result<PartiallySignedTransaction> DecodeRawPSBT(std::span<const std::byte> tx_data)
874{

Callers 10

SignTransactionMethod · 0.85
walletprocesspsbtFunction · 0.85
CheckTimeLockFunction · 0.85
FUZZ_TARGETFunction · 0.85
ProcessPSBTFunction · 0.85
decodepsbtFunction · 0.85
combinepsbtFunction · 0.85
finalizepsbtFunction · 0.85
joinpsbtsFunction · 0.85
analyzepsbtFunction · 0.85

Calls 4

DecodeBase64Function · 0.85
UntranslatedFunction · 0.85
DecodeRawPSBTFunction · 0.85
MakeByteSpanFunction · 0.85

Tested by 2

CheckTimeLockFunction · 0.68
FUZZ_TARGETFunction · 0.68