Some questions that not clarify in the official OpStack Docs #29
-
Issue Description1/ How to obtain peer id for Additional InformationNo response |
Beta Was this translation helpful? Give feedback.
Replies: 5 comments 25 replies
-
(1) --p2p.static=/ip4/127.0.0.1/tcp/9003/p2p/16Uiu2HAkvoMNi6xLk32UFQLpVXDuXzT76AkeRVh7kder5RzewFx4 This is an example; for you, this peerID (16Uiu2HAkvoMNi6xLk32UFQLpVXDuXzT76AkeRVh7kder5RzewFx4) is incorrect. However, it can be used directly, enabling the op-node to run successfully without errors. At this point, we can check the op-node's logs, which will display its own peerID. (2) I agree with your point of view: P2P synchronization merely speeds up the synchronization process for unsynchronized nodes, and replica nodes can obtain the unsafeL2block. (3) Perhaps when upgrading node software, we only need to be mindful of backing up the 'geth' folder within the 'datadir' files. (4) For a sequencer mode node, archive mode is required, but replica nodes do not need it. |
Beta Was this translation helpful? Give feedback.
-
|
Beta Was this translation helpful? Give feedback.
-
Hi @opfocus @sbvegan, thank you for your responses. Regarding the 3, it's important to upgrade/patch node software with zero downtime. I tried to upgrade the masternode (sequencer node) yesterday within my private OpStack chain, resulting the whole chain slow down for a couple of hours. There must be some recommendations for maintaining the chain's high availability. My assumption would be to run at least two sequencer nodes (using the same private key), and make them two become the static nodes, the application nodes aka replica nodes availability will be maintained during the process of upgrading software. |
Beta Was this translation helpful? Give feedback.
-
@sbvegan I tried |
Beta Was this translation helpful? Give feedback.
-
If you're willing to share your findings, you can share them here: #17 |
Beta Was this translation helpful? Give feedback.
(1) --p2p.static=/ip4/127.0.0.1/tcp/9003/p2p/16Uiu2HAkvoMNi6xLk32UFQLpVXDuXzT76AkeRVh7kder5RzewFx4 This is an example; for you, this peerID (16Uiu2HAkvoMNi6xLk32UFQLpVXDuXzT76AkeRVh7kder5RzewFx4) is incorrect. However, it can be used directly, enabling the op-node to run successfully without errors. At this point, we can check the op-node's logs, which will display its own peerID.
(2) I agree with your point of view: P2P synchronization merely speeds up the synchronization process for unsynchronized nodes, and replica nodes can obtain the unsafeL2block.
(3) Perhaps when upgrading node software, we only need to be mindful of backing up the 'geth' folder within the 'datadir' files.
(4) For …