MCPcopy Create free account
hub / github.com/BTCGPU/BTCGPU / findSighashFlags

Function findSighashFlags

src/bitcoin-tx.cpp:523–535  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

521};
522
523static bool findSighashFlags(int& flags, const std::string& flagStr)
524{
525 flags = 0;
526
527 for (unsigned int i = 0; i < N_SIGHASH_OPTS; i++) {
528 if (flagStr == sighashOptions[i].flagStr) {
529 flags = sighashOptions[i].flags;
530 return true;
531 }
532 }
533
534 return false;
535}
536
537static CAmount AmountFromValue(const UniValue& value)
538{

Callers 1

MutateTxSignFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected