Commit Graph

4230 Commits

Author SHA1 Message Date
Evan Duffield
2a0d3dfb9d Use hash after transaction was mined
- Prevents an attacker from gaming which masternodes they'll use
2015-02-04 13:25:12 -07:00
Evan Duffield
712eb7e9d9 improved conflict resolution 2015-02-04 13:20:13 -07:00
vertoe
7e8d8c9681 Fix typo in darksend. 2015-02-04 20:55:14 +01:00
UdjinM6
5e73fdb9b1 fix log message 2015-02-04 21:38:40 +03:00
UdjinM6
1583469c49 use only completely anonymized denoms when sending ds tx 2015-02-04 20:37:30 +03:00
Evan Duffield
d13de27d57 implemented txlock conflict resolution 2015-02-04 09:39:45 -07:00
Evan Duffield
6faa140c49 reference node fix 2015-02-04 08:57:09 -07:00
Evan Duffield
65612697ca Added better error messages 2015-02-04 08:37:49 -07:00
Evan Duffield
741f85c358 Merge branch 'v0.11.1.x' of https://github.com/darkcoin/darkcoin into v0.11.1.x 2015-02-04 08:24:58 -07:00
Evan Duffield
186699abff Masternode payment improvements / release notes 2015-02-04 08:24:34 -07:00
vertoe
cae07699f2 Pull translations from transifex. 2015-02-04 15:58:34 +01:00
vertoe
6ca5b2cd82 Minor fix for bavarian language. 2015-02-04 15:58:07 +01:00
vertoe
969c768922 merge downstream 0.11.1 2015-02-04 15:45:16 +01:00
vertoe
d9aece309a Pull translations from transifex. 2015-02-04 15:44:59 +01:00
Evan Duffield
5cae323d29 Merge branch 'v0.11.1.x' of https://github.com/darkcoin/darkcoin into v0.11.1.x 2015-02-04 07:44:50 -07:00
vertoe
ea48a14424 Merge downstream 0.11.1. 2015-02-04 15:44:38 +01:00
Evan Duffield
efe22ea1ae fixed segfault 2015-02-04 07:44:23 -07:00
vertoe
86ca90d9b3 Translate darksend messages. 2015-02-04 14:24:56 +01:00
Evan Duffield
454154c18f fixed min IX fee 2015-02-04 05:00:17 -07:00
vertoe
ab50ebb7c0 Pull translations from transifex. 2015-02-04 12:49:53 +01:00
vertoe
86db4eb853 Fix project file and update translation source file. 2015-02-04 12:48:39 +01:00
vertoe
23963ba391 merge downstream 0.11.1 2015-02-04 12:06:34 +01:00
vertoe
2a6060467e Pull translations from transifex. 2015-02-04 12:06:21 +01:00
vertoe
04fdf9d124 Fix untranslated strings and typos. 2015-02-04 12:00:23 +01:00
Evan Duffield
b1c772a190 minimum fees for IX 2015-02-04 03:44:41 -07:00
UdjinM6
877405c8fb use more common syntax to make it clear that actually 6 confirmations are required for IX to work / +comments 2015-02-04 13:20:33 +03:00
vertoe
8de2f06884 Pull translations from transifex. 2015-02-04 10:08:59 +01:00
vertoe
498ed85dc5 merge downstream 0.11.1 2015-02-04 10:08:03 +01:00
Evan Duffield
6bd911bfca version bump 2015-02-03 18:36:17 -07:00
Evan Duffield
d4896934e1 add transaction scanning for new transactions 2015-02-03 18:35:29 -07:00
Evan Duffield
e3ef585263 minor changes 2015-02-03 18:19:54 -07:00
Evan Duffield
d912f3466a version bump 2015-02-03 16:00:48 -07:00
Evan Duffield
f4b26d6f10 Enforcing IX locks
- Scan IX locks on new blocks to make sure no conflicting txes are present
- Upon completion of a IX lock, check for conflicts and remove blocks if needed
2015-02-03 15:40:00 -07:00
vertoe
bb746b50bb merge downstream 0.11.1 2015-02-03 23:23:52 +01:00
Evan Duffield
13175a3c52 Fixed minconfirmations for IX 2015-02-03 15:20:13 -07:00
evan82
62bdb540f3 Merge pull request #155 from UdjinM6/v0.11.1.x_fix_conflicted
clear vValue in SelectCoinsMinConf - should fix an issue with conflicted txes
2015-02-03 14:51:12 -07:00
evan82
1f31768d68 Merge pull request #154 from crowning-/patch-3
"Debug window" -> "Tools window" renaming
2015-02-03 14:51:03 -07:00
evan82
f6f0ad4ee2 Merge pull request #153 from crowning-/patch-2
Fixed cut-off strings in overview page
2015-02-03 14:50:47 -07:00
evan82
d0b419cc59 Merge pull request #152 from crowning-/patch-1
"Last Darksend message" text added in overview page
2015-02-03 14:50:33 -07:00
evan82
2b8ceaf0fb Merge pull request #151 from UdjinM6/v0.11.1.x_fix_ds_nonIXdepth
V0.11.1.x fix ds non i xdepth
2015-02-03 14:50:19 -07:00
UdjinM6
1d3e296613 clear vValue in SelectCoinsMinConf - should fix issue with conflicted txes 2015-02-04 00:00:54 +03:00
crowning-
abd16172c0 It's not a debug-only window anymore
Someone (vertoe :-) ) has to add/replace this string in the locale files.
2015-02-03 21:57:47 +01:00
crowning-
259cf6793e Fixed cut-off strings in overview page
Even the long German string vertoe is using fit now
2015-02-03 21:53:55 +01:00
crowning-
7c0920e396 Gives the end-user a better understanding on the information displayed there. 2015-02-03 21:48:11 +01:00
UdjinM6
0ca6b1c91c do not use IX coins until we have at least 1 blockchain confirmation 2015-02-03 23:25:00 +03:00
vertoe
4cdb18fa4f Merge downstream 0.11.1 2015-02-03 19:35:56 +01:00
vertoe
e229ab5b53 Pull translations from transifex. 2015-02-03 19:35:22 +01:00
Evan Duffield
cf1ec7153b version bump 2015-02-03 10:19:53 -07:00
Evan Duffield
feb9a1e922 Improved masternode payments 2015-02-03 10:17:30 -07:00
UdjinM6
a59e3ae3d3 every ds related function should ignore ix depth and use blockchain depth instead 2015-02-03 12:55:25 +03:00
Evan Duffield
ffec62e8ba change req maturity to 100 from 120 2015-02-02 15:54:16 -07:00
Evan Duffield
e2898a2f86 small fix for assert failure 2015-02-02 13:11:49 -07:00
Evan Duffield
6b0c7f3c4f add a couple sanity checks to GetLastValidBlockHash 2015-02-02 12:27:07 -07:00
Evan Duffield
1f828f45ec fixed regtest+ds issues 2015-02-02 11:10:17 -07:00
Evan Duffield
2992907d91 Better DOS protection, fixed min confirmations 2015-02-02 10:33:52 -07:00
Evan Duffield
6c4a6f6583 signal transaction update 2015-02-02 08:04:09 -07:00
Evan Duffield
d07014ce1e add simple dos protection / IX vote class improvements 2015-02-02 07:38:50 -07:00
Evan Duffield
d512124bad Much lower bandwidth requirements for IX 2015-02-02 05:24:04 -07:00
Evan Duffield
5b0d0146b0 only update when tx is found 2015-02-02 05:06:43 -07:00
Evan Duffield
b59ba777fc only relay signatures to subscribing peers 2015-02-02 05:01:06 -07:00
Evan Duffield
13246598b8 Added dstx support for free transactions 2015-02-02 04:42:41 -07:00
vertoe
aa39f11fa2 Pull translations from transifex. 2015-02-02 12:27:38 +01:00
Evan Duffield
7e38235e5a Added masternode payee caching 2015-02-02 04:05:21 -07:00
Evan Duffield
837fe9b417 protocol bump / version bump 2015-02-01 15:49:24 -07:00
evan82
ea967b53a2 Merge pull request #147 from vertoe/devel-0.9
Complete russian, spanish and german translation
2015-02-01 13:41:21 -07:00
Evan Duffield
2feb0fd2f8 fixed hashing for IX 2015-02-01 13:37:20 -07:00
Evan Duffield
6c8b23c0b2 return 0 for incomplete tx locks 2015-02-01 13:14:31 -07:00
Evan Duffield
c9585c7747 added set expiration for IX, cleaned up messages 2015-02-01 13:04:20 -07:00
Evan Duffield
e0c26e4c11 debugging for IX 2015-02-01 11:02:36 -07:00
Evan Duffield
a0d5f92f87 improvements to IsTransactionLocked 2015-02-01 10:47:56 -07:00
Evan Duffield
1377b71347 ignore IX confirmations when forming new tx 2015-02-01 10:21:43 -07:00
Evan Duffield
b1d701275a only use inputs with 5 confirmations for IX 2015-02-01 09:30:58 -07:00
Evan Duffield
d3763f6f82 search inputs separately for IX 2015-02-01 09:16:31 -07:00
Evan Duffield
8164721b25 Merge branch 'v0.11.1.x' of https://github.com/darkcoinproject/darkcoin into v0.11.1.x 2015-02-01 09:07:04 -07:00
Evan Duffield
a3077626b5 various improvements to IX 2015-02-01 08:53:49 -07:00
vertoe
14e7982ed3 Finish german translation. 2015-02-01 13:19:52 +01:00
vertoe
8ce1b7c71d Merge vietnamese translations. 2015-02-01 09:42:32 +01:00
vertoe
d6905f607a Finish spanish translations. 2015-02-01 09:29:14 +01:00
vertoe
f5e740d57e Pull translations from transifex. 2015-02-01 09:23:04 +01:00
vertoe
0a752de0f0 Pull translations from transifex. 2015-02-01 00:16:03 +01:00
vertoe
d167228cee Pull translations from transifex. 2015-01-31 23:29:24 +01:00
vertoe
cddde832d6 Merge bitcoin translations. 2015-01-31 23:11:26 +01:00
vertoe
99204999e9 Pull translations from transifex. 2015-01-31 22:06:37 +01:00
vertoe
6a685db76c Pull translations from transifex. 2015-01-31 21:15:38 +01:00
vertoe
69d93bbbd9 Pull translations from transifex. 2015-01-31 20:31:16 +01:00
vertoe
1333864674 Update bitcoinstrings. 2015-01-31 19:47:23 +01:00
vertoe
be3041e88c Pull translations from transifex. 2015-01-31 19:17:24 +01:00
evan82
9f33c1e5f9 Merge pull request #144 from UdjinM6/fix_doauto_on_initial_download
prevent running DoAutomaticDenominating while IsInitialBlockDownload
2015-01-30 12:57:54 -07:00
evan82
53a499fc47 Merge pull request #143 from vertoe/devel-0.9
Start translating darkcoin core correctly
2015-01-30 07:48:25 -07:00
evan82
b4b88e1cc3 Merge pull request #141 from UdjinM6/fix_coincontrol_crash
fix coin control crash
2015-01-30 07:47:10 -07:00
evan82
2158023d4c Merge pull request #139 from UdjinM6/fix_more_usage_of_IsDenominatedAmount
use IsDenominatedAmount instead of loops and GetInputDarksendRounds where applicable
2015-01-30 07:41:59 -07:00
evan82
366435253f Merge pull request #138 from UdjinM6/fix_AvailableCoins
always get only confirmed coins by AvailableCoins for every DS relative action
2015-01-30 07:40:13 -07:00
vertoe
83c0c532f6 Pull translations from transifex. 2015-01-30 15:03:21 +01:00
vertoe
6adc5031b3 Add darkcoin translations to makefiles 2015-01-30 14:27:28 +01:00
vertoe
42980cc44b Add darkcoin translations 2015-01-30 14:25:14 +01:00
vertoe
a5ef471326 Fix translation makefiles and documentation. 2015-01-30 12:31:22 +01:00
vertoe
64438577e0 Prepare transifex integration. 2015-01-30 11:39:55 +01:00
UdjinM6
bf45840527 fix coin control crash https://github.com/bitcoin/bitcoin/pull/5700 2015-01-30 04:13:14 +03:00
UdjinM6
1ecbfd09d7 prevent running DoAutomaticDenominating while IsInitialBlockDownload 2015-01-30 01:19:41 +03:00
UdjinM6
52dabd1166 always get only confirmed coins by AvailableCoins 2015-01-30 01:15:04 +03:00
UdjinM6
84b0e6f587 use IsDenominatedAmount instead of loops and GetInputDarksendRounds where applicable 2015-01-29 13:36:18 +03:00
evan82
3edcf4beda Merge pull request #137 from UdjinM6/fix_ds_progress
fix updateDarksendProgress / add isDenominatedAmount and GetNormalizedAnonymizedBalance - v0.11.1.x
2015-01-28 11:59:51 -07:00
UdjinM6
6f7f19fdcc fix updateDarksendProgress / add isDenominatedAmount and GetNormalizedAnonymizedBalance 2015-01-28 10:35:17 +03:00
Evan Duffield
5c7b132841 version bump / enable IX 2015-01-27 14:52:31 -07:00
Evan Duffield
7fafe5d3e1 revert changes to WalletModel::getAnonymizedBalance() 2015-01-27 11:01:25 -07:00
Evan Duffield
11ec24bc36 version bump 2015-01-27 11:00:02 -07:00
evan82
1598d8e7a6 Merge pull request #134 from UdjinM6/fix_creating_denominated
fixing pre-mix process of creation denominated amounts
2015-01-27 10:57:35 -07:00
Evan Duffield
c6eba54e65 Much faster block processing 2015-01-27 07:46:06 -07:00
Evan Duffield
de8a436363 fix overpaying for DSTX 2015-01-27 07:29:25 -07:00
UdjinM6
287ea11a25 make collateral inputs from all available inputs but not from mn-like 2015-01-27 07:39:27 +03:00
UdjinM6
a07d637a48 don't use collateral amounts on CreateDenominated / make collateral inputs from all available coins and not only from non-denominated / IsCollateralAmount function 2015-01-27 07:13:34 +03:00
Evan Duffield
61b3ce76eb Merge branch 'master' of https://github.com/darkcoin/darkcoin 2015-01-26 15:56:02 -07:00
Evan Duffield
69ca88c491 Darksend rounds default/litemode changes
4 rounds should be more than enough
2015-01-26 15:54:12 -07:00
evan82
61b84c9dd7 Merge pull request #132 from UdjinM6/fix_crash_coinsview
Catch UTXO set read errors and shutdown
2015-01-26 15:46:13 -07:00
Evan Duffield
71e074336b Update dseg limitations
vecMasternodes.size() == 0 is a nearly impossible condition due to the behavior
of dseep. Each time a node receives a ping where it's unaware of the masternode
it will ask for the dsee from it's peer.
-        if(c % 5 == 0 && (RequestedMasterNodeList <= 2 || vecMasternodes.size()
+        if(c % 5 == 0 && RequestedMasterNodeList < 3){
2015-01-26 11:03:36 -07:00
UdjinM6
144b24bee5 more fixes/cleanup/debug output to DS mixing 2015-01-26 00:18:26 +03:00
UdjinM6
9a4fac6bb6 fixing pre-mix process of creation denominated amounts 2015-01-25 02:57:55 +03:00
UdjinM6
aa544887d7 ported from 13cdce4336 2015-01-24 20:31:19 +03:00
Evan Duffield
385c532df8 Updated checkpoints 2015-01-24 07:51:34 -07:00
Evan Duffield
90ad641d39 Check pindexBestForkBase/phashBlock both for null 2015-01-23 13:44:25 -07:00
Evan Duffield
3b140b22d7 version bump 2015-01-23 07:56:30 -07:00
Evan Duffield
935ab9e252 Merge branch 'master' of https://github.com/darkcoin/darkcoin 2015-01-23 07:48:52 -07:00
Evan Duffield
26ebf1d7cb Fixed segfault causes by coins view 2015-01-23 07:48:39 -07:00
evan82
f3710ec4de Merge pull request #130 from UdjinM6/fix_mn_payments_percent_schedule_comments
fix mn payment comment - blocknumbers / new dates according to stats from last 50k blocks
2015-01-23 06:59:00 -07:00
evan82
782bcc6850 Merge pull request #129 from UdjinM6/fix_cmdline_help
add missing DS/MN/IX options descriptions in help output
2015-01-23 06:54:47 -07:00
evan82
05f511f740 Merge pull request #128 from UdjinM6/fix_allow_masternode_in_safemode
allow masternode commands execution while client is in safemode
2015-01-23 06:54:23 -07:00
UdjinM6
d7bd499722 fix mn payment comment - blocknumbers / new dates according to stats from last 50k blocks 2015-01-23 16:37:58 +03:00
Evan Duffield
7e087dadb9 Merge branch 'master' of https://github.com/darkcoin/darkcoin 2015-01-23 06:29:27 -07:00
Evan Duffield
3aa0a68e00 Check pindexBestForkBase->phashBlock for NULL reference 2015-01-23 06:29:06 -07:00
UdjinM6
bf312bcead add missing DS/MN/IX options descriptions in help output 2015-01-22 19:31:52 +03:00
UdjinM6
2dc22e9dbe allow masternode commands execution while client is in safe mode 2015-01-22 17:26:29 +03:00
UdjinM6
ed49131f96 fix dseg messaging / banning issue 2015-01-22 03:04:52 +03:00
Evan Duffield
70eb4efd2f fixed 2015-01-21 16:12:04 -07:00
Evan Duffield
0918dab39b fixed "masternode start" for remote masternodes after start 2015-01-21 14:57:02 -07:00
Evan Duffield
e6a937196d version & protocol bump 2015-01-21 08:03:14 -07:00
Darkcoin
8f88c50035 Merge pull request #126 from UdjinM6/fix_ds_toggle_unlock
fix unlocking wallet on ds toggle event
2015-01-21 08:00:40 -07:00
Darkcoin
6ef9ba118b Merge pull request #125 from UdjinM6/fix_ds_incorrect_txes
Fix incorrect DS txes + few small things including some cleanup / debugging
2015-01-21 08:00:01 -07:00
Evan Duffield
2c8d7299d7 Merge branch 'master' of https://github.com/darkcoin/darkcoin 2015-01-21 07:57:39 -07:00
Evan Duffield
78fe35f06d Implemented DarkSend convertability
Darksend defaults to a new mode which enables inputs/outputs
of each session to be different. For example 10DRK can be input
and 1DRKx10 can be output. This strengthens the anonymity of
Darksend greatly, which also increasing the usability (Users who
run out of .1DRK denominations can simply turn on Darksend to
split up larger inputs).
2015-01-21 07:55:21 -07: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
UdjinM6
c91b5202b7 fix ds incorrect txes issue / lowestDenom logic / styling 2015-01-21 09:09:04 +03:00
Darkcoin
625e29334d Merge pull request #110 from vertoe/devel-0.9-tools
Creat a tools menu with info, console and network items.
2015-01-20 14:34:13 -07:00
Evan Duffield
bbd869589c Collateral issues / Exact denoms / Disabled denoms
- When attempting to connect to a masternode for submission into the pool a recursive call to DoAutoDenominate was used. This could possibly take more than 1 minute to complete if it found a string of bad masternodes, in which case the correct masternode was overwritten and replaced with an invalid one. Upon submission, the DS TX was given to the incorrect node causing collateral to be charged.
- To fix this I've removed the recursion and added a critical section to DoAutoDenominate.
- Exact input denominations are matched in PrepareDarksendDenominate to remove the possibility of having change in the pool
- Removed disabled denominations, not needed anymore
2015-01-20 10:33:52 -07:00
Evan Duffield
3322b029ec replaced IsInitialBlockDownload with more basic/faster check 2015-01-20 03:39:04 -07:00
Evan Duffield
47bb25d853 disable checktimeout when disabled 2015-01-20 03:32:32 -07:00
Evan Duffield
678a43c35b disable reference node code when key is not present 2015-01-20 03:02:11 -07:00
Evan Duffield
b40bfacb55 improved anonymity for smaller wallets 2015-01-20 02:42:15 -07:00
Evan Duffield
31215c3a63 print lite mode status in log 2015-01-20 02:10:57 -07:00
Evan Duffield
bbc44f415f lite mode disable checks on block 2015-01-20 02:08:26 -07: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