Welcome to ShenZhenJia Knowledge Sharing Community for programmer and developer-Open, Learning and Share
menu search
person
Welcome To Ask or Share your Answers For Others

Categories

We have substrate node with babe + grandpa consensus. We tried to run it on different computers and create a network. Everything works if we use the pre-installed accounts of Alice and Bob. We are trying to create our own config with our own keys. using subkey, 2 pairs of 4 keys were generated. 2 in sr25519 format (account address and account stash address), then a key in ed25519 format (used for GrandpaId). We took a seed-phrase from him and created a sr25519 key (for Babe). That is, we have 2 validators. We launched the nodes and using rpc requests inserted keys for both validators (babe + gran)

Nodes see each other on the network, create blocks, but do not finalize blocks. With what it can be connected? The screenshots show the config that we use when starting the network photo and second photo

question from:https://stackoverflow.com/questions/65934347/why-blocks-dont-finalized

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
thumb_up_alt 0 like thumb_down_alt 0 dislike
718 views
Welcome To Ask or Share your Answers For Others

1 Answer

I found the error myself, you need to remove the -tmp flag before starting, create your folders with the command -d / node / node1, and after inserting the keys, restart the nodes


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
thumb_up_alt 0 like thumb_down_alt 0 dislike
Welcome to ShenZhenJia Knowledge Sharing Community for programmer and developer-Open, Learning and Share
...