Paramètre ` onlyPeers` ne fonctionne plus
Suite à la synchro de mon noeud, il se retrouve isolé. Les quelques pairs qu'il a récupéré timeout. je souhaitais ne synchroniser que les pairs pour aller plus vite, mais la commande échoue :
g1@yunohost:/opt/scripts-for-duniter# duniter sync duniter.acostey.fr --onlypeers --nointeractive
2020-04-05T07:14:56+02:00 - debug: Plugging file system...
2020-04-05T07:14:56+02:00 - debug: Loading conf...
2020-04-05T07:14:56+02:00 - debug: Configuration saved.
Failed to open file for reading : /opt/g1/.config/duniter/duniter_default/wotb.bin
2020-04-05T07:14:56+02:00 - debug: Opening SQLite database "/opt/g1/.config/duniter/duniter_default/duniter.db"...
2020-04-05T07:14:57+02:00 - debug: Opening SQLite database "/opt/g1/.config/duniter/duniter_default/txs.db"...
2020-04-05T07:14:57+02:00 - debug: Opening SQLite database "/opt/g1/.config/duniter/duniter_default/peers.db"...
2020-04-05T07:14:59+02:00 - debug: Upgrade database...
2020-04-05T07:15:06+02:00 - info: Block resolution: 0 potential blocks for root block...
2020-04-05T07:15:06+02:00 - debug: Closing LevelDB level_blockchain...
2020-04-05T07:15:06+02:00 - debug: Closing LevelDB level_wallet...
2020-04-05T07:15:06+02:00 - debug: Closing LevelDB level_bindex...
2020-04-05T07:15:06+02:00 - debug: Closing LevelDB level_mindex...
2020-04-05T07:15:06+02:00 - debug: Closing LevelDB level_iindex...
2020-04-05T07:15:06+02:00 - debug: Closing LevelDB level_sindex...
2020-04-05T07:15:06+02:00 - debug: Closing LevelDB level_cindex...
2020-04-05T07:15:06+02:00 - debug: Closing LevelDB level_dividend...
2020-04-05T07:15:06+02:00 - debug: Trying to close SQLite...
2020-04-05T07:15:06+02:00 - debug: Trying to close SQLite...
2020-04-05T07:15:06+02:00 - error: TypeError: Cannot read property 'getPeers' of undefined
at RemoteSynchronizer.syncPeers (/opt/duniter/app/modules/crawler/lib/sync/RemoteSynchronizer.js:258:39)
at Object.onDatabaseExecute (/opt/duniter/app/modules/crawler/index.js:130:41)
at Stack.processCommand (/opt/duniter/index.js:380:47)
at <anonymous>
at process._tickCallback (internal/process/next_tick.js:160:7)