In functional tests we use p2p interface to retrieve the snapshot
before broadcasting to other nodes. It works fine but now we want to
extend tests and broadcast the valid snapshot but which is not
part of the finalized epoch. The issue is that from p2p we can't
receive the non-finalized snapshot to simulate this scenario
and it's needed in the https://github.com/dtr-org/unit-e/pull/852
Having an RPC command to retrieve any available snapshot
will help us to test the sync after we introduced commits
In functional tests we use p2p interface to retrieve the snapshot before broadcasting to other nodes. It works fine but now we want to extend tests and broadcast the valid snapshot but which is not part of the finalized epoch. The issue is that from p2p we can't receive the non-finalized snapshot to simulate this scenario and it's needed in the https://github.com/dtr-org/unit-e/pull/852
Having an RPC command to retrieve any available snapshot will help us to test the sync after we introduced commits
Signed-off-by: Kostiantyn Stepaniuk kostia@thirdhash.com