Two peers sheet with same endpoint and different keys
Created by: M5oul
Both node's peers sheets are up, but the second peer sheet contain an old key. To check if a node is up, the algorithm should also check the key.
{
"version": 2,
"currency": "test_net",
"status": "UP",
"first_down": null,
"last_try": null,
"pubkey": "J78bPUvLjxmjaEkdjxWLeENQtcfXm7iobqB49uT1Bgp3",
"block": "5385-00004ED14E5F9F6FD8E2083EE3F42FACF85BF6DB32D66F6E710C8DB61575B33C",
"signature": "r56GITfdrbqn3e+UP849LcY1oC6Rj2SkPsF2gxrFLIIQGkWlOOLuPQcKfV+DXVL+lNtHp5sslCh+Gv3hnkFMDg==",
"endpoints": [
"BASIC_MERKLED_API moul.re 78.227.107.45 2a01:e34:ee36:b2d0:82fa:5bff:fe28:389f 31550"
],
"raw": ""
},
{
"version": 2,
"currency": "test_net",
"status": "UP",
"first_down": null,
"last_try": null,
"pubkey": "8rH6xuqXds7m1RD1i6BJdCnUirkeFhKULdts8iFbrJbF",
"block": "5284-0000558BB7A45F7B029303B2CC47E9382F2D5E79783BAC6E318CF401457D89E3",
"signature": "lelrDR1haRZU4loljKDS/DU4ymgX0iv88UbDvhrky8R8yjO/h5ozzhYK59fRsdtLBJzkG8tm0ZHDhAdqs0DBBA==",
"endpoints": [
"BASIC_MERKLED_API moul.re 78.227.107.45 2a01:e34:ee36:b2d0:82fa:5bff:fe28:389f 31550"
],
"raw": ""
},
It should fix a part of https://github.com/duniter/sakia/issues/424 when the node with the old key appear and disappear. In Sakia, It appear because it is in /network/peers
and disappear because there is already the node with the current key.