1
0
mirror of https://github.com/bitcoin/bips.git synced 2025-05-12 12:03:29 +00:00
* 'master' of https://github.com/naumenkogs/bips:
  Update bip-reconcil.mediawiki
This commit is contained in:
User 2019-11-04 13:24:31 -05:00
commit 161c482f12

View File

@ -155,7 +155,7 @@ The reqreconcil message initiates a reconciliation round.
|} |}
Upon receipt of a "reqreconcil" message, the receiver: Upon receipt of a "reqreconcil" message, the receiver:
* Constructs and sends a "sketch" message (see below), with a sketch of capacity computed as ``|set_size - local_set_size| + q * (set_size + local_set_size) + c'', where ''local_set_size'' represents size of the receiver's reconciliation set. * Constructs and sends a "sketch" message (see below), with a sketch of capacity computed as ''|set_size - local_set_size| + q * (set_size + local_set_size) + c'', where ''local_set_size'' represents size of the receiver's reconciliation set.
* Makes a snapshot of their current reconciliation set, and clears the set itself. The snapshot is kept until a "reconcildiff" message is received by the node. * Makes a snapshot of their current reconciliation set, and clears the set itself. The snapshot is kept until a "reconcildiff" message is received by the node.
It is suggested to use ''c=1'' to avoid sending empty sketches and reduce the overhead caused by under-estimations. It is suggested to use ''c=1'' to avoid sending empty sketches and reduce the overhead caused by under-estimations.