• asynchronous rob's avatar
    Introduce notion of finality to substrate (#760) · b7d095a2
    asynchronous rob authored
    * finalization for in_mem
    
    * fetch last finalized block
    
    * pruning: use canonical term instead of final
    
    * finalize blocks in full node
    
    * begin to port light client DB
    
    * add tree-route
    
    * keep number index consistent in full nodes
    
    * fix tests
    
    * disable cache and finish porting light client
    
    * add AsMut to system module
    
    * final leaf is always best
    
    * fix all tests
    
    * Fix comment and trace
    
    * removed unused Into call
    
    * add comment on behavior of `finalize_block`
    b7d095a2