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

Method Reset

database/interface.go:38–38  ·  view source on GitHub ↗

Reset resets the batch for reuse

()

Source from the content-addressed store, hash-verified

36 Write() error
37 // Reset resets the batch for reuse
38 Reset()
39}
40
41// RemoteDatabase represents the database interface that offloads data to distributed storage such as ipfs.

Callers 13

DeriveShaFunction · 0.65
testBatchFuncsFunction · 0.65
ResetMethod · 0.65
ResetMethod · 0.65
TestUnmarshalFunction · 0.65
loopMethod · 0.65
maybeReloadMethod · 0.65
scanAccountsMethod · 0.65
traceChainMethod · 0.65
computeStateDBMethod · 0.65
rescheduleFetchMethod · 0.65
rescheduleCompleteMethod · 0.65

Implementers 3

memBatchdatabase/memdb.go
ldbBatchdatabase/leveldb.go
tableBatchdatabase/leveldb.go

Calls

no outgoing calls

Tested by 2

testBatchFuncsFunction · 0.52
TestUnmarshalFunction · 0.52