Some additional visual documentation for substrate complementing https://docs.substrate.dev/docs/
to edit these diagrams with draw.io go to https://www.draw.io/?mode=github and open diagram. "save" commits back to github.
What happens with a transaction when it is passed through RPC until it is included in a block?
- reviewed by @shawntabrizi / @bkchr / @thomusdrw
the following components will be instanciated by the substrate service
TODO: still a bit chaotic
to learn more, study these lines
TODO: light client components diagram
study core/client/src/light/fetcher.rs
https://substrate.dev/rustdocs/v1.0/substrate_client/light/fetcher/trait.FetchChecker.html#tymethod.check_read_proof
Aura takes fixed turns to propose a new block.
only the authority who's turn it is proposes a new block
slot duration is a fixed number of seconds, to be evaluated on the autorities machines' time.
the slot proposer broadcasts his block, the others validate and import it and gossip about what they do.
TODO: compress diagram area
All modules involved in Gav's coin flipping demo
TODO: simplify!