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

Method NewBatch

database/interface.go:27–27  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

25 Has(key []byte) (bool, error)
26 Close()
27 NewBatch() Batch
28}
29
30// Batch is a write-only database that commits changes to its host database

Callers 9

TestMemBatchFunction · 0.65
TestLDBBatchFunction · 0.65
TestLDBTableBatchFunction · 0.65
NewBatchMethod · 0.65
SetHeadMethod · 0.65
InsertReceiptChainMethod · 0.65
WriteBlockWithStateMethod · 0.65
reorgMethod · 0.65
CommitMethod · 0.65

Calls

no outgoing calls

Tested by 3

TestMemBatchFunction · 0.52
TestLDBBatchFunction · 0.52
TestLDBTableBatchFunction · 0.52