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
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
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
d251dc6599
Keep track of immature budgets/proposals
2015-08-06 13:18:10 -07:00
UdjinM6
6b74652b01
track hashes and update "last..." only twice per hash
2015-08-05 04:18:37 +03:00
Evan Duffield
76959ead20
Fixed GetBudget
2015-08-04 10:55:54 -07: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
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
Evan Duffield
1cf19c64ac
Check prop FeeHash separate w/o banning prop
2015-07-30 13:15:27 -07:00
Evan Duffield
5024b7d3f6
Added sendtoaddressix for api IX support
2015-07-30 11:33:56 -07: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
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
Evan Duffield
e230762d5a
lock debugging
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
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
8acfd77750
Fixed HaveBudget, allow failure after 3 tries
2015-07-28 13:14:32 -07:00
Evan Duffield
ffaedc1829
Fixed proposal nTime calculation and usage
2015-07-28 08:55:11 -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
9689e5c077
improve errors for missing finbudgets/props
2015-07-27 10:28:10 -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
04fc6e1fb4
Change rest of sync process to direct inv messages / reduced sync timeout
2015-07-25 20:17:53 -07:00
Evan Duffield
c0a5dfba61
Masternode inv messages / save seen in mncache
2015-07-25 12:07:30 -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
UdjinM6
491c46c412
remove sync forcing and count already seen as a success instead
2015-07-24 21:35:11 +03: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
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
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
de485fe93d
Allow peers to ask for budget votes on testnet more than once
2015-07-21 07:05:35 -07:00
UdjinM6
dba572ac96
use specific protocols
2015-07-20 04:54:02 +03:00
Evan Duffield
7aa9676118
Only check vote sigs once / payee cache update on newblock
2015-07-18 12:24:06 -07:00
Evan Duffield
90f508c67e
Pay masternodes when no valid budget
2015-07-18 08:53:40 -07:00
Evan Duffield
637805b2de
Require 7 confirmations for finalized budget
2015-07-18 07:49:39 -07:00