...
- 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-point | URI | Implementation | Comments |
---|---|---|---|
Health check and Maintenance | /config | Torii + Config | Web API for checking Iroha Peer health, metrics and manage configurations |
Instruction | /instructions | Torii + Queue | Web API for incoming Transactions with Instructions to execute on the ledger Transactions can be send from Clients or other Peers |
Query | /queries | Torii + WSV | Web API for Queries which will work with World State View of the Peer |
Block synchronization | /blocks | Torii + Kura | Web API for data synchronization and propagation between Peers |
Consensus | /votes | Torii + Sumeragi | Web 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.
...