0

I'm trying to sync my geth node with geth --networkid=4 --fast --cache=512 --datadir="/Users/myname/Library/Ethereum/rinkeby/", which appears to be working. However, my node is apparently syncing way past the number of actual blocks on rinkeby, which leads me to believe I'm not on the right network. My last line of output is

count=2048 elapsed=561.414ms number=1578304 hash=1ff9ed…3df3b8 ignored=0,

but rinkeby only has about 1150000 on the chain right now. I haven't seen in the docs where anything else needs to be configured and I've started with a fresh chaindata directory.

EDIT: Console outputs:

> eth.blockNumber
0

> eth.syncing
{
  currentBlock: 1272698,
  highestBlock: 1935572,
  knownStates: 2246772,
  pulledStates: 2244979,
  startingBlock: 0
}
  • What the output of eth.blockNumber and eth.syncing console command? – Зелёный Oct 30 '17 at 14:26
  • Hmm...eth.blockNumber is 0, which is odd, but eth.syncing shows my current block. Why is the highest block so much higher than what's represented in etherscan? – jordaniac89 Oct 30 '17 at 15:24
0

Hmm...eth.blockNumber is 0, which is odd, but eth.syncing shows my current block. Why is the highest block so much higher than what's represented in etherscan?

It's 0 because your database isn't synced. It still under the sync process, also looks like you aren't on rinkeby you're on ropsten.

  • Is networkid 4 not Rinkeby? You're right my blockNumber is now at 1935572, which is closer to Ropsten, but why am I not syncing with Rinkeby? – jordaniac89 Oct 30 '17 at 16:17
  • networkid 4 it's Rinkeby. I don't know why you're synced with the wrong network. Which version of geth you're using? – Зелёный Oct 30 '17 at 16:40
  • Version: 1.7.2-stable – jordaniac89 Oct 30 '17 at 17:33
  • Also, here's some output when I start my node: Initialising Ethereum protocol versions="[63 62]" network=4 So it knows what I'm passing in. – jordaniac89 Oct 30 '17 at 17:35
  • 1
    I think I got it. Needed to use --rinkeby instead of --networkid 4 – jordaniac89 Oct 30 '17 at 17:48

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.