pete001 / eos-mainnet

Ansible repo for setting up an EOS RPC API node and syncing to the mainnet
https://eosnode.tools/automation
MIT License
47 stars 12 forks source link

Is it better to add validation-mode? #10

Closed shtse8 closed 6 years ago

shtse8 commented 6 years ago

I notice that the current default config hasn't validation-mode = light. Is it better to add this for better performance? Or there is some other reasons or drawback behind to not add this?

pete001 commented 6 years ago

Hey @shtse8 the general rule of thumb is that once your environment has validated a block, all of your interior nodes could run validation-mode = light.

As API nodes tend to be the first point of contact with the external network, it's generally regarded that they would process with full, and seed/producing nodes would be light.

You could definitely use light whilst rebuilding though to speed things up.

pete001 commented 6 years ago

You know, i have followed up on this, and it seems that it is the opposite way around these days! I am updating the config in the repo with this :-)

pete001 commented 6 years ago

Testing a full blocks replay before merging.

pete001 commented 6 years ago

Merged.