Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
TestMemBatch
Function · 0.65
TestLDBBatch
Function · 0.65
TestLDBTableBatch
Function · 0.65
NewBatch
Method · 0.65
SetHead
Method · 0.65
InsertReceiptChain
Method · 0.65
WriteBlockWithState
Method · 0.65
reorg
Method · 0.65
Commit
Method · 0.65
Calls
no outgoing calls
Tested by
3
TestMemBatch
Function · 0.52
TestLDBBatch
Function · 0.52
TestLDBTableBatch
Function · 0.52