Commit Graph

6300 Commits

Author SHA1 Message Date
crowning2
8702795d9d Daily upstream merge. 2015-03-04 20:32:56 +01:00
UdjinM6
84f4657ff9 Prevent masternodes with protocol less then nMasternodeMinProtocol (set to MIN_PEER_PROTO_VERSION by default now) to be able to stay in masternode list. Scenario: MIN_PEER_PROTO_VERSION was bumped but because we remember masternode we will never ask it for dsee again. 2015-03-04 22:04:02 +03:00
Evan Duffield
119007dd48 fix compiling for windows 2015-03-04 11:17:30 -07:00
evan82
ead462c2bb Merge pull request #218 from UdjinM6/v0.11.2.x_fix_masternodelist
V0.11.2.x fix masternodelist
2015-03-04 10:38:08 -07:00
evan82
0681d3144c Merge pull request #217 from UdjinM6/v0.11.2.x_fix_ds_ix_fee_calculation_display
V0.11.2.x fix ds&ix fee calculation&display
2015-03-04 10:37:22 -07:00
Evan Duffield
ba270619bf missing file 2015-03-04 10:35:50 -07:00
Evan Duffield
a6b58ab1e8 Merged masternode blinding 2015-03-04 08:58:36 -07:00
snogcel
d53e950671 CSS WIP v9 2015-03-03 23:05:30 -07:00
crowning2
6d58449987 Theme selector added to options-page 2015-03-03 21:49:40 +01:00
crowning2
25ccc86acd Merge upstream 2015-03-02 21:43:19 +01:00
UdjinM6
d2a1ecf524 add spaces to IP only in full mode 2015-03-02 07:54:34 +03:00
UdjinM6
64c1a8b147 remove "|" to make full mode a bit more compact 2015-03-02 07:45:18 +03:00
UdjinM6
3a4c3e401b add spaces to table-fy console view of "masternode list" 2015-03-02 07:36:38 +03:00
UdjinM6
62800573cc fix filtering for "active" (was broken after IP filtering) / reorder modes alphabetically 2015-03-02 07:35:13 +03:00
UdjinM6
4bfdcc181c fix IX and DS fee calculations / use coincontrol to show live calculations 2015-03-02 07:26:38 +03:00
evan82
96dbba0d5f Merge pull request #216 from vertoe/devel-0.9
Weekly translation updates.
2015-03-01 19:12:31 -07:00
evan82
369ca60da7 Merge pull request #215 from vertoe/devel-0.9-upstr
Fix priority calculation in CreateTransaction
2015-03-01 19:10:00 -07:00
evan82
8faca60382 Merge pull request #213 from UdjinM6/v0.11.2.x_fix_monospace_qt_console
V0.11.2.x fix spaces/monospace fonts in qt console
2015-03-01 19:08:12 -07:00
evan82
40b2ac6e3e Merge pull request #211 from UdjinM6/v0.11.2.x_pay_to_oldest_legit
V0.11.2.x pay to oldest legit MN
2015-03-01 19:06:17 -07:00
evan82
e2cf12b9de Merge pull request #210 from UdjinM6/v0.11.2.x_check_exp_mn_on_start
V0.11.2.x check expired MNs right on client start
2015-03-01 19:04:22 -07:00
evan82
da8dc22856 Merge pull request #209 from UdjinM6/v0.11.2.x_fix_crash_in_overview
V0.11.2.x fix crash on client shutdown
2015-03-01 19:03:13 -07:00
vertoe
092c9c99a2 Pull translations from transifex. 2015-03-02 00:09:33 +01:00
vertoe
6e20247e3e Extract strings. 2015-03-02 00:08:42 +01:00
vertoe
14bebe4fd7 merge upstream 0.9 2015-03-02 00:04:56 +01:00
UdjinM6
54a78ed036 fix spaces/monospace fonts in qt console 2015-03-01 22:42:57 +03:00
UdjinM6
f4f3f6bd6a prevent gaming sigTime too much on initial dsee 2015-03-01 18:51:30 +03:00
UdjinM6
b2017ebefa find oldest legit masternode to pay / naming "now" -> "sigTime" 2015-03-01 18:45:27 +03:00
snogcel
7af7db84c7 CSS WIP v8 2015-03-01 02:15:39 -07:00
snogcel
4a8f81c0e5 Merge remote-tracking branch 'upstream/v0.11.2.x' into v0.11.2.x 2015-03-01 00:52:57 -07:00
UdjinM6
7b1efb8997 show new number of MNs on add/remove in logs / move output to debug level 2015-03-01 03:26:29 +03:00
UdjinM6
4b4b1dc911 disconnect timer on overview page destruction 2015-03-01 03:08:24 +03:00
UdjinM6
80ce3f5a06 clear maps in mnodeman 2015-03-01 03:04:17 +03:00
UdjinM6
4af7c7411a check and remove expired masternodes on client start / more info on load/flush 2015-03-01 02:56:52 +03:00
evan82
2d3426755c Merge pull request #207 from UdjinM6/v0.11.2.x_fix_logs
V0.11.2.x fix logs
2015-02-27 06:49:31 -07:00
snogcel
fb90f70d90 CSS WIP v7 - Send 2015-02-26 22:05:20 -07:00
snogcel
8001c48c71 Merge remote-tracking branch 'upstream/v0.11.2.x' into v0.11.2.x 2015-02-26 22:02:04 -07:00
UdjinM6
e7bf8d0fe6 Few small log output fixes:
- fix DumpMasternodes log output (wasn't really working)
- add log output on CMasternodeMan::Add
- slightly edit CMasternodeMan::CheckAndRemove log output
2015-02-27 04:49:12 +03:00
UdjinM6
14ecda3486 With persistant storage this restriction was way too hard and could lead to dramatically shrinking/not updating masternode list after few restarts with some timeouts 2015-02-27 04:41:17 +03:00
UdjinM6
4fe845bf15 Fix crashes on remove from vector
Few more locks and slight iterators optimization
2015-02-27 02:12:43 +03:00
UdjinM6
0747da6b36 Fix versions:
- bump PROTOCOL_VERSION (new collaterals are incompatible with 70066)
 - define MIN_POOL_PEER_PROTO_VERSION instead of confusing darkSendPool.MIN_PEER_PROTO_VERSION / bump it too
2015-02-26 20:29:57 +03:00
Pieter Wuille
aeb9279228
Better fingerprinting protection for non-main-chain getdatas.
With headers-first we can compare against the best header timestamp, rather
than using checkpoints which require code updates to maintain.

Rebased-From: 85da07a5a0
Github-Pull: #5820
2015-02-26 17:14:14 +01:00
evan82
ff297c25e3 Merge pull request #203 from UdjinM6/v0.11.2.x_fix_processmessages
V0.11.2.x Few fixes for processing extra messages:
2015-02-26 08:31:45 -07:00
evan82
5b4d27864e Merge pull request #202 from UdjinM6/v0.11.2.x_fix_doauto
V0.11.2.x fix DoAutomaticDenominating:
2015-02-26 08:31:21 -07:00
evan82
1560cb65ed Merge pull request #201 from UdjinM6/v0.11.2.x_rpc_fixes
V0.11.2.x rpc fixes
2015-02-26 08:30:40 -07:00
UdjinM6
1ded1b9ec2 Few fixes for processing extra messages:
- call ProcessMessageMasternodePayments on ProcessBlock (lost after moving mnodeman functionality)
- do not process extra functionality messages (DS, IX, spork) on initial download / reindex
2015-02-26 17:40:43 +03:00
Evan Duffield
736e6da6b8 allow searching masternode list by ip address 2015-02-26 07:33:27 -07:00
Evan Duffield
848adbb2d3 Fixed compiling errors
std::stoi was introduced in C++11, should probably avoid using it
2015-02-26 07:23:06 -07:00
UdjinM6
56471f8330 fix DoAutomaticDenominating:
- check for NULL (result of FindRandom, could happen if masternode list is empty)
 - assign submittedToMasternode only when all checks are passed
 - naming consistency (mn --> pmn)
2015-02-26 04:55:27 +03:00
snogcel
f99b986ba6 Merge remote-tracking branch 'upstream/v0.11.2.x' into v0.11.2.x 2015-02-25 18:53:21 -07:00
UdjinM6
0d82275d05 rpc: allow "darksend" only with ENABLE_WALLET 2015-02-26 04:48:03 +03:00
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