...
Entry-point | URI | Implementation | Comments | |||
---|---|---|---|---|---|---|
Client → Peer | ||||||
Health check and Maintenance | /config | Torii + Config | Web API for checking Iroha Peer health, metrics and manage configurations | Look Maintenance RFC | ||
Transactions | /transaction | Instruction | /instructions | Torii + Queue | Web API for incoming Transactions with Instructions to execute on the ledger Transactions can be send from Clients, Bridges or other Peers | |
Query | /queriesquery | Torii + WSV | Web API for Queries which will work with World State View of the Peer | |||
Peer ↔ Peer | ||||||
Block synchronization | /blocksblock | Torii + Kura | Web API for data synchronization and propagation between Peers | |||
Consensus | /votesvote | Torii + Sumeragi | Web API for consensus voting via Sumeragi logic |
...
- changes in `Iroha` instances like new `ChangeBlockBuildStepTime`
- `AddPeer` instruction will add new peer to WSV:Peer:Peers
- `ShareNewBlock` event can trigger new block propagation to peers from WSV:Peer:Peers
- `Vote` can be implemented as Instruction
Open Questions
- When Peers send accepted transactions
...
- ? Right after acceptance
...
- or each tick of Block Build Step
...
- What is the difference between Block commit message handling and Block synchronization
...
- How to update configuration which requires instance reloading (new address, etc)