TransWikia.com

Does getPastLogs require arvhived parity node?

Ethereum Asked by Miao ZhiCheng on December 6, 2020

Talking about parity here:

--pruning=[METHOD]
    Configure pruning of the state/storage trie. METHOD may be one of auto, archive, fast: archive - keep all state
    trie data. No pruning. fast - maintain journal overlay. Fast but 50MB used. auto - use the method most recently
    synced or default to fast if none synced. (default: auto)

And I use web3.eth.getPastLogs to query old logs.

Do I need to use “archive” node in oder to get all information about past logs?

One Answer

No, you do not need pruning archive as this is only giving you information of the state of the blockchain for older blocks, this has no influence on the logs, which you are interested in.

Answered by Tbaut on December 6, 2020

Add your own answers!

Ask a Question

Get help from others!

© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP