Skip to content
Artem Moiseenko edited this page Sep 9, 2020 · 5 revisions

Welcome to the ansible-freeton wiki!

validator or full node for TON network

  • -v|--verbosity set verbosity level
  • -h|--help prints_help
  • -C|--global-config file to read global config
  • -c|--local-config file to read local config
  • -I|--ip ip:port of instance
  • -D|--db root for dbs
  • -f|--fift-dir directory with fift scripts
  • -d|--daemonize set SIGHUP
  • -l|--logname log to file
  • -s|--state-ttl state will be gc'd after this time (in seconds) default=3600
  • -b|--block-ttl blocks will be gc'd after this time (in seconds) default=7*86400
  • -A|--archive-ttl archived blocks will be deleted after this time (in seconds) default=365*86400
  • -K|--key-proof-ttl key blocks will be deleted after this time (in seconds) default=3658640010
  • -S|--sync-before in initial sync download all blocks for last given seconds default=3600
  • -T|--truncate-db truncate db (with specified seqno as new top masterchain block seqno)
  • -U|--unsafe-catchain-restore use SLOW and DANGEROUS catchain recover method
  • -t|--threads number of threads (default=7)
  • -u|--user change user

example: /srv/net.ton.dev.git/ton/build/validator-engine/validator-engine -t "8" -C /var/ton-work/etc/ton-global.config.json --db /var/ton-work/db -l /var/log/ton/node.log -A 172800 -d

Clone this wiki locally