synechron-finlabs / quorum-maker

Utility to create and monitor Quorum nodes
Apache License 2.0
196 stars 97 forks source link

Make the joined node the master #83

Closed naveen-appoets closed 5 years ago

naveen-appoets commented 5 years ago

So I synced up two nodes. First I created a node then a setup a second node to join the network and sync went fine but later when I deleted the first node. The second node is no longer forming blocks of it's own and hence a lot of pending transactions and transaction underpriced error comes up. Any help would be appreciated.

dhyansraj commented 5 years ago

Delete node is not supported by QM out of the box. You should manually do a raft.removePeer before deleting the directories.

naveen-appoets commented 5 years ago

Where would I give that raft.removePeer?

dhyansraj commented 5 years ago

You need to connect to the geth console. You do this by first getting to docker container console and then getting into geth console.

  1. docker exec -it bash
  2. geth attach qdata/geth.ipc
naveen-appoets commented 5 years ago

Thank you, will try.