MultiversX Tracker is Live!

Ask /r/ethereum: How to learn geth internals?

Etherum Reddit

More / Etherum Reddit 240 Views

I'm trying to learn the internals of geth, particularly in regards to the sync code. My short-term goal is to make a change so that in snap/fast sync, the last N full blocks are downloaded instead of the last 64.

I edited downloader.go and changed fsMinFullBlocks to 2_000_000 as a first guess, and it seems to work for a few blocks, but then geth rapidly consumes all my system memory as the sync progresses.

Can anyone give advice either on this specific issue, or more generally how to start learning the geth codebase?

submitted by /u/hazard02
[link] [comments]
Get BONUS $200 for FREE!

You can get bonuses upto $100 FREE BONUS when you:
πŸ’° Install these recommended apps:
πŸ’² SocialGood - 100% Crypto Back on Everyday Shopping
πŸ’² xPortal - The DeFi For The Next Billion
πŸ’² CryptoTab Browser - Lightweight, fast, and ready to mine!
πŸ’° Register on these recommended exchanges:
🟑 Binance🟑 Bitfinex🟑 Bitmart🟑 Bittrex🟑 Bitget
🟑 CoinEx🟑 Crypto.com🟑 Gate.io🟑 Huobi🟑 Kucoin.



Comments