MCPcopy Create free account
hub / github.com/DeAI-Artist/Linkis / assertMempool

Function assertMempool

consensus/mempool_test.go:23–25  ·  view source on GitHub ↗

for testing

(txn txNotifier)

Source from the content-addressed store, hash-verified

21
22// for testing
23func assertMempool(txn txNotifier) mempl.Mempool {
24 return txn.(mempl.Mempool)
25}
26
27func TestMempoolNoProgressUntilTxsAvailable(t *testing.T) {
28 config := ResetConfig("consensus_mempool_txs_available_test")

Calls

no outgoing calls

Tested by

no test coverage detected