I have been running a geth node, mostly to see event logs fired by my contracts. I ran the node with syncmode=fast
and finally the node is synced. I can successfully read the logs.
Now, I read here the option --gcmode=archive
described as:
Trie pruning is enabled on all --syncmode variations (including --syncmode=full). If you are running an archive node where you would like to retain all historical data, you should disable pruning via --gcmode=archive.
What does the historical data mean here? Is it more than the normal logs that are created by events fired during transactions? What does it include and when should I use --gcmode=archive
?