Is your proposal related to a problem?
I have recently implemented the methods for creating, canceling and listing snapshot requests from peers, however there is no support for joining a peer using this snapshot.
Describe the solution you'd like
I would like to implement a JoinPeerBySnapshot method that receives a snapshot and joins a given peer to the channel, using it.
Scenario:
Given I have a snapshot
When I call `JoinPeerBySnapshot`
Then the peer joins the channel
Additional context
It would be interesting to test this feature using the e2e test. Since the test-network uses the fabric-samples test-network I'm not sure how to proceed.
I thought it could be something along the lines of:
- Start test-network with a second peer form org1:
peer1.org1.example.com
- Create Channel using the e2e test
- Join
peer0.org1 to mychannel
- Create Snapshot with
peer0.org1
- Join
peer1.org1 using Snapshot
The rest of the test would be the same
Is your proposal related to a problem?
I have recently implemented the methods for creating, canceling and listing snapshot requests from peers, however there is no support for
joininga peer using this snapshot.Describe the solution you'd like
I would like to implement a
JoinPeerBySnapshotmethod that receives a snapshot and joins a given peer to the channel, using it.Additional context
It would be interesting to test this feature using the e2e test. Since the test-network uses the fabric-samples test-network I'm not sure how to proceed.
I thought it could be something along the lines of:
peer1.org1.example.compeer0.org1to mychannelpeer0.org1peer1.org1using SnapshotThe rest of the test would be the same