Commit Graph

6300 Commits

Author SHA1 Message Date
UdjinM6
5585850396 rpc fixes:
- extended help on "masternode"
 - enabled/both modes for "masternode count"
 - extended output for "masternode current"
 - update help on "getblocktemplate"
2015-02-26 04:35:33 +03:00
evan82
38509c5433 Merge pull request #200 from UdjinM6/v0.11.2.x_fix_few_test
V0.11.2.x fix few test (generation/data)
2015-02-25 18:27:08 -07:00
evan82
4254b864ab Merge pull request #199 from UdjinM6/v0.11.2.x_fix_uri
V0.11.2.x fix parseBitcoinURI
2015-02-25 18:26:33 -07:00
evan82
97d88a6fa7 Merge pull request #197 from UdjinM6/v0.11.2.x_masternodemanager
V0.11.2.x masternodemanager
2015-02-25 18:26:05 -07:00
UdjinM6
2e05bf212e Change the way changes are handled:
- do not keep track of a single time variable for whole structure change
- save to masternode.dat and clear on checks:
  - who's asked for the masternode list and the last time
  - who we asked for the masternode list and the last time (will help to prevent dseg ban when restart wallet several times in short period of time)
  - which masternodes we've asked for
- do not use timeout for CheckAndRemove (played with that - doesn't make sense actually)
2015-02-26 02:21:28 +03:00
UdjinM6
248420be31 fix few tests 2015-02-25 20:24:15 +03:00
UdjinM6
c172c36885 fix parseBitcoinURI 2015-02-25 20:20:19 +03:00
UdjinM6
0d51e1c90d better naming/readability (Find) 2015-02-25 14:54:03 +03:00
snogcel
059216acf4 CSS WIP v6 2015-02-24 20:59:37 -07:00
UdjinM6
259752c627 copyright 2015-02-24 17:05:26 +03:00
UdjinM6
d2e3d67a1d show active/total MNs on info tab / update it in separate timer 2015-02-24 16:24:42 +03:00
UdjinM6
003a1b7d72 track lastTimeChanged for mnodeman and ask for update only if UpdateNeeded 2015-02-24 13:39:29 +03:00
Gregory Maxwell
23126a0a09 Sanitize command strings before logging them.
Normally bitcoin core does not display any network originated strings without
 sanitizing or hex encoding.  This wasn't done for strcommand in many places.

This could be used to play havoc with a terminal displaying the logs,
 especially with printtoconsole in use.

Thanks to Evil-Knievel for reporting this issue.

Conflicts:
	src/main.cpp
2015-02-24 08:40:07 +01:00
UdjinM6
0cd0e9de6d add masternodelist to command list (seems to be no way to get "help masternode list" working) 2015-02-24 03:06:13 +03:00
UdjinM6
f57a688fea clean unused 2015-02-24 02:53:51 +03:00
UdjinM6
dd61090051 move list logic back to rpcdarkcsend and give it a copy of vMasternodes (json dep in mnodeman is ugly, my bad) 2015-02-24 02:48:11 +03:00
UdjinM6
9b13c63c45 trivial fix 2015-02-24 02:45:37 +03:00
UdjinM6
9905be3793 CMasternodeMan - masternode manager class - part4 - fixed rpc/count can return "enabled only"/list can be filtered (everything should be ok) 2015-02-24 02:15:40 +03:00
UdjinM6
dd1c1b7d1c CMasternodeMan - masternode manager class - part3 - connect ProcessMessage from mnodeman(rpc still broken) 2015-02-23 23:12:33 +03:00
UdjinM6
14e122cbfa CMasternodeMan - masternode manager class - part2 - fix ProcessMasternodeConnections/ThreadCheckDarkSendPool (still broken) 2015-02-23 23:07:37 +03:00
UdjinM6
adddff85a2 CMasternodeMan - masternode manager class - part1(broken) 2015-02-23 23:01:21 +03:00
Suhas Daftuar
d148f62e00
Acquire CCheckQueue's lock to avoid race condition
This fixes a potential race condition in the CCheckQueueControl constructor,
which was looking directly at data in CCheckQueue without acquiring its lock.

Remove the now-unnecessary friendship for CCheckQueueControl

Rebased-From: cf008ac8c3
Github-Pull: #5721
2015-02-23 19:34:24 +01:00
UdjinM6
74551e9f31 HasCollateralInputs should check only for at least 1 collateral (not 2) - fix endless loop 2015-02-23 20:42:13 +03:00
snogcel
a0624aa427 CSS WIP v5 2015-02-22 11:22:38 -07:00
snogcel
99fecc3ce3 CSS WIP v4 2015-02-21 10:18:42 -07:00
fsb4000
7f502be259
fix crash: createmultisig and addmultisigaddress
Rebased-From: e5d9d77df2
Github-Pull: #5706
2015-02-20 09:53:44 +01:00
snogcel
91034fdb4f CSS WIP v3 2015-02-20 01:02:38 -07:00
snogcel
d31aef41ea Merge remote-tracking branch 'upstream/v0.11.2.x' into v0.11.2.x 2015-02-19 21:40:36 -07:00
Alex Morcos
9cd1dd9f6b Fix priority calculation in CreateTransaction
Make this projection of priority in 1 block match the calculation in the low priority reject code.

Rebased-From: 2d9b0b7f03
Github-Pull: #5675

Conflicts:
	src/wallet.cpp
2015-02-19 19:20:05 -08:00
evan82
3bb9ef96f4 Revert "Revert "Rebrand to darkcoin"" 2015-02-19 11:58:38 -07:00
evan82
516f590c65 Revert "Rebrand to darkcoin" 2015-02-19 11:28:40 -07:00
Evan Duffield
8e1eaf983d Enable darksend balance only when LiteMode is disabled 2015-02-19 11:22:00 -07:00
Evan Duffield
b5f6f0e7a7 minimum collateral amount
In the case where collateral is made as COLLATERAL*5, then
used 4 times, it will result in an input exactly COLLATERAL sized.
When used as a collateral transaction this will result in 1 input of
COLLATERAL and zero outputs (due to collateral being paid solely in fees).
zero output transactions aren't supported, so it'll result in DS failure.
2015-02-18 12:17:45 -07:00
evan82
de3c18cde8 Merge pull request #189 from UdjinM6/v0.11.2.x_clear_out_ds_fee
clear out DS fee / collateral clean up
2015-02-18 12:14:05 -07:00
evan82
52f7828785 Merge pull request #188 from UdjinM6/v0.11.2.x_typo
(v0.11.2.x) typo: succesful->successful
2015-02-18 12:10:55 -07:00
evan82
5c38c69f0c Merge pull request #187 from vertoe/devel-0.9-strings
Rebrand to darkcoin
2015-02-18 12:10:45 -07:00
21E14
74f29c2737
Check pindexBestForkBase for null
Rebased-From: 730b1ed1a0
Github-Pull: #5154
2015-02-18 18:31:41 +01:00
UdjinM6
55faae269c clear out DS fee 2015-02-18 15:31:40 +03:00
snogcel
3e86ce27ae CSS WIP v2 2015-02-17 22:42:30 -07:00
snogcel
d168e605bc Merge branch 'v0.11.2.x' of http://www.github.com/crowning2/darkcoin into v0.11.2.x 2015-02-17 20:23:24 -07:00
snogcel
a78c5e9680 WIP drkblue.css 2015-02-17 20:22:32 -07:00
crowning2
ea0841ae59 Padding for underscores in button added 2015-02-17 21:49:02 +01:00
crowning2
33e3cb08dd CSS updated again 2015-02-17 21:43:25 +01:00
crowning2
3bd87fecaf Recolored "Recent transactions" listbox 2015-02-17 21:12:27 +01:00
crowning2
8a4383ca39 Unused toolbar icon removed 2015-02-17 20:38:37 +01:00
crowning2
79aa755396 Daily merge upstream 2015-02-17 19:59:54 +01:00
Evan Duffield
ecd37e134e Change darksend fee to 0.01DRK and charge in 1 in 10 sessions 2015-02-17 07:04:42 -07:00
UdjinM6
f87ccb1588 typo: succesful->successful 2015-02-17 13:27:47 +03:00
vertoe
a104f2383f Fix windows copyright strings. 2015-02-17 10:53:03 +01:00
snogcel
ac3030cc65 CSS debug override 2015-02-16 20:12:06 -07:00
vertoe
277ed42040 Remove obsolete bitcoin resource files for windows. 2015-02-16 23:22:56 +01:00
vertoe
a179777a0a Rename darkcoin config header. 2015-02-16 23:19:42 +01:00
vertoe
97600bbfba Rename darkcoin resource files for windows. 2015-02-16 23:05:58 +01:00
vertoe
6d60156dce Fix darkcoin resource file. 2015-02-16 22:54:26 +01:00
vertoe
b1170309a4 Rename darkcoin resource file. 2015-02-16 22:43:16 +01:00
vertoe
9b730c7826 Pull translations from transifex. 2015-02-16 22:36:58 +01:00
vertoe
dc149f0e78 Update source translation file. 2015-02-16 22:30:17 +01:00
vertoe
91adbde525 Rename darkcoinstrings file. 2015-02-16 22:28:38 +01:00
crowning2
b7db590168 Initial commit 2015-02-16 22:12:13 +01:00
crowning2
52d58c26c9 Initial commit 2015-02-16 22:01:13 +01:00
crowning2
f66c347cb9 Test 2015-02-16 21:59:11 +01:00
crowning2
4eedb11cf6 Initial commit 2015-02-16 21:52:37 +01:00
evan82
5d94fc5761 Merge pull request #179 from UdjinM6/v0.11.2.x_fix_keypool_progress
(v0.11.2.x) fix %% calculation on keypool generation
2015-02-16 12:54:04 -07:00
evan82
0e2a1d68b3 Merge pull request #181 from crowning-/v0.11.2.x
Edit darkcoin.conf from within the wallet
2015-02-16 12:53:20 -07:00
evan82
70596bf868 Merge pull request #182 from vertoe/devel-0.9
Weekly translations update.
2015-02-16 12:51:35 -07:00
evan82
b861e7ac4c Merge pull request #183 from UdjinM6/v0.11.2.x_activemn_msgs
(v0.11.2.x) fix log output / more notCapableReason-s
2015-02-16 12:51:04 -07:00
evan82
e3df2faa74 Merge pull request #184 from UdjinM6/v0.11.2.x_fix_qt_multiple_recipients
(v0.11.2.x) qt bug multiple recipients are wrongly send as IX
2015-02-16 12:49:09 -07:00
UdjinM6
428d5976c7 Fix payee selectoin on CMasternodePayments::ProcessBlock
1) find exact payment list
2) find active MNs not payment list
3) if none found - pay to the first active MN from payment list counting from its back
2015-02-16 22:37:24 +03:00
vertoe
08d4a91364 Pull translations from transifex. 2015-02-16 09:55:08 +01:00
UdjinM6
2315b9ab28 fix bug where txes with multiple recipients were send from qt as IX while checkbox was not set 2015-02-16 02:42:08 +03:00
UdjinM6
58bcb321d9 fix log output / more notCapableReason-s 2015-02-16 02:01:06 +03:00
crowning-
e7ee887836 Edit configuration file from within wallet (formating + text change) 2015-02-15 16:26:57 +01:00
vertoe
2b5157c6ed Pull translations from transifex. 2015-02-15 16:06:14 +01:00
vertoe
dd5a7163df Pull translations from transifex. 2015-02-15 14:35:52 +01:00
vertoe
1a3586700e Update untranslated strings. 2015-02-15 14:34:56 +01:00
crowning-
0cc5e478bf Edit configuration file from within wallet 2015-02-15 14:33:31 +01:00
crowning-
8e312833ea Edit configuration file from within wallet 2015-02-15 14:33:01 +01:00
crowning-
e4a290dc04 Update guiutil.h 2015-02-15 14:32:19 +01:00
crowning-
dc3f49bad7 Edit configuration file from within wallet 2015-02-15 14:31:51 +01:00
crowning-
1264546def Edit configuration file from within wallet 2015-02-15 14:31:11 +01:00
crowning-
2d703f8010 Edit configuration file from within wallet 2015-02-15 14:30:22 +01:00
UdjinM6
287b357e32 fix %% calculation on keypool generation 2015-02-15 02:23:16 +03:00
evan82
3d004ab819 Merge pull request #178 from vertoe/devel-0.9-upstream
Implement BIP66
2015-02-14 08:14:03 -07:00
vertoe
e2953f8442 merge upstream 0.9 2015-02-14 08:59:11 +01:00
vertoe
2a1d86ff60 Pull translations from transifex. 2015-02-14 08:57:47 +01:00
vertoe
fb6a288fbc merge downstream 0.11.1 2015-02-14 08:50:55 +01:00
vertoe
692b2e05f7 merge upstream 0.9 2015-02-14 08:48:10 +01:00
Evan Duffield
bdbdbf993f fixed log message 2015-02-13 12:53:45 -07:00
Evan Duffield
70c4e0bdee remove safemode checks for masternode payments & IX block enforce 2015-02-13 12:22:58 -07:00
Evan Duffield
b7b2549e56 blockheight should default to current height 2015-02-13 07:55:08 -07:00
Evan Duffield
65aa7db8a2 fixed sync message 2015-02-13 07:43:44 -07:00
Gregory Maxwell
6b4163b972 Sanitize command strings before logging them.
Normally bitcoin core does not display any network originated strings without
 sanitizing or hex encoding.  This wasn't done for strcommand in many places.

This could be used to play havoc with a terminal displaying the logs,
 especially with printtoconsole in use.

Thanks to Evil-Knievel for reporting this issue.

Conflicts:
	src/main.cpp
	src/net.cpp
	src/rpcserver.cpp

Rebased-From: 28d4cff0ed
Github-Pull: #5770
2015-02-13 13:32:39 +01:00
vertoe
57e59353ff Update source translation file. 2015-02-13 09:29:18 +01:00
vertoe
4bed0a31b0 Pull translations from transifex. 2015-02-13 09:27:53 +01:00
vertoe
824cf61c8d merge downstream 0.11.2 2015-02-13 09:26:14 +01:00
vertoe
9dc8c1cf07 merge downstream 0.11.1 2015-02-13 09:25:59 +01:00
evan82
a9ff5617e9 Merge pull request #177 from UdjinM6/v0.11.1.x_fix_gui_performance_issues
V0.11.2.x Performance and UI Fixes Pack
2015-02-12 16:50:17 -07:00
Evan Duffield
5907263729 sign payee for masternode payments 2015-02-12 12:55:14 -07:00
vertoe
d4070bc092 Pull translations >60% from transifex. 2015-02-12 12:01:14 -07:00
vertoe
9dc7008d81 Pull translations from transifex. 2015-02-12 12:01:14 -07:00
vertoe
920ecea2a1 only include translations >80% (now really\!) 2015-02-12 12:01:14 -07:00
vertoe
29722b89ee Pull translations from transifex. 2015-02-12 12:01:14 -07:00
vertoe
5556a22f7a only include translations >90% 2015-02-12 12:01:14 -07:00
vertoe
1fb19ac889 Revert "Fix coinbase maturity"
This reverts commit eafb791d8c.
2015-02-12 12:01:13 -07:00
vertoe
f6986b53f0 Pull translations from transifex. 2015-02-12 12:01:13 -07:00
vertoe
e6c36ddd92 Fix coinbase maturity 2015-02-12 12:01:13 -07:00
vertoe
2f160ef0d2 only include translations >75% 2015-02-12 12:01:13 -07:00
vertoe
34f49aa95f Pull translations from transifex. 2015-02-12 12:01:13 -07:00
UdjinM6
cc9eef01a2 fix time to switch "out of sync" message on/of to make UI more consistent (as we are 4x times faser than bitcoin) 2015-02-12 17:41:13 +03:00
UdjinM6
68cbba1621 allow getAnonymizedBalance calculation on sync again 2015-02-12 17:41:13 +03:00
UdjinM6
9823b9ebad Solve performance problems by caching and fix probable security issue
- add number of rounds to outputs
- cache rounds calculation results of GetInputDarksendRounds
- select shortest rounds chain instead of the first found
2015-02-12 17:41:02 +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
90b2a44045 wallet - fix locks / cleanup a bit 2015-02-12 16:26:32 +03:00
vertoe
e683afcb4b Pull translations from transifex. 2015-02-12 13:29:04 +01:00
vertoe
d3d440780f Add bulgarian and norwegian translations. 2015-02-12 11:16:00 +01:00
vertoe
f3ff766da4 Update transifex source file. 2015-02-12 11:07:52 +01:00
vertoe
6fe1b77b76 Fix some strings in the UI. 2015-02-12 11:07:02 +01:00
evan82
d1d31ad4c3 Merge pull request #175 from vertoe/devel-0.9
Translations cleanup.
2015-02-11 22:14:42 -07:00
evan82
0724070661 Merge pull request #172 from crowning-/patch-3
Minor UI changes for Overview Page
2015-02-11 22:13:52 -07:00
evan82
1165740d5e Merge pull request #171 from crowning-/patch-2
Added link to Transifex translation site for missing languages
2015-02-11 22:13:39 -07:00
Evan Duffield
662d01733d added spork for resolving forks 2015-02-11 21:21:28 -07:00
Evan Duffield
c8c4cc48f2 fix propagation of spork messages 2015-02-11 13:40:54 -07:00
Evan Duffield
23ea75f737 Add maximum out value for IX via spork 2015-02-11 08:08:55 -07:00
vertoe
15ec4d5cff Pull translations >60% from transifex. 2015-02-11 08:31:03 +01:00
UdjinM6
6dc44bdfa5 IsInitialBlockDownload time range down to 6 hours = ~144 blocks -> 2 x forks detection time (fixing comments there too) 2015-02-11 03:08:28 +03:00
UdjinM6
a948de8009 do not calculate anonymized balance during initial download or while in lite mode 2015-02-11 02:50:35 +03:00
crowning-
b279d638ab Minor UI changes for Overview Page
1: Darksend layout widened by 2 characters (4 digit amounts + 2 digit rounds didn't fit in some languages)
2: "Last Darksend Status" messages use now the increased width from 1:
2015-02-10 22:09:36 +01:00
crowning-
4fb746a003 Update optionsdialog.ui 2015-02-10 21:53:14 +01:00
crowning-
40332c7d40 Added link to Transifex translation site for missing languages 2015-02-10 20:55:26 +01:00
UdjinM6
4e94fe1d52 cherry-pick:
[Qt, OSX] QProgressBar CPU-Issue workaround
6093aa1bb0
0ceab00d16
[Qt, OSX] fix Qt4.8 compatibility with QProgressBar issue
c5a2282855
2015-02-10 16:45:37 +03:00
UdjinM6
f9e80690b9 resolve conflicts / clean yet unused functionality 2015-02-10 16:35:08 +03:00
UdjinM6
24e5470c0d cherry-pick 023e63df78 2015-02-10 16:24:05 +03:00
vertoe
3ad14efefc merge downstream 0.11.1 2015-02-10 13:08:49 +01:00
vertoe
d1630bddd5 Pull translations from transifex. 2015-02-10 13:08:39 +01:00
Evan Duffield
ba12e5905e fixed log message and added checkpoint 2015-02-10 03:45:21 -07:00
vertoe
f73caedab1 only include translations >80% (now really\!) 2015-02-10 10:15:31 +01:00
vertoe
96de137ea0 Pull translations from transifex. 2015-02-10 10:03:41 +01:00
vertoe
0d63fcd541 only include translations >90% 2015-02-10 09:41:06 +01:00
vertoe
4a07c0c994 Revert "Fix coinbase maturity"
This reverts commit eafb791d8c.
2015-02-10 09:33:30 +01:00
vertoe
f45091fc77 Pull translations from transifex. 2015-02-10 09:07:45 +01:00
vertoe
eafb791d8c Fix coinbase maturity 2015-02-10 08:57:27 +01:00
vertoe
5b13738c31 only include translations >75% 2015-02-10 08:53:57 +01:00
vertoe
fc059983e2 merge downstream 0.11.1 2015-02-10 08:42:06 +01:00
Evan Duffield
e6ec9665d5 min proto / version 2015-02-09 19:43:39 -07:00
Evan Duffield
0148b8b939 added unknown inv messages 2015-02-09 15:39:50 -07:00
Evan Duffield
db4d5443ac remove debug message 2015-02-09 15:38:16 -07:00
Evan Duffield
c7206802e4 fixed attribution 2015-02-09 14:06:11 -07:00
Evan Duffield
6ab868a3e7 added spork files 2015-02-09 13:54:51 -07:00
Evan Duffield
38df2bf093 version bump/ proto bump 2015-02-09 13:43:10 -07:00
Evan Duffield
886f45379a fixed caching 2015-02-09 13:36:45 -07:00
Evan Duffield
a119b3008c use inventory system for masternode winners 2015-02-09 13:23:42 -07:00
Evan Duffield
f510cc309b use block hash caching 2015-02-09 13:21:12 -07:00
Evan Duffield
257078d2a4 Full Spork Implementation
Many sporks are supported at once, with efficient broadcasting
via inventory messages.
2015-02-09 12:49:00 -07:00
Evan Duffield
5dc643f9b0 Merge branch 'v0.11.1.x' of https://github.com/darkcoin/darkcoin into v0.11.1.x 2015-02-09 08:04:02 -07:00
Evan Duffield
f8f1435147 Fixed UI refreshed issues 2015-02-09 08:03:37 -07:00
vertoe
e4a2eb5842 Pull translations from transifex. 2015-02-09 12:05:14 +01:00
evan82
562a126d99 Merge pull request #169 from vertoe/devel-0.9
Weekly translations update
2015-02-08 22:40:12 -07:00
Evan Duffield
9f91d3cd9e fixed possibility of IX getting a lack of fees 2015-02-08 22:38:22 -07:00
Evan Duffield
a4c8341b98 revert changes to calcScore 2015-02-08 21:57:50 -07:00
Evan Duffield
8d913937f4 change rules for dealing with forks 2015-02-08 17:39:18 -07:00
Evan Duffield
c7a3729637 make calcScore return the same results on all platforms 2015-02-08 17:16:38 -07:00
vertoe
7161aa9baa Add languages. 2015-02-08 23:19:17 +01:00
vertoe
cbca74812e Pull translations from transifex. 2015-02-08 23:17:13 +01:00
vertoe
3cdb0d474a Update translation source. 2015-02-08 22:37:44 +01:00
vertoe
a121f12612 Fix typo in instantx string. 2015-02-08 22:36:08 +01:00
vertoe
825a430c7a merge downstream 0.11.1 2015-02-08 22:26:11 +01:00
Evan Duffield
dd48c4a352 enable IX when fork detected 2015-02-08 11:59:09 -07:00
Evan Duffield
5e34edef4c set checkpoint 2015-02-08 09:22:12 -07:00
Evan Duffield
f9d6ba25fa Merge branch 'v0.11.1.x' of https://github.com/darkcoin/darkcoin into v0.11.1.x 2015-02-08 08:46:48 -07:00
Evan Duffield
1b6be50f5d restarting testnet 2015-02-08 08:46:30 -07:00
evan82
a7d5594d8c Merge pull request #168 from UdjinM6/v0.11.1.x_tx_types_cleanup
V0.11.1.x tx types cleanup
2015-02-08 08:38:51 -07:00
Evan Duffield
86dd29058f disable rejecting blocks / version bump 2015-02-08 08:05:53 -07:00
UdjinM6
c1d946bc0a use wallet db ds flag in rpc 2015-02-08 17:10:44 +03:00
UdjinM6
3a64318bd2 update tx types in UI / fix tx decomposition / use wallet db ds flag in UI 2015-02-08 17:10:01 +03:00
UdjinM6
c8c14effff use wallet db to save ds flag / debug 2015-02-08 17:03:39 +03:00
UdjinM6
562b844819 use AvailableCoinsType instead of string in walletmodel 2015-02-08 17:00:23 +03:00
Evan Duffield
ddc31b0ff7 fixed issues with ix signature propagation 2015-02-07 20:54:36 -07:00
Evan Duffield
0d8ae6fc16 version/proto/min version bump 2015-02-07 20:23:43 -07:00
Evan Duffield
e4b5b6c5f6 Merge branch 'v0.11.1.x' of https://github.com/darkcoin/darkcoin into v0.11.1.x 2015-02-07 20:04:43 -07:00
Evan Duffield
2f56ecb10a protocol version 2015-02-07 20:04:08 -07:00
evan82
01356fca76 Merge pull request #167 from UdjinM6/v0.11.1.x_fix_SelectCoins_best_sub_loops
optimize SelectCoinsMinConf best subset loops
2015-02-07 13:12:30 -07:00
Evan Duffield
e3dcc84415 added debuging for fork detection 2015-02-07 13:05:10 -07:00
evan82
77452b6b86 Merge pull request #166 from UdjinM6/v0.11.1.x_fix_MakeCollateralAmounts
fix: MakeCollateralAmounts stuck sometimes
2015-02-07 13:02:43 -07:00
evan82
c187e8288c Merge pull request #164 from UdjinM6/v0.11.1.x_optimize_notifytxchanges_call
call NotifyTransactionChanged for the same prevout tx hash only once per tx commit
2015-02-07 13:01:34 -07:00
evan82
37680d0fe1 Merge pull request #163 from UdjinM6/v0.11.1.x_fix_sendcoinsdialog_mess_on_mac
fix checkbox mess on mac / get rid of line in sendcoinsdialog
2015-02-07 13:00:06 -07:00
evan82
78c0258306 Merge pull request #162 from UdjinM6/v0.11.1.x_fix_balances
v0.11.1.x fix balances calculations when there are conflicted coins / slight optimizations
2015-02-07 12:59:45 -07:00
Evan Duffield
0a077975c7 fixed calcscore 2015-02-07 12:58:43 -07:00
Evan Duffield
a49cc8f5d5 debug 2015-02-07 12:35:33 -07:00
Evan Duffield
4ec5370317 added aux2 data for calcscore 2015-02-07 12:07:08 -07:00
Evan Duffield
ef2b9ef223 debugging 2015-02-07 11:31:15 -07:00
Evan Duffield
ee37d4622e proto bump 2015-02-07 10:47:44 -07:00
Evan Duffield
3a263ed1bf fixed platform issues with calcscore / better re-converge after fork 2015-02-07 10:30:16 -07:00
vertoe
a2ae4c900e merge downstream 0.11.1 2015-02-07 16:22:17 +01:00
UdjinM6
ab28751bbe fix 2015-02-07 08:19:02 +03:00
UdjinM6
a30b439259 optimize SelectCoins best subset debug output 2015-02-07 07:39:25 +03:00
UdjinM6
fdbeedfa96 fix MakeCollateralAmounts - cleaned more unneeded calculations 2015-02-07 05:26:59 +03:00
UdjinM6
fd7992dc61 fix MakeCollateralAmounts stuck sometimes and wouldn't let denominating further 2015-02-07 05:18:37 +03:00
Evan Duffield
3a72da77ac clean up tx lock votes on expiration 2015-02-06 13:19:22 -07:00
Evan Duffield
3b35672bb8 version/proto bump 2015-02-06 12:53:31 -07:00
Evan Duffield
c56a54d211 enforce mn port on mainnet only 2015-02-06 12:41:39 -07:00
Evan Duffield
012f0e5660 Implemented inventory system for IX messages 2015-02-06 12:07:22 -07:00
Pieter Wuille
3230b329ea Raise version of created blocks, and enforce DERSIG in mempool 2015-02-06 10:42:01 -08:00
Evan Duffield
dfb3da5ec3 version/protocol bump/min protocol 2015-02-06 09:03:50 -07:00
Evan Duffield
b65d718cf5 debugging 2015-02-06 08:54:39 -07:00
vertoe
165dbbba6d Add icelandic. 2015-02-06 15:07:50 +01:00
vertoe
e9296dcf0b Pull translations from transifex. 2015-02-06 15:04:57 +01:00
vertoe
0f177393b8 Update locale strings. 2015-02-06 15:03:29 +01:00
vertoe
06c7aa1e6e merge downstream 0.11.1 2015-02-06 15:00:12 +01:00
Pieter Wuille
989d49921b Backport of some of BIP66's tests 2015-02-05 21:26:15 -08:00
Pieter Wuille
ab03660824 Implement BIP 66 validation rules and switchover logic 2015-02-05 20:56:10 -08:00
Evan Duffield
76e36bfbea only vote when in the top X nodes 2015-02-05 21:41:17 -07:00
UdjinM6
dc19605ec7 call NotifyTransactionChanged for the same prevout tx hash only once per tx commit 2015-02-06 07:25:46 +03:00
UdjinM6
7a43249d56 fix checkbox mess on mac / get rid of line in sendcoinsdialog 2015-02-06 07:09:40 +03:00
UdjinM6
16f725961a - use only trusted coins to calculate anon balance/avg rounds
- use only non-conflicted coins to calculate denom balance
- move GetDepthInMainChain and some conditions out of loops
2015-02-06 04:53:28 +03:00
Evan Duffield
6149e55710 extend txlock expiration 2015-02-05 17:49:55 -07:00
Evan Duffield
22e1e1c1c8 Merge branch 'v0.11.1.x' of https://github.com/darkcoinproject/darkcoin into v0.11.1.x 2015-02-05 17:33:08 -07:00
Evan Duffield
b27a6a3cac fixed score calculation 2015-02-05 17:32:03 -07:00
Evan Duffield
64e8cbc661 version/protocol bump 2015-02-05 17:16:43 -07:00
vertoe
f21f255252 Pull translations from transifex. 2015-02-06 00:57:29 +01:00
vertoe
8fc3f84ad8 merge downstream 0.11.1 2015-02-06 00:39:58 +01:00
Evan Duffield
a950049541 New improved masternode calculation 2015-02-05 16:26:32 -07:00
Evan Duffield
412f54fe8a added improvements to hashing algorithm / block hash caching 2015-02-05 15:56:59 -07:00
Evan Duffield
f51ee91a2c track requests per IX 2015-02-05 11:29:13 -07:00
Evan Duffield
ae0b956d82 protocol bump 2015-02-05 11:11:50 -07:00
Evan Duffield
598a9586b5 version bump 2015-02-05 10:57:25 -07:00
Evan Duffield
d5376687d4 improvements for resolving forks 2015-02-05 10:56:11 -07:00
Evan Duffield
97d73a72b5 cancel out conflicting locks 2015-02-05 09:48:57 -07:00
Evan Duffield
c3b92a7103 Merge branch 'v0.11.1.x' of https://github.com/darkcoin/darkcoin into v0.11.1.x 2015-02-05 09:01:47 -07:00
Evan Duffield
1e8b4cdbf0 check for null reference 2015-02-05 09:01:14 -07:00
evan82
4f267d5a8d Merge pull request #161 from UdjinM6/v0.11.1.x_fix_overviewpage
V0.11.1.x fix overviewpage
2015-02-05 08:53:14 -07:00
Evan Duffield
c8fc2633ee Various IX improvements
- Fixed a segfault with listtransactions and IX
- Improved the feed back of IX while processing
2015-02-05 08:52:02 -07:00
vertoe
fd2fd3afb1 Pull translations from transifex. 2015-02-05 16:26:02 +01:00
vertoe
78d47c04fe merge downstream 0.11.1 2015-02-05 16:13:05 +01:00
vertoe
7f86afa777 Add serbian (latin) language. 2015-02-05 15:29:51 +01:00
vertoe
76b6a321ce Push transifex source typo. 2015-02-05 15:26:41 +01:00
UdjinM6
7d6e46693c ds progress bar set to 0 at start 2015-02-05 17:26:36 +03:00
UdjinM6
aec4020af0 fix division by 0 in ds progress calculation 2015-02-05 17:20:19 +03:00
Evan Duffield
77bade91be version bump 2015-02-04 21:05:36 -07:00
Evan Duffield
4064c2f5ef Improved IX security / quicker tx scanning 2015-02-04 14:59:19 -07:00
Evan Duffield
ea06ed5bae fix segfault with disablewallet 2015-02-04 14:19:18 -07:00
evan82
157800109c Merge pull request #160 from UdjinM6/v0.11.1.x_fix
fix log message
2015-02-04 14:18:59 -07:00
evan82
0fe4d6a17c Merge pull request #159 from UdjinM6/v0.11.1.x_fix_ds_anon
use only completely anonymized denoms when sending ds tx
2015-02-04 14:18:28 -07:00
Evan Duffield
6ae98a8790 use authoritive block height for IX 2015-02-04 14:09:50 -07:00
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
Gregory Maxwell
1eb14af28f
Increase block download timeout base from 10 to 20 minutes.
This harmonizes the block fetch timeout with the existing ping timeout
 and eliminates a guaranteed eventual failure from congestion collapse
 for a network operating right at its limit.

It's unlikely that we wouldn't suffer other failures if we were really
 anywhere near the network's limit, and a complete avoidance of congestion
 collapse risk requires (I think) an exponential back-off. So this isn't
 a major concern, but I think it's also useful for reducing the complexity
 of understanding out timeouts.

Github-Pull: #5647
Rebased-From: 3ff735c99a
2015-02-03 10:37:30 +01:00
Wladimir J. van der Laan
336f9fbd30
Merge pull request #5714
3916a81 Increase coverage of DERSIG edge cases (Pieter Wuille)
6da2028 Add RPC test for DERSIG BIP switchover logic (Pieter Wuille)
773c30d BIP66 changeover logic (Pieter Wuille)
18695f0 Example unit tests from BIP66 (Pieter Wuille)
abfbeaf Change IsDERSignature to BIP66 implementation (Pieter Wuille)
2015-02-03 10:33:58 +01:00
Alex Morcos
b6347bf813
Fix priority calculation in CreateTransaction
Make this projection of priority in 1 block match the calculation in the low priority reject code.

Rebased-From: 2d9b0b7f03
Github-Pull: #5675
2015-02-03 09:04:20 +01:00
Pieter Wuille
2448d34298
Avoid storing a reference passed to SignatureChecker constructors
Rebased-From: 9fddceda44
Github-Pull: #5719
2015-02-03 08:52:13 +01:00
Pieter Wuille
1bbad80bf4
Use separate SignatureChecker for CMutableTransaction
Conflicts:
	src/main.cpp
	src/script/bitcoinconsensus.cpp

Rebased-From: 858809a33e
Github-Pull: #5719
2015-02-03 08:48:04 +01: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
Pieter Wuille
3916a81a27 Increase coverage of DERSIG edge cases 2015-02-01 17:57:44 -04:00
Pieter Wuille
773c30d756 BIP66 changeover logic 2015-02-01 17:57:38 -04:00
Pieter Wuille
18695f08ef Example unit tests from BIP66 2015-02-01 17:56:06 -04:00
Pieter Wuille
abfbeafe84 Change IsDERSignature to BIP66 implementation 2015-02-01 17:56:06 -04: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
Philip Kaufmann
6a02ef8bdb
[Qt] don't allow amount changes when AmountSpinBox is read-only
- before it was possible to use the steps to change e.g. amouns of
  authenticated or unauthenticated payment requests (AmountSpinBox is
  already set to read-only here) - this is now fixed
- also move the reimplemented stepEnabled() function to the
  protected section of our class, where it belongs (see Qt doc)

Github-Pull: #5637
Rebased-From: 0fd9e2bf43
2015-01-30 15:12:05 +01: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
fsb4000
b61940b3a1
Change Coin Control first column label
Github-Pull: #5720
Rebased-From: 55eade9d46
2015-01-29 11:21:05 +01: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
Matt Corallo
c5044bc169
sleep-wait on genesis block during init with -reindex
Rebased-From: ff09e31a51
Github-Pull: #5243
2015-01-26 12:29:56 +01:00
Peter Todd
b24ff47c64
Make empty byte arrays pass CheckSignatureEncoding()
Makes it possible to compactly provide a delibrately invalid signature
for use with CHECK(MULTI)SIG. For instance with BIP19 if m != n invalid
signatures need to be provided in the scriptSig; prior to this change
those invalid signatures would need to be large DER-encoded signatures.

Note that we may want to further expand on this change in the future by
saying that only OP_0 is a "valid" invalid signature; BIP19 even with
this change is inherently malleable as the invalid signatures can be any
validly encoded DER signature.

Rebased-From: 2fa9a8ec86
Github-Pull: #5627
2015-01-26 12:10:29 +01: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
fsb4000
ed4206acb1
fix crash: CoinControl "space" bug
Just like baf80c26a2

Github-Pull: #5700
Rebased-From: 944c256741
2015-01-23 16:23:54 +01: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
Evan Duffield
b7f436bb5c version bump 2015-01-19 09:25:13 -07:00
Cory Fields
58259ad1ed
qt: fix broken unicode chars on osx 10.10
- qt: avoid hard-coding font names

They may not contain all necessary characters for a language

- qt: fix broken unicode chars on osx 10.10

The default font changed again.

The real fix is to compile qt against a >= 10.8 sdk, but this is simple enough
to backport to 0.10 to avoid having to do that there.

Note: NSAppKitVersionNumber is a double and there's no official value for
NSAppKitVersionNumber10_10. Since == isn't reliable for doubles, use Apple's
guidelines for testing versions here:
https://developer.apple.com/library/mac/releasenotes/AppKit/RN-AppKit/

Chinese and Japanese fonts have been hard-coded as well, otherwise they fail to
show up at all.

- qt: fonts: allow SubstituteFonts to filter based on user's language

SubstituteFonts() has been moved to after app identification so that QSettings
are accessible.

Github-Pull: #5671
Rebased-From: 73cd4edb4f 52954e6efd f5ad78b34a
2015-01-19 12:37:41 +01:00
Gregory Maxwell
186a517692
Restore RPC HTTP keepalives to default.
This avoids a regression for issues like #334 where high speed
 repeated connections eventually run the HTTP client out of
 sockets because all of theirs end up in time_wait.

Maybe the trade-off here is suboptimal, but if both choices will
 fail then we prefer fewer changes until the root cause is solved.

Rebased-From: 1a25a7edf8 7d2cb48511
Github-Pull: #5674
2015-01-19 12:16:17 +01:00
vertoe
40a11fbc6b merge downstream 0.11.0 2015-01-19 10:04:24 +01:00
Evan Duffield
6dd7e0f1ce corrected getblocktemplate coinbasevalue output 2015-01-18 12:49:47 -07:00
Evan Duffield
908b105ded Merge branch 'master' of https://github.com/darkcoin/darkcoin 2015-01-18 08:29:35 -07:00
Evan Duffield
539a8683a4 Added LiteMode
LiteMode disables Darksend/Masternodes/InstantX for clients
who want speed and don't need access to these features. UI
for Darksend is also hidden while in this mode.
2015-01-18 08:28:16 -07:00
Darkcoin
b5e4d58e96 Merge pull request #118 from freynder/keepass
Cleaned up debug log and adhere to coding conventions
2015-01-18 08:11:30 -07:00
Francis Reynders
f0450ab022 Cleaned up debug log and set curly braces according to coding conventions
- write to debug log only when debug option is specified
- do not log communication data that can contain secure information
- use newinline for curly braces according to coding conventions
2015-01-18 15:59:41 +01:00
Darkcoin
daab1083cf Merge pull request #116 from UdjinM6/110x_ds_fix2
110x ds fix2
2015-01-18 07:40:45 -07:00
UdjinM6
0a7f74ea13 fix low res of icns 2015-01-17 02:11:32 +03:00
Evan Duffield
b329a2f19b version bump 2015-01-16 14:00:48 -07:00
vertoe
333d5ae781 Creat a tools menu with info, console and network items. 2015-01-16 10:55:24 +01:00
UdjinM6
33a7c539ba another attempt to simplify ds and fix some issues 2015-01-15 17:41:56 +03:00
vertoe
60b6ef59dd Mix 8 rounds default. 2015-01-15 13:45:03 +01:00
vertoe
afa587176c Fix typos. 2015-01-15 13:27:46 +01:00
vertoe
0a1d09aeff Adapt BIP44 coin type 5 for Darkcoin (placeholder). 2015-01-15 12:55:50 +01:00
vertoe
389ff61339 merge downstream 0.11 2015-01-15 12:42:28 +01:00
vertoe
b8e53a337c merge devel-0.9 2015-01-15 12:40:25 +01:00
vertoe
c664137c9a Use display unit instead of hardcoded DRK for darksend settings and set max to 16 rounds 2015-01-15 12:38:03 +01:00
vertoe
fb312b0cd3 Use display unit instead of hardcoded DRK for darksend hint 2015-01-15 12:20:09 +01:00
vertoe
a80da619a7 Use display unit instead of hardcoded DRK for darksend warning 2015-01-15 12:15:01 +01:00
vertoe
36acf7e57a Use display unit instead of hardcoded DRK for darksend settings 2015-01-15 12:07:00 +01:00
vertoe
e6ce27defd Update copyright year 2015 2015-01-15 11:31:35 +01:00
Gregory Maxwell
aaf55d25c6
Add a -rpckeepalive and disable RPC use of HTTP persistent connections.
It turns out that some miners have been staying with old versions of
 Bitcoin Core because their software  behaves poorly with persistent
 connections and the Bitcoin Core thread and connection limits.

What happens is that underlying  HTTP libraries leave connections open
 invisibly to their users and then the user runs into the default four
 thread limit.  This looks like Bitcoin Core is unresponsive to RPC.

There are many things that should be improved in Bitcoin Core's behavior
 here, e.g. supporting more concurrent connections, not tying up threads
 for idle connections, disconnecting kept-alive  connections when limits
 are reached, etc. All are fairly big, risky changes.

Disabling keep-alive is a simple workaround. It's often not easy to turn
 off the keep-alive support in the client where it may be buried in some
 platform library.

If you are one of the few who really needs persistent connections you
 probably know that you want them and can find a switch; while if you
 don't and the misbehavior is hitting you it is hard to discover the
 source of your problems is keepalive related.  Given that it is best
 to default to off until they're handled better.

Github-Merge: #5655
Rebased-From: 16a5c18cea 56c1093dae 1dd8ee72af
2015-01-15 09:38:24 +01:00
Evan Duffield
7a1f2192a7 Fixed UI update bug 2015-01-14 10:16:48 -07:00
Evan Duffield
8038fdfcff Rounds calculation stopped at 8 2015-01-14 07:52:43 -07:00
Evan Duffield
1dea6cb2cc Rounds calculation stopped at 8 2015-01-14 07:50:40 -07:00
Evan Duffield
201b3fb77e Fixed performance issues with --reindex 2015-01-14 07:28:35 -07:00
Evan Duffield
cf6ecddf21 updated mac icons 2015-01-13 12:39:52 -07:00
Evan Duffield
cd5c755428 Coinbase Maturity / cleanup 2015-01-13 10:58:24 -07:00
Evan Duffield
0739536ec0 windows compilation fix 2015-01-13 07:08:58 -07:00
Evan Duffield
88d1e63f72 changed max rounds to 16 2015-01-12 13:07:48 -07:00
Evan Duffield
4ab6c5d6da Fixed masternode payments issue 2015-01-12 12:05:20 -07:00
Darkcoin
984c923ac5 Merge pull request #106 from vertoe/devel-0.9
OpenSSL 1.0.1k handling of DER signatures
2015-01-12 10:54:32 -07:00
Darkcoin
44bb7c809a Merge pull request #105 from UdjinM6/110x_fix_mn_conf_read
"path" argument isn't used in masternode conf read function
2015-01-12 10:52:56 -07:00
Darkcoin
3dcdfc6ff2 Merge pull request #96 from freynder/keepass
Implemented KeePass Integration
2015-01-12 10:52:07 -07:00
Evan Duffield
76ab102ff7 Various fixes for 11.0.5
-Darksend balance shows sendable amount now.
-Fixed "darksend is disabled" inaccurate message
-Fixed crashing on -reindex and -gen
2015-01-12 10:04:28 -07:00
vertoe
4269e16f0d merge downstream 0.11.x 2015-01-12 16:04:47 +01:00
Evan Duffield
5c16596b01 Fixed darksend balance update on click 2015-01-12 07:10:38 -07:00
Evan Duffield
7098126b52 Fix for random segfaultfrom Masternode::Check 2015-01-12 06:58:33 -07:00
Pieter Wuille
4e7c219122
Catch UTXO set read errors and shutdown
Github-Pull: #5619
Rebased-From: 13cdce4336
2015-01-12 11:28:39 +01:00
Pieter Wuille
a3a73170a9
Introduce 10 minute block download timeout
This will disconnect peers that do not transfer a block in 10 minutes, plus
5 minutes for every previously queued block with validated headers
(accomodating downstream bandwidth down to a few kilobytes per second - below
that the node would have trouble staying synchronized anyway).

Github-Pull: #5608
Rebased-From: 916130348c
2015-01-12 11:28:23 +01:00
vertoe
daf9018b7f merge upstream 0.9.4 2015-01-12 11:08:50 +01:00
Wladimir J. van der Laan
be8ac71d96
Bump version to 0.9.4 2015-01-12 10:33:39 +01:00
Wladimir J. van der Laan
f6b753912b
qt: Pull updated translations from Transifex 2015-01-12 10:17:54 +01:00
Wladimir J. van der Laan
037bfefe6b
Improve robustness of DER recoding code
Add some defensive programming on top of #5634.

This copies the respective OpenSSL code in ECDSA_verify in
OpenSSL pre-1.0.1k (e.g. https://github.com/openssl/openssl/blob/OpenSSL_1_0_1j/crypto/ecdsa/ecs_vrf.c#L89)
more closely.

As reported by @sergiodemianlerner.

Github-Pull: #5640
Rebased-From: c6b7b29f23
2015-01-12 09:28:24 +01:00
Wladimir J. van der Laan
12b7c444f0
Improve robustness of DER recoding code
Add some defensive programming on top of #5634.

This copies the respective OpenSSL code in ECDSA_verify in
OpenSSL pre-1.0.1k (e.g. https://github.com/openssl/openssl/blob/OpenSSL_1_0_1j/crypto/ecdsa/ecs_vrf.c#L89)
more closely.

As reported by @sergiodemianlerner.

Github-Pull: #5640
Rebased-From: c6b7b29f23
2015-01-12 09:12:12 +01:00
vertoe
ebb7eab77d Merge downstream v0.11.0.x 2015-01-12 07:45:47 +01:00
vertoe
928613c03c merge branch '0.9' of https://github.com/bitcoin/bitcoin into devel-0.9 2015-01-12 07:42:34 +01:00
Evan Duffield
560cf0e7a0 Merge branch 'v0.11.0.x' of https://github.com/darkcoin/darkcoin into v0.11.0.x 2015-01-11 11:01:31 -07:00
Evan Duffield
f1e2c1e031 Fix Masternode::Check() Segfault
Client crashes about every 24h on mainnet (with lots of masternodes)
and very rarely on testnet. AcceptableInputs has no need to check
HaveCoins as AcceptToMemoryPool does and would rarely cause the
segfault to occur.
2015-01-11 10:59:36 -07:00
Darkcoin
f8c907d806 Merge pull request #104 from UdjinM6/110x_dsbalance
add darksend balance to getinfo
2015-01-11 10:56:45 -07:00
UdjinM6
560b06fc38 no need to get conf file in function call 2015-01-11 20:28:28 +03:00
Wladimir J. van der Laan
60c51f1c38
fail immediately on an empty signature
Github-Pull: #5634
Rebased-From: 8dccba6a45
2015-01-10 08:58:47 +01:00
Cory Fields
b8e81b7ccd
consensus: guard against openssl's new strict DER checks
New versions of OpenSSL will reject non-canonical DER signatures. However,
it'll happily decode them. Decode then re-encode before verification in order
to ensure that it is properly consumed.

Github-Pull: #5634
Rebased-From: 488ed32f2a
2015-01-10 08:31:14 +01:00
Cory Fields
76ce5c8de3
fail immediately on an empty signature
Github-Pull: #5634
Rebased-From: 8dccba6a45
2015-01-10 08:10:38 +01:00
Cory Fields
ace39db764
consensus: guard against openssl's new strict DER checks
New versions of OpenSSL will reject non-canonical DER signatures. However,
it'll happily decode them. Decode then re-encode before verification in order
to ensure that it is properly consumed.

Github-Pull: #5634
Rebased-From: 488ed32f2a
2015-01-10 08:10:29 +01:00
Evan Duffield
6814d137fd check ports in masternode.conf 2015-01-09 12:45:41 -07:00
Evan Duffield
c1fde4da39 version bump - 11.4 2015-01-08 15:22:33 -07:00
Evan Duffield
a3416f9441 fixed display issues for Darksend transaction 2015-01-08 15:21:05 -07:00
Evan Duffield
6bd5ec15b3 Unlock coins when using Darksend reset button 2015-01-08 14:16:17 -07:00
Evan Duffield
e73403b5ac Merge branch 'v-1.11.0.x' of https://github.com/darkcoin/darkcoin into v0.11.0.x 2015-01-08 14:11:41 -07:00
Evan Duffield
9ad42576e9 schedule masternode payments to turn on 1/9/2015 2015-01-08 14:11:05 -07:00
UdjinM6
eb7abd8ba7 add darksend balance to getinfo 2015-01-08 21:19:39 +01:00
Darkcoin
4a6d17ef18 Merge pull request #103 from crowning-/patch-3
Non-void function should always return something.
2015-01-08 11:12:37 -07:00
Evan Duffield
caa4fc37af Updated getblocktemplate for mining support 2015-01-08 11:02:10 -07:00
Evan Duffield
3c553cc4a7 Fixed start-many issue with multiple output tx
masternode.conf was broken when any index other than 0 was
used. This fixes it and allows the correct input to be selected
and the masternode to be started successfully.
2015-01-08 09:05:59 -07:00
Cory Fields
263b65ebf0
tests: run sanity checks in tests too
If these are going to fail in bitcoind, they should fail in the tests as well.

Github-Pull: #5604
Rebased-From: d58c5d6f21
2015-01-08 12:08:14 +01:00
Wladimir J. van der Laan
7fdbedcaf8
Merge pull request #5542
2ecd294 Bugfix: configure: Correctly detect "nothing to build" condition (Luke Dashjr)
b7a4ecc Bugfix: Only check for boost when building code that requires it (Luke Dashjr)
a19eeac Bugfix: configure: Check for openssl/ec.h (Luke Dashjr)
fe925e2 Use EXTRA_LIBRARIES instead of noinst_LIBRARIES so we can avoid building unused code (Cory Fields)
2015-01-08 09:34:11 +01:00
Pieter Wuille
867c600c29
Catch LevelDB errors during flush
Rebased-From: e41345790f
Github-Pull: #5597
2015-01-07 13:11:58 +01:00
Pieter Wuille
008138c04a
Bugfix: only track UTXO modification after lookup
Otherwise, if CCoinsViewCache::ModifyCoins throws an exception in between
setting hasModifier and constructing the CCoinsModifier, the cache ends up
in an inconsistent state, resulting in an assert failure in the next
modification.

Bug discovered by Wladimir J. van der Laan.

Rebased-From: 1c52aad540
Github-Pull: #5597
2015-01-07 13:11:54 +01:00
Pieter Wuille
3022e7df2a
Require sufficent priority for relay of free transactions
Rebased-From: 1c52aad540
Github-Pull: #5535
2015-01-07 13:11:49 +01:00
crowning-
371a16a924 Non-void function should always return something. 2015-01-06 22:05:39 +01:00
Cory Fields
fe925e221f Use EXTRA_LIBRARIES instead of noinst_LIBRARIES so we can avoid building unused code 2015-01-06 20:00:25 +00:00
Eric R. Schulz
06fdf326d3
bitcoin-tx: Fix JSON validation of prevtxs
Github-Pull: #5528
Rebased-From: 2a3d988b80 a089c50981 2c14d1532f
2015-01-06 17:32:31 +01:00
Pieter Wuille
58fda4d689
Update seed IPs, based on bitcoin.sipa.be crawler data
Rebased-From: be22b3da1d
Github-Pull: #5532
2015-01-06 11:02:50 +01:00
Thomas Zander
94b362dbd6
On close of splashscreen interrupt verifyDB
With the splashscreen being able to be closed it is possible to
shutdown during the lengthy verifyDB method. (Takes about a minute
on my machine). This change allows us to shutdown much sooner.

Github-Pull: #5557
Rebased-From: 70477a0bdf
2015-01-03 10:22:48 +01:00
Evan Duffield
6df70d30b1 Fixed progress bar / Improve GetDenominatedBalance
- Fixed a few issues when calculating progress including some variables that should be limited to 1 (a and b). GetDenominatedBalance also seemed to be giving bad results so I rewrote it to be cleaner, not sure if that was a part of the problem.
- Progress bar is only recalculated when all inputs in wallet have been confirmed (will stop the progress from jumping around)
2015-01-02 15:20:30 -07:00
Evan Duffield
8ab351a594 configure.ac version bump and documentation 2015-01-02 11:45:40 -07:00
Evan Duffield
12bac4a862 gitian changes, tooltips and version bump 2015-01-02 09:54:13 -07:00
Evan Duffield
58b8f19d2d updated to v2 2015-01-02 08:35:31 -07:00
Darkcoin
ec6877bd18 Merge pull request #98 from vertoe/devel-0.9
Update pixmaps
2015-01-02 08:31:44 -07:00
Evan Duffield
899063acf8 Fixed windows crashing issues
Crash was caused by Params() usage in CDarkSendPool::CDarkSendPool upon wallet start. I've moved init of the collateral address outside of the class to CDarkSendPool.InitCollateralAddress() instead.
2015-01-02 07:49:44 -07:00
vertoe
295b7294e6 Update wallet name to Darkcoin 2015-01-02 14:58:25 +01:00
Philip Kaufmann
50891ad080
[Qt] update a translation string and argument counts
Rebased-From: 643415aade
Github-Pull: #5583
2015-01-02 11:20:51 +01:00
Wladimir J. van der Laan
4f57a3b20c
Bump project-wide COPYRIGHT_YEAR to 2015
There is still a redundancy here between configure.ac and
clientversion.h.

Rebased-From: edbc9045cb
2015-01-02 11:04:57 +01:00
Wladimir J. van der Laan
8061d67aeb
Remove redundant copyright notices from README files
The normative place for these for the entire project is COPYING,
and the main README already has a MIT license section.

Rebased-From: e6df2bb48f
2015-01-02 11:03:13 +01:00
crowning-
6a93a7c47b Exclude localnet addresses
127.0.0.* addresses shouldn't show up in "masternode list"
2015-01-01 20:18:23 +01:00
Francis Reynders
bdb50539de Implemented KeePass Integration
More info regarding KeePass: http://keepass.info/

KeePass integration will use KeePassHttp (https://github.com/pfn/keepasshttp/) to facilitate communications between the client and KeePass. KeePassHttp is a plugin for KeePass 2.x and provides a secure means of exposing KeePass entries via HTTP for clients to consume.

The implementation is dependent on the following:
- crypter.h for AES encryption helper functions.
- rpcprotocol.h for handling RPC communications. Could only be used partially however due some static values in the code.
- OpenSSL for base64 encoding. regular util.h libraries were not used for base64 encoding/decoding since they do not use secure allocation.
- JSON Spirit for reading / writing RPC communications

The following changes were made:
- Added CLI options in help
- Added RPC commands: keepass <genkey|init|setpassphrase>
- Added keepass.h and keepass.cpp which hold the integration routines
- Modified rpcwallet.cpp to support RPC commands

The following new options are available for darkcoind and darkcoin-qt:
  -keepass               Use KeePass 2 integration using KeePassHttp plugin (default: 0)
  -keepassport=<port>    Connect to KeePassHttp on port <port> (default: 19455)
  -keepasskey=<key>      KeePassHttp key for AES encrypted communication with KeePass
  -keepassid=<name>      KeePassHttp id for the established association
  -keepassname=<name>    Name to construct url for KeePass entry that stores the wallet passphrase

The following rpc commands are available:
- keepass genkey: generates a base64 encoded 256 bit AES key that can be used for the communication with KeePassHttp. Only necessary for manual configuration. Use init for automatic configuration.
- keepass init: sets up the association between darkcoind and keepass by generating an AES key and sending an association message to KeePassHttp. This will trigger KeePass to ask for an Id for the association. Returns the association and the base64 encoded string for the AES key.
- keepass setpassphrase <passphrase>: updates the passphrase in KeePassHttp to a new value. This should match the passphrase you intend to use for the wallet. Please note that the standard RPC commands walletpassphrasechange and the wallet encrption from the QT GUI already send the updates to KeePassHttp, so this is only necessary for manual manipulation of the password.

Sample initialization flow from darkcoin-qt console (this needs to be done only once to set up the association):
- Have KeePass running with an open database
- Start darkcoin-qt
- Open console
- type: "keepass init" in darkcoin-qt console
- (keepass pops up and asks for an association id, fill that in). Example: mydrkwallet
- response: Association successful. Id: mydrkwalletdarkcoin - Key: AgQkcs6cI7v9tlSYKjG/+s8wJrGALHl3jLosJpPLzUE=
- Edit darkcoin.conf and fill in these values
    keepass=1
    keepasskey=AgQkcs6cI7v9tlSYKjG/+s8wJrGALHl3jLosJpPLzUE=
    keepassid=mydrkwallet
    keepassname=testwallet
- Restart darkcoin-qt

At this point, the association is made. The next action depends on your particular situation:
- current wallet is not yet encrypted. Encrypting the wallet will trigger the integration and stores the password in KeePass (Under the 'KeePassHttp Passwords' group, named after keepassname.
- current wallet is already encrypted: use "keepass setpassphrase <passphrase>" to store the passphrase in KeePass.

At this point, the passphrase is stored in KeePassHttp. When Unlocking the wallet, one can use keepass as the passphrase to trigger retrieval of the password. This works from the RPC commands as well as the GUI.
2015-01-01 20:06:24 +01:00
Evan Duffield
4eb14d271b Change minversion to 70046 2015-01-01 11:15:24 -07:00
vertoe
9cc07aec1c Hotfix for version.h 2015-01-01 19:03:25 +01:00
Evan Duffield
f46ec0db80 Change minversion to 70046 2015-01-01 10:46:18 -07:00
Evan Duffield
447ae896c0 Merge branch 'v0.11.0.x' of https://github.com/darkcoin/darkcoin into v0.11.0.x 2015-01-01 09:12:53 -07:00
Evan Duffield
b87c2fe9dc Fix for gitian windows compiling 2015-01-01 09:12:28 -07:00
Darkcoin
c1269e7850 Merge pull request #92 from vertoe/devel-0.9
Update darkcoin units to tDRK if TestNet().
2015-01-01 07:49:58 -07:00
Darkcoin
a29b991091 Merge pull request #93 from vertoe/devel-0.9-bip0032
Update BIP32 base58 address prefixes to darkcoin uniques.
2015-01-01 07:49:12 -07:00
vertoe
024e255a5b Update BIP32 base58 address prefixes to darkcoin uniques. 2014-12-31 13:50:14 +01:00
vertoe
54f54f4a67 Update darkcoin units to tDRK if TestNet(). 2014-12-31 13:27:32 +01:00
Luke Dashjr
1eadfd9753
Bugfix: prioritisetransaction: Do some basic sanity checking on txid
Besides giving a nicer error, this also prevents logging arbitrary data (which could have been used to exploit log readers) into debug.log

Rebased-From: 7f71813919
Github-Pull: #5499
2014-12-31 10:53:26 +01:00
Gregory Maxwell
18021d08f7
Remove bitnodes.io from dnsseeds.
I'm not comfortable with retaining this entry.

Rebased-From: a094b3d973
Github-Pull: #5545
2014-12-31 10:43:22 +01:00
Wladimir J. van der Laan
b790d139c9
English translation update 2014-12-31 10:39:17 +01:00
Michael Ford
8543b0dfd9
Correct tooltip on address book page
Rebased-From: 06206bb3b7
Github-Pull: 5571
2014-12-31 10:38:04 +01:00
Evan Duffield
d219a6c51a randomly sort masternodes before picking next winner 2014-12-30 22:45:45 -07:00
Evan Duffield
bc20787fec Added perfectly balanced masternode payments
- Implemented using a simple round robin algorithm instead of the deterministic round robin approach (was slightly unbalanced)
2014-12-30 22:40:53 -07:00
Evan Duffield
826b18c41f Regtest+Darksend / Dsee update / vecMasternodes
- Made masternodes/darksend compatible with regression testing mode (a local-only blockchain that doesn't require mining). Developers can now test multiple rounds in a few minutes without waiting on mining (much faster).
- Added dsee security verification to v11
- darkSendMasternodes -> vecMasternodes (must clearer)
2014-12-30 19:54:00 -07:00
Evan Duffield
a290bc06f2 Further improvements to the matching engine 2014-12-30 15:42:50 -07:00
Evan Duffield
80144a47ab Disable local addresses 2014-12-30 14:41:28 -07:00
Evan Duffield
75b169e2aa Simplified CWallet::PrepareDarksendDenominate 2014-12-30 14:00:19 -07:00
Evan Duffield
141f833a00 Matching engine improvements
Fixed issues with matching from rounds 0 to 2
2014-12-30 12:42:34 -07:00
Evan Duffield
aa63a99162 Percision matching engine / masternode regtest
- Fixed matching engine issue causing false positive non-denominational matches
- Basic masternode support for regtest (still not working)
2014-12-30 11:14:58 -07:00
Cory Fields
87d43a3c8e rpcserver: attempt to fix uncaught exception.
Rebased-From: f9c571aad8
Github-Pull: #5565
2014-12-30 17:38:03 +01:00
Evan Duffield
b20581125d Added Darksend high precision matching engine
Darksend is now capable of taking queue objects (which show who wants to mix what)
and looking at it's own inputs to see if it's at all possible to join their mixing
session. This plus other improvements should make Darksend much faster for mixing
coins.
2014-12-29 17:09:34 -07:00
Evan Duffield
762080140b Various Darksend Improvements
- Denomination label shows n/a after reset now
- Fixed collateral checking bug introduced by updating to Bitcoin v9 codebase
2014-12-29 08:50:40 -07:00
Evan Duffield
139f14a1a4 Enabled Darksend NewBlock checks 2014-12-28 17:33:56 -07:00
Evan Duffield
afcc015cf4 Report errors delivered via dssu to gui 2014-12-28 07:46:39 -07:00
Wladimir J. van der Laan
ed934bdb4d
pull new translations from transifex 2014-12-28 12:21:17 +01:00
Evan Duffield
34a60fb7de Much improved feedback for Darksend
DoAutoDenomination just wrote to the debug.log and because of that users commonly would have a hard time seeing what was happening. This fixes that by setting a status and displaying that status in the overview.
2014-12-27 18:08:45 -07:00
Evan Duffield
3acb5c6388 added denomination information to overview, reset/try again buttons 2014-12-27 16:45:07 -07:00
Evan Duffield
ff8285060d Merge branch 'v0.11.0.x' of https://github.com/darkcoin/darkcoin into v0.11.0.x 2014-12-27 08:28:47 -07:00
Evan Duffield
36aa6bd675 fixed message magic, should be DarkCoin 2014-12-27 08:28:23 -07:00
UdjinM6
142ff7a3ab restrict start if masternode.conf has incorrect format / move error message out of debug.log to stderr/qt-dialog 2014-12-27 15:47:08 +03:00
Luke Dashjr
52e57055cc en: Avoid ambiguous language regarding when transactions confirm
Rebased-From: a15dba5dff
Github-Pull: #5533
2014-12-27 05:03:39 +01:00
Peter Todd
06ca0651b6
Fix CScriptID(const CScript& in) in empty script case
Previously an empty script wouldn't be hashed, and CScriptID would be
assigned the incorrect value of 0 instead. This bug can be seen in the
RPC decodescript command:

    $ btc decodescript ""
    {
        "asm" : "",
        "type" : "nonstandard",
        "p2sh" : "31h1vYVSYuKP6AhS86fbRdMw9XHieotbST"
    }

Correct output:

    $ btc decodescript ""
    {
        "asm" : "",
        "type" : "nonstandard",
        "p2sh" : "3J98t1WpEZ73CNmQviecrnyiWrnqRhWNLy"
    }

Rebased-From: d78f0dafd5
Github-Pull: #5541
2014-12-27 04:09:41 +01:00
vertoe
ab52409f0e Merge branch 'v0.11.0.x' of https://github.com/darkcoin/darkcoin into devel-0.9 2014-12-27 00:55:52 +01:00
vertoe
86cc5d35cc Update client name 2014-12-27 00:54:59 +01:00
vertoe
2a4e872364 Change orange to blue 2014-12-27 00:54:25 +01:00
vertoe
d2d798c9b0 Merge branch 'devel-0.9-keys' into devel-0.9 2014-12-27 00:33:22 +01:00
vertoe
bdaa900bbe Update strings in UI. 2014-12-27 00:16:50 +01:00
Darkcoin
dc71c6df25 Merge pull request #85 from vertoe/devel-0.9-keys
Change pubkey addresses for multisig addresses and testnet.
2014-12-26 16:00:14 -07:00
Evan Duffield
13e49d5470 Merge branch 'v0.11.0.x' of https://github.com/darkcoin/darkcoin into v0.11.0.x 2014-12-26 15:30:20 -07:00
Evan Duffield
c94600a2c8 Added coincontrol darksend rounds colunm from v10 2014-12-26 15:30:00 -07:00
vertoe
fd3de20a88 Change pubkey addresses for multisig addresses and testnet 2014-12-26 23:28:08 +01:00
Darkcoin
cbf7339deb Merge pull request #84 from vertoe/devel-0.9-dns
Add seednode by @coingun (branch v11)
2014-12-26 14:11:41 -07:00
Darkcoin
04ab85a591 Merge pull request #83 from vertoe/devel-0.9
Clean testnet reset to v3. (branch v11)
2014-12-26 14:10:12 -07:00
Darkcoin
766e654e42 Merge pull request #81 from UdjinM6/110_fix_regtesterror_testnetdetect
fix crash on regtest block generation / slightly simplify _if_ for testnet detection
2014-12-26 14:05:46 -07:00
Evan Duffield
12e8fd0461 Improved support for adding DRK after anon has completed 2014-12-26 14:04:36 -07:00
vertoe
c7bbff80ba Add masternode.io dnsseed operated by @coingun 2014-12-26 21:32:11 +01:00
vertoe
b0f06bf4a8 Merge upstream commits of branch 'v0.11.0.x' of darkcoin/darkcoin into devel-0.9 2014-12-26 21:26:05 +01:00
vertoe
71f3d6eb06 revert 4f95ea2: testnet v4 2014-12-26 21:23:25 +01:00
Evan Duffield
f2c21fd1e7 Better support for non-specific masternode payments 2014-12-26 13:14:45 -07:00
Evan Duffield
0718f75a84 Fixed possible masternode payments exploit 2014-12-26 13:12:58 -07:00