• 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
blockchain.go 81.7 KB