MCPcopy
hub / github.com/hyperledger/fabric / GetBlockByNumber

Method GetBlockByNumber

core/committer/committer_impl.go:37–37  ·  view source on GitHub ↗
(blockNumber uint64)

Source from the content-addressed store, hash-verified

35 DoesPvtDataInfoExist(blockNum uint64) (bool, error)
36
37 GetBlockByNumber(blockNumber uint64) (*common.Block, error)
38
39 GetConfigHistoryRetriever() (ledger.ConfigHistoryRetriever, error)
40

Callers 10

GetBlocksMethod · 0.65
ConfigBlockFromLedgerFunction · 0.65
RetrieveBlockByNumberMethod · 0.65
getBlockByNumberFunction · 0.65
TestLedgerBackupFunction · 0.65
TestKVLedgerBlockStorageFunction · 0.65
TestResetAllLedgersFunction · 0.65
currentCommitHashMethod · 0.65

Implementers 7

mockLedgercore/committer/committer_test.go
mockLedgercore/committer/txvalidator/v14/validat
PeerLedgercore/peer/mock/peer_ledger.go
PeerLedgercore/chaincode/mock/peer_ledger.go
kvLedgercore/ledger/kvledger/kv_ledger.go
ramLedgergossip/state/state_test.go
PeerLedgerinternal/peer/node/mock/peer_ledger.go

Calls

no outgoing calls