I run the ethereum testnet using the following command

geth --testnet --syncmode "fast" --rpc --rpcapi db,eth,net,web3,personal --cache=1024  --rpcport 8545 --rpcaddr --rpccorsdomain "*" --bootnodes "enode://20c9ad97c081d63397d7b685a412227a40e23c8bdc6688c6f37e97cfbc22d2b4d1db1510d8f61e6a8866ad7f0e17c02b14182d37ea7c3c8b9c2683aeb6b733a1@,enode://6ce05930c72abc632c58e2e4324f7c7ea478cec0ed4fa2528982cf34483094e9cbc9216e7aa349691242576d552a2a56aaeae426c5303ded677ce455ba1acd9d@"

But truffle console returns 'false' for 'web3.eth.syncing'

user@user:~/voting$ truffle console
truffle(development)> web3.eth.syncing

If I recall correctly, when the network is fully synced, this function returns false. If you delete the chain and start redownloading it, I'd expect the function to return true.

| improve this answer | |
  • Thanks. can you please tell me the average time taken to completely download the test-net blockchain and the size of the chain data. – Akash Nov 27 '17 at 8:51

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.