refactor: simplify the validate_header stage
Signed-off-by: etorreborre <[email protected]>
Signed-off-by: etorreborre <[email protected]>
Signed-off-by: jeluard <[email protected]>
Signed-off-by: etorreborre <[email protected]>
Replaced with fetch-chain-headers Signed-off-by: Pascal Grange <[email protected]>
Signed-off-by: etorreborre <[email protected]>
Signed-off-by: etorreborre <[email protected]>
Signed-off-by: etorreborre <[email protected]> | Conflicts: | simulation/amaru-sim/src/echo/simulate.rs | simulation/amaru-sim/src/simulator/run.rs | simulation/amaru-sim/src/simulator/world/node_handle.rs | Conflicts: | crates/amaru-consensus/src/consensus/select_chain.rs | crates/amaru-consensus/src/consensus/validate_header.rs | simulation/amaru-sim/src/echo/simulate.rs | simulation/amaru-sim/src/simulator/run.rs | simulation/amaru-sim/src/simulator/world/node_handle.rs
Signed-off-by: etorreborre <[email protected]>
refactor: document the simulation code
Signed-off-by: Pascal Grange <[email protected]>
We fetch headers from peer to store them next to the snapshots. The bootstrap process will start from them instead of fetching them on demand. That way, we can move towards a peer-less bootstrap. Signed-off-by: Pascal Grange <[email protected]>
We fetch headers from peer to store them next to the snapshots. The bootstrap process will start from them instead of fetching them on demand. That way, we can move towards a peer-less bootstrap. Signed-off-by: Pascal Grange <[email protected]>
Signed-off-by: Pascal Grange <[email protected]>
We fetch headers from peer to store them next to the snapshots. The bootstrap process will start from them instead of fetching them on demand. That way, we can move towards a peer-less bootstrap. Signed-off-by: Pascal Grange <[email protected]>
Signed-off-by: Pascal Grange <[email protected]>
While 12 factor apps is not anymore considered state of the art given the pervasiveness of k8s-based deployments, having the possibility to use environment variables instead of explicit argumetns on the command-line is useful esp. in headless/remote server deployment scenarios. Signed-off-by: Arnaud Bailly <[email protected]>
Signed-off-by: etorreborre <[email protected]>
Notify when node is caught-up with its peer(s)
Thanks you @coderabbit ! Signed-off-by: Arnaud Bailly <[email protected]>
Signed-off-by: Arnaud Bailly <[email protected]>
Signed-off-by: Arnaud Bailly <[email protected]>
We now don't always have a point available from messages and this information should anyhow be part of the error message. Signed-off-by: Arnaud Bailly <[email protected]>