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

Function EXCLUSIVE_LOCKS_REQUIRED

src/test/miner_tests.cpp:78–84  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

76 {8, 254702874}, {0, 455592851}};
77
78static CBlockIndex CreateBlockIndex(int nHeight, CBlockIndex* active_chain_tip) EXCLUSIVE_LOCKS_REQUIRED(cs_main)
79{
80 CBlockIndex index;
81 index.nHeight = nHeight;
82 index.pprev = active_chain_tip;
83 return index;
84}
85
86// Test suite for ancestor feerate transaction selection.
87// Implemented as an additional function, rather than a separate test case,

Callers 2

mempool_tests.cppFile · 0.70
operator==Method · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected