Skip to content

Commit

Permalink
core, miner: remove PostChainEvents (#19396)
Browse files Browse the repository at this point in the history
This change:

- removes the PostChainEvents method on core.BlockChain.
- sorts 'removed log' events by block number.
- fire the NewChainHead event if we inject a canonical block into the chain
  even if the entire insertion is not successful.
- guarantees correct event ordering in all cases.
  • Loading branch information
rjl493456442 authored and fjl committed Nov 29, 2019
1 parent 5cc6e7a commit fc7e0fe
Show file tree
Hide file tree
Showing 4 changed files with 160 additions and 158 deletions.
Loading

0 comments on commit fc7e0fe

Please sign in to comment.