[chain] Add a get-node-id
flag to gnoland secrets
// multi-node related
#1922
Labels
📦 ⛰️ gno.land
Issues or PRs gno.land package related
Milestone
Description
This issue is related to 2️⃣ , 3️⃣ of #1836
As comment from above pr to connect another nodes without seeds or pex, we can use
persistent-peers
to set peers manually which requires form ofnodeID@hostname(or ip addr):port
.For Cosmos there are 2 ways to get this value
gaiad tendermint show-node-id
1.1 CLI level
1.2 doesn't require actual chain to run
1.3 requires(calculate or generate node_id from)
node_key.json
:26657/status
1.1 App(Service) level
1.2 does require actual chain to run (ofc, to run chain node_key is required too)
Personally, I prefer option 1 since it can be done by single command without requiring any rpc node to connect.
For someone who reads this, FYI I felt we need this feature while testing multi node with some of @zivkovicmilos 's wonderful subcommand PR
secrets
#1593config
#1605The text was updated successfully, but these errors were encountered: