evan82
54deb1e75b
Merge pull request #650 from dashpay/v0.12.0.x
...
merge missing commits from V0.12.0.x
2016-01-05 10:39:39 -07:00
UdjinM6
f4afaec0b2
add missing maps cleaning in CMasternodeMan::Clear()
2015-09-30 04:24:29 +03:00
evan82
ddf71c0764
Merge pull request #561 from UdjinM6/v0.12.1.x_pre_enabled
...
V0.12.1.x pre-enabled status from masternodes
2015-09-22 07:14:10 -07:00
UdjinM6
f68a5d8102
remove depreciated dsee/dseep code
...
Closes #606
2015-09-12 16:35:37 +02:00
UdjinM6
2b4ec27206
inv messages vectors should not be pushed directly
2015-08-31 10:06:59 -07:00
UdjinM6
ef9b90aa09
inv messages vectors should not be pushed directly
2015-08-31 07:05:10 +03:00
Evan Duffield
61e67434cd
restored mnb cleanup
2015-08-28 20:25:55 -07:00
evan82
82606d6322
Merge pull request #562 from UdjinM6/v0.12.1.x_cleanup
...
V0.12.1.x cleanup
2015-08-28 20:04:48 -07:00
evan82
3729d93097
Merge pull request #575 from UdjinM6/v0.12.0.x_fix_mapSeenMasternodeBroadcast
...
V0.12.1.x fixes for mapSeenMasternodeBroadcast:
2015-08-28 19:52:14 -07:00
Evan Duffield
c5d6b8486b
Drastically reduce bandwidth/cpu usage for syncing
...
- Only send 1 winner per block for the previous 4500 blocks (was 10 items per block for 6000 blocks)
- Send full sync for last 5 blocks and next 20 blocks
- Turn off mnb cleaning, there aren't that many broadcasts on the network and this could cause problems in some cases
- Fix budget submission collateral check
2015-08-28 14:42:23 -07:00
UdjinM6
657bd1103e
Few cleanups:
...
- compiling errors
- output
- CBitcoinAddress usage cleanup
- refresh qt project file
- fix typo in `masternode` debug category
2015-08-28 23:16:58 +03:00
UdjinM6
611640d4e1
fixes for mapSeenMasternodeBroadcast:
...
- active masternode ping should update mapSeenMasternodeBroadcast's lastPing too
- dseg should fill mapSeenMasternodeBroadcast to be able to serve it later on getdata with MSG_MASTERNODE_ANNOUNCE inv
2015-08-26 03:18:01 +03:00
UdjinM6
84b03d28e0
more mem fixes:
...
- clean mapMasternodeBlocks and mapSeenSyncMNB too
- clean mapSeenMasternodeBroadcast by lastPing sigTime nad fix clean threshold
2015-08-25 17:15:59 +03:00
Evan Duffield
402d821529
Fix memory leak / reduce mnw memory
...
- mapSeenMasternodePing & mapSeenMasternodeBroadcast were not getting cleaned, so the pinging of 3000 masternode was accumulating over time. This patch has the clean clean the lists every few minutes and removes anything older than 20 minutes for pings and 2.5 hours for broadcasts.
- v48
2015-08-24 19:27:10 -07:00
UdjinM6
30ab984920
treat MN as pre-enabled while there is no legit ping that differ from initial one (from mnb)
2015-08-22 19:00:12 +03:00
Evan Duffield
76d9eddfa4
Cleanup nCount for qualifying nodes
...
- thx Udjin!
2015-08-20 09:27:34 -07:00
Evan Duffield
c64f76001b
nCount >= nTenthNetwork should be nCountTenth
2015-08-20 08:52:33 -07:00
Evan Duffield
6b31970f13
Fix payment cycle when network is in the process of updating
2015-08-20 08:37:05 -07:00
Evan Duffield
61223ed147
Fix dseg message
2015-08-14 09:15:50 -07:00
UdjinM6
001b8cf709
more fixes - dsee updated entry
2015-08-14 08:11:57 +03:00
UdjinM6
61239dbb36
more fixes - misbehave / rpc
2015-08-14 06:18:08 +03:00
UdjinM6
f0790ed32c
fix dseep flood / log output
2015-08-14 04:14:08 +03:00
UdjinM6
840a50a089
cleanups:
...
- typos
- remove `mnodeman.` inside `CMasternodeMan::`
2015-08-12 23:54:01 +03:00
UdjinM6
4cec1d9dad
fix CPU exhausting by dsee flood
2015-08-12 17:29:43 +03:00
UdjinM6
cbecd3bfa8
fix
2015-08-12 15:35:58 +03:00
UdjinM6
d636e74b59
fix dsee / log output
2015-08-12 04:58:23 +03:00
UdjinM6
7f916e4702
manage DS connections to masternodes properly
2015-08-11 09:00:46 +03:00
UdjinM6
81d96a2b52
fix bug with dsee/dseep proto check
2015-08-10 13:21:58 +03:00
UdjinM6
4c3f04b834
do not add/update v12 MNs from dsee/dseep
2015-08-10 02:47:35 +03:00
UdjinM6
e599928ed3
fix bugs in v12 dsee/dseep
2015-08-10 01:32:09 +03:00
UdjinM6
5bd997f255
more dsee/dseep for migration:
...
- inject our node in old masrternodes' list / ping accordingly
- ignore dsee/dseep after SPORK_10_MASTERNODE_PAY_UPDATED_NODES is activated
2015-08-09 16:17:19 +03:00
UdjinM6
ba37415328
support old masternodes
2015-08-09 04:07:58 +03:00
evan82
dac2b0fae5
Merge pull request #490 from UdjinM6/v0.12.0.x_process_on_IsBlockchainSynced
...
V0.12.0.x process DS,IX,MN,DGBB on IsBlockchainSynced, not on IBD
2015-08-07 06:18:50 -07:00
UdjinM6
8063bcc8aa
process DS,IX,MN,DGBB on IsBlockchainSynced, not on IBD
2015-08-07 07:48:55 +03:00
UdjinM6
f57c470f95
ask for mn / lower ban score for mnw
2015-08-07 06:07:40 +03:00
evan82
e05622037c
Merge pull request #477 from UdjinM6/v0.12.0.x_locks
...
V0.12.0.x more locks fixes
2015-08-05 14:31:29 -07:00
UdjinM6
6b74652b01
track hashes and update "last..." only twice per hash
2015-08-05 04:18:37 +03:00
UdjinM6
ff159ad7e7
ConnectNode/FindNide:
...
- Use FindNode instead of explicit loops
- Do not use FindNode where we can grab node right from ConnectNode (slightly less cs_vNodes)
2015-08-05 01:38:54 +03:00
UdjinM6
dd8fa7c365
Continue work on more debug categories
...
- rebased to latest v12
- masternode, mnpayments, mnbudget and keepass categories
- remove c_str in logprint(f)
2015-07-31 19:01:18 +03:00
UdjinM6
9ab4a72454
cleanups/fixes:
...
- use map.insert instead of [] (should be safer)
- debug output / comments / spaces / names
- fix few long strings / make translatable one more label in UI
2015-07-30 19:12:05 +03:00
UdjinM6
afd715286a
fix all kind of lock issues
2015-07-30 16:44:18 +03:00
UdjinM6
36bb9d6e27
FindRandomNotInVec - should give less failures then FindRandom on doauto
2015-07-30 06:27:29 -07:00
Evan Duffield
0edb236801
Fixed item count functionality and sync with no budegt
2015-07-29 01:06:30 -07:00
Evan Duffield
dc829e9d2c
added syncing counts
2015-07-28 21:16:11 -07:00
Evan Duffield
145c845d1f
Changed vote restrition model
...
- Masternodes can only vote once per hour now, instead of 100 times a day total
- UI reports back errors now
2015-07-26 07:01:49 -07:00
Evan Duffield
b04faf6e2d
Update lastPing in mapSeen obj, remove ping from CMasternode hash
2015-07-25 21:13:17 -07:00
Evan Duffield
61becf2f11
directly send inv messages
2015-07-25 19:27:40 -07:00
Evan Duffield
c0a5dfba61
Masternode inv messages / save seen in mncache
2015-07-25 12:07:30 -07:00
Evan Duffield
61745d7724
Filter SigTime modes / version / proto bump
2015-07-24 16:10:44 -07:00
UdjinM6
491c46c412
remove sync forcing and count already seen as a success instead
2015-07-24 21:35:11 +03:00