MCPcopy 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

SetHeadMethod · 0.95
WriteBlockWithStateMethod · 0.95
reorgMethod · 0.95
CommitMethod · 0.95
testBatchFuncsFunction · 0.65
WriteMethod · 0.65
WriteMethod · 0.65
getPrivateReceiptKeyFunction · 0.65
TestWritePrivateReceiptFunction · 0.65
InsertReceiptChainMethod · 0.65
RunMethod · 0.65
TestHeaderStorageFunction · 0.65

Implementers 3

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

Calls

no outgoing calls

Tested by 5

testBatchFuncsFunction · 0.52
TestWritePrivateReceiptFunction · 0.52
TestHeaderStorageFunction · 0.52
TestBodyStorageFunction · 0.52
TestValidMacSigFunction · 0.52