Skip to content

Commit

Permalink
dons doc
Browse files Browse the repository at this point in the history
  • Loading branch information
amirylm committed Sep 15, 2023
1 parent 312281e commit 6ff32da
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions DONS.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
# DON Composition

`p2pmq` enables to compose a network of peers cross DONs (Decentralized Oracles Network), acting as a decentralized message bus for DON to DON communication.

The following diagram illustrates the composition of a network of `p2pmq` peers across DONs:

![p2pmq DON Composition](./resources/img/composer-p2pmq.png)

<br />

## Messaging

DONs communication is based on OCR reports, which are broadcasted over some topic rather than on-chain transmission.

The reports MUST be signed by a quorum of the DON's nodes, otherwise they are considered invalid and any nodes that broadcast them are penalized.

**NOTE** `p2pmq` enables to aid in a custom validation before processing and propagating messages to the network.

**TBD** signature validation cross DONs.

<br />

Binary file added resources/img/composer-p2pmq.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 6ff32da

Please sign in to comment.