summaryrefslogtreecommitdiff
path: root/bip-0330.mediawiki
diff options
context:
space:
mode:
authorVasil Dimov <vd@FreeBSD.org>2022-10-06 13:40:59 +0200
committerVasil Dimov <vd@FreeBSD.org>2022-10-06 13:56:53 +0200
commit8b107a0af6c0566d524041ac6c96678c88bb3b3b (patch)
tree115cc343b2ed4c8a2212cc62a550840569882771 /bip-0330.mediawiki
parent6545b81022212a9f1c814f6ce1673e84bc02c910 (diff)
BIP330: drop redundant booleans from the sendtxrcncl message
The reconciliation protocol assumes using one role consistently. Since it is irrelevant which one is which, we can imply that the initiator of the P2P connection will assume the role of reconciliation initiator. This protocol simplification will seep into the implementation.
Diffstat (limited to 'bip-0330.mediawiki')
-rw-r--r--bip-0330.mediawiki7
1 files changed, 2 insertions, 5 deletions
diff --git a/bip-0330.mediawiki b/bip-0330.mediawiki
index 87a4fd2..c24ea42 100644
--- a/bip-0330.mediawiki
+++ b/bip-0330.mediawiki
@@ -144,16 +144,13 @@ Its payload consists of:
{|class="wikitable"
! Data type !! Name !! Description
|-
-| bool || initiator || Indicates whether the sender will send "reqrecon" message
-|-
-| bool || responder || Indicates whether the sender will respond to "reqrecon" messages.
-|-
| uint32 || version || Sender must set this to 1 currently, otherwise receiver should ignore the message. v1 is the lowest protocol version, everything below that is a protocol violation.
|-
| uint64 || salt || The salt used in the short transaction ID computation.
|}
-"reqrecon" messages can only be sent if the inititor has sent a "sendtxrcncl" message with initiator=true, and the receiver has sent a "sendtxrcncl" message with responder=true.
+After both peers have confirmed support by sending "sendtxrcncl", the initiator of the P2P connection assumes the role of reconciliation initiator (will send "reqrecon" messages) and the other peer assumes the role of reconciliation responder (will respond to "reqrecon" messages).
+"reqrecon" messages can only be sent by the reconciliation initiator.
====reqrecon====
The reqrecon message initiates a reconciliation round.