Module unknown_proposal Copy item path Source 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. 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. retrieve_peer_fork ๐ Auxiliary function to generate provided peer headers hashes fork
and its ranking, based on provided last common information. retrieve_peer_header_hashes ๐ Auxiliary function to retrieve the last common header and height,
along with the headers sequence up to provided peer proposal. retrieve_peer_headers_sequence_ranking ๐ Auxiliary function to retrieve provided peer headers hashes
sequence and its ranking, based on provided last common
information.