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

Function CountPSBTUnsignedInputs

src/psbt.cpp:586–595  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

584}
585
586size_t CountPSBTUnsignedInputs(const PartiallySignedTransaction& psbt) {
587 size_t count = 0;
588 for (const auto& input : psbt.inputs) {
589 if (!PSBTInputSigned(input)) {
590 count++;
591 }
592 }
593
594 return count;
595}
596
597void UpdatePSBTOutput(const SigningProvider& provider, PartiallySignedTransaction& psbt, int index)
598{

Callers 2

FUZZ_TARGET_INITFunction · 0.85
renderTransactionMethod · 0.85

Calls 1

PSBTInputSignedFunction · 0.85

Tested by 1

FUZZ_TARGET_INITFunction · 0.68