/usr/bin/duniter
is a script again which does the very minimum so that the duniter
command can work from anywhere and without and with --home
parameter. the default Duniter home is /var/lib/duniter
, but a different one can be set with --home <new_home>
.
When conf.json
is not found and a peer node is defined as DUNITER_SYNC_HOST
or DUNITER_PEER_HOST
, bootstrap a new conf.json
file with the blockchain parameters from this node.
This is enough for duniter to survive a config loss with no need for a full resync.
peers.db
lossWhen peers.db
is not found and a peer node is defined as DUNITER_SYNC_HOST
or DUNITER_PEER_HOST
, bootstrap a new peers database using sync --only-peers
against this node.
It is now possible to autosync against a chunks folder from a dex
export. It only needs these settings: