MCPcopy Create free account
hub / github.com/CPChain/chain / CurrentFastBlock

Method CurrentFastBlock

protocols/cpc/syncer/syncer.go:149–149  ·  view source on GitHub ↗

CurrentFastBlock retrieves the head fast block from the local chain.

()

Source from the content-addressed store, hash-verified

147
148 // CurrentFastBlock retrieves the head fast block from the local chain.
149 CurrentFastBlock() *types.Block
150
151 // InsertChain inserts a batch of blocks into the local chain.
152 InsertChain(types.Blocks) (int, error)

Callers 5

SynchroniseMethod · 0.65
blocksHandlerMethod · 0.65
synchroniseMethod · 0.65

Implementers 1

BlockChaincore/blockchain.go

Calls

no outgoing calls

Tested by 2