bnb-chain / bsc-snapshots

254 stars 88 forks source link

FAQs #349

Closed zzzckck closed 1 month ago

zzzckck commented 6 months ago

Q1: Clarification of the snapshots

As BSC will mainly support PBSS & PebbleDB, we will only cover snapshots of PBSS&PebbleDB and ignore snapshot of HashBased&LevelDB here. This Q&A is based on https://github.com/bnb-chain/bsc-snapshots/issues/348 Currently(2024-03-25) there are 3 different kinds of sources:

Q2: How To Get Hash Based Snapshot

Please be advised that support for the Hash&LevelDB mode will be discontinued after September 30, 2024. Consequently, the functionality may become unavailable or cease to function properly at any time following this date. Hash based snapshot has been replaced by PBSS.

The last update for mainnet is on 2024-03-20, check: https://github.com/bnb-chain/bsc-snapshots/pull/345/files The last update for Testnet is on 2024-03-21, check: https://github.com/bnb-chain/bsc-snapshots/pull/346/files The download links are not guaranteed and could be broken in the future.

zhk101 commented 5 months ago
  • 48Club FastNode(~200GB): state: Only recent 129 blocks. <----- I'm running a fast node indeed and find this. And most importantly, if the state is not available, RPC won't report an error and returns 0! block: Only recent 90k blocks receipts: Only recent 90k blocks header: Only recent 90k blocks

I assumes these number applies to the current fastnode snapshot which is not using PBSS. Will this still be the case once they'll switch to PBSS, specifically for block/receipts/header? I read somewhere that PBSS holds less state but this might affect only the state?

zzzckck commented 5 months ago
  • 48Club FastNode(~200GB): state: Only recent 129 blocks. <----- I'm running a fast node indeed and find this. And most importantly, if the state is not available, RPC won't report an error and returns 0! block: Only recent 90k blocks receipts: Only recent 90k blocks header: Only recent 90k blocks

I assumes these number applies to the current fastnode snapshot which is not using PBSS. Will this still be the case once they'll switch to PBSS, specifically for block/receipts/header? I read somewhere that PBSS holds less state but this might affect only the state?

It will still be the case for FastNode-PBSS, since FastNode will not contain trie node, which means it is irrelevant to PBSS or HashBased, as it will not keep the trie node.