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. Returns a boolean flag indicate if we should ban the channel.
handle_unknown_proposal ๐Ÿ”’
Background task to handle an unknown proposal. Returns a boolean flag indicate if we should ban the channel.
handle_unknown_proposals
Background task to handle unknown proposals.