Evan Duffield
916deaa398
Small syncing improvement
2015-07-17 21:38:15 -07:00
evan82
494afeef50
Merge pull request #439 from UdjinM6/v0.12.0.x_revert_lower_fee
...
V0.12.0.x revert attempts to lower fee
2015-07-17 20:15:04 -07:00
evan82
45cd565f6c
Merge pull request #438 from UdjinM6/v0.12.0.x_register_MN
...
V0.12.0.x more checks on MN register (start-many/alias)
2015-07-17 20:14:49 -07:00
UdjinM6
990e32f3c0
revert all changes regarding attempts to lower fee
2015-07-18 03:35:59 +03:00
UdjinM6
bf1ec73357
more checks on MN register
2015-07-18 03:10:47 +03:00
Evan Duffield
59024b1b46
Resync on sleep/wake or failure
2015-07-17 16:49:41 -07:00
evan82
d9f3102313
Merge pull request #435 from UdjinM6/v0.12.0.x_ref_rpc_budget
...
V0.12.0.x few rpc budget fixes
2015-07-17 11:10:39 -07:00
evan82
a8e79ecd16
Merge pull request #434 from UdjinM6/v0.12.0.x_fix_fees
...
V0.12.0.x Fix fees
2015-07-17 11:09:24 -07:00
evan82
8ec3b473c1
Merge pull request #432 from UdjinM6/v0.12.0.x_ref_mn_statuses
...
V0.12.0.x Slightly refactor masternode statuses
2015-07-17 11:09:00 -07:00
Evan Duffield
d5c4f3bea4
Only ask for missing masternodes/budget items after sync is complete
2015-07-17 11:03:49 -07:00
evan82
f9ada02a7d
Merge pull request #433 from UdjinM6/v0.12.0.x_ref_budget
...
V0.12.0.x Budget module refactor
2015-07-17 10:29:59 -07:00
UdjinM6
33ee068d6a
Slightly refactor masternode statuses:
...
- better names (MASTERNODE_INITIAL was defined twice before that)
- move to proper header
2015-07-17 20:01:54 +03:00
UdjinM6
1282f676e5
Fixes for budget rpc
...
- readability
- drop c_str()
- drop boost/lexical_cast
- ValueFromAmount for money
- fValid as bool
- fix/simplify descriptions
- more info on vote-many
- feedback on mnbudget vote
2015-07-17 19:28:25 +03:00
UdjinM6
31e703dfcd
Fix fees
...
ref https://dashtalk.org/threads/v12-testing-thread.5484/page-62#post-59368
2015-07-17 18:33:15 +03:00
UdjinM6
b84bf76324
Budget module refactor
...
- readability (names / spaces / simplify constructions / etc)
- proper types (int for block height, CAmount for money)
- prettify log output / drop c_str() there
- read budgets on dump before writing (safety)
- microoptimization (++it)
- sort proposals by Yeas
- sort finalized budgets by votes
- fix few small bugs
2015-07-17 18:07:07 +03:00
Evan Duffield
b6001065ae
Set fValid=true when receiving new votes
2015-07-17 07:40:26 -07:00
Evan Duffield
d60f3f6984
Added more information to getvotes
2015-07-17 07:38:35 -07:00
evan82
6d966891dc
Merge pull request #431 from UdjinM6/v0.12.0.x_few_sync_improvements
...
V0.12.0.x few sync improvments
2015-07-17 06:47:46 -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
Evan Duffield
7101c951f8
Budget Improvements
...
- Client bump
- Improved syncing logic (sholud stop hanging issues)
- New spork for turning on super blocks
- Fixed issue with sending old/invalid finalized budgets
- Fixed issue with syncing clients and lack of confirmations with budget items (for IX)
2015-07-16 20:03:42 -07:00
Evan Duffield
ac488262c2
version bump
2015-07-16 12:13:42 -07:00
Evan Duffield
e5f37b8c98
New Spork : Reconsider X Blocks
...
- This allows us to fix forks remotely without anyone having to reindex. It remains trustless, because all nodes will simply find the longest chain.
2015-07-16 11:06:45 -07:00
Evan Duffield
017217f423
Added IsTransactionValid for finalized budgets
2015-07-16 10:47:51 -07:00
Evan Duffield
fc54241441
Default txindex to true
2015-07-16 07:34:40 -07:00
Evan Duffield
3c8b335594
Force txindex when a Mastenode
2015-07-16 03:00:16 -07:00
Evan Duffield
e65a1edce3
version / proto bump
2015-07-16 02:43:53 -07:00
Evan Duffield
f139dbbc74
Fixed prepare -- shouldn't check collateral
2015-07-15 15:56:40 -07:00
Evan Duffield
ffed6dc948
Added CBudgetManager::ToString
2015-07-15 14:21:21 -07:00
Evan Duffield
21769085ec
Test feeTX in IsValid
2015-07-15 07:18:03 -07:00
Evan Duffield
db080fec22
version bump
2015-07-14 19:49:01 -07:00
Evan Duffield
6e0a468701
Highly improved syncing process
2015-07-14 19:48:02 -07:00
Evan Duffield
9e9e01b5f6
Fixed GetBudget
2015-07-14 16:06:00 -07:00
Evan Duffield
a4e3031db1
Refactored CleanAndRemove Proposals
2015-07-14 15:52:07 -07:00
Evan Duffield
50d1b827eb
Fixed proposal fee IX confirmations
2015-07-14 12:52:46 -07:00
Evan Duffield
30ea44322e
Merge branch 'v0.12.0.x' of https://github.com/dashpay/dash into v0.12.0.x
2015-07-14 08:04:18 -07:00
Evan Duffield
c2d4b553c5
version bump
2015-07-14 08:04:07 -07:00
evan82
eb7ca6fdef
Merge pull request #430 from UdjinM6/v0.12.0.x_mergebtc
...
V0.12.0.x merge latest fixes from bitcoin 10.0.2
2015-07-14 07:55:38 -07:00
Evan Duffield
d228b4bf47
Merge branch 'v0.12.0.x' of https://github.com/dashpay/dash into v0.12.0.x
2015-07-14 07:55:07 -07:00
Evan Duffield
907aa36ed1
Merge branch 'UdjinM6-v0.12.0.x_lower_mn_reuse' into v0.12.0.x
2015-07-14 07:44:41 -07:00
Evan Duffield
665a93cd4f
Merge branch 'v0.12.0.x_lower_mn_reuse' of https://github.com/UdjinM6/dash into UdjinM6-v0.12.0.x_lower_mn_reuse
2015-07-14 07:44:22 -07:00
evan82
a0a4940097
Merge pull request #428 from UdjinM6/v0.12.0.x_fix_IsBudgetCollateralValid_log
...
V0.12.0.x Fix CBudgetProposalBroadcast::IsBudgetCollateralValid log output / strError
2015-07-14 07:43:08 -07:00
evan82
eb9aa2cb87
Merge pull request #427 from UdjinM6/v0.12.0.x_change_sync_activemn_start
...
V0.12.0.x Start all DS, mnodeman, IX related checks and activate mn only after sync is over
2015-07-14 07:41:57 -07:00
evan82
d98a6fae23
Merge pull request #426 from UdjinM6/v0.12.0.x_mnb_mnp
...
V0.12.0.x major (incompatible) masternode broadcast/ping changes
2015-07-14 07:41:09 -07:00
Evan Duffield
e57f2d4003
Check IsValid when preparing fee
2015-07-14 07:05:33 -07:00
Suhas Daftuar
c2ffbe5bdd
Ignore getheaders requests when not synced.
...
Rebased-From: a1ba0778dd
Github-Pull: #6172
2015-07-14 13:19:47 +03:00
Alex Morcos
09a4cb65fc
Fix removing of orphan transactions
...
We don't want to erase orphans that still have missing inputs, they should still be tracked as orphans. Also, the transaction thats being accepted can't be an orphan otherwise it would have previously been accepted, so doesn't need to be added to the erase queue.
Github-Pull: #5985
Rebased-From: 14d4eef799
2015-07-14 13:19:47 +03:00
Wladimir J. van der Laan
3f556edc61
doc: update mailing list address
...
Move from sourceforge to linux foundation.
Also get rid of some other stale mentions of sourceforge.
Github-Pull: #6319
Rebased-From: 88d8525ca2
2015-07-14 13:19:46 +03:00
Wladimir J. van der Laan
850dcb9334
Add option -alerts
to opt out of alert system
...
Make it possible to opt-out of the centralized alert system by providing
an option `-noalerts` or `-alerts=0`. The default remains unchanged.
This is a gentler form of #6260 , in which I went a bit overboard by
removing the alert system completely.
I intend to add this to the GUI options in another pull after this.
Conflicts:
src/init.cpp
src/main.cpp
Github-Pull: #6274
Rebased-From: 02a6702a82
2015-07-14 13:19:09 +03:00
Tom Harding
84b483e3c3
Fix getbalance *
...
Chance "getbalance *" not to use IsTrusted. The method and result
now match the "getbalance <specific-account>" behavior. In
particular, "getbalance * 0" now works.
Also fixed a comment -- GetGalance has required 1 confirmation
for many years, and the default "getbalance *" behavior matches
that.
Github-Pull: #6276
Rebased-From: 7d6a85ab5b
Rebased-By: @trasher-
2015-07-14 13:19:09 +03:00
Luke Dashjr
cee7c2e1f3
configure: Detect (and reject) LibreSSL
...
Rebased-From: a5a81f7354
Github-Pull: #6244
2015-07-14 13:19:09 +03:00