Commit Graph

7080 Commits

Author SHA1 Message Date
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
00c9dbf700 change masternode status to display 1000 DASH address 2015-08-28 23:18:55 +03: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
Evan Duffield
5cc8c79c7c Reduce mnw logs / add mnw misbehave for specific conditions 2015-08-28 08:53:08 -07:00
crowning-
6129a0ec1e UI: Coding and CSS changes for sum of selected transactions 2015-08-27 12:49:55 +02:00
crowning-
0af61bdc1e Merge remote-tracking branch 'upstream/v0.12.1.x' into v0.12.1.x 2015-08-27 12:31:30 +02:00
UdjinM6
7fb2e38162 more mn start commands 2015-08-26 23:15:37 +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
85ec112557 version bump 2015-08-25 23:28:23 +03:00
UdjinM6
1724fe579b more mem fixes:
- clean mapMasternodeBlocks and mapSeenSyncMNB too
- clean mapSeenMasternodeBroadcast by lastPing sigTime nad fix clean threshold
2015-08-25 23:26:47 +03:00
UdjinM6
8dd638423c Fixes for sync:
- lower MASTERNODE_SYNC_THRESHOLD (4->2)
- higher wait MASTERNODE_SYNC_TIMEOUT*2  and fail  MASTERNODE_SYNC_TIMEOUT*5 timeouts for each step
- ask at most MASTERNODE_SYNC_THRESHOLD*3 nodes for sync data
- sync again 1 minute after last fail

So we will ask at most 6 nodes and stop updating lastTime...s when we had data from at least 2 of them but will fail if we had nothing in 25 sec since current step start.
In case of fail resync again faster.
2015-08-25 18:25:19 +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
Holger Schinzel
5645e7d94d Merge branch 'master' into v0.12.1.x
Conflicts:
	configure.ac
	src/clientversion.h
2015-08-25 07:23:36 +02: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
Evan Duffield
099e412dba Disable mnw messages for litemode 2015-08-24 15:01:02 -07:00
crowning-
26c471df6b Window positions not reset 2015-08-24 23:12:31 +02:00
Evan Duffield
8af620bd80 Fix remote-activation hanging issue
- Clients that were waiting for remote activation were repeatidly checking their wallet and external address. This will make them skip that check if the wallet is empty, then be remotely activated by mnb.
2015-08-23 18:17:07 -07:00
Evan Duffield
a0f9355946 Fix remote-activation hanging issue
- Clients that were waiting for remote activation were repeatidly checking their wallet and external address. This will make them skip that check if the wallet is empty, then be remotely activated by mnb.
2015-08-23 18:16:23 -07:00
UdjinM6
c61f209c33 (possible) fix for idle mn freeze 2015-08-23 17:29:30 +03:00
UdjinM6
0ab72a9dde update translations 2015-08-22 22:01:40 +03:00
UdjinM6
f98fe6a208 fix - ds can leak info by number of inputs 2015-08-22 19:12:45 +03:00
Holger Schinzel
b839ff2748 version bump v0.12.1.0 2015-08-22 18:11:47 +02:00
UdjinM6
9055883eab implement bip69 2015-08-22 19:09:43 +03: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
UdjinM6
9a74543d83 fix ds bugs 2015-08-22 06:36:21 +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
ba1bc44737 version bump - v46 2015-08-18 18:06:13 -07:00
UdjinM6
f119afb43b it’s ok to be banned for dseg, you’ll just find another peers 2015-08-18 23:46:47 +03:00
pstratem
ade97928f7 replace absolute sleep with conditional wait 2015-08-18 21:07:30 +03:00
evan82
418a9eeb37 Merge pull request #547 from UdjinM6/v0.12.0.x_fix_sync_progressbar_text
V0.12.0.x fix sync progressbar text
2015-08-18 08:16:33 -07:00
UdjinM6
0ecf85fea9 fix sync progressbar text 2015-08-18 06:01:17 +03:00
Evan Duffield
a7ec2deed9 Fix Masternode Payments rank calculation 2015-08-17 15:42:51 -07:00
Evan Duffield
b0e718a6ca v0.12.0.45 2015-08-15 19:46:54 -07:00
UdjinM6
cd819e5a40 chinese tw 2015-08-16 05:39:39 +03:00
UdjinM6
a723c2148e fix DS bug - endless collateral creation until one of them confirms 2015-08-16 03:29:16 +03:00
UdjinM6
628d281209 refactor names and select logic for ONLY_ coins enum members 2015-08-16 03:26:20 +03:00
evan82
d1aed33d7a Merge pull request #534 from UdjinM6/v0.12.0.x_fix_rpc_masternode_status
fixes for masternrode rpc
2015-08-15 13:32:26 -07:00
evan82
6bd1d7d16e Merge pull request #532 from UdjinM6/v0.12.0.x_fix_GetSporkValue
fix GetSporkValue
2015-08-15 13:30:21 -07:00
evan82
0493f52c27 Merge pull request #531 from UdjinM6/v0.12.0.x_timeouts
Timeouts fixes
2015-08-15 13:29:39 -07:00
evan82
c0beef9061 Merge pull request #530 from UdjinM6/v0.12.0.x_translations20150815
V0.12.0.x translations20150815
2015-08-15 13:08:09 -07:00
UdjinM6
9d3dc79b91 add masternodeSync.GetSyncStatus() / refactor mn sync status UI updates 2015-08-15 18:53:55 +03:00
UdjinM6
121124dc1e translations 2015-08-15 17:32:23 +03:00
UdjinM6
4ddb2c65c3 fixes for masternrode rpc 2015-08-15 17:22:56 +03:00
UdjinM6
1289327743 fix GetSporkValue 2015-08-15 16:34:38 +03:00
UdjinM6
d1e189fb57 add mn list and mnw timeouts / use gettime / lower base timeout 2015-08-15 16:30:30 +03:00
Evan Duffield
24b7028b2e lock wallet for select 2015-08-14 19:06:00 -07:00
Evan Duffield
0d5ca11c9a check mnw peer version 2015-08-14 16:22:16 -07:00
Evan Duffield
6040fc6f83 fix GetSporkValue return 2015-08-14 12:57:41 -07:00
Evan Duffield
cfe1bdd1e2 fix spork int error 2015-08-14 11:43:28 -07:00
Evan Duffield
61223ed147 Fix dseg message 2015-08-14 09:15:50 -07:00
evan82
ea8d508561 Merge pull request #519 from UdjinM6/v0.12.0.x_hide_oosw_on_bc
V0.12.0.x hide "out of sync" warning on blockchain sync
2015-08-14 07:39:18 -07:00
evan82
c062c4b650 Merge pull request #525 from UdjinM6/v0.12.0.x_dsee_dseep
V0.12.0.x more fixes - "dsee updated entry"
2015-08-14 07:17:44 -07:00
Evan Duffield
54ee699112 nBlockEnd/nAmount budget item check
- Make sure nBlockEnd > nBlockStart+Cycle
- Make sure nAmount is more than 1DASH
2015-08-14 06:35:36 -07:00
UdjinM6
001b8cf709 more fixes - dsee updated entry 2015-08-14 08:11:57 +03:00
evan82
c936bfe7f3 Merge pull request #524 from UdjinM6/v0.12.0.x_dsee_dseep
V0.12.0.x more fixes - misbehave / rpc
2015-08-13 21:02:23 -07:00
Evan Duffield
5b9c1d2b3c Merge branch 'v0.12.0.x' of https://github.com/dashpay/dash into v0.12.0.x 2015-08-13 20:57:12 -07:00
Evan Duffield
dc70f73221 add budget timeout 2015-08-13 20:56:58 -07: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
Evan Duffield
4727d92d1f protocol bump 2015-08-13 16:35:38 -07:00
Evan Duffield
d8b18c31f7 Remove blockEnd budget check 2015-08-13 14:02:37 -07:00
Evan Duffield
60c4ab8292 change proposal requirements 2015-08-13 13:01:10 -07:00
evan82
7bef018c22 Revert "V0.12.0.x stop mining before completely synced, more info in rpc" 2015-08-13 09:38:23 -07:00
evan82
ada6a090c9 Merge pull request #520 from UdjinM6/v0.12.0.x_stop_mining_before_synced
V0.12.0.x stop mining before completely synced, more info in rpc
2015-08-13 08:25:48 -07:00
Evan Duffield
88830d4ac1 version bump 2015-08-13 08:09:28 -07:00
Evan Duffield
7bdb18a602 fixed parameters for IsBlockChainSynced 2015-08-13 08:04:25 -07:00
Evan Duffield
792bf4fb85 Allow sync of older mnfinalbudgets 2015-08-13 07:53:55 -07:00
UdjinM6
ac488d70b9 stop mining before completely synced, more info in rpc 2015-08-13 16:50:17 +03:00
UdjinM6
65ec00d6ec hide "out of sync" warning on blockchain sync 2015-08-13 16:03:39 +03:00
evan82
e52809a031 Merge pull request #511 from UdjinM6/v0.12.0.x_cleanup
V0.12.0.x cleanup & translations
2015-08-12 19:38:40 -07:00
Evan Duffield
6ff903f27b Wait for DS confirmation 2015-08-12 15:54:21 -07:00
UdjinM6
8d7776c743 translations 2015-08-12 23:56:11 +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
evan82
5e9fbabd90 Merge pull request #514 from UdjinM6/v0.12.0.x_fix_overview_upd
V0.12.0.x fix overview page updates on options change and on DS toggle
2015-08-11 19:05:49 -07:00
evan82
dd4bd3825f Merge pull request #515 from UdjinM6/v0.12.0.x_dsee_dseep
v0.12.0.x fix dsee / log output
2015-08-11 19:01:32 -07:00
UdjinM6
d636e74b59 fix dsee / log output 2015-08-12 04:58:23 +03:00
Evan Duffield
8c805923f9 Only relay dsee updates that are new 2015-08-11 18:39:22 -07:00
UdjinM6
4084950c0d fix overview page updates on options change and on DS toggle 2015-08-12 02:22:31 +03:00
Evan Duffield
1a2f30c628 fixed compile err 2015-08-11 15:54:27 -07:00
Evan Duffield
f5c1c979ef v43 2015-08-11 15:43:51 -07:00
Evan Duffield
5e1a6afe7f Send nLastDsq with MasternodeBroadcast 2015-08-11 15:43:19 -07:00
evan82
be801aadea Merge pull request #512 from crowning-/v0.12.0.x
V0.12.0.x fix bug with wallet-backups
2015-08-11 14:56:05 -07:00
Evan Duffield
c86e68c785 Move superblock check 2015-08-11 14:54:42 -07:00
crowning-
ee3feced9f V0.12.0.x fix bug with wallet-backups 2015-08-11 22:28:50 +02:00
Evan Duffield
37efa72605 v42 2015-08-11 12:23:21 -07:00
evan82
8320753d69 Merge pull request #510 from UdjinM6/v0.12.0.x_merge10again
V0.12.0.x merge10again
2015-08-11 12:22:33 -07:00
Evan Duffield
48eecea7e5 pull changes from bitcoin for FindMostWorkChain 2015-08-11 12:21:45 -07:00
UdjinM6
ed6f2b1439 Merge remote-tracking branch 'bitcoin/0.10' into v0.12.0.x_merge10again 2015-08-11 21:48:57 +03:00
UdjinM6
fd4cbf5eac fix fDarkSendMaster 2015-08-11 19:11:39 +03:00
evan82
738f009a10 Merge pull request #508 from UdjinM6/v0.12.0.x_sync_status
V0.12.0.x show masternode sync status in GUI
2015-08-11 05:55:07 -07:00
evan82
e52b845c88 Merge pull request #505 from UdjinM6/v0.12.0.x_ds_fixes
V0.12.0.x fixes for more then 1 ds action per block
2015-08-11 05:54:45 -07:00
UdjinM6
d79ac2bd60 define masternode sync treshold 2015-08-11 15:54:44 +03:00
UdjinM6
a01e56a67d show masternode sync status in GUI 2015-08-11 15:52:28 +03:00
UdjinM6
7f916e4702 manage DS connections to masternodes properly 2015-08-11 09:00:46 +03:00
UdjinM6
d9383e3ead fixes for more then 1 ds action per block 2015-08-11 08:09:56 +03:00
Evan Duffield
44e002f5d0 allow more than 1 action per block 2015-08-10 19:27:07 -07:00
evan82
a7fa7e28b0 Merge pull request #503 from UdjinM6/v0.12.0.x_ds_fixes
V0.12.0.x ds fixes
2015-08-10 18:56:51 -07:00
Evan Duffield
dcec36af85 allow users to anon all their coins each block 2015-08-10 18:56:14 -07:00
UdjinM6
6b80448427 ds fixes 2015-08-11 02:06:17 +03:00
Evan Duffield
df33377ed0 increase chance of budget autocheck 2015-08-10 14:57:09 -07:00
Evan Duffield
595e30731a remove lock from active masternode 2015-08-10 14:48:58 -07:00
Evan Duffield
ea8a3f1aba checkpoint 2015-08-10 14:12:43 -07:00
Evan Duffield
06fcb7333a prev block not found - changed to behaving of 0 2015-08-10 12:45:39 -07:00
Evan Duffield
c8b9237af1 Disable banning clients for specific fork violation 2015-08-10 12:00:39 -07:00
Evan Duffield
7ba7eec5b5 Disable masternode and budget cache
- It seems these might cause clients to get stuck in rare cases, plus we sync all of this information from the network when the client loads up anyway. I think it's best to disable these features and see if the clients stop getting stuck on random reboots.
2015-08-10 09:53:45 -07:00
evan82
527c47c277 Merge pull request #501 from UdjinM6/v0.12.0.x_mnb_bug
V0.12.0.x allow mnb to be checked again if issue is (possibly) on our side
2015-08-10 05:47:03 -07:00
evan82
0297da668b Merge pull request #500 from UdjinM6/v0.12.0.x_DS_single_random_denom
V0.12.0.x Use single random denom in new DS session
2015-08-10 05:46:26 -07:00
UdjinM6
81d96a2b52 fix bug with dsee/dseep proto check 2015-08-10 13:21:58 +03:00
UdjinM6
6b8c6b5c1a allow mnb to be checked again if issue is (possibly) on our side 2015-08-10 03:38:00 +03:00
UdjinM6
4c3f04b834 do not add/update v12 MNs from dsee/dseep 2015-08-10 02:47:35 +03:00
UdjinM6
4046900499 Use single random denom in new DS session 2015-08-10 02:28:43 +03:00
evan82
7d00729177 Merge pull request #497 from UdjinM6/v0.12.0.x_dsee_dseep
V0.12.0.x fix bugs in v12 dsee/dseep
2015-08-09 15:46:04 -07:00
Evan Duffield
fc5be7e363 version bump 2015-08-09 15:44:10 -07:00
UdjinM6
e599928ed3 fix bugs in v12 dsee/dseep 2015-08-10 01:32:09 +03:00
Evan Duffield
1d54f4127b disable superblock spork 2015-08-09 10:49:14 -07:00
evan82
d54d64d5d0 Merge pull request #496 from UdjinM6/v0.12.0.x_locks_fixes
V0.12.0.x locks fixes
2015-08-09 07:48:57 -07:00
evan82
d6ab60b332 Merge pull request #495 from UdjinM6/v0.12.0.x_default_spork_off
V0.12.0.x bump time for sporks 8-10 to be off by default
2015-08-09 07:48:29 -07: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
UdjinM6
b743112d57 bump time for sporks 8-10 to be off by default 2015-08-09 03:27:38 +03:00
UdjinM6
84264b0327 millisleep 10->50 on trylock+wait 2015-08-09 00:48:09 +03:00
UdjinM6
17a2587bf1 more trylock+wait: rpc, GetHeight 2015-08-09 00:46:42 +03:00
Evan Duffield
e8ba7328f0 Clear seen on boot and everyday 2015-08-08 13:56:12 -07:00
Evan Duffield
7d51866b9d more debugging for incr sync 2015-08-08 13:24:47 -07:00
Evan Duffield
8e5c8d13d0 fix rpccommand fin budget getvotes 2015-08-08 13:10:38 -07:00
Evan Duffield
80495361f3 incremental sync with our peers 2015-08-08 13:04:25 -07:00
Evan Duffield
91bd9c7cf0 fValid for mnfinalbudget 2015-08-08 12:35:28 -07:00
Evan Duffield
2f63f98e50 Add sync mode for budget processing 2015-08-08 12:29:31 -07:00
Evan Duffield
9151acdd92 Merge branch 'v0.12.0.x' of https://github.com/dashpay/dash into v0.12.0.x 2015-08-08 11:31:42 -07:00
Evan Duffield
ed9e287ce8 changed block cycle 2015-08-08 11:31:23 -07:00
evan82
b67d049fb8 Merge pull request #491 from UdjinM6/v0.12.0.x_locks_fixes
(WIP) V0.12.0.x Locks fixes
2015-08-08 11:11:37 -07:00
evan82
d5f70626c9 Merge pull request #493 from UdjinM6/v0.12.0.x_mnconf_comments
V0.12.0.x recognize comments in masternode.conf / write initial file
2015-08-08 11:10:47 -07:00
evan82
2f479e45db Merge pull request #492 from UdjinM6/v0.12.0.x_mncheck
V0.12.0.x set a cooldown for MN check
2015-08-08 11:10:38 -07:00
Evan Duffield
bed645ff9e version bump 2015-08-08 11:09:00 -07:00
Evan Duffield
25750983b0 change superblocks to every 600 blocks 2015-08-08 11:08:00 -07:00
Evan Duffield
dde2b2667a add getvotes for fin bual budget 2015-08-08 10:36:01 -07:00
UdjinM6
e4677275a2 limit scope of cs_wallet in PrepareDarksendDenominate 2015-08-08 20:11:20 +03:00
UdjinM6
47b16bab5f recognize comments in masternode.conf / write initial file 2015-08-08 13:49:55 +03:00
UdjinM6
c1aa277286 set a cooldown for MN check 2015-08-08 13:36:30 +03:00
UdjinM6
ec3848c5dd Locks fixes:
- trylock for updateDarksendProgress, checkBalanceChanged, "block"
- trylock+wait for UnlockCoins, SendDarksendDenominate, ProcessNewBlock, ActivateBestChain
- move trylock in DoAutomaticDenominating lower
2015-08-08 10:34:41 +03:00
Evan Duffield
b8e7b84916 extra debugging 2015-08-07 16:53:07 -07:00
Evan Duffield
03236899d1 add fbvote debugging / wallet lock 2015-08-07 15:47:23 -07:00
Evan Duffield
528d2a562e fix log entries 2015-08-07 14:45:08 -07:00
Evan Duffield
33d5b7e746 fix autocheck bug 2015-08-07 13:39:08 -07:00
Evan Duffield
e0ecfbd00b allow logging for fbvote 2015-08-07 13:00:27 -07:00
Evan Duffield
572ebf4502 prinf -> logprintf 2015-08-07 11:33:50 -07:00
Evan Duffield
f28e12f23d more debugging for autocheck 2015-08-07 09:54:02 -07:00
Evan Duffield
73e6cc4449 Compare string version of CScript instead 2015-08-07 09:32:35 -07: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
evan82
491ccc8d62 Merge pull request #488 from UdjinM6/v0.12.0.x_over_scr
V0.12.0.x fixes for overview screen / DS progress
2015-08-07 06:18:10 -07:00
evan82
8424dc7b1a Merge pull request #487 from UdjinM6/v0.12.0.x_ask_for_mn
V0.12.0.x ask for mn / lower mnw ban
2015-08-07 06:17:25 -07:00
UdjinM6
8063bcc8aa process DS,IX,MN,DGBB on IsBlockchainSynced, not on IBD 2015-08-07 07:48:55 +03:00
UdjinM6
745142f6bf DS progress weights depend on DS rounds in settings / force overview to update on OK in options 2015-08-07 06:19:10 +03:00
UdjinM6
f57c470f95 ask for mn / lower ban score for mnw 2015-08-07 06:07:40 +03:00
Evan Duffield
f94d9803c6 Fixed --disablewallet crash 2015-08-06 16:09:22 -07:00
Evan Duffield
fca0a6d4b8 client bump 2015-08-06 14:48:03 -07:00
Evan Duffield
d251dc6599 Keep track of immature budgets/proposals 2015-08-06 13:18:10 -07:00
Evan Duffield
a47585ea33 version bump 2015-08-05 16:37:43 -07:00
Evan Duffield
50c7b96c69 Try lock in ProcessGetData 2015-08-05 14:33:51 -07: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
9a9e7b7644 strings/translation source fixes 2015-08-06 00:12:01 +03:00
evan82
42d7223191 Merge pull request #479 from UdjinM6/v0.12.0.x_sync_added
v0.12.0.x clear mapSeenSync... on Reset
2015-08-05 13:14:24 -07:00
UdjinM6
54ac44e60b relay dstx to everyone 2015-08-05 22:43:00 +03:00
Evan Duffield
8bd8a897d0 IsBlockchainSynced in mnsync 2015-08-05 07:28:10 -07:00
Evan Duffield
801e597d64 added mnsync command 2015-08-05 07:24:58 -07:00
UdjinM6
903970d0cf clear mapSeenSync... on Reset 2015-08-05 05:10:47 +03:00
evan82
0d625c888d Merge pull request #478 from UdjinM6/v0.12.0.x_sync_added
V0.12.0.x track hashes and update `last...` only twice per hash
2015-08-04 19:00:15 -07:00
UdjinM6
6b74652b01 track hashes and update "last..." only twice per hash 2015-08-05 04:18:37 +03:00
Evan Duffield
bb5570015f Keep track of and reprocess rejected blocks 2015-08-04 18:05:57 -07:00
UdjinM6
7d78c98f0d Few more lock-related fixes:
- do not lock cs_main for mnodeman.CheckAndRemove() - we have trylock inside CMasternode.Check, should be enough
- fast cs_main lock for ix
- use RelayInv instead of manually locking nodes / pushing inv
- do not lock cs_vNodes / ClearFulfilledRequest on every 100th block, CMasternodeSync should already handle resync by itself better now
2015-08-05 01:54:31 +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
3f7e62e2bf cleanup CMasternodeSync a bit 2015-08-05 00:49:14 +03:00
UdjinM6
174f8a7644 merge IsBlockchainSynced and WakeUp 2015-08-05 00:15:24 +03:00
Evan Duffield
57599e07e3 protocol bump 2015-08-04 11:22:31 -07:00
Evan Duffield
743f7fc5eb new wakeup/sleep sync code 2015-08-04 11:21:27 -07:00
Evan Duffield
0260e06648 version bump 2015-08-04 10:58:21 -07:00
Evan Duffield
76959ead20 Fixed GetBudget 2015-08-04 10:55:54 -07:00
Evan Duffield
c770283371 Lower IX conf minimum
- 1 less than the "send IX" gui requires, incase of a block propagating the network at the time
2015-08-04 10:42:05 -07:00
Evan Duffield
a0addf20a9 check collateral tx, find masternode before vote 2015-08-04 09:31:19 -07:00
UdjinM6
b4aaa11864 translations >80% 2015-08-04 17:02:24 +03:00
evan82
76858b0341 Merge pull request #474 from UdjinM6/v0.12.0.x_ref_IsBlockchainSynced
V0.12.0.x use fBlockchainSynced right on IsBlockchainSynced start
2015-08-03 16:49:25 -07:00
UdjinM6
2235671775 use fBlockchainSynced right on IsBlockchainSynced start 2015-08-04 02:23:36 +03:00
evan82
66c3cc1708 Merge pull request #472 from UdjinM6/v0.12.0.x_ref_IsBlockchainSynced
V0.12.0.x refactor IsBlockchainSynced
2015-08-03 14:21:43 -07:00
UdjinM6
2e8445e741 refactor IsBlockchainSynced 2015-08-04 00:09:27 +03:00
Evan Duffield
ecea4bfaf9 client version bump 2015-08-03 13:41:19 -07:00
UdjinM6
12d320301f add composite debug category dash=darksend+instantx+masternode+keepass+mnpayments+mnbudget 2015-08-03 23:23:30 +03:00
evan82
cc4b40616f Merge pull request #470 from UdjinM6/v0.12.0.x_fix_rpc_darksend_lock
V0.12.0.x fix rpc for darksend
2015-08-03 13:16:56 -07:00
UdjinM6
240bb10d33 fix rpc for darksend 2015-08-03 23:14:19 +03:00
Evan Duffield
1f35a12033 disable ix for fin budget submit 2015-08-03 12:57:15 -07:00
Evan Duffield
92be1268bb Fixed bug with AutoCheck finalbudget voting 2015-08-03 12:54:54 -07:00
Evan Duffield
c7077dc9d4 disable try-lock on IBD 2015-08-03 12:11:32 -07:00
Evan Duffield
e0031a807e Add superblock checks in various places 2015-08-03 11:38:08 -07:00
UdjinM6
18635f0979 fix debug output 2015-08-03 19:24:23 +03:00
Evan Duffield
334c3ea971 Added ReprocessBlocks 2015-08-02 16:08:37 -07:00
Evan Duffield
f6721cbe17 Reconsider : typo, use i and break 2015-08-02 15:50:27 -07:00
Evan Duffield
d80feacc8e Reprocess before disconnect for rescan 2015-08-02 14:59:28 -07:00