Commit Graph

4476 Commits

Author SHA1 Message Date
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
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
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
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