dashpay / dash

Dash - Reinventing Cryptocurrency
https://www.dash.org
MIT License
1.49k stars 1.2k forks source link

masternode caching to agressive #7

Closed schinzelh closed 10 years ago

schinzelh commented 10 years ago

The caching of the inactive masternodes is to aggressive in 0.10.10.1: The list only gets pruned on daemon restart. This causes list blow up and issues when migrating masternode to a new IP address.

See http://tdrk.poolhash.org/blocks/masterlist.txt

Inactive nodes should be pruned in fixed intervals.

Current time: 1402986001
ip      status      address     lastseen        sec(ago)        activeseconds
107.20.28.12:19999  0   n2eL7u3pgqMYNSxVbvHDTL1WJJzS92qUbU  1402974985251882    11015   519738
107.20.122.204:19999    0   mp6rSxNV1gtSB2KMFDLMkEK6pcFQgEGfXC  1402974977481661    11023   519724
54.76.47.232:19999  1   mpKNkHEdgtxQAjTCkGB4ZwHAED74qwjDvj  1402985754418887    246 688563
184.73.114.32:19999 0   mnJM9UeHTSWUtPQUnycxxLccpWat2WUyMJ  1402974973202661    11027   519734
50.16.13.19:19999   0   mwzV5fEMTWXbgnzkF8kgraZVJJXYhZ5RQu  0   1402986001  -1402722877
54.224.75.195:19999 0   mxjko3miNiPCPqcHqnCDW6XUSgHfPs8TEs  1402974994119510    11006   519746
54.234.251.170:19999    0   n1HRzCV9RBxVJoC5noKVNBCx4gAbTZPyPZ  1402974995874158    11005   519764
23.22.13.31:19999   0   mp6jBHsU4nZph2SMiVvn1miSh3ZVsYTF9Q  1402974987382514    11013   519710
54.201.114.13:19999 0   mvJkju1wcxYTA9h1cbu8Uf37pzby6kCKx8  1402863477757995    122523  156737
184.73.34.180:19999 0   mzpwtJ5hEVtuD1rS2vVgh7rZJT7ykz85Ss  1402975037434970    10963   519778
54.197.213.80:19999 0   mfmqKHWKdS6juPjUMwDo6cTSWJSoKtAsGs  1402974927306231    11073   519696
54.80.217.163:19999 0   mqAcG1w5AjNEKmHfaUCZccx3rpdEcUHHzw  1402973543882929    12457   518268
23.23.55.5:19999    0   mhpFH686HP4LoHw1PF91GD8sTFuCxPkMam  1402974456380670    11544   519203
54.255.182.225:19999    1   mtSQDmxDEY69Kn31uo6aRJHxD1nYdFFzvo  1402985623310239    377 154787
54.226.159.60:19999 0   mnLuWfQTiWv8k5QiVwER9EyBrsb5pbhZW8  1402974980569063    11020   519717
107.22.42.148:19999 0   mzArKcPEqCw812YBjKav4jArBD29mpnn1o  1402974527676772    11473   519281
54.83.151.118:19999 0   mzAAz5JH9PojrNQNxfsDRpnD2vqWzhryhn  1402974996528964    11004   519752
54.81.150.16:19999  0   n13ZexVbEmHRAPvgcM69cTrHJXjA8Ppa34  1402974999320542    11001   519749
84.25.161.117:19999 0   mimbetjLREPGTgWMbeHiwU8yTGKqgNn3z2  1402765471854957    220529  427257
54.80.221.149:19999 0   mgxnFTPELSCen9DwosYb59WqVAgYzbBFEf  1402974070927259    11930   518828
54.198.145.174:19999    0   mrXi3JeVASCew48xZCRnHq1L2M4FLvJDhT  1402974956089711    11044   519707
54.81.244.239:19999 0   mtDk3CAwEoPo2yRwzbNhrUiJL8Jytr2arp  1402974977255769    11023   519741
50.16.50.164:19999  0   mfwFQXpRNhBFakKR6tMCgRaMB19yszGf2y  1402974914507466    11086   519683
54.227.119.61:19999 0   mjFS4BhRxFikiCrG4eDa1Pxk41eduwEHJ4  1402975006992479    10994   519770
5.45.102.169:19999  1   muNRbrwBSgTCdHTYL5R2Eokvj9H1q21ytC  1402985890892925    110 136397
54.87.121.203:19999 0   mnJrwqyKD46Uds56iEgPkqV1EsY9eGS35A  1402974844793005    11156   519604
54.242.139.236:19999    0   mv48C1GdFQFRSfGRerxtuRzxRuSskWiTkN  0   1402986001  -1402455278
54.178.139.242:19999    1   mgosBEJMvd27HiHcm1LLJqTekMAkaxHAvZ  1402984517679137    1483    345475
54.80.248.174:19999 0   n27C1kaFfNCMF6wow5trA19v84ajN6yNQq  1402974960050230    11040   519727
188.226.243.116:19999   1   mxv11kABs5n2aLWHytKgFQvESd2f9vwywL  1402985123942084    877 49436
54.76.52.216:19999  1   mqkfxeKvqESJ53xkiSVBP8THVdXEddzKDv  1402985979896565    21  57576
54.225.6.1:19999    0   mq6ZTVuZNRFS8F4EkETbwMrgdwsnawbC6m  1402974967956027    11033   519731
54.198.252.150:19999    0   mnwaBzVu4uMr5KEpQXYohSRxXwvgF5okiy  1402974996202693    11004   519741
54.242.110.149:19999    0   mrFhdJKyQPF1uYhXbMbmjp47bMCp3Fda2k  1402800303409419    185697  345014
54.237.191.208:19999    0   n1d9XPVZ9ZkbFF4sseEPg31KF2s5YwXCTa  1402974892206066    11108   519660
50.17.9.225:19999   0   mvaUy1oHfEykY5SohyfpRWP8YzqGb7r5qf  1402974979113055    11021   519743
50.17.56.71:19999   0   miRmicKoQPqEbem31CX8Pe59YGpfzsy5Zn  1402974983197392    11017   519747
37.187.216.11:19999 0   mqYB4ZA1nHHTzhHtSyBwMoj6ssiAuFWinv  1402844391537553    141609  364433
54.227.104.145:19999    0   msMrvVzPQtXNCZBuMdQEkaAHxVGbKp4Ltj  1402974958221503    11042   519709
104.33.210.231:19999    1   n36fd8g9ad9bph8zcmVbLPXYbkqr5H59zF  1402985963058329    37  87347
107.20.4.185:19999  0   n3tgXsA8ssLfabiMVa62a4XiTrYwE5qo59  1402974984226327    11016   519690
54.224.75.199:19999 0   n18a5JXE3Jo6wKU2PFbFxPXRdWUaVo9mJk  1402974997058979    11003   519752
107.20.38.255:19999 0   mfsFTWRKbg7qpEczCB1cHVmMMAwN5XNYgS  1402974969137728    11031   519731
54.198.191.99:19999 0   myVSR4kptFPTSFjARc3DD8RkFvkLQ2CJ8c  1402974919842102    11081   519688
54.87.101.82:19999  0   mjPy9Fgkihr4dWJp7J8DTTYPNJnuhzCTTb  1402894340008364    91660   439058
54.211.202.218:19999    0   mzndheV3uxR2iBQL5uyFBDyD11U3ewNjBP  1402974998592338    11002   519734
184.73.179.187:19999    1   ms9JqmHQ6QrLbeFFyAp22cofqnR5PNuHkK  1402985889981149    111 740836
184.73.179.148:19999    1   motxZAqgHyaUFQAwM9h6EJHPEVgWumbh8V  1402984445396578    1555    297037
108.61.199.47:19999 0   muu6HVowG7rQatYCagd1QcaxjTqN1ecayM  1402922228051058    63772   450998
107.170.200.102:19999   0   mzGT7GqwW41PFjgA2VRXnRxfE9vaX2M4Kh  0   1402986001  -1402425169
204.236.211.102:19999   0   mysBdRyDRFSYgBGUVjrEM1TyXsNxHMEUgQ  1402974921370094    11079   519690
54.183.68.222:19999 0   mjuuPEnauNfess3KpfDiYAZnb4DhhA43dH  1402798252594012    187748  16202
54.83.143.1:19999   0   mh7mPbsJ3SarRbHDrGcWth8fD3J4fBMuY6  1402975007619004    10993   517964
54.197.189.67:19999 0   mvyjFNPtB6Dp3MbYGsb4YvQJ1PHa42aVpm  1402974980340066    11020   519717
23.20.78.184:19999  0   mxLm7e9xS5oLPCtHJJUc8SzhCQvAwdGKvV  1402975035103551    10965   519778
54.242.152.165:19999    0   mxUBaBzp4RkFvfqxf2RDMRX55YBf9V9aQS  1402974980797305    11020   519730
184.73.179.196:19999    0   mhzsGPJ96hZ7Jjwr11aNJsmaukBNuLKBNa  1402786761154946    199239  0
54.224.28.113:19999 0   mwP6g2kjMPWA5F59BqvPgfWeFbAyUr2CzV  1402974995147535    11005   519732
23.242.106.27:19999 0   mnKjtxAsabarv2y2kb3sGyHz7rFEnm7Uu4  1402736769500482    249231  374007
54.255.159.230:19999    0   moqpGCABQQefuujQ9nsAMJVEiwAXyAMw6o  1402744409328805    241591  404953
184.73.48.127:19999 0   mm3TFaL3j3Po5SQzEgazc8Fd9zeDysGXL1  1402974980586318    11020   519735
37.187.47.129:19999 1   mqGXfPgqp2Gr4qKm2CSjeCHjJnAhimFMQB  1402985612382874    388 313172
54.88.23.198:19999  1   mpv3jJQi9otaVTDhheHyKP7k8toLd73ott  1402985702329592    298 212899
107.21.138.152:19999    0   mqRwwsHBkfGCgErQBigyPQdjuR4NQzELNq  1402975011050454    10989   519758
54.80.118.25:19999  0   mtRuEbzakYd8vb98szxiHE8unB1mqaXJPY  1402974968399700    11032   519726
54.86.103.191:19999 0   mwnfhj5k4dvzTycttN5249FvtMNMzisPiy  0   1402986001  -1402298212
54.203.87.19:19999  1   mw23256bSTqEkP6ThTRrY3KNicB9cfwzLR  1402984634281910    1366    293141
54.209.226.236:19999    0   mrPbaoAeVVeaiuezEmqs7zQimHHcAtKAqq  1402758872901801    227128  191533
54.82.237.183:19999 0   mqbBTc2UAoHf4ZxyHnUU8yKaNRys1nePn2  1402975018490962    10982   519780
50.17.76.216:19999  0   mx1YyAwnPAaR4njNrWAZAqu1XPutHFfzUq  1402974903078913    11097   519672
50.19.54.118:19999  0   mmGW1Sw9FzpA1mmp6Spy1GJiCx67kTGGKo  1402974982670088    11018   519688
50.16.10.185:19999  0   mnX2qN3EPikkEq9MXyBjbsm5jS2ebJ9mw6  1402974982345663    11018   519745
54.198.109.108:19999    0   n13k8bjboMdfkFCozoJW3Cwq9ZtcD4bFVP  1402974964924222    11036   519732
54.187.82.180:19999 0   msE6tmM1sHsDzRVGaWndJebWQdBaMQoVSy  1402951169251144    34831   91839
54.80.186.130:19999 0   mpvL27XHssSfTWNXVMKxjQPZ3kgKqdo87W  1402974968281405    11032   519730
54.215.181.251:19999    0   mi7tdoiKXTs8HusNdDyh4JhyNtMiUVUZZE  0   1402986001  -1402776027
50.16.159.173:19999 0   myb7gyiBweTvpP3vtnPgv9Kmczr6AxwWf1  1402974971368864    11029   519737
darkcoinproject commented 10 years ago

This is fixed in the new version. Thanks!