first of all thank you for the great discussions and solution that I've found here.
I'm trying to create a private ethereum network to which I want to access with 2 different servers.
I am able to create the network with and ID say 1234 and then attach to it another instance of geth (using
geth --dev attach). So with 2 accounts on the same machine I am able to mine, transfer ether between the two and also develop smart contracts (like the greeter example) and invoke the greet() function on the other instance after
set var greeter = eth.contract(ABI).at('ADDRESS').
Now I want to connect to this network from another server to which I access with ssh at a certain IP. Also here geth is working.
I've defined the same genesis.json file and then I have
geth init genesis.json.
I've also defined a static-nodes.json file so to connect to the first server. This is where things are not working.
If from within the js console I invoke something like:
then I see something like this:
I1020 14:46:13.094602 eth/downloader/downloader.go:326] Block synchronisation started I1020 14:46:13.256432 eth/downloader/queue.go:885] Peer 9a5fe0xxxxxxxxxx: header #114 [80xxxxxx] broke chain ancestry
Due to the fact that there is a block #114, I think the first server is able to send information about the chain with ID 1234, but the synchronisation is not possible. If I start mining on the second server, it starts from block #0.
Sorry for the lenght of the explanation but in this way I think I've written everything. I don't know if the problem is due to geth or my server on scaleway.
Thank you again for all your help :)