Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
DeriveSha
Function · 0.65
testBatchFuncs
Function · 0.65
Reset
Method · 0.65
Reset
Method · 0.65
TestUnmarshal
Function · 0.65
loop
Method · 0.65
maybeReload
Method · 0.65
scanAccounts
Method · 0.65
traceChain
Method · 0.65
computeStateDB
Method · 0.65
rescheduleFetch
Method · 0.65
rescheduleComplete
Method · 0.65
Implementers
3
memBatch
database/memdb.go
ldbBatch
database/leveldb.go
tableBatch
database/leveldb.go
Calls
no outgoing calls
Tested by
2
testBatchFuncs
Function · 0.52
TestUnmarshal
Function · 0.52