Abroskin Alexander
Abroskin Alexander
We receive messages, but we don't check HMAC key setted uo up on handshake proccess with peer. We can do it here: https://github.com/astroband/astrocore/blob/master/src/overlay/peer.rs#L462-L463 You can read about handshake process here:...
We using `riker-rs` as actor system. The library has recently been updated and there are changes in the API. Need to update crate to the latest version.
If we receive GET_PEERS message we should answer with PEERS message. It happens here: https://github.com/astroband/astrocore/blob/master/src/actors/overlay_manager.rs#L93 We store known peers in this struct: https://github.com/astroband/astrocore/blob/master/src/overlay/overlay_manager.rs#L41-L46
Page: https://github.com/astroband/astrocore/wiki/SCP
Page: https://github.com/astroband/astrocore/wiki/Ledger
Page: https://github.com/astroband/astrocore/wiki/Network