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

Function CountPSBTUnsignedInputs

src/psbt.cpp:591–600  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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

Callers 2

FUZZ_TARGETFunction · 0.85
renderTransactionMethod · 0.85

Calls 1

PSBTInputSignedFunction · 0.85

Tested by 1

FUZZ_TARGETFunction · 0.68