evan82
371bf3491b
Merge pull request #464 from UdjinM6/v0.12.0.x_cleanup
...
V0.12.0.x cleanups/small fixes:
2015-07-31 05:52:16 -07:00
crowning-
d75ffba355
UI: alignment fix for Overview-page (typo fix)
2015-07-31 09:35:17 +02:00
crowning-
a5170420db
UI: alignment fix for Overview-page
2015-07-31 08:40:06 +02:00
Evan Duffield
d57d6f0466
disable IX for proposal fees
2015-07-30 14:27:25 -07:00
Evan Duffield
1cf19c64ac
Check prop FeeHash separate w/o banning prop
2015-07-30 13:15:27 -07:00
Evan Duffield
6c6aa3512f
fixed sendtoaddressix
2015-07-30 12:00:17 -07:00
Evan Duffield
5024b7d3f6
Added sendtoaddressix for api IX support
2015-07-30 11:33:56 -07: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
Evan Duffield
ebc2591e4b
Revert "lock debugging"
...
This reverts commit e230762d5a
.
2015-07-30 07:49:08 -07:00
Evan Duffield
7a9028631a
Revert "Disable CheckAndRemove on file dumps"
...
This reverts commit 3fc9ea4adf
.
2015-07-30 07:41:14 -07:00
UdjinM6
afd715286a
fix all kind of lock issues
2015-07-30 16:44:18 +03:00
Evan Duffield
3f4727716a
disable sync-retry
2015-07-30 06:27:57 -07:00
Evan Duffield
3a72bea5b3
fixed sync edge case
2015-07-30 06:27:57 -07:00
Evan Duffield
3fc9ea4adf
Disable CheckAndRemove on file dumps
...
- Testing theory for lockups
2015-07-30 06:27:57 -07:00
Evan Duffield
805452955b
Proposal nTime based on fee transaction block
2015-07-30 06:27:29 -07:00
crowning-
0e7b73e166
UI: better alignment of overview-screen
2015-07-30 06:27:29 -07:00
UdjinM6
36bb9d6e27
FindRandomNotInVec - should give less failures then FindRandom on doauto
2015-07-30 06:27:29 -07:00
UdjinM6
6c7d66f0c1
add cs_wallet lock on GetInputDarksendRounds
2015-07-30 06:27:29 -07:00
UdjinM6
8a3f3428dd
move ds/ix/mn lib to wallet category
2015-07-30 06:27:29 -07:00
UdjinM6
c99af0bc63
More DS refactoring/fixes:
...
- move ds rounds calculation to wallet
- add cache to / rework anon/denom balance functions
- fix updates on new blocks for ds status on overview page
- fix after rebase
2015-07-30 06:27:29 -07:00
UdjinM6
ba5e906b9d
do not mix 1000 if it's local MN _OR_ input is locked - should allow to mix 1000 in all other cases
2015-07-30 06:27:28 -07:00
UdjinM6
976bd7853f
Refactor DS:
...
- always clear entries, do not try to reuse them
- unlock coins only when needed (do not unlock them every 10 blocks)
- make logic a bit more strightforward in few places
- clear all expired on timeout (not just the first found)
- add 2 additional statuses on doauto
- run DS checks when mn list sync started, do not wait for full sync
- move most class members to private
2015-07-30 06:27:28 -07:00
Evan Duffield
e230762d5a
lock debugging
2015-07-30 06:27:28 -07:00
crowning-
ff2fa918b6
UI: CSS for watch-only addresses added
2015-07-30 06:27:28 -07:00
Evan Duffield
0152a1fc11
Removed IsBudgetPaymentBlock lock
2015-07-29 13:59:07 -07:00
Evan Duffield
dfad32272c
Refactored locking for masternode winners and budgets
2015-07-29 12:29:46 -07:00
Evan Duffield
fc33c3b963
fixed GetBudget bug
2015-07-29 01:29:15 -07:00
Evan Duffield
f82a028869
Budget prop empty / version bump
2015-07-29 01:08:47 -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
08de7c3bc4
try activation immediately after sync
2015-07-28 20:26:08 -07:00
Evan Duffield
8acfd77750
Fixed HaveBudget, allow failure after 3 tries
2015-07-28 13:14:32 -07:00
Evan Duffield
a069a5df5e
Update isBlockchainSynced requirements
2015-07-28 13:07:40 -07:00
Evan Duffield
ffaedc1829
Fixed proposal nTime calculation and usage
2015-07-28 08:55:11 -07:00
Evan Duffield
69b02b5519
Fixed documentation
2015-07-28 07:52:12 -07:00
Evan Duffield
8be929d870
version bump
2015-07-28 06:43:39 -07:00
Evan Duffield
d72d3d022d
Various Fixes
...
- Testnet budget adjustments to allow quick cycles that create no inflation in the testnet environment
- Budget proposal are sorted by YesCount-NoCount now
- Added nTime to proposals
- Only allow proposals more than 1 day old into budgets
2015-07-28 06:40:48 -07:00
Evan Duffield
781db99ee9
Changed hard fork date to Aug 30
2015-07-28 01:28:08 -07:00
Evan Duffield
b6222a9ae9
change req sigs to 6 of 10
2015-07-27 17:33:57 -07:00
Evan Duffield
b540068f94
enable mnw lock
2015-07-27 15:44:51 -07:00
Evan Duffield
bf18699ade
client bump /proto bump
2015-07-27 12:35:17 -07:00
Evan Duffield
cddbda994f
Fixed DarkSend dstx propagation issues
2015-07-27 12:34:02 -07:00
Evan Duffield
9689e5c077
improve errors for missing finbudgets/props
2015-07-27 10:28:10 -07:00
Evan Duffield
e03879b3cf
Update spork name : SPORK_10_MASTERNODE_PAY_UPDATED_NODES
2015-07-27 08:28:10 -07:00
evan82
225ad3be89
Merge pull request #458 from crowning-/UI_Enhancements
...
UI: Limit display of Sendcoins-popup to 10 entries.
2015-07-27 05:59:48 -07:00
Evan Duffield
7b480ac74d
Eliminate false positives for syncing process
2015-07-26 20:41:57 -07:00
Evan Duffield
597c2b299d
new masternode start strategy - only check blockchain sync status
2015-07-26 13:09:52 -07:00
Evan Duffield
d227f28621
allow masternodes to turn on pre-sync - udjin
2015-07-26 12:37:01 -07:00
crowning-
76c4cfc0de
UI: Limit display of Sendcoins-popup to 10 entries.
2015-07-26 18:43:22 +02:00
Evan Duffield
da21fed1f5
version bump
2015-07-26 07:36:40 -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
f82b34f3f2
better sorting algorithm
...
-- sort props by votes then nFeeHashTX
2015-07-26 05:26:15 -07:00
Evan Duffield
2b3edff435
Only relay good budget items
2015-07-25 21:23:38 -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
04fc6e1fb4
Change rest of sync process to direct inv messages / reduced sync timeout
2015-07-25 20:17:53 -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
43101ebeca
Implement planned hard forks, August 24, 2015
2015-07-25 11:02:38 -07:00
Evan Duffield
0b9d761a38
only take newest votes
2015-07-25 09:59:59 -07:00
Evan Duffield
8187228be1
Fixed budget syncing issues / forking issues / syncing issues
...
- Budgets now store the seen objects locally so they're not overwritten when saving/loading to check validity of budget.dat
- Added safer sync "failure" mode, that will retry an hour later if the sync fails for some reason. This will stop the client from thinking it has budget data and rejecting blocks when they're valid.
- protocol bump
- version bump
2015-07-25 09:29:29 -07:00
evan82
24183b156b
Merge pull request #456 from UdjinM6/v0.12.0.x_info_mn_count
...
V0.12.0.x more info for masternode count output/rpcconsole dialog
2015-07-25 06:32:41 -07:00
evan82
26b2c3243c
Merge pull request #455 from UdjinM6/v0.12.0.x_mnb_hash_lastPing
...
V0.12.0.x include lastPing in mnb hash calculation
2015-07-25 06:31:51 -07:00
UdjinM6
8079967cc5
more info for masternode count output/rpcconsole dialog
2015-07-25 11:18:22 +03:00
UdjinM6
5a6e474ec6
include lastPing in mnb hash calculation
2015-07-25 09:22:58 +03: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
5281c48f70
Fix syncing issues
...
- if(pindexPrev->nHeight + 4 < pindexBestHeader->nHeight || pindexPrev->nTime + 600 < GetTime()) return;
-- && allowed skipping in various situations, which caused blocks to be rejected because of lack of mnfinalbudget data
2015-07-24 09:10:08 -07:00
Evan Duffield
9e65749ff6
Safer calcscore implementation
2015-07-24 08:50:10 -07:00
Evan Duffield
c137a204fb
Added calcscore cmd
2015-07-24 08:21:02 -07:00
Evan Duffield
85e1280bc3
limit mnw votes-per-mn
2015-07-24 07:12:48 -07:00
Evan Duffield
48f9e277f9
changed min ver back to 70066
2015-07-23 18:55:39 -07:00
UdjinM6
f8f4bff9a1
do not sync while IBD
2015-07-24 01:35:59 +03:00
UdjinM6
f0ccd2b8cb
fix resync
2015-07-24 01:35:11 +03:00
Evan Duffield
814f8e3f17
delete comment
2015-07-23 15:05:47 -07:00
Evan Duffield
ac947444da
protocol bump
2015-07-23 15:02:15 -07:00
Evan Duffield
9fb56d9479
Various improvements
...
- Use INV messages where possible in syncing process
- Ask 4 peers intend of 2 to send of inventory of mnw, and budgets
- Special regtest sync mode
- Fix mnw freezing issue (maybe)
2015-07-23 14:35:14 -07:00
Evan Duffield
fa6216f115
Check for existing budget hash before submitting
2015-07-23 11:48:19 -07:00
Evan Duffield
9aca541200
inc min peer version to 70094 for testing
2015-07-23 11:36:07 -07:00
Evan Duffield
5c935c8c86
version bump
2015-07-23 11:16:49 -07:00
Evan Duffield
f727b2dbd7
Fixed RemainingPayments display bug
...
- When proposal hasn't started yet, remaining payment is calculated incorrectly.
2015-07-23 07:36:41 -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
evan82
5cccd2b269
Merge pull request #447 from crowning-/UI_Enhancements
...
UI: fixed width of wallet-repair-buttons for longer locales
2015-07-23 06:31:09 -07:00
evan82
516c5fff0f
Merge pull request #450 from UdjinM6/v0.12.0.x_active_mn
...
V0.12.0.x active masternode fixes
2015-07-23 06:30:46 -07:00
evan82
9e879d5e8d
Merge pull request #451 from UdjinM6/v0.12.0.x_fix_rpc
...
V0.12.0.x small fixes for rpc
2015-07-23 06:29:33 -07:00
UdjinM6
ae48f0984e
small fixes for rpc
2015-07-23 05:32:13 +03:00
UdjinM6
6123770bf8
active masternode fixes
2015-07-23 05:19:37 +03:00
Evan Duffield
18a908065f
Fixed mnbudget suggestion
2015-07-22 18:53:17 -07:00
Evan Duffield
b9d47a0c6f
Submit finalized budget 2 days before payment
2015-07-22 17:54:47 -07:00
Evan Duffield
c2a23c5beb
Fix sync-spork logic
2015-07-22 16:51:51 -07:00
Evan Duffield
dec45ac67a
Fixed bug with remotely enabled masternodes and wrong protocol version
2015-07-21 20:54:58 -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
cbe2bae130
Improved lastpaid and fixed votes calculation
2015-07-21 16:57:21 -07:00
Evan Duffield
b2c4e14ee8
Add offset for lastpaid / seperate min mnw peer version
2015-07-21 16:11:49 -07:00
Evan Duffield
18fc14e03c
Improved mnw sync
2015-07-21 15:14:54 -07:00
Evan Duffield
9e5cd419d0
Fixed compile error
2015-07-21 10:00:11 -07:00
Evan Duffield
3fae250190
Dont accept MNW from older masternodes
2015-07-21 08:09:17 -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