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

Method IsContainBlock

core/store/store.go:62–62  ·  view source on GitHub ↗
(blockHash common.Uint256)

Source from the content-addressed store, hash-verified

60 GetBlockByHeight(height uint32) (*types.Block, error)
61 GetTransaction(txHash common.Uint256) (*types.Transaction, uint32, error)
62 IsContainBlock(blockHash common.Uint256) (bool, error)
63 IsContainTransaction(txHash common.Uint256) (bool, error)
64 GetBlockRootWithNewTxRoots(startHeight uint32, txRoots []common.Uint256) common.Uint256
65 GetMerkleProof(m, n uint32) ([]common.Uint256, error)

Callers 3

InvHandleFunction · 0.65
IsContainBlockMethod · 0.65
CheckSignaturesMethod · 0.65

Implementers 1

LedgerStoreImpcore/store/ledgerstore/ledger_store.go

Calls

no outgoing calls

Tested by

no test coverage detected