UdjinM6
38f386ae1c
Few small changes: - Better log output (a bit more granular for mnb, fixing "\n"s and few other small issues) - Unify variable/class members naming a bit
...
Closes #733
2016-03-16 07:48:37 +01:00
UdjinM6
e0c4dd0129
Fix crash in CheckAndRemove
...
Closes #732
2016-03-14 14:27:20 +01:00
UdjinM6
5c2a0cc9ec
Fix bug that prevented new blocks to update tip during mixing
...
Closes #706
2016-03-02 12:54:46 +01:00
UdjinM6
c676748beb
Replace all hardcoded network message strings with NetMsgType:: constants, log unknown commands (net debug category only)
2016-02-19 07:59:00 +03:00
UdjinM6
8ad088ab75
Add few more debug messages for masternode category
2016-02-17 21:53:55 +03:00
UdjinM6
a4aef837bd
Merge remote-tracking branch 'origin/v0.12.1.x' into mergebtc0.12 + fix
2016-02-16 03:17:25 +03:00
crowning-
cfc8cc2fe5
dseg shouldn't be send for local addresses
...
Closes #695
2016-02-15 14:06:47 +01:00
UdjinM6
a5ac60b868
Merge remote-tracking branch 'bitcoin/0.12' into HEAD
...
+ merge fixes
+ keepass on evhttp
2016-02-06 16:48:04 +03:00
Evan Duffield
83f87b0f2d
merged
2016-02-04 12:39:53 -07:00
Evan Duffield
eeb53b9682
Vastly faster syncing process / small budget system changes
...
- Syncing process is now event based, rather than timeout based. This means the system can tell when it's done with each step and moves on between phases much faster. In initial testing it seems to be about 10-15x faster and has synced everytime successfully.
- Please remove print debugging when the syncing system is proven to be debugged.
2016-02-04 12:29:09 -07:00
UdjinM6
e2aaf09700
Cleanup
...
- lower unobvious dependency through header files, move few includes to the right places
- some trivial code cleanup
Closes #680
2016-01-31 12:08:45 +01:00
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
Evan Duffield
38cd9bd679
Improve portability of mn ranking algos
2015-07-24 09:44:46 -07:00
Evan Duffield
35cc21edf3
New masternodes must wait till end of queue
2015-07-23 07:16:55 -07:00
Evan Duffield
cd862ac1ea
Disable multisig proposals / IsScheduled read ahead 8 blocks
2015-07-23 06:46:38 -07:00
Evan Duffield
388f22c576
Version 26 / New masternode consensus system
...
- Consensus system selects 1/10 of the oldest masternodes by payment, then selects payee by score from those. This fixes various race conditions when blocks are close together or inconsistant historical winner lists.
- Ask for up to 2 cycles of history
- Keep up to 5 cycles of history locally
2015-07-21 20:07:23 -07:00
Evan Duffield
de485fe93d
Allow peers to ask for budget votes on testnet more than once
2015-07-21 07:05:35 -07:00
Evan Duffield
e4a0e8340c
Masternode payment cache and mnget changes
...
- Cache saves masternode payment history
- On startup, the client will find the most recent block and calculate the amount of entries to ask for. The other peer will then send that amount of entries to save bandwidth on restarts.
2015-07-20 19:24:43 -07:00
Evan Duffield
1eab82ae2b
Erase seen masternode broadcasts when masternode drops from list
2015-07-20 16:48:57 -07:00
Evan Duffield
d193cc2d91
Clean up broadcast list when nodes are removed
2015-07-20 12:20:15 -07:00
UdjinM6
753297ea99
drop -masternodeminprotocol/nMasternodeMinProtocol, use masternodePayments.GetMinMasternodePaymentsProto()
2015-07-20 08:03:36 +03:00
UdjinM6
86c869137f
fixes for sync
2015-07-20 04:54:02 +03:00
UdjinM6
dba572ac96
use specific protocols
2015-07-20 04:54:02 +03:00
Evan Duffield
9668befdf4
Dont ask for mnb of known masternodes
2015-07-19 09:38:23 -07:00
Evan Duffield
d5c4f3bea4
Only ask for missing masternodes/budget items after sync is complete
2015-07-17 11:03:49 -07:00
UdjinM6
91eda7e21c
Few sync improvements:
...
- do not call Added....() inside CMasternodeSync::Process() - that was "faking" sync process
- unify "RequestedMasternodeAttempt <= ..." logic and define MASTERNODE_SYNC_TIMEOUT
- add missing masternodeSync.AddedMasternodeList() to CMasternodeMan::ProcessMessage()
- fix "include"s
- don't check vecMasternodesUsed while not synced
2015-07-17 13:08:15 +03:00
UdjinM6
26fed43603
Major masternode broadcast/ping changes (incompatible with prev version, proto bump required):
...
- Do not rely on local lastTimeSeen and requested fRequested anymore. Use last know (signed) ping instead and base all logic on that. Should reduce mn list difference between
nodes.
- Rework CActiveMasternode accordingly along with states, errorMessages, rpc etc.
- Clean some related code, move parts from public to private
- drop c_str in LogPrintf that were related to this functionality (todo: drop it for LogPrintf everywhere else)
2015-07-14 08:50:30 +03:00
UdjinM6
635778f0ab
use spork dependent logic to get the right minimal proto everywhere MIN_MNPAYMENTS_PROTO_VERSION was used previously
2015-07-08 05:00:09 +03:00
Evan Duffield
d8a6057205
Fixed issues with budget syncing
2015-07-02 08:07:30 -07:00
Evan Duffield
2b75faefee
Various fixes improvements
...
- Implemented spork for only paying new nodes after a period of time on mainnet
- protocol bump
- fixed a few issues with sporks. Spork show now shows all sporks, instead of the changed ones. IsSporkActive now supports sporks set to 0 as on.
2015-06-25 12:59:11 -07:00
Evan Duffield
fd8afcc91a
added masternode status info
2015-06-24 09:41:03 -07:00
UdjinM6
a6a04cb5c1
refactor: dsee -> mnb
2015-06-23 18:40:08 +03:00
Evan Duffield
b8c842744d
clear out old masternodes in CheckAndRemove
2015-06-21 06:54:07 -07:00
Evan Duffield
ca95ca2d95
fixed nDos for failure of mnp
2015-06-20 13:28:41 -07:00
Evan Duffield
947b79c8c5
Changed masternode broadcast/pinging logic
...
- Fixed a bug causing the broadcasts to be ignored in some situations
- Added some logic to rebroadcast new masternodes, so the rest of the network finds out about unknown nodes quickly
- should help masternode payments to work properly
2015-06-20 12:56:56 -07:00
Evan Duffield
c489574e8a
Masternode System Bug Fixes
...
- Fixed a race condition with masternode node selection upon new blocks
- Using nTime for lastpaid instead of the current time for high consensus
2015-06-14 17:05:51 -07:00
Evan Duffield
eaf7b940a6
Complete rewrite of consensus code for mn/budget payments
...
- Added FindProposal and FindFinalBudget to budgeting class
- Added 2 new sporks for Proposals and Budget payment enforcement. This is outside of the decentralized code so we can turn it off if there's a problem.
- Detect budget blocks and pay correct amounts in super blocks
2015-05-30 10:27:51 -07:00
Evan Duffield
bd4a7f2fad
Masternode payment consensus via quorums
...
- Payees are chosen by their last payment, if no payment it's based on their hash
- Fixed a few issues with counting quorum votes
2015-05-28 10:45:31 -07:00
Evan Duffield
fe55b12a1f
added improvements for finding next masternode to get paid
2015-05-27 12:47:01 -07:00
Evan Duffield
40149c4e41
Budgeting Software / Reference Node Removal
...
- Added commands for using budgets "mnbudget" and "mnfinalbudget"
- Supports 100% decentralized budget control and view-only site with json meta data object
2015-05-14 18:01:15 -07:00
Evan Duffield
969826c249
Reference Node / Stubbed Out Budget System
...
- Removed of reference node and replaced with decentralized quorums that pick the masternodes who get paid each block.
- Made a budgeting system, where masternodes can vote on individual budgets and the data is stored perminently on each clients computer
2015-04-30 07:55:37 -07:00
Evan Duffield
1e69e57662
Masternode Overhaul
...
- Added new CMasterBroadcast/CmasternodePing objects, with all of the code required to check each new message. SHould be much easier to tell what's going on now.
2015-04-17 23:44:49 -07:00
Evan Duffield
88f6a598b9
Updated Reference-Node Implementation
...
- Added nLastPaid to masternode information for persistant storage of the masternode payment cycle
- Masternodes get flagged as just paid when they enter the masternode list and must wait a full cycle to be paid again
- Masternode RPC commands now show short vin string instead of ip address
2015-04-16 07:08:06 -07:00
UdjinM6
b26ea22a70
Merge branch 'master' into merge_btc010
2015-04-13 22:46:04 +03:00
Evan Duffield
c38eff15e0
Ignore dsee entries with signatures
2015-04-13 10:49:02 -07:00
UdjinM6
3cfd9538d5
Merge branch 'master' into merge_btc010
2015-04-10 19:32:57 +03:00
Evan Duffield
a79196bc19
fixed masternode find bug
2015-04-09 12:17:32 -07:00
evan82
cd4b13d86d
Merge pull request #301 from UdjinM6/fix_mnstop
...
masternode stop should disable MN and remove it from MN list
2015-04-08 07:17:52 -07:00
UdjinM6
27514f0f80
masternode stop should disable MN and remove it from MN list
2015-04-08 07:02:23 +03:00
Evan Duffield
ad348211f8
Merge branch 'v0.11.2.x' of https://github.com/darkcoin/darkcoin into v0.11.2.x
2015-04-07 20:04:02 -07:00
Evan Duffield
631e4b505f
fixed vote-many
2015-04-07 12:59:30 -07:00
UdjinM6
41f592aec7
Explicitly convert mutable txes to immutable before calling AcceptableInputs
2015-04-07 05:59:56 +03:00
UdjinM6
23129a063f
Merge branch 'master' into merge_btc010
2015-04-04 20:15:38 +03:00
UdjinM6
dd39898a6b
Merge branch 'master' into HEAD
...
Resolved conflicts:
configure.ac
src/clientversion.h
src/qt/locale/dash_bg.ts
src/qt/locale/dash_cmn.ts
src/qt/locale/dash_de.ts
src/qt/locale/dash_es.ts
src/qt/locale/dash_fi.ts
src/qt/locale/dash_pt.ts
src/qt/locale/dash_ru.ts
src/qt/locale/dash_sv.ts
src/qt/locale/dash_vi.ts
src/qt/res/icons/toolbar.png
src/qt/res/icons/toolbar_testnet.png
2015-04-04 19:45:02 +03:00
UdjinM6
64eebc3316
0.12 dirty merge'n'fix (bitcoin 0.10)
2015-04-04 19:24:37 +03:00
Evan Duffield
09a898769a
remove donations to multisig addresses
2015-04-03 20:26:55 -07:00
Evan Duffield
ef96abcde4
Merge branch 'master' of https://github.com/darkcoin/darkcoin
2015-03-31 14:22:27 -07:00
Evan Duffield
57127ce661
use different cs for dsee
2015-03-31 14:21:59 -07:00
UdjinM6
ae2dec6780
Fix MN dsee: MN should not update itself in MN list until it activated
2015-03-31 17:29:31 +03:00
UdjinM6
d08949970c
Merge branch 'v0.11.2.x' into v0.11.2.x_mncache_strmagic
2015-03-24 19:14:07 +03:00
UdjinM6
7ae6c961f7
use strMagicMessage to verify mncache.dat, rewrite (only) if hash and both magic are ok
2015-03-24 13:43:14 +03:00
UdjinM6
6f11893ea1
ProcessMasternodeConnections should work on testnet too
2015-03-24 05:03:34 +03:00
UdjinM6
cfc4bbd986
do not check mn unless only active requested
2015-03-24 05:02:22 +03:00
UdjinM6
0fd7c655a4
move mn state enum inside class
2015-03-24 04:59:12 +03:00
Evan Duffield
4152eea1c1
fixed ranking issues for PoSe
2015-03-23 05:59:22 -07:00
Evan Duffield
c5da226a09
changed some locks
2015-03-21 20:10:34 -07:00
Evan Duffield
412a6838c7
added masternode voting system for dash initiates
2015-03-20 11:24:11 -07:00
Evan Duffield
dce8718d6b
Merge branch 'v11.2-dash' into v0.11.2.x
2015-03-20 07:49:36 -07:00
Evan Duffield
3fff810292
fixed masternode payments FindOldestNotInVec
2015-03-19 08:04:14 -07:00
Evan Duffield
8f39610ee4
Merge branch 'v0.11.2.x' of https://github.com/darkcoinproject/darkcoin into v11.2-dash
2015-03-18 12:50:02 -07:00
Evan Duffield
80eafa36d5
fixed dsee sync
2015-03-17 16:12:06 -07:00
Evan Duffield
35bb210c6b
Dash rebranding
2015-03-17 16:06:58 -07:00
Evan Duffield
1f47914316
fixed bugs / removed spam
2015-03-16 15:25:15 -07:00
Evan Duffield
c65adeb7d1
Fixed mnw message issue
2015-03-16 13:57:07 -07:00
Evan Duffield
8cd7f8e980
Add structure for donating a percentage of ones earnings to another party via the protocol
2015-03-16 12:01:11 -07:00
Evan Duffield
819724ad1d
merged proof-of-service
2015-03-16 09:40:39 -07:00
Evan Duffield
e5267319ef
Complete implementation of Proof-of-Service
...
- Ensures ports remain open and client are responsive to IX requests.
- Completely 100% decentralized. This farms out the work of checking the masternode network to the masternode network. 1% of the network is determistically selected to check another 1% of the network each block. It takes six separate checks to deactivate a node, thus making it tamper proof.
- Nodes are kept in the masternode list if they fail enough PoSe checks to deactivate. They will continue to be checked until the operator fixes them. However they will not be paid while they're failing checks.
2015-03-16 09:32:18 -07:00
UdjinM6
6933d17a80
- new function GetMasternodeRanks returns full masternode rank list
...
- use GetMasternodeRanks in "masternode list rank" instead of GetMasternodeRank
- small cleanup
2015-03-14 21:37:43 +03:00
UdjinM6
3bb912d8c3
allow 9999 for MNs on mainnet only
2015-03-11 22:26:39 +03:00
Evan Duffield
c169e49fce
Added input/output/sig trickle
...
- Send a few inputs/output each cycle
- Mix other users inputs/outputs into relay each cycle
- Send signatures as a tickle, also mixed with other users signatures
- Fixed a bug with validating the final transaction
2015-03-07 07:50:14 -07:00
UdjinM6
b5414e1c3c
save nDsqCount in mncache.dat
2015-03-06 20:59:19 +03:00
UdjinM6
e522cbfd6a
rename masternodes.dat->mncache.dat / fix strings
2015-03-05 20:39:47 +03:00
Evan Duffield
f63e1ddfd0
Merge branch 'v-1.11.2.x' of https://github.com/darkcoinproject/darkcoin into v0.11.2.x
2015-03-05 08:23:43 -07:00
evan82
5965bec6ba
Merge pull request #222 from UdjinM6/v0.11.2.x_reject_too_old_mn
...
v0.11.2.x better old mn filtering
2015-03-05 08:15:01 -07:00
Mike Kinney
98fe439af4
V0.11.2.x update comments
2015-03-05 00:10:15 -08:00
UdjinM6
2a5d588784
Make masternodes.dat verification more specific, prevent from overwriting corruped files and files with unknown format, give more info in debug.log output
2015-03-05 02:46:50 +03:00
UdjinM6
84f4657ff9
Prevent masternodes with protocol less then nMasternodeMinProtocol (set to MIN_PEER_PROTO_VERSION by default now) to be able to stay in masternode list. Scenario: MIN_PEER_PROTO_VERSION was bumped but because we remember masternode we will never ask it for dsee again.
2015-03-04 22:04:02 +03:00
Evan Duffield
a6b58ab1e8
Merged masternode blinding
2015-03-04 08:58:36 -07:00
evan82
40b2ac6e3e
Merge pull request #211 from UdjinM6/v0.11.2.x_pay_to_oldest_legit
...
V0.11.2.x pay to oldest legit MN
2015-03-01 19:06:17 -07:00
evan82
e2cf12b9de
Merge pull request #210 from UdjinM6/v0.11.2.x_check_exp_mn_on_start
...
V0.11.2.x check expired MNs right on client start
2015-03-01 19:04:22 -07:00
UdjinM6
f4f3f6bd6a
prevent gaming sigTime too much on initial dsee
2015-03-01 18:51:30 +03:00
UdjinM6
b2017ebefa
find oldest legit masternode to pay / naming "now" -> "sigTime"
2015-03-01 18:45:27 +03:00
UdjinM6
7b1efb8997
show new number of MNs on add/remove in logs / move output to debug level
2015-03-01 03:26:29 +03:00
UdjinM6
80ce3f5a06
clear maps in mnodeman
2015-03-01 03:04:17 +03:00
UdjinM6
4af7c7411a
check and remove expired masternodes on client start / more info on load/flush
2015-03-01 02:56:52 +03:00
evan82
2d3426755c
Merge pull request #207 from UdjinM6/v0.11.2.x_fix_logs
...
V0.11.2.x fix logs
2015-02-27 06:49:31 -07:00
UdjinM6
e7bf8d0fe6
Few small log output fixes:
...
- fix DumpMasternodes log output (wasn't really working)
- add log output on CMasternodeMan::Add
- slightly edit CMasternodeMan::CheckAndRemove log output
2015-02-27 04:49:12 +03:00
UdjinM6
14ecda3486
With persistant storage this restriction was way too hard and could lead to dramatically shrinking/not updating masternode list after few restarts with some timeouts
2015-02-27 04:41:17 +03:00
UdjinM6
4fe845bf15
Fix crashes on remove from vector
...
Few more locks and slight iterators optimization
2015-02-27 02:12:43 +03:00
Evan Duffield
848adbb2d3
Fixed compiling errors
...
std::stoi was introduced in C++11, should probably avoid using it
2015-02-26 07:23:06 -07:00
UdjinM6
2e05bf212e
Change the way changes are handled:
...
- do not keep track of a single time variable for whole structure change
- save to masternode.dat and clear on checks:
- who's asked for the masternode list and the last time
- who we asked for the masternode list and the last time (will help to prevent dseg ban when restart wallet several times in short period of time)
- which masternodes we've asked for
- do not use timeout for CheckAndRemove (played with that - doesn't make sense actually)
2015-02-26 02:21:28 +03:00