• gary rong's avatar
    core, miner: remove PostChainEvents (#19396) · fc7e0fe6
    gary rong authored
    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.
    fc7e0fe6
Name
Last commit
Last update
..
miner.go Loading commit data...
stress_clique.go Loading commit data...
stress_ethash.go Loading commit data...
unconfirmed.go Loading commit data...
unconfirmed_test.go Loading commit data...
worker.go Loading commit data...
worker_test.go Loading commit data...