{"action":"created","issue":{"url":"https://api.github.com/repos/iquidus/explorer/issues/253","repository_url":"https://api.github.com/repos/iquidus/explorer","labels_url":"https://api.github.com/repos/iquidus/explorer/issues/253/labels{/name}","comments_url":"https://api.github.com/repos/iquidus/explorer/issues/253/comments","events_url":"https://api.github.com/repos/iquidus/explorer/issues/253/events","html_url":"https://github.com/iquidus/explorer/issues/253","id":394903845,"node_id":"MDU6SXNzdWUzOTQ5MDM4NDU=","number":253,"title":"Network tab (Peers) not purging","user":{"login":"ProjectHelixCoin","id":42091981,"node_id":"MDQ6VXNlcjQyMDkxOTgx","avatar_url":"https://avatars1.githubusercontent.com/u/42091981?v=4","gravatar_id":"","url":"https://api.github.com/users/ProjectHelixCoin","html_url":"https://github.com/ProjectHelixCoin","followers_url":"https://api.github.com/users/ProjectHelixCoin/followers","following_url":"https://api.github.com/users/ProjectHelixCoin/following{/other_user}","gists_url":"https://api.github.com/users/ProjectHelixCoin/gists{/gist_id}","starred_url":"https://api.github.com/users/ProjectHelixCoin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ProjectHelixCoin/subscriptions","organizations_url":"https://api.github.com/users/ProjectHelixCoin/orgs","repos_url":"https://api.github.com/users/ProjectHelixCoin/repos","events_url":"https://api.github.com/users/ProjectHelixCoin/events{/privacy}","received_events_url":"https://api.github.com/users/ProjectHelixCoin/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2018-12-30T21:47:05Z","updated_at":"2019-01-02T11:35:09Z","closed_at":null,"author_association":"NONE","body":"I've been running this explorer for a while now, but it seems to only add new peers into the network tab, but not removing the old, obsolite ones. As you can see here: http://explorer.helix-crypto.com/network it shows over 2200 nodes, but some are so old that the network doesn't even support them anymore for a couple weeks if not months.\r\n\r\nDoes anyone know why my explorer isn't purging the old peers, but DOES keep adding new ones?"},"comment":{"url":"https://api.github.com/repos/iquidus/explorer/issues/comments/450842354","html_url":"https://github.com/iquidus/explorer/issues/253#issuecomment-450842354","issue_url":"https://api.github.com/repos/iquidus/explorer/issues/253","id":450842354,"node_id":"MDEyOklzc3VlQ29tbWVudDQ1MDg0MjM1NA==","user":{"login":"ProjectHelixCoin","id":42091981,"node_id":"MDQ6VXNlcjQyMDkxOTgx","avatar_url":"https://avatars1.githubusercontent.com/u/42091981?v=4","gravatar_id":"","url":"https://api.github.com/users/ProjectHelixCoin","html_url":"https://github.com/ProjectHelixCoin","followers_url":"https://api.github.com/users/ProjectHelixCoin/followers","following_url":"https://api.github.com/users/ProjectHelixCoin/following{/other_user}","gists_url":"https://api.github.com/users/ProjectHelixCoin/gists{/gist_id}","starred_url":"https://api.github.com/users/ProjectHelixCoin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ProjectHelixCoin/subscriptions","organizations_url":"https://api.github.com/users/ProjectHelixCoin/orgs","repos_url":"https://api.github.com/users/ProjectHelixCoin/repos","events_url":"https://api.github.com/users/ProjectHelixCoin/events{/privacy}","received_events_url":"https://api.github.com/users/ProjectHelixCoin/received_events","type":"User","site_admin":false},"created_at":"2019-01-02T11:35:09Z","updated_at":"2019-01-02T11:35:09Z","author_association":"NONE","body":"Thank you @uaktags for your elaborated answer!\r\n\r\nI've changed the 2 files as you explained in your previous post, but i run into a \"unexpected indentifier: delete_peer\" error when i try to run it after.\r\n\r\nThis is the first file i changed: https://github.com/ProjectHelixCoin/explorer/blob/83c0194d1e3341ca6f0f8ccf5d7342bc58ec571b/scripts/peers.js#L20\r\n\r\nFollowed by the 2nd file: https://github.com/ProjectHelixCoin/explorer/blob/83c0194d1e3341ca6f0f8ccf5d7342bc58ec571b/lib/database.js#L735\r\n\r\nThis is the exact error i'm getting:\r\n```\r\nSyntaxError: Unexpected identifier\r\n    at createScript (vm.js:80:10)\r\n    at Object.runInThisContext (vm.js:139:10)\r\n    at Module._compile (module.js:616:28)\r\n    at Object.Module._extensions..js (module.js:663:10)\r\n    at Module.load (module.js:565:32)\r\n    at tryModuleLoad (module.js:505:12)\r\n    at Function.Module._load (module.js:497:3)\r\n    at Module.require (module.js:596:17)\r\n    at require (internal/module.js:11:18)\r\n    at Object.<anonymous> (/home/helix/explorer/bin/instance:4:10)\r\n/home/helix/explorer/lib/database.js:735\r\n  delete_peer: function(address, cb) {\r\n  ^^^^^^^^^^^\r\n```\r\n\r\nDid i miss any edits?"}}
{"actor":{"display_login":"ProjectHelixCoin"}}