[FIXED] How to Sync Blockchain?

glambethglambeth Member Posts: 7
edited July 2015 in Geth - Go Implementation
Hi guys, I've got get installed and created the genesis block. Now I'm just curious how the blockchain syncs.

I ran geth --genesis genesis_block.json console

When I run eth.getBlockNumber it's at 34. How can I tell if i'm in sync? Does the syncing happen in the background or do I need to do something to manually sync the blockchain I can't find any commands to do this looking at the list of web3 api calls. Sorry for this possibly stupid question. I'm still new to ethereum and I've got a bunch to learn :)

EDIT: Fixed this. Realized I used a wrong hash while creating the genesis block in order to create the genesis block correctly you should run

python mk_genesis_block.py --extradata 0x11bbe8db4e347b4e8c937c1c8370e4b5ed33adb3db69cbdb7a38e1e50b1b82fa > genesis_block.json arhuaco 18:41
Post edited by glambeth on
Sign In or Register to comment.