Skip to content

SubscribeSideBlocks

NEW-ETC — no upstream or core-geth original.

File forkchoice_pow.go
Symbol ForkChoice.SubscribeSideBlocks
Ref etc/v1.17.3-full-node

NEW-ETC. Exposes the side-block feed that ReorgNeeded fills, so the miner collects uncle candidates without touching core/blockchain.go.

// SubscribeSideBlocks registers a subscription for side-block headers (uncle
// candidates) surfaced by the fork choice.
func (f *ForkChoice) SubscribeSideBlocks(ch chan<- ChainSideEvent) event.Subscription {
    return f.sideBlockFeed.Subscribe(ch)
}

← Total Difficulty (TD)