1
0
mirror of https://github.com/bitcoin/bips.git synced 2025-05-12 12:03:29 +00:00

Merge pull request #2 from MarcoFalke/patch-2

Update bip-reconcil.mediawiki
This commit is contained in:
Gleb Naumenko 2019-10-09 12:51:35 -04:00 committed by GitHub
commit 394601bb3c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -153,7 +153,7 @@ The reqreconcil message initiates a reconciliation round.
|}
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.
It is suggested to use ''c=1'' to avoid sending empty sketches and reduce the overhead caused by under-estimations.