internal_port" : 10001,
If I remove all addPeer instructions from the genesis.block, it tells me a bug like that: "Irohad startup failed: Have no peers in WSV after restoration!"
If I pick up a node with the configuration file, do an addPeer, pick up the other with the same genesis file (modifying in the addPeer of 10001 the peerKey by the public peerKey that I have created previously), both are not connected.
I raise a node in a container, using the following genesis.block and config.docker
I use the instruction "iroha-cli --account_name node1 --new_account" to generate the keys for the new node
I make an addPeer to 172.22.0.5:10001 (the address of the container I will raise for the new node) and the public key I have generated in the previous step.
I raise a new node in a container, using the same genesis.block as before and config.docker and having in the directory the public and private keys that I have generated.
Is that all?
Mikhail Boldyrev via telegram
the new node doesn't have access to the data from the old one
this means they did not synchronize, so maybe something gone wrong
I want to reset my initial block configuration for this, i run
irohad --config config.docker --genesis_block genesis.block --overwrite_ledger --keypair_name node0
but as shown in the above message, existing block store are rather restored! how can i get over this? should i define my block store to be rather stored at a different place than /tmp/block_store/ ??