MCPcopy Create free account
hub / github.com/DNAProject/DNA / IsContainBlock

Method IsContainBlock

core/ledger/ledger.go:146–148  ·  view source on GitHub ↗
(blockHash common.Uint256)

Source from the content-addressed store, hash-verified

144}
145
146func (self *Ledger) IsContainBlock(blockHash common.Uint256) (bool, error) {
147 return self.ldgStore.IsContainBlock(blockHash)
148}
149
150func (self *Ledger) GetCurrentStateRoot() (common.Uint256, error) {
151 return common.Uint256{}, nil

Callers

nothing calls this directly

Calls 1

IsContainBlockMethod · 0.65

Tested by

no test coverage detected