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

Method SubscribeRemovedLogsEvent

core/blockchain.go:1925–1927  ·  view source on GitHub ↗

SubscribeRemovedLogsEvent registers a subscription of RemovedLogsEvent.

(ch chan<- RemovedLogsEvent)

Source from the content-addressed store, hash-verified

1923
1924// SubscribeRemovedLogsEvent registers a subscription of RemovedLogsEvent.
1925func (bc *BlockChain) SubscribeRemovedLogsEvent(ch chan<- RemovedLogsEvent) event.Subscription {
1926 return bc.scope.Track(bc.rmLogsFeed.Subscribe(ch))
1927}
1928
1929// SubscribeChainEvent registers a subscription of ChainEvent.
1930func (bc *BlockChain) SubscribeChainEvent(ch chan<- ChainEvent) event.Subscription {

Callers 1

TestLogReorgsFunction · 0.95

Calls 1

SubscribeMethod · 0.65

Tested by 1

TestLogReorgsFunction · 0.76