It looks like your node isn't syncing at all. Verify the integrity of your node by starting a console:
geth attach '//./pipe/geth.ipc'
Once in the console, run the following:
eth.syncing
If your node is working correctly, you should see something like this:
$ geth attach '//./pipe/geth.ipc'
Welcome to the Geth JavaScript console!
instance: Geth/TrustDevTestNode/v1.8.2-stable-b8b9f7f4/windows-amd64/go1.9.2
coinbase: 0x0a78c28257b40d5076ea180bc6a9e4c597c5ea98
at block: 280377 (Tue, 03 Jan 2017 19:36:08 PST)
datadir: C:\cygwin\home\adamk\eth\geth\data\testnet
modules: admin:1.0 debug:1.0 eth:1.0 miner:1.0 net:1.0 personal:1.0 rpc:1.0 txpool:1.0 web3:1.0
> eth.syncing
{
currentBlock: 282100,
highestBlock: 2803215,
knownStates: 0,
pulledStates: 0,
startingBlock: 0
}
If your node isn't running properly, do the following steps:
- Stop your node
- Completely remove your blockchain data (/home/riyasoni/.ethereum/testnet in your case)
- Upgrade to the latest version of geth (you're running 1.7.3. As of 3/9/2018, the latest version is 1.8.2)
-
Restart geth. There's nothing wrong with the way your running geth, but personally I would not use
--bootnodes
I would spend the time to run using
--syncmode "full"
Running in fast sync mode has limitations and your node will stop syncing entirely if you stop your node for some time and then try to restart. It will take time for your node to fully sync.
After completing those steps, check the status of the node in the console again before moving on to Truffle.