I'm running light node client for rinkeby using command:

geth --rinkeby --syncmode=light --rpc --rpcapi personal,db,net,eth,web3

The terminal runs continuously and I don't quit it when I close the laptop monitor. When the laptop is hibernated (monitor is closed), the node stops syncing. And when I resume the laptop (re-open the monitor), the node starts syncing.

While importing the 'new block headers', the 'blocks count' is always in multiples of 192 (Example: count=192 | count=1344 | count=576), until full import is done.

Why in multiples of 192? Why not 50 or 100?

Log trace:

INFO [06-03|01:29:38] Imported new block headers count=1 elapsed=75.603ms number=2393660 hash=12f7ae…f39bd4 ignored=0 INFO [06-03|01:29:38] Imported new block headers count=0 elapsed=129.563µs number=2393660 hash=12f7ae…f39bd4 ignored=1 INFO [06-03|13:35:03] Imported new block headers count=192 elapsed=330.559ms number=2393852 hash=609755…460a4e ignored=0 INFO [06-03|13:35:04] Imported new block headers count=192 elapsed=462.307ms number=2394044 hash=320d10…133b2e ignored=0 INFO [06-03|13:35:05] Imported new block headers count=192 elapsed=771.555ms number=2394236 hash=f0e2f4…32160b ignored=0 INFO [06-03|13:35:08] Imported new block headers count=192 elapsed=2.406s number=2394428 hash=8df410…bff82b ignored=0 INFO [06-03|13:35:09] Imported new block headers count=192 elapsed=1.123s number=2394620 hash=3b472e…304d40 ignored=0 INFO [06-03|13:35:11] Imported new block headers count=1344 elapsed=1.589s number=2395964 hash=f11335…bdb486 ignored=0 INFO [06-03|13:35:16] Imported new block headers count=576 elapsed=5.749s number=2396540 hash=83b56f…2d34b7 ignored=0 INFO [06-03|13:35:17] Imported new block headers count=22 elapsed=88.833ms number=2396562 hash=4a2013…e490b5 ignored=0 INFO [06-03|13:37:08] Imported new block headers count=8 elapsed=46.601ms number=2396570 hash=14f9a5…9bf85e ignored=0

up vote 1 down vote accepted

Why in multiples of 192?

It's just a constant.

MaxHeaderFetch  = 192 // Amount of block headers to be fetched per retrieval request

Why not 50 or 100?

Because 50 and 100 isn't an octal. The octal numeral system, or oct for short, is the base-8 number system, and uses the digits 0 to 7. The oct system used widely in CS.

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

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