- Who is King Lemuel in Proverbs 31?
- Are there established linguistic theories which incorporate the concept of “lazy speech”?
- Get private-keys from wallet using bitcoinj
- can there be a normal wallet that is equivalent to a multisig wallet?
- Electrum multisig 2of2 on separate machines and both offline(cold storage)
- Can someone find out how much bitcoin do I have using my public key?
- Caleb Name Meaning (Hebrew)
- Why did Clement and Eusebius believe that Paul was married?
- Why were none of the Apostolic fathers' writings included in the last canon accepted in the Ecumenical Councils?
- Is it right to talk about dynamic range on frequency domain?
- What algorithms to use for a secure transport protocol on devices with limited computing power
- Multi-secret sharing (Packed secret sharing) - Some questions
- Cryptography scheme to prove you really are the author for something
- Can I get married if my visa has expired?
- What this plant is called
- Which movement was Karl Popper talking about?
- Is this argument valid?
- Does god know what comes after his death?
- What does ダンッ mean?
- I need help with a Japanese Haiku
Full node sync only preserve the last 128 history states
While researching on the different sync modes and their behaviors, I learned that geth full sync will replay all transactions from the genesis and preserve all history states, while fast sync will only download block data without statedb until around 100 blocks before the latest block head, and then perform as a full node.
I decided to verify these behaviors in this way:
I started a private network, and mined 2000 blocks with no transactions (but the balance of the miner should keep increasing because of the coinbase transactions).
Then I started other geth instances with different dirs and ports. Connected them to the private network node in full and fast sync.
Here's what I discovered:
In full sync geth instance, I'm able to query the state(by calling eth.getBalance(eth.accounts,
In fast sync geth instance, I'm able to query the state only for the last 64 blocks.
In both cases, querying states from old