From 939ec6a488e137390112a2fca471b7bb57314c0e Mon Sep 17 00:00:00 2001 From: chris-belcher Date: Sat, 15 May 2021 11:35:50 +0100 Subject: [PATCH] add fidelity bond messages to examples --- Joinmarket-messaging-protocol.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Joinmarket-messaging-protocol.md b/Joinmarket-messaging-protocol.md index 91adcaf..8779fb5 100644 --- a/Joinmarket-messaging-protocol.md +++ b/Joinmarket-messaging-protocol.md @@ -55,7 +55,7 @@ Encryption Public messages (broadcast to all other participants) are never encrypted. -Private messages of command-type `fill`, `pubkey`, `error`, `orderbook`, `push`, `reloffer` and `absoffer` are sent in plaintext. +Private messages of command-type `fill`, `pubkey`, `error`, `orderbook`, `push`, `reloffer`, `absoffer` and `tbond` are sent in plaintext. Messages of command-type `ioauth`, `auth`, `tx` and `sig` are sent encrypted. These rules are enforced [here](https://github.com/JoinMarket-Org/joinmarket/blob/35dc60848c201f1c071a00c885969d1cc458cbbf/joinmarket/message_channel.py#L13-L16) and [here](https://github.com/JoinMarket-Org/joinmarket/blob/35dc60848c201f1c071a00c885969d1cc458cbbf/joinmarket/message_channel.py#L818-L826). @@ -105,6 +105,7 @@ Valid conversation sequences: | :---------:|:----:|:-------:| |!orderbook(public)|>>>|| || <<<| ![rel\|abs]order (private)| +|| <<<| !tbond (private)| | TAKER | | MAKER | | :---------:|:----:|:-------:| @@ -122,7 +123,7 @@ Each taker may speak to many makers simultaneously and each maker may speak to m See "Definitions" section below for the key for the abbreviations. ``` -1: M: !ordertype [order details]!ordertype [orderdetails]... (NS) +1: M: !ordertype [order details]!ordertype [orderdetails]!tbond [proof] ... (NS) ``` ```