MCPcopy Create free account
hub / github.com/BitcoinUnlimited/BitcoinUnlimited / GetMemPoolScriptFlags

Function GetMemPoolScriptFlags

src/validation/validation.cpp:2171–2177  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2169}
2170
2171uint32_t GetMemPoolScriptFlags(const Consensus::Params &params, const CBlockIndex *pindex, uint32_t *nextBlockFlags)
2172{
2173 const uint32_t flags = GetBlockScriptFlags(pindex, params);
2174 if (nextBlockFlags)
2175 *nextBlockFlags = flags;
2176 return flags | STANDARD_SCRIPT_VERIFY_FLAGS;
2177}
2178
2179/**
2180 * Restore the UTXO in a Coin at a given COutPoint

Callers 6

getreceivedbyaccountFunction · 0.85
ListReceivedFunction · 0.85
listunspentFunction · 0.85
MineTransactionsFunction · 0.85
CreateAndSignTxFunction · 0.85
signrawtransactionFunction · 0.85

Calls 1

GetBlockScriptFlagsFunction · 0.85

Tested by 2

MineTransactionsFunction · 0.68
CreateAndSignTxFunction · 0.68