Allow specify trusted peers
zhiqiangxu opened this issue · comments
zhiqiangxu commented
Recently the nodes often run into synchronizing issues, and we're seeing lots of such errors:
2024-02-26T23:31:17.095+0800 ERROR db09a.sync failed to sync atxs {"node_id": "db09a4f8ef6b5172825edec452fb48bde181e27b4a5479764d9add3ec771c232", "module": "sync", "sessionId": "beabab37-d206-4842-8ec1-8f0cf5540d2c", "errmsg": "get epoch info (peer 12D3KooWNRw7mvatu3XgNXgEsZxRLCtKi6QCRW895Ck5kKKunfgw): peer 12D3KooWNRw7mvatu3XgNXgEsZxRLCtKi6QCRW895Ck5kKKunfgw address /ip4/20.7.1.26/tcp/7502: 25.001015536s elapsed, 0 bytes read, 2 bytes written, timeout 25s, hard timeout 5m0s: i/o deadline reached", "name": "sync"}
It seems currently there's only an option to specify bootnodes
but no option to specify trusted peers.
It will help if one can manually specify trusted peers.