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

Method ServeBlockPath

rpcs/blockService.go:190–291  ·  view source on GitHub ↗

ServeBlockPath returns blocks Either /v{version}/{genesisID}/block/{round} or ?b={round}&v={version} Uses gorilla/mux for path argument parsing.

(response http.ResponseWriter, request *http.Request)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 12

rawBlockBytesMethod · 0.95
redirectRequestMethod · 0.95
RoundTypeAlias · 0.92
WriteHeaderMethod · 0.80
HeaderMethod · 0.80
IncMethod · 0.80
DebugMethod · 0.65
DebugfMethod · 0.65
SetMethod · 0.65
WarnfMethod · 0.65
WriteMethod · 0.65
WarnMethod · 0.65

Tested by

no test coverage detected