Post
Topic
Board Announcements (Altcoins)
Re: 🌱[ANN] SOIL | Environmental | Agriculture | Quixotic | Contracts | Sprouted
by
altsheets
on 12/05/2017, 16:53:59 UTC

Syncing on top of old chain ... works:
...
So ... looks like updating AFTER a new version has already passed the fork-block ... is unproblematic.

config="{ChainID: 1337 Homestead: 0 EIP150: 0 EIP155: 0 EIP158: 0 Engine: ethash}"
Please make a full resync to load the new config. By default fast sync is enabled - so it will take you only a couple of minutes.
Code:
config="{ChainID: 42 Homestead: 2000000 EIP150: 2463000 EIP155: 2675000 EIP158: 2675000 Engine: ethash}"
Why is that necessary?
The first 2000000 blocks were correct in any client version, were they not?
Only at 20000001 your new code started to do stuff differently - right?
Because of the ChainID. If you don't plan to do any transactions from this client - then it should work without a full recync, but you might stuck again on the upcoming forks (EIP150: 2463000 EIP155: 2675000 EIP158:2675000).
I see.
I don't remember this (having to resync from block 0) from any other hardfork.

Done:

Code:
pkill gsoil
rm ~/.soil/chaindata/*

cd ~/soil/gsoil-logs
mv nohup.out nohup.out_20170512b.txt

nohup ABEESOIL_gsoil &
    nohup: ignoring input and appending output to ‘nohup.out’


Code:
tail -f nohup.out

INFO [05-12|16:38:53] Starting peer-to-peer node               instance=Gsoil/v1.6.1-MMF-6ccff9a9/linux-amd64/go1.8
INFO [05-12|16:38:53] Allocated cache and file handles         database=~/.soil/chaindata cache=128 handles=1024
INFO [05-12|16:38:53] Writing default main-net genesis block
INFO [05-12|16:38:53] Initialised chain configuration          config="{ChainID: 42 Homestead: 2000000 EIP150: 2463000 EIP155: 2675000 EIP158: 2675000 Engine: ethash}"
INFO [05-12|16:38:53] Disk storage enabled for ethash caches   dir=~/.soil/gsoil/ethash count=3
INFO [05-12|16:38:53] Disk storage enabled for ethash DAGs     dir=~/.ethash            count=2
WARN [05-12|16:38:53] Upgrading db log bloom bins
INFO [05-12|16:38:53] Bloom-bin upgrade completed              elapsed=86.168µs
INFO [05-12|16:38:53] Initialising Soil protocol               versions="[63 62]" network=42
INFO [05-12|16:38:53] Loaded most recent local header          number=0 hash=40cb5b…63a001 td=1073741824
INFO [05-12|16:38:53] Loaded most recent local full block      number=0 hash=40cb5b…63a001 td=1073741824
INFO [05-12|16:38:53] Loaded most recent local fast block      number=0 hash=40cb5b…63a001 td=1073741824
INFO [05-12|16:38:53] Starting P2P networking
INFO [05-12|16:38:55] HTTP endpoint opened: http://178.62.133.174:9123
INFO [05-12|16:38:55] RLPx listener up                         self=enode://46fce6fdc328596df97c8c2e4d1744b9bf5bfd540ff8cf95e4880d797bd92e2cb52a81f38a9a49e51079f875c1adbdc2d4d6f503253e2d7188a494d421bd968b@[::]:30403
INFO [05-12|16:38:55] IPC endpoint opened: ~/.soil/gsoil.ipc
INFO [05-12|16:39:25] Block synchronisation started
INFO [05-12|16:39:25] Imported new state entries               count=1 elapsed=1.156ms  processed=1 pending=17
INFO [05-12|16:39:25] Imported new state entries               count=16 elapsed=5.269ms  processed=17 pending=269
INFO [05-12|16:39:25] Imported new state entries               count=252 elapsed=15.279ms processed=269 pending=1372
INFO [05-12|16:39:26] Imported new state entries               count=2   elapsed=23.723ms processed=271 pending=1372
...
INFO [05-12|16:42:06] Imported new block receipts              count=2005 elapsed=1.192s    number=106496 hash=6fb8ab…76a557 ignored=0
...
INFO [05-12|16:48:41] Imported new block receipts              count=56   elapsed=111.272ms number=329784 hash=3dade7…160916 ignored=0
...
INFO [05-12|16:53:35] Imported new block receipts              count=1466 elapsed=1.613s    number=501180 hash=42e290…ddd27e ignored=0
...

So ... http://178.62.133.174:9001/#/chain/ should be available again ... in approx an hour or so.

Thanks.


So ... who is selling some SOIL to me, finally?

Thanks.