MCPcopy Create free account
hub / github.com/DeAI-Artist/Linkis / SetEventBus

Method SetEventBus

state/execution.go:86–88  ·  view source on GitHub ↗

SetEventBus - sets the event bus for publishing block related events. If not called, it defaults to types.NopEventBus.

(eventBus types.BlockEventPublisher)

Source from the content-addressed store, hash-verified

84// SetEventBus - sets the event bus for publishing block related events.
85// If not called, it defaults to types.NopEventBus.
86func (blockExec *BlockExecutor) SetEventBus(eventBus types.BlockEventPublisher) {
87 blockExec.eventBus = eventBus
88}
89
90// CreateProposalBlock calls state.MakeBlock with evidence from the evpool
91// and txs from the mempool. The max bytes must be big enough to fit the commit.

Callers 3

replayBlockMethod · 0.95
replayBlockMethod · 0.95

Calls

no outgoing calls

Tested by 1