darkfid::task

Module unknown_proposal

Source

Functionsยง

  • handle_reorg ๐Ÿ”’
    Auxiliary function to handle a potential reorg. We first find our last common block with the peer, then grab the header sequence from that block until the proposal and check if it ranks higher than our current best ranking fork, to perform a reorg.
  • Background task to handle unknown proposals.