Commit Graph

112 Commits

Author SHA1 Message Date
UdjinM6
bbbbdd8100 more darkcoin->dash
Closes #690
2016-02-01 10:31:06 +01:00
UdjinM6
e2aaf09700 Cleanup
- lower unobvious dependency through header files, move few includes to the right places
- some trivial code cleanup

Closes #680
2016-01-31 12:08:45 +01:00
UdjinM6
4084950c0d fix overview page updates on options change and on DS toggle 2015-08-12 02:22:31 +03:00
UdjinM6
6b80448427 ds fixes 2015-08-11 02:06:17 +03:00
UdjinM6
ec3848c5dd Locks fixes:
- trylock for updateDarksendProgress, checkBalanceChanged, "block"
- trylock+wait for UnlockCoins, SendDarksendDenominate, ProcessNewBlock, ActivateBestChain
- move trylock in DoAutomaticDenominating lower
2015-08-08 10:34:41 +03:00
UdjinM6
745142f6bf DS progress weights depend on DS rounds in settings / force overview to update on OK in options 2015-08-07 06:19:10 +03:00
UdjinM6
091867525c more info on ds progress / update tr strings / prepare dash_en.ts for translations 2015-08-02 06:19:48 +03:00
crowning-
a5170420db UI: alignment fix for Overview-page 2015-07-31 08:40:06 +02: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
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
UdjinM6
e7b00b8b7e calculate ds progress from 3 parts 2015-07-12 19:18:03 +03:00
UdjinM6
a4520af056 (Yet) another attempt to get progress displayed right 2015-07-07 10:21:13 +03:00
UdjinM6
b1d78b5200 Alternative digits implementation 2015-07-06 04:09:10 +03:00
crowning-
ee167ad2f3 Configurable decimal digits 2015-07-05 21:19:46 +02:00
crowning-
27a2ceb287 Popup information on first mixing 2015-07-04 15:29:21 +02:00
UdjinM6
a33c569a1d Store current unit as a private member of OverviewPage object and use it instead of calling walletModel->getOptionsModel()->getDisplayUnit(). This should solve an issue when walletModel->getOptionsModel()->getDisplayUnit() fails on shutdown/restart even if (walletModel && walletModel->getOptionsModel()) is true. 2015-07-04 07:58:42 +03:00
UdjinM6
189e48328d fix 2 crashes 2015-07-03 01:56:43 +03: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
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
0bfaefde92 move ds pool status out of overview page 2015-06-24 19:08:14 +03:00
crowning-
9a6fe03974 Wallet Repair Buttons: initial commit (+ file permissions restored) 2015-05-25 18:29:11 +02: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
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
3cfd9538d5 Merge branch 'master' into merge_btc010 2015-04-10 19:32:57 +03: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
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
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
crowning-
7c57a2ed80 Disable "Try Mix" and "Reset" buttons in Masternode mode 2015-04-03 10:25:14 +02: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
snogcel
7092180641 increase recent transactions to 5 2015-03-23 21:31:15 -06: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
UdjinM6
00023e97db disconnect ds timer if not in litemode 2015-03-21 20:27:13 -07:00
Evan Duffield
35bb210c6b Dash rebranding 2015-03-17 16:06:58 -07:00
UdjinM6
e0714aac5d fix strings to translate once / typo 2015-03-05 20:42:50 +03:00
Evan Duffield
a6b58ab1e8 Merged masternode blinding 2015-03-04 08:58:36 -07:00
UdjinM6
4b4b1dc911 disconnect timer on overview page destruction 2015-03-01 03:08:24 +03:00
UdjinM6
5011bc2e2a fix twice denominatedBalance calculations 2015-02-12 16:54:24 +03:00
UdjinM6
843dc81178 add "out of sync" message to DS section too 2015-02-12 16:32:34 +03:00
UdjinM6
aec4020af0 fix division by 0 in ds progress calculation 2015-02-05 17:20:19 +03:00
UdjinM6
5e73fdb9b1 fix log message 2015-02-04 21:38:40 +03:00
vertoe
04fdf9d124 Fix untranslated strings and typos. 2015-02-04 12:00:23 +01:00
crowning-
7c0920e396 Gives the end-user a better understanding on the information displayed there. 2015-02-03 21:48:11 +01:00
Evan Duffield
6c4a6f6583 signal transaction update 2015-02-02 08:04:09 -07:00
Evan Duffield
a3077626b5 various improvements to IX 2015-02-01 08:53:49 -07:00
UdjinM6
6f7f19fdcc fix updateDarksendProgress / add isDenominatedAmount and GetNormalizedAnonymizedBalance 2015-01-28 10:35:17 +03:00
UdjinM6
da96ad5063 fix unlocking wallet on ds toggle - should just check for passphrase here and then use the same conditions as unencrypted 2015-01-21 09:29:09 +03:00
Evan Duffield
2737edbbf3 Removed non-denomational inputs (UdjinM6)
Exact amounts are now allocated directly to denominated
funds then submitted to the pool. This improves anonymity
by never having non-denomination inputs enter or exit the pool.
Randomness has also been added to the amount of each session to
improve anonymity.
2015-01-19 20:12:10 -07:00