MCPcopy Create free account
hub / github.com/CPChain/chain / TestTransactionJournaling

Function TestTransactionJournaling

core/tx_pool_test.go:1575–1575  ·  view source on GitHub ↗

Tests that local transactions are journaled to disk, but remote transactions get discarded between restarts.

(t *testing.T)

Source from the content-addressed store, hash-verified

1573// Tests that local transactions are journaled to disk, but remote transactions
1574// get discarded between restarts.
1575func TestTransactionJournaling(t *testing.T) { testTransactionJournaling(t, false) }
1576func TestTransactionJournalingNoLocals(t *testing.T) { testTransactionJournaling(t, true) }
1577
1578func testTransactionJournaling(t *testing.T, nolocals bool) {

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected