I just created a local Binance Smart Chain fullnode on my PC with the following specs:
OS: Linux running on Windows Subsystem for Linux
Storage: 1TB SSD (Samsung 980 Pro)
CPU: AMD Ryzen 7 5800x
Ram: 32GB
Internet speed: 940 mbps up/down fiber
I set up the fullnode late last night and was surprised to see that it was synced within about 14 hours. I verified that it was synced by using `eth.syncing` in the `geth` console, checked the output of my logs, and verified that I was pulling the most recent block by using `web3.eth.get_block('latest')` from the Python `Web3.py` library while connected to localhost. However, I was doing some testing and noticed that sometimes `web3.eth.get_block('latest')` from https://bsc-dataseed.binance.org/ was pulling later blocks than my local fullnode.
For example, these commands were run in succession:
# connected to https://bsc-dataseed.binance.org/ In: web3_bsc.eth.get_block('latest')['number'] Out: 8079724 # connected to local fullnode In: web3_local.eth.get_block('latest')['number'] Out: 8079723 # connected to https://bsc-dataseed.binance.org/ In: web3_bsc.eth.get_block('latest')['number'] Out: 8079724
How is my local fullnode behind https://bsc-dataseed.binance.org/? I was expecting to be one or two blocks ahead of https://bsc-dataseed.binance.org/ with my specs, not one block behind.
[link] [comments]
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