Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/CPChain/chain
/ Write
Method
Write
database/interface.go:36–36 ·
view source on GitHub ↗
amount of data in the batch
()
Source
from the content-addressed store, hash-verified
34
Deleter
35
ValueSize() int
// amount of data in the batch
36
Write() error
37
// Reset resets the batch for reuse
38
Reset()
39
}
Callers
15
SetHead
Method · 0.95
WriteBlockWithState
Method · 0.95
reorg
Method · 0.95
Commit
Method · 0.95
testBatchFuncs
Function · 0.65
Write
Method · 0.65
Write
Method · 0.65
getPrivateReceiptKey
Function · 0.65
TestWritePrivateReceipt
Function · 0.65
InsertReceiptChain
Method · 0.65
Run
Method · 0.65
TestHeaderStorage
Function · 0.65
Implementers
3
memBatch
database/memdb.go
ldbBatch
database/leveldb.go
tableBatch
database/leveldb.go
Calls
no outgoing calls
Tested by
5
testBatchFuncs
Function · 0.52
TestWritePrivateReceipt
Function · 0.52
TestHeaderStorage
Function · 0.52
TestBodyStorage
Function · 0.52
TestValidMacSig
Function · 0.52