Commit Graph

6954 Commits

Author SHA1 Message Date
Evan Duffield
5fdaf0bfc1 added checkpoint 2015-07-02 09:53:55 -07:00
Evan Duffield
13bd6a15eb version/proto bump 2015-07-02 09:45:28 -07:00
Evan Duffield
28052240a5 Improvements for syncing budget votes
- New orphan object and reprocessing logic
- Added some logic for asking peers for missing proposals and finalized budgets
2015-07-02 09:41:33 -07:00
Evan Duffield
d8a6057205 Fixed issues with budget syncing 2015-07-02 08:07:30 -07:00
UdjinM6
b66928043e Few inv related fixes:
- add missing strings and make inv strings a bit more consistent (imo)
- remove "unknown" types that were used to prevent errors thrown at user with old wallet,
  just log such errors in debug mode for "net" category. Should also make behaviour of functions
  relaing on CInv::IsKnownType() more adequate
  (and it doesn't make sense to warn users by throwing errors at them in such situations anyway I guess)
2015-07-02 04:28:45 +03:00
UdjinM6
2ed4c93b6d update languages with 80%+ completition 2015-07-02 03:53:33 +03:00
Evan Duffield
a89b0e705f Fixed syncing code for stuck clients 2015-07-01 16:46:03 -07:00
crowning-
4d758b9924 Restart-wallet fix 2015-07-02 00:12:11 +02:00
evan82
4b6d55b1b9 Merge pull request #391 from UdjinM6/v0.12.0.x_ds_on_overview
V0.12.0.x Various DS related fixes for overview page
2015-06-30 10:31:48 -07:00
UdjinM6
ca94f2f6d7 Various DS related fixes for overview page:
- streamline initialization logic for litemode/masternode/ds
- call updateDarksendProgress on setBalance
- format amountAndRounds for 0 balance same way as for normal balance (see c3febd20a8)
- use style='white-space:pre' to show long strings in tooltips correctly, adapt few strings
- small fixes (cleanup naming, notr, use static where possible and get rid of unneeded class members)
2015-06-30 19:01:51 +03:00
UdjinM6
69f482ec2e Execute "mogrify *.png" to fix "GUI: libpng warning: iCCP: known incorrect sRGB profile" 2015-06-30 05:42:12 +03:00
UdjinM6
e9eb2faeb6 new icon 2015-06-29 02:23:29 +03:00
Evan Duffield
bac2dc81a2 version bump 2015-06-28 14:49:16 -07:00
evan82
faf150d9d3 Merge pull request #388 from UdjinM6/v0.12.0.x_sum_tx
V0.12.0.x sum tx separator and negative value highlight
2015-06-28 14:01:05 -07:00
evan82
7fb910b74f Merge pull request #387 from UdjinM6/v0.12.0.x_compact_amountandrounds
V0.12.0.x compact AmountAndRounds
2015-06-28 14:00:55 -07:00
UdjinM6
c3febd20a8 Do not show decimals for "amounts and rounds" text but show usual way formatted numbers inside its tooltip 2015-06-28 17:27:24 +03:00
UdjinM6
9db667c240 always show separator for sum tx amount and highlight (red) negative amounts 2015-06-28 17:22:14 +03:00
UdjinM6
9bc6042c27 unlock inputs on DS failure 2015-06-28 17:07:44 +03: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
8a4c22ec9a fixed typo 2015-06-25 11:22:11 -07:00
Evan Duffield
5227451604 Merge branch 'v0.12.0.x' of https://github.com/darkcoin/darkcoin into v0.12.0.x 2015-06-25 11:09:19 -07:00
Evan Duffield
55dda32f34 Removed need for amounts in masternode winners protocol 2015-06-25 11:08:50 -07:00
evan82
558ac17318 Merge pull request #385 from UdjinM6/v0.12.0.x_translations
(WIP) V0.12.0.x translations
2015-06-25 08:31:51 -07:00
Evan Duffield
e3963ea71c Spork changes / improvements
- New Command "Spork Active" : Show which sporks report as active
- Cleaned up the spork code and fixed some bugs with defaults
2015-06-25 08:17:53 -07:00
UdjinM6
5e21166456 refresh en source/translations 2015-06-25 17:32:21 +03:00
UdjinM6
9d05c98110 fix strings 2015-06-25 17:32:12 +03:00
Evan Duffield
94493bee63 fixed compile issues 2015-06-24 12:42:01 -07:00
Evan Duffield
38e736ad22 bump version 2015-06-24 11:21:12 -07:00
evan82
e323df71c6 Merge pull request #383 from UdjinM6/v0.12.0.x_small_ds_code_cleanups
V0.12.0.x small ds code cleanups
2015-06-24 11:16:41 -07:00
evan82
479d1cfad4 Merge pull request #382 from UdjinM6/v0.12.0.x_move_ds_pool_status_out_of_overviewpage
V0.12.0.x move ds pool status out of overviewpage
2015-06-24 11:16:26 -07:00
evan82
39c03405fa Merge pull request #381 from UdjinM6/v0.12.0.x_fix_db_shutdown_crash
V0.12.0.x fix db shutdown crash
2015-06-24 11:15:50 -07:00
Evan Duffield
8d8f9fae48 Autostart masternode upon startup 2015-06-24 09:46:49 -07:00
Evan Duffield
fd8afcc91a added masternode status info 2015-06-24 09:41:03 -07:00
UdjinM6
b30f8b5fcb remove unused variable 2015-06-24 19:33:53 +03:00
UdjinM6
a4bb283367 slight optimizations/readability improvements for ds 2015-06-24 19:30:05 +03:00
UdjinM6
451a98732e remove unneeded "darkSendPool." in DS pool class functions 2015-06-24 19:25:43 +03:00
UdjinM6
60622b887d add missing MSG_ENTRIES_ADDED for proper ds status display 2015-06-24 19:23:22 +03:00
UdjinM6
0bfaefde92 move ds pool status out of overview page 2015-06-24 19:08:14 +03:00
UdjinM6
4a9e7dba84 fix db shutdown crash - adopt btc daf956b7b196769f8027026dd047e72412a9a039 2015-06-24 17:49:30 +03:00
Evan Duffield
cf53f2f897 protocol bump 2015-06-24 07:41:52 -07:00
Evan Duffield
71761f6317 Merge branch 'v0.12.0.x' of https://github.com/darkcoin/darkcoin into v0.12.0.x 2015-06-23 16:46:55 -07:00
Evan Duffield
f1b868f098 Removed PoSe due to consensus issues
- With nodes coming and going on the network, the network could come to different opinions about who should get paid next in line due to some nodes being flagged as failing a PoSe check. This will have to be fixed by introducing a blockchain based PoSe system, but that's out of the scope of this release. To fix the issues in the interrim, I'm removing PoSe checks for the time being.
2015-06-23 16:44:31 -07:00
UdjinM6
08a6803165 fixing all kind of typos etc 2015-06-23 23:44:20 +03:00
Evan Duffield
4afaa1d8cf Scan blocks if coinpayee cache is not present 2015-06-23 12:08:11 -07:00
Evan Duffield
3c01ffa444 fixed errors from merge 2015-06-23 10:59:14 -07:00
Evan Duffield
3eeb33e577 version / proto bump 2015-06-23 10:53:22 -07:00
Evan Duffield
43e6976695 merged 2015-06-23 10:53:12 -07:00
Evan Duffield
c72355335c Coinbase Payee Cache Implementation
- Masternode nLastPaid is removed and a new caching system that keeps the last 30 days of coinbase payees replaces it
- To deal with some significant attack vectors, the masternode donation feature was removed. The donation feature was added to support developement anyway, so this will be replaced by the budgeting code.
-  This code should allow the network to come to consensus about who should be paid pretty effectively
2015-06-23 10:48:03 -07:00
evan82
f12664166b Merge pull request #378 from UdjinM6/v0.12.0.x_ds_coincontrol
V0.12.0.x ds coincontrol
2015-06-23 10:12:26 -07:00
evan82
cdaaa297f6 Merge pull request #377 from UdjinM6/v0.12.0.x_dsee_mnb
V0.12.0.x refactor: dsee -> mnb
2015-06-23 10:11:55 -07:00
evan82
6aa49e5a70 Merge pull request #376 from UdjinM6/v0.12.0.x_fees
V0.12.0.x fees fixes
2015-06-23 10:11:20 -07:00
UdjinM6
5037c710de When DS inputs are selected in coincontrol:
- spend exactly these inputs
- allow to spend more than 0.1 as a fee (note: still will respect non-ds fee limits)
2015-06-23 18:47:05 +03:00
UdjinM6
a6a04cb5c1 refactor: dsee -> mnb 2015-06-23 18:40:08 +03:00
UdjinM6
154567bf5d refactor: allowFree -> ignoreFees 2015-06-23 18:24:20 +03:00
UdjinM6
db18ce0480 bump required version for fee_estimates.dat file 2015-06-23 18:22:39 +03:00
UdjinM6
159b3366b1 reject real insane fee instead of hardcoded 2015-06-23 18:19:45 +03:00
UdjinM6
f3e619a2d1 btc/kb -> dash/kb 2015-06-23 18:15:12 +03:00
UdjinM6
d35dab332a bump min fees 10x 2015-06-23 18:02:46 +03:00
UdjinM6
3e95f3b98c accept(verify) DS mixing txes ignoring fees 2015-06-23 07:12:24 +03:00
UdjinM6
9925e0a360 try to lower fee in CreateTransaction 2015-06-22 22:36:35 +03:00
evan82
511b11aa53 Merge pull request #374 from UdjinM6/v0.12.0.x_ds_reservekeys
V0.12.0.x deal with reservekeys in CreateDenominated and MakeCollaterals more accurate (+todo)
2015-06-22 12:25:27 -07:00
evan82
59097ed28d Merge pull request #373 from UdjinM6/v0.12.0.x_fix_PrepareDarksendDenominate
V0.12.0.x fix PrepareDarksendDenominate - loop instead of if
2015-06-22 11:35:29 -07:00
UdjinM6
d766b6b564 fix PrepareDarksendDenominate - loop instead of if 2015-06-22 21:10:46 +03:00
UdjinM6
02230c4263 deal with reservekeys in CreateDenominated and MakeCollaterals more accurate (+todo) 2015-06-22 20:59:27 +03:00
UdjinM6
a049348110 bump ix min proto 2015-06-22 20:51:28 +03:00
Evan Duffield
12863bb423 version bump 2015-06-22 08:47:24 -07:00
Evan Duffield
feaaf1e166 fixed bug with counting votes 2015-06-22 07:20:34 -07:00
Evan Duffield
12e5f8f4d4 added some debugging 2015-06-22 06:50:33 -07:00
Evan Duffield
dddc095856 changed enforcement strategy for mn payments 2015-06-21 10:06:25 -07:00
Evan Duffield
892212d407 version / min version bump 2015-06-21 09:32:32 -07:00
Evan Duffield
b8c842744d clear out old masternodes in CheckAndRemove 2015-06-21 06:54:07 -07:00
Evan Duffield
1cf09fae8e update protocol version 2015-06-20 19:03:06 -07:00
Evan Duffield
ca95ca2d95 fixed nDos for failure of mnp 2015-06-20 13:28:41 -07:00
Evan Duffield
06ac558fee version bump 2015-06-20 13:00:19 -07:00
Evan Duffield
049aae7c49 Merge branch 'v0.12.0.x' of https://github.com/dashpay/dash into v0.12.0.x 2015-06-20 12:59:38 -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
UdjinM6
97c97f7e40 use v11-like AcceptToMemoryPool call in ProcessMessage(dstx/tx) 2015-06-20 05:33:15 +03:00
Evan Duffield
a0d8442835 added hybrid keys for masternode payment voting 2015-06-19 11:33:02 -07:00
Evan Duffield
b6f760ff90 Check before pulling payee 2015-06-19 09:14:48 -07:00
UdjinM6
58c0f150a4 fix dsc 2015-06-19 04:42:25 +03:00
evan82
3834e459d9 Merge pull request #364 from UdjinM6/v0.12.0.x_fix_mnping
V0.12.0.x fix mnping
2015-06-18 11:52:49 -07:00
UdjinM6
1e393d5b70 fix mnping 2015-06-18 21:41:01 +03:00
evan82
85815dcf29 Merge pull request #362 from snogcel/v0.12.0.x
Available Balance, Pending Label Fix
2015-06-18 10:38:52 -07:00
thelazier
639c67d354 Fix getblocktemplate not show payee from masternode winners.. 2015-06-18 16:40:22 +07:00
snogcel
5fed89fde4 Available Balance, Pending Label Fix 2015-06-17 21:37:30 -06:00
Evan Duffield
cc458007e3 update version 2015-06-17 17:10:42 -07:00
UdjinM6
91c7f66562 remove nLastPaid from CMasternodeBroadcast 2015-06-18 00:18:24 +03:00
UdjinM6
795ee119ec SecondsSincePayment (fix buffer overflow / change logic / move impl to cpp) 2015-06-17 23:03:09 +03:00
Evan Duffield
df77f56e11 Budget stability fixes
- Proposals must start on a budget block now
- Finalized budgets now enforce proposal start and end periods
- Other misc fixes
2015-06-16 10:04:35 -07:00
Evan Duffield
5c4dc3727b fixed issue with reindex and super blocks 2015-06-16 07:04:50 -07:00
Wladimir J. van der Laan
be6420407b
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-06-15 10:17:56 +02:00
Tom Harding
0fd8464458
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-06-15 10:13:13 +02: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
UdjinM6
f1debd4688 fix segfault in budgets 2015-06-10 09:49:08 +03:00
Evan Duffield
928f6edcb6 Adjusted max payment per finalized budget to 10% of the monthly block reward 2015-06-09 20:46:24 -06:00
evan82
07fbdfc525 Merge pull request #356 from UdjinM6/v0.12.0.x_mnping_blockhash
V0.12.0.x add recent (tip - 12) blockhash to mnping
2015-06-09 20:04:12 -06:00
evan82
201448cea0 Merge pull request #358 from UdjinM6/v0.12.0.x_fix_budget_gethash
V0.12.0.x fix budget gethash
2015-06-09 20:01:00 -06:00
UdjinM6
5f5ee7a59b fix CFinalizedBudgetVote and CBudgetVote hashing, see https://github.com/dashpay/dash/pull/357 for more info 2015-06-09 19:37:58 +03:00
adios
f9b77c4376 Masternode broadcast's and ping's GetHash method fix 2015-06-09 17:22:31 +04:00
UdjinM6
19d9a65f8a add recent (tip - 12) block hash to mnping 2015-06-09 14:37:36 +03:00
evan82
aa91dde992 Merge pull request #354 from UdjinM6/v0.12.0.x_merge_master
V0.12.0.x merge master
2015-06-07 18:50:37 -06:00
evan82
cddd69ef40 Merge pull request #350 from UdjinM6/v0.12.0.x_budget
V0.12.0.x budget fixes/cleanups
2015-06-06 08:14:44 -06:00
UdjinM6
d53968ea56 fix ix comments 2015-06-04 21:54:33 +03:00
UdjinM6
9e8d54124f Merge branch 'master' into v0.12.0.x_merge_master 2015-06-04 19:14:32 +03:00
evan82
34e808bfbd Merge pull request #348 from UdjinM6/v0.12.0.x_fix_unlock_null_collateral
V0.12.0.x fix unlock/setnull/collateraltx
2015-06-04 07:10:49 -07:00
evan82
1a9e34e18a Merge pull request #347 from UdjinM6/v0.12.0.x_ds_rand_denom
V0.12.0.x ds rand denom
2015-06-04 07:09:59 -07:00
UdjinM6
17d3df5300 fix CBudgetManager::FindProposal 2015-06-03 19:45:15 +03:00
UdjinM6
d335c1ebbe MOVE: group classes` implementation together; REMOVE: GetMasternodeBudgetEscrow (not used) 2015-06-03 19:10:11 +03:00
UdjinM6
6e0a64bc5d simplify few IFs 2015-06-03 18:42:37 +03:00
Wladimir J. van der Laan
181771b712
json: fail read_string if string contains trailing garbage
Change `read_string` to fail when not the entire input has been
consumed. This avoids unexpected, even dangerous behavior (fixes #6223).

The new JSON parser adapted in #6121 also solves this problem so in
master this is a temporary fix, but should be backported to older releases.

Also adds tests for the new behavior.

Github-Pull: #6226
Rebased-From: 4e157fc60d
2015-06-03 15:16:18 +02:00
UdjinM6
b8b3690a5c Merge pull request #349 from crowning-/Statusbar_Icons
Statusbar icons for testnet added
2015-06-03 00:55:36 +03:00
Luke Dashjr
ecc96f5ba9
Remove P2SH coinbase flag, no longer interesting
Github-Pull: #6203
Rebased-From: d449772cf6
2015-06-02 09:14:13 +02:00
Evan Duffield
439679f5bc Finalized Budget Voting and Payment
- Added strBudgetMode with modes of "auto", "output-vin" and "suggest". Auto votes for what the masternode sees as the most popular proposals, output-vin is a delegation mode to another party and "suggest" sends a message to the network, suggesting the most popular proposals
2015-06-01 12:06:03 -07:00
crowning-
859d523a46 Statusbar_Icons: makefile for Gitian fixed 2015-06-01 10:27:46 +02:00
crowning-
8f695a03c1 Statusbar icons for tDASH added 2015-06-01 09:55:07 +02:00
Evan Duffield
a93ceed090 Finalized Budget Changes
- Finalized budgets now pass proposal hash, payee and amount. This keeps them completely separate from the proposal system to aid in consensus.
- Added status messages for badly formed finalized budgets (probably attacks). If users see messages like this they should check the proposals to see if something is wrong with them before voting.
2015-05-30 13:12:12 -07:00
Evan Duffield
c4b1156206 Merge branch 'v0.12.0.x' of https://github.com/dashpay/dash into v0.12.0.x 2015-05-30 10:30:01 -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
UdjinM6
543256c3e8 - fix issues with locking coins and not unlocking them properly (mostly on failures)
- more SetNull calls on failures
- move collateral tx reset out of SetNull and redo verification/renewal on doAuto in one single place (should prevent fast keypool exhausting on failures)
- move lastNewBlock from SetNull to Reset
2015-05-30 07:44:56 +03:00
crowning-
e01fefa6c4 Dash copyright year fixed 2015-05-30 05:13:09 +02:00
UdjinM6
4292d4d87d - Randomize denoms calculated ot of vecAmounts. Should help to find partners faster/more often and maybe slightly improve anonymity also.
- sessionTotal doesn't makes sense anymore, get rid of it.
- GetDenominationsByAmount cleaned but it is not used anywhere else so maybe it should be removed too (placed a comment there but didn't remove it yet).
2015-05-30 05:59:31 +03:00
UdjinM6
04f9fb043f Merge pull request #342 from crowning-/Wallet_Repair
Wallet Repair Buttons
2015-05-29 11:26:03 +03:00
crowning-
d953b23061 Wallet Repair Buttons: statustip changed 2015-05-29 08:18:33 +02:00
crowning-
4574218349 Wallet Repair Buttons: removed obsolete comment 2015-05-28 23:14:09 +02:00
crowning-
a4dce4340a Wallet Repair Buttons: refactoring and remove old repair args before restart 2015-05-28 23:09:14 +02: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
d470eddc01 fixed hashing issues with mnw messages 2015-05-27 15:07:53 -07:00
crowning-
6f49808caa Wallet Repair Buttons: refactoring to remove redundant code 2015-05-27 22:35:46 +02:00
Evan Duffield
fe55b12a1f added improvements for finding next masternode to get paid 2015-05-27 12:47:01 -07:00
Evan Duffield
66dcf6bbc7 cleaned up naming of budget functions 2015-05-27 10:11:00 -07:00
Evan Duffield
41eb74dc82 Stable budget implementation
- All budgeting code seems to be rather stable now. Serialization/caching is working rather well.
- Fixed some ambiguous variable names within the budgeting system that were causing the file caching to not work all of the time
2015-05-27 09:28:55 -07:00
Wladimir J. van der Laan
ebd7d8d78c
Parameter interaction: disable upnp if -proxy set
To protect privacy, do not use UPNP when a proxy is set. The user may
still specify -listen=1 to listen locally (for a hidden service), so
don't rely on this happening through -listen.

Fixes #2927.

Conflicts:
	src/init.cpp

Rebased-From: 8c35b6f3be
Github-Pull: #6153
2015-05-27 09:35:40 +02:00
Wladimir J. van der Laan
ae3d8f371a
Fix two problems in CSubNet parsing
Fix two CSubNet constructor problems:

- The use of `/x` where 8 does not divide x was broken, due to a
  bit-order issue

- The use of e.g. `1.2.3.4/24` where the netmasked bits in the network
  are not 0 was broken. Fix this by explicitly normalizing the netwok
  according to the bitmask.

Also add tests for these cases.

Fixes #6179. Thanks to @jonasschnelli for reporting and initial fix.

Rebased-From: b45c50ce51
Github-Pull: #6186
2015-05-27 09:11:27 +02:00
Wladimir J. van der Laan
e4a7d51537
Simplify code for CSubnet
Simplify the code by using CAddress.ip directly, instead of the reversed
GetByte() semantics.

Rebased-From: 19e8d7be42
Github-Pull: #6186
2015-05-27 09:10:56 +02:00
crowning-
e68350d372 Wallet Repair Buttons (possible segfault on OSX fixed) 2015-05-26 23:09:16 +02:00
Evan Duffield
efe377fa69 tie budget system to masternode payment system 2015-05-26 07:56:51 -07:00
crowning-
3ab747d8ff Wallet Repair Buttons added 2015-05-25 22:59:38 +02:00
crowning-
9a6fe03974 Wallet Repair Buttons: initial commit (+ file permissions restored) 2015-05-25 18:29:11 +02:00
crowning-
8c4175b359 Wallet Repair Buttons: initial commit 2015-05-23 13:28:33 +02:00
evan82
b616fb8ef0 Merge pull request #338 from UdjinM6/lock_masternodes
Lock masternodes from masternode configuration file
2015-05-20 16:06:49 -07:00
evan82
9e5542ac45 Merge pull request #337 from UdjinM6/ds_coin_control
CoinControl should disable DS when non-anonymized inputs are selected
2015-05-20 16:06:38 -07:00
evan82
de562d89f7 Merge pull request #333 from UdjinM6/v0.12.0.x_update_mainnet_lastcheckpoint_data
V0.12.0.x update mainnet lastcheckpoint data
2015-05-20 16:06:08 -07:00
UdjinM6
472d2a21d6 fix tooltip background 2015-05-20 23:09:31 +03:00
UdjinM6
5a8b8538e3 Lock masternodes from masternode configuration file 2015-05-20 20:21:44 +03:00
crowning-
34a205b9a6 Fix tooltip background for OSX 2015-05-20 09:05:46 +02:00
UdjinM6
06032be332 unset DS checkbox if there were non-anonymized inputs selected in coincontrol, give warning 2015-05-20 00:10:52 +03:00
crowning-
eea3317755 Use existing constant instead of hardcoded size value 2015-05-17 21:21:43 +02:00
crowning-
2154f94131 Open peers information page when clicking on connections item 2015-05-17 20:56:00 +02:00
crowning-
32c6068ce9 Merge remote-tracking branch 'upstream/v0.12.0.x' into v0.12.0.x 2015-05-17 16:37:59 +02:00
UdjinM6
5cb819c3f8 Merge pull request #332 from UdjinM6/v0.12.0.x_fix_mnpayment_bugs
V0.12.0.x fix 2 masternode payments bugs
2015-05-17 17:26:12 +03:00
crowning-
dd76a079dd Tooltips for Coincontrol-Dialog added 2015-05-17 14:12:01 +02:00
UdjinM6
a4a72d6fa0 Update last checkpoint data for mainnet - should give more accurate verification progress 2015-05-16 06:04:33 +03:00
UdjinM6
397654ef76 fix masternode payments bugs 2015-05-16 05:53:53 +03:00
UdjinM6
18c60f9ecb Merge branch 'master' into v0.12.0.x_merge_btc010_master (fix spaces) 2015-05-16 02:34:25 +03:00
UdjinM6
e50d9bbc5d Merge branch '0.10' into v0.12.0.x_merge_btc010 2015-05-16 00:05:57 +03:00
crowning-
af08fbf0c9 Merge remote-tracking branch 'upstream/v0.12.0.x' into v0.12.0.x 2015-05-15 20:23:20 +02:00
Evan Duffield
66ac44651e Merge branch 'v0.12.0.x' of https://github.com/darkcoinproject/darkcoin into v0.12.0.x 2015-05-14 18:04:43 -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
crowning-
e9a8b99694 Show sum of selected transactions: mouse + key selection added, some general cleanup 2015-05-14 08:31:40 +02:00
Gregory Maxwell
da656068ec
Avoid crash on start in TestBlockValidity with gen=1.
When the internal miner is enabled at the start of a new node, there
 is an near instant assert in TestBlockValidity because its attempting
 to mine a block before the top checkpoint.

Also avoids a data race around vNodes.

Github-Pull: #6123
Rebased-From: bba7c24929
2015-05-12 16:38:04 +02:00
Wladimir J. van der Laan
49e4d14f75
Translations update 2015-05-12 16:33:04 +02:00
Wladimir J. van der Laan
d7e7727658
Preparations for 0.10.2 release 2015-05-12 16:23:53 +02:00
Jonas Schnelli
424ae6629b
don't imbue boost::filesystem::path with locale "C" on windows
fixes https://github.com/bitcoin/bitcoin/issues/6078

Github-Pull: #6093
Rebased-From: b3ffcdf916 3da7849007
2015-05-10 14:26:22 +02:00
crowning-
575ddb3eca Show sum of all selected transactions in 'Transactions' tab. (Own ToDo marker removed) 2015-05-10 01:30:45 +02:00
crowning-
40f742c6be Show sum of all selected transactions in 'Transactions' tab. (typo + file permission fix) 2015-05-10 01:28:03 +02:00
crowning-
3a6466bced Show sum of all selected transactions in 'Transactions' tab. 2015-05-10 01:22:35 +02:00
UdjinM6
4a107035c7 fix boost::get build error 2015-05-09 00:06:07 +03:00
UdjinM6
4c6b9e8969 use tooltip for submited denoms 2015-05-08 17:35:15 +03:00
Cory Fields
824c011d16 wallet: fix boost::get usage with boost 1.58
Backport from master
2015-05-06 16:52:46 -04:00
Evan Duffield
e7557f2baf make masternode votes last 30 days 2015-05-06 13:15:44 -07:00
Wladimir J. van der Laan
ebc0e41ede
qt: translation update for next 0.10 point release 2015-05-04 13:12:30 +02:00
Evan Duffield
c6233880c3 draft 2015-05-04 03:05:08 -07:00
Evan Duffield
160eec6e30 merged 2015-05-04 02:36:23 -07:00
Evan Duffield
f38b8e9572 draft 2015-05-04 02:31:31 -07:00
crowning-
acec2b399f Resync with upstream 2015-05-03 15:29:35 +02:00
crowning-
4fa07131b6 Merge remote-tracking branch 'upstream/v0.12.0.x' into v0.12.0.x 2015-05-03 14:34:40 +02:00
evan82
11f83f3141 Merge pull request #322 from UdjinM6/v0.12.0.x_fix_kgw
V0.12.0.x Fix KGW (handle negative uint256 properly)
2015-05-02 19:43:16 -07:00
evan82
a689f630ed Merge pull request #323 from UdjinM6/v0.12.0.x_fix_ds_mixing
V0.12.0.x DS fixes
2015-05-02 19:43:07 -07:00
evan82
1506d63284 Merge pull request #324 from UdjinM6/v0.12.0.x_mn_payment_initial_download
v0.12.0.x Do not waste CPU calculating MN payments during initial download
2015-05-02 19:41:46 -07:00
UdjinM6
905b28f813 Do not calculate MN payments during initial download 2015-05-02 19:55:31 +03:00
UdjinM6
6e229e16ff DS fixes:
- detect denominated but not yet anonymized balance properly or both (GetAnonymizableBalance)
 - fix progress calculation by using GetAnonymizableBalance
 - do not count MN-like inputs as anonymizable
 - denominate faster: if there is enough new inputs after DS started (their sum is greater then "already denominated but not yet anonymized balance")
 - allow small amounts to be used in CreateDenominated (modified SelectCoinsDark) but only if they are larger then 1 CENT
 - do not use collateral inputs in CreateDenominated (modified SelectCoinsDark)
 - convert some int64_t -> CAmount for money related variables/params
2015-05-02 19:18:20 +03:00
UdjinM6
efca207c13 Fix KGW (handle negative uint256 properly) 2015-05-01 20:17:14 +03:00
Evan Duffield
40adfbf2c9 fixed 2015-04-30 12:54:34 -07:00
Evan Duffield
b02d5260fd fixed most of the budget functions 2015-04-30 10:11:34 -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
crowning-
6aca47300e Merge remote-tracking branch 'upstream/v0.12.0.x' into v0.12.0.x 2015-04-30 08:31:47 +02:00
crowning-
8f505019e9 Only show most common transaction types by default 2015-04-29 23:46:53 +02:00
UdjinM6
24309f78ce various (gitian) build fixes 2015-04-29 21:27:52 +03:00
crowning-
8223e0d34f Fix for addressbook label problem on Windows 2015-04-26 00:58:50 +02:00
crowning-
cf7e9886f5 Enable dynamic CSS temporarily for debugging 2015-04-25 23:53:58 +02:00
UdjinM6
854a1be027 Merge pull request #316 from UdjinM6/v0.12.0.x_mn_replies
V0.12.0.x Fix translations(mn replies /protobump/ + DS progress)
2015-04-20 17:18:48 +03:00
Gregory Maxwell
139cd8177b
Cap nAttempts penalty at 8 and switch to pow instead of a division loop.
On hosts that had spent some time with a failed internet connection their
 nAttempts penalty was going through the roof (e.g. thousands for all peers)
 and as a result the connect search was pegging the CPU and failing to get
 more than a 4 connections after days of running (because it was taking so
 long per try).

Rebased-From: a784f90c98
Github-Pull: #6029
2015-04-20 13:59:19 +02:00
Suhas Daftuar
bac6fca3c9
Set nSequenceId when a block is fully linked
Also adds a test to CheckBlockIndex

Conflicts:
	src/main.cpp

Rebased-From: c1ecee8f72
Github-Pull: #6010
2015-04-20 13:48:52 +02:00
crowning-
5873a5e5a3 Included new "Peers list" tab into CSS theme 2015-04-19 16:01:45 +02:00
crowning-
4f28254506 Merge remote-tracking branch 'upstream/v0.12.0.x' into v0.12.0.x 2015-04-19 00:38:39 +02:00
dexX7
323de27f4b
Initialization: setup environment before starting QT tests
The environment is prepared by the main thread to guard against invalid locale settings.
2015-04-18 16:06:22 +02:00
dexX7
7494e0915b
Initialization: setup environment before starting tests
The environment is prepared by the main thread to guard against invalid locale settings and to prevent deinitialization issues of Boost path, which can result in app crashes.
2015-04-18 16:06:20 +02:00
dexX7
df45564cf0
Initialization: set fallback locale as environment variable
The scope of `std::locale::global` appears to be smaller than `setenv("LC_ALL", ...)` and insufficient to fix messed up locale settings for the whole application.
2015-04-18 16:06:15 +02: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
UdjinM6
949494d4de Merge pull request #317 from crowning-/auto-wallet-backup
Autobackup: keep n-backups per wallet-name
2015-04-17 02:43:43 +03:00
Evan Duffield
7d33b6d8b3 Masternode Last Paid Times
-Update nLastPaid when blocks come in
2015-04-16 14:08:58 -07:00
Evan Duffield
d25cf1af22 Split masternode and payments code 2015-04-16 13:26:18 -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
crowning-
9296ce0e4c Autobackup: keep n-backups per wallet-name 2015-04-16 13:13:33 +02:00
mrbandrews
57d1f46952
Fix CheckBlockIndex for reindex.
Some tests in CheckBlockIndex require chainActive.Tip(), but when reindexing, chainActive has not been set on the first call to CheckBlockIndex.

reindex.py starts a node, mines 3 blocks, stops, and reindexes with CheckBlockIndex enabled.

Rebased-From: 0421c18f3a
Github-Pull: #6012
2015-04-16 10:34:30 +02:00
UdjinM6
8e05e9eb10 Fix translations:
- mn replies
  - MN should use codes for replies, translations are done on client side (client protocol / min pool peer protocol bump)
  - use QString for translation instead of ostream, construct better human readable strings for translators
- progress
  - use QString here too
2015-04-16 05:35:12 +03:00
UdjinM6
5daefc1a08 Merge remote-tracking branch 'origin/master' into v0.12.0.x
+Fix Makefile.qt.include
2015-04-16 01:13:25 +03:00
UdjinM6
e6c9d5720c Merge remote-tracking branch 'bitcoin/0.10' into v0.12.0.x 2015-04-16 00:42:33 +03:00
evan82
d5b3558a9a Merge pull request #304 from snogcel/master
QScrollBar Fix
2015-04-14 17:23:49 -07:00
UdjinM6
e55d762909 Merge pull request #315 from UdjinM6/v0.12.0.x_fix_make_translations
V0.12.0.x fix translation processs
2015-04-15 03:06:03 +03:00
UdjinM6
f35b4d80bb fix translation processs 2015-04-15 02:50:59 +03:00
thelazier
ab4336c5e9 Fixed Default RPC Ports 2015-04-15 01:27:45 +07:00
UdjinM6
930ac51876 Fix compiling errors on Linux. Should be ok now. 2015-04-14 11:54:06 +03:00
Matt Corallo
eae305f4c4
Fix missing lock in submitblock
Rebased-From: eb63bf86cf
Github-Pull: #6007
2015-04-14 10:52:03 +02:00
UdjinM6
c9df7ce9de fix makefile 2015-04-14 02:01:10 +03:00
crowning-
3fa77045a7 Missing resources add to Qt-makefile
Should build now
2015-04-13 22:28:32 +02:00
UdjinM6
b26ea22a70 Merge branch 'master' into merge_btc010 2015-04-13 22:46:04 +03:00
evan82
73b831c3a7 Merge pull request #306 from crowning-/auto-wallet-backup
Configurable Automatic Wallet Backup
2015-04-13 10:51:31 -07:00
evan82
a8d7a3feea Merge pull request #305 from UdjinM6/fix_UI_masternode_litemode
fix DS and IX for CoinControl in litemode
2015-04-13 10:50:50 -07:00
Evan Duffield
c38eff15e0 Ignore dsee entries with signatures 2015-04-13 10:49:02 -07:00
Evan Duffield
d8ebb6826d update hard-coded nodes 2015-04-13 07:01:52 -07:00
Evan Duffield
51b6287695 add dashpay seed 2015-04-13 06:55:09 -07:00
Evan Duffield
9c9085716e update seeder order 2015-04-13 06:53:55 -07:00
snogcel
2efd85af0d QScrollBar Arrow Enhancement 2015-04-12 12:43:04 -06:00
crowning-
5a1857795e Number of automatic backups configurable (0-10) 2015-04-12 14:43:53 +02:00
UdjinM6
b56b9275c7 fix DS and IX for CoinControl in litemode 2015-04-12 07:30:57 +03:00
crowning-
ea3c318fda Limit maximum number of wallet-backups to 10 2015-04-12 01:02:33 +02:00
crowning-
d2c0981786 Sanity check for backup source added 2015-04-11 17:21:18 +02:00
crowning-
3846db711a Wallet autobackup completed 2015-04-11 16:49:02 +02:00
crowning-
2b99647461 Changed error handling for debugging 2015-04-11 15:56:20 +02:00
crowning-
7b8e729cb0 Changed error handling for debugging 2015-04-11 15:23:33 +02:00
crowning-
2b040d1e48 Wallet backup OS-dependent path fix 2015-04-11 14:25:47 +02:00
crowning-
91bcad1d1f Added OS-independent path separator 2015-04-11 13:43:41 +02:00
crowning-
cfdc68633b Make backup timestamp Windows-FS compatible 2015-04-11 13:02:28 +02:00
crowning-
51304dfaa2 Create backups of wallet.dat automatically 2015-04-11 06:14:18 +02:00
crowning-
2bb8209877 CSS reverted to master 2015-04-11 05:34:08 +02:00
crowning-
756f771517 CSS reverted to master 2015-04-11 05:32:11 +02:00
crowning-
378fdf4c93 Merge remote-tracking branch 'upstream/master' 2015-04-10 21:43:45 +02:00
UdjinM6
62bbc1176e fix merge 2015-04-10 20:08:01 +03:00
UdjinM6
8051f73446 bump MIN_POOL_PEER_PROTO_VERSION manually 2015-04-10 19:39:12 +03:00
UdjinM6
63ae382c72 ru 2015-04-10 19:34:43 +03:00
UdjinM6
3cfd9538d5 Merge branch 'master' into merge_btc010 2015-04-10 19:32:57 +03:00
snogcel
14d990362f QScrollBar Fix Horizontal 2015-04-09 20:39:34 -06:00
snogcel
cc785e20bf Merge remote-tracking branch 'upstream/master' 2015-04-09 20:37:22 -06:00
Evan Duffield
a79196bc19 fixed masternode find bug 2015-04-09 12:17:32 -07:00
Evan Duffield
e741ff590e version bump 2015-04-09 10:12:04 -07:00
Evan Duffield
91a669e231 Ref-node : Always fill vecLastPayments
- In some rare cases the vecLastPayments would get truncated and would start paying people it paid recently again. This stops that from happening.
2015-04-09 10:06:48 -07:00
snogcel
2757360ace QScrollBar Fix 2015-04-08 18:48:42 -06:00
crowning-
680be25d2a Added missing scrollbar-arrows 2015-04-09 00:31:01 +02:00
UdjinM6
a866e12f74 should set nMaxToAnonymize equal to denominatedBalance only if it's greater then it was possible to denominate 2015-04-08 21:27:35 +03:00
Evan Duffield
0f677c4583 version bump / reduce max rounds options in conf 2015-04-08 09:38:04 -07:00
Evan Duffield
a4e8dfa0b6 fixed issues 2015-04-08 09:35:43 -07:00
Evan Duffield
3f57ac1aea added debugging 2015-04-08 08:46:13 -07:00
Evan Duffield
7d5948012b DS: Adjust Target Balance
- When targeting the entire balance, the wallet reports getting stuck at 99%.
2015-04-08 08:02:54 -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
58e418e1e1 add Peers menu item 2015-04-08 07:26:15 +03:00
UdjinM6
27514f0f80 masternode stop should disable MN and remove it from MN list 2015-04-08 07:02:23 +03:00
UdjinM6
865b63e52d Merge branch '0.10' into merge_btc010
Conflicts:
	doc/release-notes.md
	doc/release-process.md
2015-04-08 06:15:17 +03:00
Evan Duffield
ec80b25217 updated chinese translations 2015-04-07 20:05:40 -07: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
evan82
d7cdaad0e2 Merge pull request #300 from UdjinM6/fix_votes_filter
fix filtering for masternode list votes rpc
2015-04-07 17:48:06 -07:00
Evan Duffield
5c03872655 fixed vote crashes 2015-04-07 17:45:33 -07:00
UdjinM6
f358a8a698 fix filtering for masternode list votes rpc 2015-04-08 03:43:40 +03:00
Evan Duffield
88ab84a2e7 updated translatios 2015-04-07 17:35:22 -07:00
Evan Duffield
631e4b505f fixed vote-many 2015-04-07 12:59:30 -07:00
Evan Duffield
13e4a7d33f Merge branch 'v0.11.2.x' of https://github.com/darkcoin/darkcoin into v0.11.2.x 2015-04-07 10:22:10 -07:00
Evan Duffield
d120557b05 updated chinese translations 2015-04-07 10:09:42 -07:00
Evan Duffield
0b225546f7 check collateral before submitting 2015-04-07 09:41:31 -07:00
UdjinM6
debcbb75b1 do not search for known sporks by hash, search only by ID 2015-04-07 18:17:50 +03:00
Evan Duffield
83864c69c3 Merge branch 'master' of https://github.com/darkcoin/darkcoin into v0.11.2.x 2015-04-07 07:40:28 -07:00
evan82
ac51baf4a2 Merge pull request #297 from crowning-/master
Transaction type column width adjusted
2015-04-07 07:30:15 -07:00
UdjinM6
41f592aec7 Explicitly convert mutable txes to immutable before calling AcceptableInputs 2015-04-07 05:59:56 +03:00
UdjinM6
649434dd2e Fix SelectCoinsByDenominations relative things:
- AvailableCoins inside SelectCoinsByDenominations should select denoms only now (also removing corresponding "if"s)
- use temporary vectors in doauto when call SelectCoinsByDenominations to prevent vCoins modification
- variables naming (set...->v...)
2015-04-07 05:52:49 +03:00
Evan Duffield
7e72c2bccf added nDenom check for dsa 2015-04-06 16:07:25 -07:00
Evan Duffield
42e056c5c5 version/proto bump 2015-04-06 13:41:08 -07:00
Evan Duffield
d928a53234 DS Working pretty well 2015-04-06 13:00:46 -07:00
Evan Duffield
18828b00ef fixed overviewpage.cpp 2015-04-06 08:32:43 -07:00
Evan Duffield
f0192b1bb3 Reverting some DS changes
- Some changes caused instability of DS, this should fix that.
2015-04-06 08:14:26 -07:00
Gavin Andresen
1c62e84099
Keep mempool consistent during block-reorgs
This fixes a subtle bug involving block re-orgs and non-standard transactions.

Start with a block containing a non-standard transaction, and
one or more transactions spending it in the memory pool.

Then re-org away from that block to another chain that does
not contain the non-standard transaction.

Result before this fix: the dependent transactions get stuck
in the mempool without their parent, putting the mempool
in an inconsistent state.

Tested with a new unit test (adapted for 0.10).

Rebased-From: ad9e86dca1
Github-Pull: #5945
2015-04-06 11:38:43 +02:00
UdjinM6
bdee4cd3c5 fix cmd help for -masternodeminprotocol 2015-04-06 06:46:53 +03:00
UdjinM6
cddd69444f small rpc description fixes 2015-04-06 00:59:25 +03:00
UdjinM6
f26aff36cd unify copyright 2015-04-06 00:58:13 +03:00
UdjinM6
fabca0a428 more bitcoin->dash fixes 2015-04-06 00:56:58 +03:00
UdjinM6
8bd7e1d181 relax restrictions on AcceptableInputs 2015-04-05 22:37:15 +03:00
UdjinM6
f08ddc5eea fix DSdenom/watchonly 2015-04-05 02:45:22 +03:00
UdjinM6
4c129040fe fix unit icons (ugly but works, need to repaint however) 2015-04-05 02:25:32 +03:00
UdjinM6
b9d826a213 cleanup 2015-04-05 01:58:51 +03:00
UdjinM6
e54c11aabb tests should compile now 2015-04-05 01:58:10 +03:00
UdjinM6
3f3b6bb3cb rpc fixes 2015-04-05 01:57:25 +03:00
UdjinM6
4a325e7ebe fix CreateNewBlock 2015-04-05 01:56:29 +03:00
UdjinM6
df12ef8601 move x11 algos to crypto/ 2015-04-04 23:00:03 +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
crowning-
833cf2b23e Transaction type column width adjusted 2015-04-03 20:42:54 +02:00
crowning-
c97d8fb1f9 "Recent Transactions" font-size reduced by 1 2015-04-03 11:10:28 +02:00
crowning-
7c57a2ed80 Disable "Try Mix" and "Reset" buttons in Masternode mode 2015-04-03 10:25:14 +02:00
crowning-
eb42ea204e Centered in/out TX icons for a more harmonic look 2015-04-03 06:14:03 +02:00
crowning-
15e931b254 Off-centered vertical "About" image fixed 2015-04-03 05:51:55 +02:00
UdjinM6
c8657cbb4d fix possible MN breakage during mixing 2015-04-02 19:26:45 +03:00
Evan Duffield
e29b66d1dc Merge branch 'master' of https://github.com/darkcoin/darkcoin 2015-04-01 20:33:27 -07:00
Evan Duffield
af6bf0f947 version bump 2015-04-01 20:32:57 -07:00
Wladimir J. van der Laan
2b7636c3d6
Merge pull request #5953
a1f425b Add a consistency check for the block chain data structures (Pieter Wuille)

This is a port of #5900 to 0.10.

Github-Pull: #5900
2015-04-01 17:26:33 +02:00
Pieter Wuille
aa587d4cae
Scale up addrman
This change was suggested as Countermeasure 6 in
Eclipse Attacks on Bitcoin’s Peer-to-Peer Network, Ethan Heilman,
Alison Kendler, Aviv Zohar, Sharon Goldberg. ePrint Archive Report
2015/263. March 2015.

Rebased-From: 1d21ba2f5e
Github-Pull: #5941
2015-04-01 16:39:55 +02:00
Pieter Wuille
0c6f334c32
Always use a 50% chance to choose between tried and new entries
This change was suggested as Countermeasure 2 in
Eclipse Attacks on Bitcoin’s Peer-to-Peer Network, Ethan Heilman,
Alison Kendler, Aviv Zohar, Sharon Goldberg. ePrint Archive Report
2015/263. March 2015.

Rebased-From: c6a63ceeb4
Github-Pull: #5941
2015-04-01 16:39:36 +02:00
Pieter Wuille
214154e6fc
Do not bias outgoing connections towards fresh addresses
This change was suggested as Countermeasure 2 in
Eclipse Attacks on Bitcoin’s Peer-to-Peer Network, Ethan Heilman,
Alison Kendler, Aviv Zohar, Sharon Goldberg. ePrint Archive Report
2015/263. March 2015.

Rebased-From: 68ba3f67bd500a64fb8932c6b41924ddc31d76f
Github-Pull: #5941
2015-04-01 16:39:30 +02:00
Pieter Wuille
2218d4bbe0
Simplify hashing code
Conflicts:
	src/addrman.cpp

Rebased-From: a8ff7c62ed
Github-Pull: #5941
2015-04-01 16:38:54 +02:00
Pieter Wuille
cf0218f8b2
Make addrman's bucket placement deterministic.
Give each address a single fixed location in the new and tried tables,
which become simple fixed-size arrays instead of sets and vectors.

This prevents attackers from having an advantages by inserting an
address multiple times.

This change was suggested as Countermeasure 1 in
Eclipse Attacks on Bitcoin’s Peer-to-Peer Network, Ethan Heilman,
Alison Kendler, Aviv Zohar, Sharon Goldberg. ePrint Archive Report
2015/263. March 2015.

It is also more efficient.

Conflicts:
	src/addrman.cpp
	src/addrman.h

Rebased-From: e6b343d880
Github-Pull: #5941
2015-04-01 16:38:47 +02:00
Pieter Wuille
b788994256
Switch addrman key from vector to uint256
Conflicts:
	src/addrman.cpp

Rebased-From: b23add5521
Github-Pull: #5941
2015-04-01 16:38:31 +02:00
evan82
fd357be174 Merge pull request #293 from UdjinM6/fix_rpc_mn_list
Fixes for "masternode list"
2015-03-31 15:31:54 -07:00
evan82
24cd4665ba Merge pull request #292 from UdjinM6/fix_UI_masternode_litemode
Fix UI in masternode and lite modes
2015-03-31 15:29:53 -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
evan82
91cf419662 Merge pull request #290 from UdjinM6/fix_mn_dsee_activation
Fix MN dsee
2015-03-31 07:35:01 -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
89f8a68a97 Fixes for "masternode list"
- fix descriptions and filtering in masternode list rpc, sort modes
- rename "active" to "status"
- move MN status string compilation to masternode.h
- "full" mode will use Status instead of IsEnabled now
2015-03-31 04:14:44 +03:00
UdjinM6
368c7a631e Fix UI in masternode and lite modes:
- disable entire DS frame in masternode mode and do not run timer
- hide DS and IX checkboxes in litemode
2015-03-31 01:27:20 +03:00
Evan Duffield
fea26cfb89 updated minimum for reference node 2015-03-30 12:33:42 -07:00
Evan Duffield
91d5f043ca Merge branch 'crowning--v0.11.2.x' 2015-03-30 09:06:26 -07:00
Evan Duffield
0dab1d059e updated chinese translations 2015-03-30 09:05:24 -07:00
crowning-
e67cc843dc Black border of Windows icons removed 2015-03-30 08:17:08 +02:00
Evan Duffield
8e8c117dd3 version bump 2015-03-29 22:19:15 -07:00
Evan Duffield
9d23c7fa3a translation updates 2015-03-29 22:18:16 -07:00
thelazier
551dd3bc56 Update rpcdarksend.cpp 2015-03-29 09:25:32 +07:00
crowning-
24d4738c22 Create empty dash.conf during startup if it doesn't exist 2015-03-28 14:22:57 +01:00
Evan Duffield
0202a9613f version bump 2015-03-27 18:08:46 -07:00
Evan Duffield
de073e8724 version bump 2015-03-27 18:06:13 -07:00
Evan Duffield
f227a13cb1 Merge branch 'v0.11.2.x' of https://github.com/darkcoinproject/darkcoin into v0.11.2.x 2015-03-27 17:42:56 -07:00
Evan Duffield
a5e5476995 imported updated translations 2015-03-27 17:42:35 -07:00
Pieter Wuille
a1f425b48b Add a consistency check for the block chain data structures
This adds a -checkblockindex (defaulting to true for regtest), which occasionally
does a full consistency check for mapBlockIndex, setBlockIndexCandidates, chainActive, and
mapBlocksUnlinked.
2015-03-27 17:24:07 -07:00
crowning-
dbc093f834 Merge remote-tracking branch 'upstream/v0.11.2.x' into v0.11.2.x 2015-03-27 23:49:13 +01:00
crowning-
2d5dd18548 Line-break (which breaks the layout) removed from German translation. 2015-03-27 23:44:52 +01:00
UdjinM6
e6ec450fa1 (mac) icns with new logo 2015-03-27 20:12:34 +03:00
Evan Duffield
d1fad966e9 DASHS -> DASH 2015-03-27 08:54:29 -07:00
Evan Duffield
6a75e6e52e updated chinese translations 2015-03-27 08:04:17 -07:00
Evan Duffield
b929991ff9 deleted unused translation files 2015-03-27 07:32:19 -07:00
crowning-
4421c968cf 256x256 pics updated to Dash logo 2015-03-26 23:08:01 +01:00
crowning-
253c9d79fd 256x256 pics updated to Dash 2015-03-26 23:07:31 +01:00
Evan Duffield
79edce5f5d version bump 2015-03-26 14:58:10 -07:00
crowning-
073e55fcc5 Dash images for toolbar 2015-03-26 22:56:48 +01:00
crowning-
d6db2a35c6 Dash icons for Windows 2015-03-26 22:12:53 +01:00
Evan Duffield
b89fd2e149 compiling warnings / fixed block comparison 2015-03-26 14:11:05 -07:00
Evan Duffield
a34ca7a88c Reference node fixes / debugging
- Only allow payments to be created once per blockHeight
2015-03-26 13:46:19 -07:00
Evan Duffield
6c9cc68449 version 12 2015-03-26 07:29:56 -07:00
evan82
b00ffa6af1 Merge pull request #279 from UdjinM6/v0.11.2.x_DS_header
v0.11.2.x make Darksend header styling closer to Available label
2015-03-26 07:22:57 -07:00
evan82
aadf08a8ca Merge pull request #278 from UdjinM6/v0.11.2.x_fix_UI
v0.11.2.x fix balances label UI issue
2015-03-26 07:22:35 -07:00
UdjinM6
b44f0429db make Darksend header styling closer to Available label 2015-03-26 13:25:01 +03:00
Wladimir J. van der Laan
4635a4c4e7
Translations update from transifex 2015-03-26 08:59:53 +01:00
Ruben de Vries
78f64ef0b2
don't trickle for whitelisted nodes
Rebased-From: fc720207e0
Github-Pull: #5942
2015-03-26 08:39:00 +01:00
UdjinM6
e9ea273db7 fix balances label UI issue 2015-03-25 18:13:55 +03:00
crowning-
51fdade5c7 Fixed console history truncation 2015-03-25 10:16:46 +01:00
snogcel
24b0e364f2 updated color scheme and logos 2015-03-24 22:54:49 -06:00
snogcel
283edf7598 adjustment (single line revert) 2015-03-24 19:01:50 -06:00
snogcel
bf4c9ef42a qlabel width adjustment & small button placement adjustment 2015-03-24 18:58:33 -06:00
Evan Duffield
41135ad456 version/proto/minproto bump 2015-03-24 14:14:55 -07:00
UdjinM6
d08949970c Merge branch 'v0.11.2.x' into v0.11.2.x_mncache_strmagic 2015-03-24 19:14:07 +03:00
evan82
9fec03ba3f Merge pull request #272 from UdjinM6/v0.11.2.x_small_mn_related_fixes_cleanups
V0.11.2.x few small mn related fixes & cleanups
2015-03-24 08:29:53 -07:00
evan82
d75462694f Merge pull request #271 from crowning-/v0.11.2.x
Default keypool size in usage text fixed
2015-03-24 08:29:22 -07:00
evan82
774ccffe3c Merge pull request #270 from snogcel/v0.11.2.x
increase recent transactions to 5
2015-03-24 08:29:07 -07:00
evan82
d2c868a9a4 Merge pull request #274 from UdjinM6/v0.11.2.x_dont_limit_dssend_inputs
V0.11.2.x don't limit ds-send inputs number artificially, fees should take care of it instead
2015-03-24 08:27:17 -07:00
UdjinM6
ca53ddd32b don't limit ds-send inputs number artificially, fees should take care of it instead 2015-03-24 18:16:43 +03:00
Alex Morcos
1d2cdd2ef9
Fix InvalidateBlock to add chainActive.Tip to setBlockIndexCandidates
Rebased-From: cd3d67cf3b
Github-Pull: #5890
2015-03-24 14:51:36 +01: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
crowning-
1795fb347e Merge remote-tracking branch 'upstream/v0.11.2.x' into v0.11.2.x 2015-03-24 09:22:23 +01:00
crowning-
a6862652b8 Default keypool size in usage text fixed 2015-03-24 09:18:35 +01:00
dexX7
c9e022b7ee Initialization: set Boost path locale in main thread
The path locale is lazy initialized and to avoid deinitialization errors
in multithreading environments, it is set explicitly by the main thread.

Conflicts:
	src/util.cpp
Rebased-From: 317e66c741
Github-Pull: #5877
2015-03-24 08:45:24 +01:00
snogcel
7092180641 increase recent transactions to 5 2015-03-23 21:31:15 -06:00
evan82
7af4e2ad11 Merge pull request #269 from snogcel/v0.11.2.x
updated logo positioning and subtle color scheme adjustment
2015-03-23 20:14:07 -07: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
snogcel
33202e4089 adjust Available Balance label height 2015-03-23 19:58:45 -06:00
UdjinM6
5c1621447d make sure nScanningErrorCount and nLastScanningErrorBlockHeight handled correctly 2015-03-24 04:52:27 +03:00
Evan Duffield
505ab68aa9 version bump 2015-03-23 18:19:49 -07:00
Evan Duffield
49214d0232 Removed donation flag 2015-03-23 18:16:28 -07:00
snogcel
0b9f9b6c33 Revert "increase number of recent transactions"
This reverts commit 99ce56a8c0.
2015-03-23 18:44:16 -06:00
snogcel
99ce56a8c0 increase number of recent transactions 2015-03-23 18:41:10 -06:00
snogcel
3bcaead0f6 updated logo and subtle color scheme adjustment 2015-03-23 18:32:54 -06:00
crowning-
a5833ccd34 "(out of sync)" labels re-aligned 2015-03-23 21:12:33 +01:00
evan82
bf52910a14 Merge pull request #266 from UdjinM6/v0.11.2.x_fix_scorecalculation_hash
V0.11.2.x fix scorecalculation hash
2015-03-23 13:03:02 -07:00
Evan Duffield
b0786bb5a1 Merge branch 'v0.11.2.x' of https://github.com/darkcoinproject/darkcoin into v0.11.2.x 2015-03-23 12:40:41 -07:00
Evan Duffield
701886c8d5 New Command: masternode list pose
- Shows proof-of-service score for masternodes
2015-03-23 12:39:38 -07:00
evan82
49576c93b2 Merge pull request #267 from UdjinM6/v0.11.2.x_rpc_blockheader
V0.11.2.x add getblockheader rpc command (+small fix for getblock example)
2015-03-23 11:43:18 -07:00
UdjinM6
ef98ad5039 example block hash btc->dash 2015-03-23 20:57:03 +03:00
UdjinM6
52ff69dd57 add getblockheader rpc command 2015-03-23 20:56:16 +03:00
Evan Duffield
1a6be53733 reducing spam 2015-03-23 10:43:17 -07:00
Evan Duffield
2bac43a100 updated logos 2015-03-23 10:30:12 -07:00
UdjinM6
2a7c348b16 explicitly grab each piece of data from memory for hashing in CMasternode::CalculateScore 2015-03-23 20:28:36 +03:00
Evan Duffield
528cf61185 version bump / pose fixes 2015-03-23 10:20:56 -07:00
Evan Duffield
c0a658ae43 version bump 2015-03-23 07:14:34 -07:00
Evan Duffield
4592b5090d fixed masternode donation miscalculations 2015-03-23 07:13:20 -07:00
Evan Duffield
4152eea1c1 fixed ranking issues for PoSe 2015-03-23 05:59:22 -07:00
Evan Duffield
0e35ed5cb6 Merge branch 'v0.11.2.x' of https://github.com/darkcoinproject/darkcoin into v0.11.2.x 2015-03-22 17:44:36 -07:00
Evan Duffield
739486eb5d added "masternode list donation" 2015-03-22 17:43:42 -07:00
evan82
3103432fac Merge pull request #265 from crowning-/v0.11.2.x
Resized transaction icons of overview-page for a more harmonic look
2015-03-22 15:50:17 -07:00
Evan Duffield
98a984dc6b changed seeders 2015-03-22 13:49:43 -07:00
crowning-
bcb148eeab Placement of transaction-amount adjusted (unconfirmed transactions didn't fit) 2015-03-22 21:29:29 +01:00
crowning-
ef74e261e5 Resized transaction icons of overview-page for a more harmonic look 2015-03-22 20:37:30 +01:00
Evan Duffield
88de9f9c4d version bump 2015-03-22 07:31:55 -07:00
Evan Duffield
da66e049cb update logos 2015-03-22 07:15:28 -07:00
Evan Duffield
563b949db3 Merge branch 'v0.11.2.x' of https://github.com/darkcoinproject/darkcoin into v0.11.2.x 2015-03-21 21:08:07 -07:00
Evan Duffield
9ae1093935 improved donation code/message 2015-03-21 21:07:59 -07:00
Evan Duffield
9bafb70a2f changed some locks 2015-03-21 20:27:13 -07:00
UdjinM6
e3d333f8b2 converted from "fix possible block db breakage during re-index" bb6acff079 2015-03-21 20:27:13 -07:00
UdjinM6
66d96acd19 format only: tabs -> spaces 2015-03-21 20:27:13 -07:00
UdjinM6
00023e97db disconnect ds timer if not in litemode 2015-03-21 20:27:13 -07:00
UdjinM6
bff51d4fcc disable relay 2015-03-21 20:27:13 -07:00
snogcel
988af26070 available balance font size, iX and darksend checkbox alignment 2015-03-21 20:27:13 -07:00
Evan Duffield
c5da226a09 changed some locks 2015-03-21 20:10:34 -07:00
Evan Duffield
5863457c85 Added easy to use donations 2015-03-21 12:49:21 -07:00
snogcel
c7d3c35cb5 available balance font size, iX and darksend checkbox alignment 2015-03-21 09:53:55 -06:00
Evan Duffield
e4b6f85e69 remove locks 2015-03-21 06:31:34 -07:00
evan82
32fcbf0932 Merge pull request #258 from snogcel/v0.11.2.x
button click css, fix for EditAddressDialog
2015-03-21 06:21:02 -07:00
Evan Duffield
cb4f0d1216 fixed typo 2015-03-21 06:14:26 -07:00
Evan Duffield
1c8bec258a protocol bump 2015-03-21 05:56:50 -07:00
Evan Duffield
649937dc4f masternode voting improvements 2015-03-20 20:34:36 -07:00
Evan Duffield
1cf72dea8c fixed tDASH references 2015-03-20 17:00:46 -07:00
snogcel
9b22e80024 button click css, fix for EditAddressDialog 2015-03-20 13:50:48 -06:00
Evan Duffield
412a6838c7 added masternode voting system for dash initiates 2015-03-20 11:24:11 -07:00
Evan Duffield
79e50f81e3 Disabled masternode blinding / increased rounds defaults 2015-03-20 08:47:19 -07:00
Evan Duffield
ba278ba5f6 Merge branch 'v0.11.2.x' of https://github.com/darkcoinproject/darkcoin into v0.11.2.x 2015-03-20 07:54:19 -07:00
Evan Duffield
0890b8f055 version bump 2015-03-20 07:53:51 -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
da7eba7198 Merge branch 'v11.2-dash' of https://github.com/darkcoinproject/darkcoin into v11.2-dash 2015-03-20 07:46:39 -07:00
Evan Duffield
76aaea1ae8 Translation updates
Darkcoins -> Dash
dashcurrency.com -> dashpay.io
Updated seeds
2015-03-20 07:45:30 -07:00
snogcel
aba8af73b0 subtle menu, tabwidget, and button modifications 2015-03-19 22:47:21 -06:00
snogcel
148435eb15 Merge remote-tracking branch 'upstream/v0.11.2.x' into v0.11.2.x 2015-03-19 22:00:09 -06:00
evan82
02340c4a08 Merge pull request #255 from UdjinM6/v11.2-dash
ru
2015-03-19 13:09:54 -07:00
UdjinM6
bfdf6894dc ru 2015-03-19 22:41:06 +03:00
Evan Duffield
981775c1d2 uDRK -> uDASH 2015-03-19 12:14:58 -07:00
Evan Duffield
5cb26c5928 Changed darkcoin references to dash
- Changed out logos (just a placeholder)
- DRK -> DASH
- ./darkcoin -> ./dash
2015-03-19 12:03:14 -07:00
Evan Duffield
eb782e1263 Merge branch 'v-1.11.2.x' of https://github.com/darkcoinproject/darkcoin into v0.11.2.x 2015-03-19 08:04:42 -07:00
Evan Duffield
3fff810292 fixed masternode payments FindOldestNotInVec 2015-03-19 08:04:14 -07:00
snogcel
913baaf88b updated buttons 2015-03-19 07:16:24 -06:00
Cory Fields
8752b5c882 0.10 fix for crashes on OSX 10.6
strnlen is available at build-time but not at runtime, causing a crash.

0.11 drops support for 10.6, so this is not needed in master.
2015-03-19 00:14:28 -04: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
e82c88ecbd increasing ds timeouts 2015-03-18 10:19:13 -07:00
Evan Duffield
a1ac7ca8d3 Fixed blinding submission process 2015-03-18 09:47:01 -07:00
Evan Duffield
07eddca0f1 Fixed blinding submission process 2015-03-18 09:43:29 -07:00
Evan Duffield
d83646f5b9 Fixed blinding submission process 2015-03-18 09:41:30 -07:00
evan82
4d7db44afa Merge pull request #252 from snogcel/v0.11.2.x
Window Resizing Fixes
2015-03-18 06:30:58 -07:00
snogcel
686a99f7e1 remove leftover global style 2015-03-18 06:59:14 -06:00
Wladimir J. van der Laan
601327be8c
bump version to 0.10.1 in preparation of RC1 2015-03-18 13:01:10 +01:00
crowning-
8825e7978b Wrong default them name on initialization fixed 2015-03-18 06:57:42 +01:00
snogcel
243975a610 window resize fix 2015-03-17 22:17:11 -06:00
evan82
7ce4090da9 Merge pull request #250 from crowning-/v0.11.2.x
Icons for outgoing transactions changed back to the color red
2015-03-17 16:14:20 -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
crowning-
2633df7c4b Icons for outgoing transactions changed back to the color red 2015-03-17 21:38:22 +01:00
Pieter Wuille
ca301bf98c
Reduce fingerprinting through timestamps in 'addr' messages.
Suggested by Jonas Nick.

Rebased-From: 9c2737901b
Github-Pull: #5860
2015-03-17 16:39:10 +01:00
Evan Duffield
820e660e10 version bump / protocol bump 2015-03-17 04:42:32 -07:00
UdjinM6
0655c17175 bring mn inputage/sigtime checks back (+regtest support) 2015-03-17 04:10:19 +03:00
Evan Duffield
ad08533977 removed default donation for testing 2015-03-16 15:36:17 -07:00
Evan Duffield
1f47914316 fixed bugs / removed spam 2015-03-16 15:25:15 -07:00
UdjinM6
567fe419d9 fix pubkey/donation conditions 2015-03-17 00:11:15 +03:00
Evan Duffield
c65adeb7d1 Fixed mnw message issue 2015-03-16 13:57:07 -07:00
UdjinM6
19bb9932be v0.11.2.x mn-donations - read from masternode.conf and rpc list-conf parts 2015-03-16 22:54:22 +03: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
evan82
3c8234853f Merge pull request #245 from UdjinM6/v0.11.2.x_fix_litemode_consistency
V0.11.2.x fix litemode consistency for anon balance quering
2015-03-16 07:26:39 -07:00
evan82
3fb8f869de Merge pull request #244 from UdjinM6/v0.11.2.x_masternoderanks
V0.11.2.x masternoderanks
2015-03-16 07:26:03 -07:00
evan82
7d9d2d0297 Merge pull request #243 from UdjinM6/v0.11.2.x_net_specific_conf
V0.11.2.x  network specific masternode.conf
2015-03-16 07:25:25 -07:00
evan82
feabff60a8 Merge pull request #242 from UdjinM6/v0.11.2.x_verify_dsq_vin
V0.11.2.x verify dsq vin
2015-03-16 07:25:04 -07:00
evan82
4b0cdb4834 Merge pull request #241 from UdjinM6/v0.11.2.x_cleanup
V0.11.2.x cleanup
2015-03-16 07:24:44 -07:00
evan82
042308c289 Merge pull request #240 from UdjinM6/v0.11.2.x_fix_mac_tab_hotkeys
v0.11.2.x fix mac tab hotkeys
2015-03-16 07:24:01 -07:00
evan82
e34292f76d Merge pull request #239 from UdjinM6/v0.11.2.x_fix_toolbar_styling
V0.11.2.x fix toolbar styling
2015-03-16 07:23:42 -07:00
evan82
68ea5960b3 Merge pull request #236 from UdjinM6/v0.11.2.x_fix_nulls__close_btn
V0.11.2.x fix nulls & close btn behavior
2015-03-16 07:21:53 -07:00
Jonas Schnelli
2c0840631d
[QT] some mac specifiy cleanup (memory handling, unnecessary code)
Rebased-From: 8b60808c1e
Github-Pull: #5880
2015-03-16 13:56:34 +01:00
Jonas Schnelli
81145a6ccd
[QT] fix OSX dock icon window reopening
fixes #5878

Rebased-From: 89e70e931d
Github-Pull: #5880
2015-03-16 13:56:13 +01:00
UdjinM6
f81d52da1e check fLiteMode on GetAnonymizedBalance in wallet instead of walletmodel 2015-03-15 21:19:25 +03: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
35b50eea87 Use network specific masternode.conf 2015-03-14 02:22:32 +03:00
evan82
9b1bc951f2 Merge pull request #238 from UdjinM6/v0.11.2.x_9999_mainnet_only
v0.11.2.x Parse masternode.conf only after network is recognized
2015-03-13 10:01:53 -07:00
UdjinM6
43712ff4de Verify that dsq.vin is actually in our masternode list (otherwise we might hit NULL and think that we use queue at the same time while we are not) 2015-03-13 19:00:44 +03:00
UdjinM6
53c3a5e24c Cleanup few debug msgs, reduce log spam / few readability fixes 2015-03-13 18:53:12 +03:00
UdjinM6
0894b4ae1e For Mac it's more common to switch tabs by "cmd + number" instead of "alt + number". Note: CTRL refers to cmd key on Mac. 2015-03-13 18:38:46 +03:00
UdjinM6
761c8fbae3 Create additional container for toolbar and walletFrame and make it the central widget. This is a workaround mostly for toolbar styling on Mac OS but should work fine for every other OSes too. 2015-03-13 18:26:42 +03:00
UdjinM6
b96bd3afc2 Parse masternode.conf only after network is recognized 2015-03-13 18:16:25 +03:00
UdjinM6
b0a91997de Merge branch 'v0.11.2.x' into v0.11.2.x_fix_nulls__close_btn 2015-03-13 03:30:33 +03:00
evan82
3fdb01087d Merge pull request #237 from UdjinM6/v0.11.2.x_9999_mainnet_only
V0.11.2.x allow port 9999 for MNs on mainnet only
2015-03-12 17:12:01 -07:00
Alex Morcos
c91c660e49
fix InvalidateBlock to repopulate setBlockIndexCandidates
Rebased-From: a9af415887
Github-Pull: #5879
2015-03-12 17:51:00 +01:00
UdjinM6
dafc6334ab close wallet regardless of "minimize to tray" settings 2015-03-12 15:40:41 +03:00
Philip Kaufmann
6a0687b061 [Qt] add more NULL pointer checks in bitcoingui
- add missing checks for clientModel and optionsModel
- small cleanups for an #ifdef on Mac
- remove an unneeded else
2015-03-12 15:38:19 +03:00
UdjinM6
3bb912d8c3 allow 9999 for MNs on mainnet only 2015-03-11 22:26:39 +03:00
Cory Fields
002c8a2411
fix possible block db breakage during re-index
When re-indexing, there are a few cases where garbage data may be skipped in
the block files. In these cases, the indices are correctly written to the index
db, however the pointer to the next position for writing in the current block
file is calculated by adding the sizes of the valid blocks found.

As a result, when the re-index is finished, the index db is correct for all
existing blocks, but the next block will be written to an incorrect offset,
likely overwriting existing blocks.

Rather than using the sum of all valid blocks to determine the next write
position, use the end of the last block written to the file. Don't assume that
the current block is the last one in the file, since they may be read
out-of-order.

Rebased-From: bb6acff079
Github-Pull: #5864
2015-03-11 08:34:43 +01:00
crowning2
978ca789ba Display default theme when nothing was configured (fixed) 2015-03-10 22:15:20 +01:00
crowning2
470941cdf8 Display default theme when nothing was configured 2015-03-10 21:37:32 +01:00
snogcel
839b40e3c6 drkblue theme v0.1.0.4 2015-03-10 07:05:13 -06:00
crowning2
effd3f39b2 Minor refactoring 2015-03-10 09:09:41 +01:00
snogcel
a49668b473 drkblue theme v0.1.0.3 2015-03-09 20:32:29 -06:00
crowning2
acf9935b54 DRK-blue is now default theme 2015-03-09 23:46:59 +01:00
crowning2
ff8fe33c49 Old icons replaced with Darkcoil icons 2015-03-09 22:59:47 +01:00
Ivan Pustogarov
200f29363b
Ignore getaddr messages on Outbound connections.
The only time when a client sends a "getaddr" message is when he
esatblishes an Outbound connection (see ProcessMessage() in
src/main.cpp).  Another bitcoin client is expected to receive a
"getaddr" message only on Inbound connection. Ignoring "gettaddr"
requests on Outbound connections can resolve potential privacy issues
(and as was said such request normally do not happen anyway).

Rebased-From: dca799e1db
Github-Pull: #5442
2015-03-09 12:25:20 +01:00
Pieter Wuille
d5d8998028
Limit message sizes before transfer
This introduces a fixed limit for the size of p2p messages, and enforces it
before download.

Rebased-From: ba04c4a780
Github-Pull: #5843
2015-03-09 11:13:35 +01:00
Jonas Schnelli
786cf72c7f [Qt] fix a issue where "command line options"-action overwrite "Preference"-action (on OSX)
- fixes #5800

Conflicts:
	src/qt/bitcoingui.cpp

Rebased-From: 9bbb880be4
Github-Pull: #5858
2015-03-09 11:05:43 +01:00
crowning2
34e26d4bf5 Switched from dynamic CSS to build-in CSS 2015-03-08 19:43:31 +01:00
crowning2
ca89c5d49f CSS-file moved to res/css/ 2015-03-08 19:30:15 +01:00
crowning2
a3549ee71e CSS-file temp. removed 2015-03-08 19:26:22 +01:00
snogcel
90368608a5 drkblue theme v0.1.0.2 2015-03-08 10:37:20 -06:00
crowning2
bfa8549377 Merge 'upstream/v0.11.2.x' into v0.11.2.x 2015-03-08 16:08:49 +01:00
Evan Duffield
441103ea71 update relay rules - protocol/version bump 2015-03-08 07:49:04 -07:00
crowning2
34c0bd3c1b CSS-loader refactored for ease of maintenance 2015-03-08 13:38:56 +01:00
crowning2
a8b42a0dd4 Merge remote-tracking branch 'origin/v0.11.2.x' into v0.11.2.x 2015-03-08 10:50:12 +01:00
crowning2
8daadca14a Removed absolute placements of QDialogs from CSS 2015-03-08 10:43:10 +01:00
crowning2
61a06ebacf Absolute position of options-dialog in CSS removed 2015-03-08 10:37:07 +01:00
snogcel
d8f894fb6b Merge branch 'v0.11.2.x' of http://www.github.com/crowning2/darkcoin into v0.11.2.x 2015-03-08 01:34:40 -07:00
snogcel
f793d4ae31 drkblue theme v0.1.0.1 2015-03-08 01:34:09 -07:00
crowning2
630a16ae1a Merge 'upstream/v0.11.2.x' into v0.11.2.x 2015-03-08 08:01:39 +01:00
Evan Duffield
8726e80132 version/protocol bump 2015-03-07 18:52:37 -07:00
snogcel
1bddd73139 drkblue theme v0.1.0.0 2015-03-07 17:58:09 -07:00
crowning2
28b877e790 Missing include added/modifed 2015-03-07 19:10:56 +01:00
crowning2
59bb5bec12 Merge 'upstream/v0.11.2.x' into v0.11.2.x 2015-03-07 16:48:44 +01:00
Evan Duffield
a8f5743999 version bump 2015-03-07 07:51:23 -07: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
crowning2
db0dac64dc Build fix for src/qt/Makefile.am 2015-03-07 10:59:36 +01:00
snogcel
9e22d0d3fc CSS WIP v11 2015-03-07 01:07:55 -07:00
crowning2
fd865303f1 Added new resources to QT-Makefile 2015-03-07 01:43:42 +01:00
crowning2
e5b41852e3 darkcoin.qrc reformat 2015-03-06 23:33:31 +01:00
crowning2
7793b2d4f0 Added new images/icons to resource file and adjusted CSS.file 2015-03-06 23:10:23 +01:00
crowning2
5f3ac99782 Merge 'origin/v0.11.2.x' into v0.11.2.x 2015-03-06 22:24:48 +01:00
crowning2
552e30d646 Merge 'upstream/v0.11.2.x' into v0.11.2.x 2015-03-06 22:24:20 +01:00
evan82
a086a6abe3 Merge pull request #233 from UdjinM6/v0.11.2.x_save_dsqcount
V0.11.2.x save nDsqCount in mncache.dat
2015-03-06 12:27:35 -07:00
UdjinM6
b5414e1c3c save nDsqCount in mncache.dat 2015-03-06 20:59:19 +03:00
Mike Kinney
1d9c0b1ebc Merge branch 'v0.11.2.x' of https://github.com/darkcoin/darkcoin into v0.11.2.x-remove-unused 2015-03-06 06:14:12 -08:00
Mike Kinney
7ed8073010 v0.11.2.x remove unused variables 2015-03-06 06:13:58 -08:00
evan82
9f124d56b6 Merge pull request #231 from mkinney/v11.2-comments
V0.11.2.x comments
2015-03-06 07:04:44 -07:00
evan82
2a6d51af8d Merge pull request #229 from UdjinM6/v0.11.2.x_fix_strings
V0.11.2.x fix strings
2015-03-06 07:02:28 -07:00
evan82
953e978424 Merge pull request #228 from UdjinM6/v0.11.2.x_masternodes.dat_rename
V0.11.2.x rename masternodes.dat
2015-03-06 07:02:16 -07:00
Mike Kinney
ed3e22d1f0 remove trailing space 2015-03-05 23:28:25 -08:00
Mike Kinney
757128bfe0 v0.11.2.x Updating comments 2015-03-05 23:24:34 -08:00
snogcel
645a77f5e7 CSS WIP v10 2015-03-05 21:55:06 -07:00
crowning2
142b6fb32c Merge upstream 2015-03-05 21:43:51 +01:00
UdjinM6
e0714aac5d fix strings to translate once / typo 2015-03-05 20:42:50 +03:00
UdjinM6
e522cbfd6a rename masternodes.dat->mncache.dat / fix strings 2015-03-05 20:39:47 +03:00
UdjinM6
2e0d7ab0b6 fix even more console spam 2015-03-05 19:40:17 +03:00
Evan Duffield
5bc821cb5e Changed max rounds to 6 in UI
-Rounds are 100x+ more secure, so even 4 rounds should be highly secure
-If users still want more rounds, they can use the parameter -darksendrounds to use up to 16
2015-03-05 08:28:16 -07: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
Evan Duffield
1053c299ed version/protocol bump 2015-03-05 08:23:21 -07:00
Evan Duffield
9aca26d220 merged mkinney-v0.11.2 2015-03-05 08:18:45 -07:00
evan82
ed57dd2695 Merge pull request #224 from vertoe/devel-0.9
Merge master, translations, upstream
2015-03-05 08:16:08 -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
evan82
2773bb1f78 Merge pull request #223 from UdjinM6/v0.11.2.x_fix_console_spam
v0.11.2.x fix console spam
2015-03-05 08:14:45 -07:00
evan82
ecd9d4a436 Merge pull request #225 from UdjinM6/v0.11.2.x_masternodes.dat_verification
V0.11.2.x masternodes.dat verification
2015-03-05 08:14:27 -07:00
Evan Duffield
c6f0259d9b fixed shared key usage 2015-03-05 08:08:03 -07:00
Mike Kinney
c8fe5a9cf7 V0.11.2.x update comments 2015-03-05 00:11:56 -08:00
Mike Kinney
98fe439af4 V0.11.2.x update comments 2015-03-05 00:10:15 -08:00
Mike Kinney
b0079d37ad V0.11.2.x update comments 2015-03-04 23:49:50 -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
vertoe
c3c53dd8ed Pull translations from transifex. 2015-03-04 21:23:59 +01:00
vertoe
27121a2c07 Update translation source. 2015-03-04 21:21:37 +01:00
UdjinM6
0595ef80c3 fix console spam 2015-03-04 22:59:51 +03:00
crowning2
0a4aa64346 Daily upstream merge 2015-03-04 20:33:35 +01:00
crowning2
8702795d9d Daily upstream merge. 2015-03-04 20:32:56 +01: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
119007dd48 fix compiling for windows 2015-03-04 11:17:30 -07:00
evan82
ead462c2bb Merge pull request #218 from UdjinM6/v0.11.2.x_fix_masternodelist
V0.11.2.x fix masternodelist
2015-03-04 10:38:08 -07:00
evan82
0681d3144c Merge pull request #217 from UdjinM6/v0.11.2.x_fix_ds_ix_fee_calculation_display
V0.11.2.x fix ds&ix fee calculation&display
2015-03-04 10:37:22 -07:00
Evan Duffield
ba270619bf missing file 2015-03-04 10:35:50 -07:00
Evan Duffield
a6b58ab1e8 Merged masternode blinding 2015-03-04 08:58:36 -07:00
snogcel
d53e950671 CSS WIP v9 2015-03-03 23:05:30 -07:00
crowning2
6d58449987 Theme selector added to options-page 2015-03-03 21:49:40 +01:00
crowning2
25ccc86acd Merge upstream 2015-03-02 21:43:19 +01:00
UdjinM6
d2a1ecf524 add spaces to IP only in full mode 2015-03-02 07:54:34 +03:00
UdjinM6
64c1a8b147 remove "|" to make full mode a bit more compact 2015-03-02 07:45:18 +03:00
UdjinM6
3a4c3e401b add spaces to table-fy console view of "masternode list" 2015-03-02 07:36:38 +03:00
UdjinM6
62800573cc fix filtering for "active" (was broken after IP filtering) / reorder modes alphabetically 2015-03-02 07:35:13 +03:00
UdjinM6
4bfdcc181c fix IX and DS fee calculations / use coincontrol to show live calculations 2015-03-02 07:26:38 +03:00
evan82
96dbba0d5f Merge pull request #216 from vertoe/devel-0.9
Weekly translation updates.
2015-03-01 19:12:31 -07:00
evan82
369ca60da7 Merge pull request #215 from vertoe/devel-0.9-upstr
Fix priority calculation in CreateTransaction
2015-03-01 19:10:00 -07:00
evan82
8faca60382 Merge pull request #213 from UdjinM6/v0.11.2.x_fix_monospace_qt_console
V0.11.2.x fix spaces/monospace fonts in qt console
2015-03-01 19:08:12 -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
evan82
da8dc22856 Merge pull request #209 from UdjinM6/v0.11.2.x_fix_crash_in_overview
V0.11.2.x fix crash on client shutdown
2015-03-01 19:03:13 -07:00
vertoe
092c9c99a2 Pull translations from transifex. 2015-03-02 00:09:33 +01:00
vertoe
6e20247e3e Extract strings. 2015-03-02 00:08:42 +01:00
vertoe
14bebe4fd7 merge upstream 0.9 2015-03-02 00:04:56 +01:00
UdjinM6
54a78ed036 fix spaces/monospace fonts in qt console 2015-03-01 22:42:57 +03: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
snogcel
7af7db84c7 CSS WIP v8 2015-03-01 02:15:39 -07:00
snogcel
4a8f81c0e5 Merge remote-tracking branch 'upstream/v0.11.2.x' into v0.11.2.x 2015-03-01 00:52:57 -07: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
4b4b1dc911 disconnect timer on overview page destruction 2015-03-01 03:08:24 +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
snogcel
fb90f70d90 CSS WIP v7 - Send 2015-02-26 22:05:20 -07:00
snogcel
8001c48c71 Merge remote-tracking branch 'upstream/v0.11.2.x' into v0.11.2.x 2015-02-26 22:02:04 -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
UdjinM6
0747da6b36 Fix versions:
- bump PROTOCOL_VERSION (new collaterals are incompatible with 70066)
 - define MIN_POOL_PEER_PROTO_VERSION instead of confusing darkSendPool.MIN_PEER_PROTO_VERSION / bump it too
2015-02-26 20:29:57 +03:00
Pieter Wuille
aeb9279228
Better fingerprinting protection for non-main-chain getdatas.
With headers-first we can compare against the best header timestamp, rather
than using checkpoints which require code updates to maintain.

Rebased-From: 85da07a5a0
Github-Pull: #5820
2015-02-26 17:14:14 +01:00
evan82
ff297c25e3 Merge pull request #203 from UdjinM6/v0.11.2.x_fix_processmessages
V0.11.2.x Few fixes for processing extra messages:
2015-02-26 08:31:45 -07:00
evan82
5b4d27864e Merge pull request #202 from UdjinM6/v0.11.2.x_fix_doauto
V0.11.2.x fix DoAutomaticDenominating:
2015-02-26 08:31:21 -07:00
evan82
1560cb65ed Merge pull request #201 from UdjinM6/v0.11.2.x_rpc_fixes
V0.11.2.x rpc fixes
2015-02-26 08:30:40 -07:00
UdjinM6
1ded1b9ec2 Few fixes for processing extra messages:
- call ProcessMessageMasternodePayments on ProcessBlock (lost after moving mnodeman functionality)
- do not process extra functionality messages (DS, IX, spork) on initial download / reindex
2015-02-26 17:40:43 +03:00
Evan Duffield
736e6da6b8 allow searching masternode list by ip address 2015-02-26 07:33:27 -07:00