Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
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
GetBlocks
Method · 0.65
ConfigBlockFromLedger
Function · 0.65
RetrieveBlockByNumber
Method · 0.65
getBlockByNumber
Function · 0.65
TestLedgerBackup
Function · 0.65
TestKVLedgerBlockStorage
Function · 0.65
TestLedgerWithCouchDbEnabledWithBinaryAndJSONData
Function · 0.65
TestResetAllLedgers
Function · 0.65
TestSnapshotGenerationAndBootstrap
Function · 0.65
currentCommitHash
Method · 0.65
Implementers
7
mockLedger
core/committer/committer_test.go
mockLedger
core/committer/txvalidator/v14/validat
PeerLedger
core/peer/mock/peer_ledger.go
PeerLedger
core/chaincode/mock/peer_ledger.go
kvLedger
core/ledger/kvledger/kv_ledger.go
ramLedger
gossip/state/state_test.go
PeerLedger
internal/peer/node/mock/peer_ledger.go
Calls
no outgoing calls
Tested by
5
TestLedgerBackup
Function · 0.52
TestKVLedgerBlockStorage
Function · 0.52
TestLedgerWithCouchDbEnabledWithBinaryAndJSONData
Function · 0.52
TestResetAllLedgers
Function · 0.52
TestSnapshotGenerationAndBootstrap
Function · 0.52