MCPcopy Create free account
hub / github.com/MiloOweno/kernel-lab / fetchBlock

Method fetchBlock

catchup/universalFetcher.go:55–98  ·  view source on GitHub ↗

fetchBlock returns a block from the peer. The peer can be either an http or ws peer.

(ctx context.Context, round basics.Round, peer network.Peer)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

TestUGetBlockUnsupportedFunction · 0.95

Calls 8

getBlockBytesMethod · 0.95
addressMethod · 0.95
processBlockBytesFunction · 0.85
GetHTTPClientMethod · 0.65
ErrorfMethod · 0.65
GetAddressMethod · 0.65
SinceMethod · 0.65
DebugfMethod · 0.65

Tested by 1

TestUGetBlockUnsupportedFunction · 0.76