Skip to content

Commit

Permalink
add fidelity bond messages to examples
Browse files Browse the repository at this point in the history
  • Loading branch information
chris-belcher committed May 15, 2021
1 parent 3cea057 commit 939ec6a
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions Joinmarket-messaging-protocol.md
Original file line number Diff line number Diff line change
Expand Up @@ -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).

Expand Down Expand Up @@ -105,6 +105,7 @@ Valid conversation sequences:
| :---------:|:----:|:-------:|
|!orderbook(public)|>>>||
|| <<<| ![rel\|abs]order (private)|
|| <<<| !tbond (private)|

| TAKER | | MAKER |
| :---------:|:----:|:-------:|
Expand All @@ -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)
```

```
Expand Down

0 comments on commit 939ec6a

Please sign in to comment.