Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • We need to define networking format
  • We need to define Iroha Peer entry-points
  • We need to support communication with:
    • Clients (Web, Android, iOS)
    • Bridges (Polkadot)
    • Peers (Iroha)

Current status

...

Let's start from the entry-points:

Entry-pointURIImplementationComments
Health check and Maintenance/configTorii + Config

Web API for checking Iroha Peer health, metrics and manage configurations
It can be used for Peer To Peer communications (instead of Ping/Pong) and administrative purposes

Instruction/instructionsTorii + Queue

Web API for incoming Transactions with Instructions to execute on the ledger

Transactions can be send from Clients or other Peers

Query/queriesTorii + WSVWeb API for Queries which will work with World State View of the Peer
Block synchronization/blocksTorii + KuraWeb API for data synchronization and propagation between Peers
Consensus/votesTorii + SumeragiWeb API for consensus voting via Sumeragi logic

Protocol and Formats

Right now we do not have application layer protocol and use TCP. All protocol related logic is placed inside `Iroha_Network` crate.

...