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
Evan Duffield
ffec62e8ba
change req maturity to 100 from 120
2015-02-02 15:54:16 -07:00
Evan Duffield
e2898a2f86
small fix for assert failure
2015-02-02 13:11:49 -07:00
Evan Duffield
6b0c7f3c4f
add a couple sanity checks to GetLastValidBlockHash
2015-02-02 12:27:07 -07:00
Evan Duffield
1f828f45ec
fixed regtest+ds issues
2015-02-02 11:10:17 -07:00
Evan Duffield
2992907d91
Better DOS protection, fixed min confirmations
2015-02-02 10:33:52 -07:00
Evan Duffield
6c4a6f6583
signal transaction update
2015-02-02 08:04:09 -07:00
Evan Duffield
d07014ce1e
add simple dos protection / IX vote class improvements
2015-02-02 07:38:50 -07:00
Evan Duffield
d512124bad
Much lower bandwidth requirements for IX
2015-02-02 05:24:04 -07:00
Evan Duffield
5b0d0146b0
only update when tx is found
2015-02-02 05:06:43 -07:00
Evan Duffield
b59ba777fc
only relay signatures to subscribing peers
2015-02-02 05:01:06 -07:00
Evan Duffield
13246598b8
Added dstx support for free transactions
2015-02-02 04:42:41 -07:00
vertoe
aa39f11fa2
Pull translations from transifex.
2015-02-02 12:27:38 +01:00
Evan Duffield
7e38235e5a
Added masternode payee caching
2015-02-02 04:05:21 -07:00
Evan Duffield
837fe9b417
protocol bump / version bump
2015-02-01 15:49:24 -07:00
evan82
ea967b53a2
Merge pull request #147 from vertoe/devel-0.9
...
Complete russian, spanish and german translation
2015-02-01 13:41:21 -07:00
Evan Duffield
2feb0fd2f8
fixed hashing for IX
2015-02-01 13:37:20 -07:00
Evan Duffield
6c8b23c0b2
return 0 for incomplete tx locks
2015-02-01 13:14:31 -07:00
Evan Duffield
c9585c7747
added set expiration for IX, cleaned up messages
2015-02-01 13:04:20 -07:00
Evan Duffield
e0c26e4c11
debugging for IX
2015-02-01 11:02:36 -07:00
Evan Duffield
a0d5f92f87
improvements to IsTransactionLocked
2015-02-01 10:47:56 -07:00
Evan Duffield
1377b71347
ignore IX confirmations when forming new tx
2015-02-01 10:21:43 -07:00
Evan Duffield
b1d701275a
only use inputs with 5 confirmations for IX
2015-02-01 09:30:58 -07:00
Evan Duffield
d3763f6f82
search inputs separately for IX
2015-02-01 09:16:31 -07:00
Evan Duffield
8164721b25
Merge branch 'v0.11.1.x' of https://github.com/darkcoinproject/darkcoin into v0.11.1.x
2015-02-01 09:07:04 -07:00
Evan Duffield
a3077626b5
various improvements to IX
2015-02-01 08:53:49 -07:00
vertoe
14e7982ed3
Finish german translation.
2015-02-01 13:19:52 +01:00
vertoe
8ce1b7c71d
Merge vietnamese translations.
2015-02-01 09:42:32 +01:00
vertoe
d6905f607a
Finish spanish translations.
2015-02-01 09:29:14 +01:00
vertoe
f5e740d57e
Pull translations from transifex.
2015-02-01 09:23:04 +01:00
vertoe
0a752de0f0
Pull translations from transifex.
2015-02-01 00:16:03 +01:00
vertoe
d167228cee
Pull translations from transifex.
2015-01-31 23:29:24 +01:00
vertoe
cddde832d6
Merge bitcoin translations.
2015-01-31 23:11:26 +01:00
vertoe
99204999e9
Pull translations from transifex.
2015-01-31 22:06:37 +01:00
vertoe
6a685db76c
Pull translations from transifex.
2015-01-31 21:15:38 +01:00
vertoe
69d93bbbd9
Pull translations from transifex.
2015-01-31 20:31:16 +01:00
vertoe
1333864674
Update bitcoinstrings.
2015-01-31 19:47:23 +01:00
vertoe
be3041e88c
Pull translations from transifex.
2015-01-31 19:17:24 +01:00
evan82
9f33c1e5f9
Merge pull request #144 from UdjinM6/fix_doauto_on_initial_download
...
prevent running DoAutomaticDenominating while IsInitialBlockDownload
2015-01-30 12:57:54 -07:00
evan82
53a499fc47
Merge pull request #143 from vertoe/devel-0.9
...
Start translating darkcoin core correctly
2015-01-30 07:48:25 -07:00
evan82
b4b88e1cc3
Merge pull request #141 from UdjinM6/fix_coincontrol_crash
...
fix coin control crash
2015-01-30 07:47:10 -07:00
evan82
2158023d4c
Merge pull request #139 from UdjinM6/fix_more_usage_of_IsDenominatedAmount
...
use IsDenominatedAmount instead of loops and GetInputDarksendRounds where applicable
2015-01-30 07:41:59 -07:00
evan82
366435253f
Merge pull request #138 from UdjinM6/fix_AvailableCoins
...
always get only confirmed coins by AvailableCoins for every DS relative action
2015-01-30 07:40:13 -07:00
vertoe
83c0c532f6
Pull translations from transifex.
2015-01-30 15:03:21 +01:00
vertoe
6adc5031b3
Add darkcoin translations to makefiles
2015-01-30 14:27:28 +01:00
vertoe
42980cc44b
Add darkcoin translations
2015-01-30 14:25:14 +01:00
vertoe
a5ef471326
Fix translation makefiles and documentation.
2015-01-30 12:31:22 +01:00
vertoe
64438577e0
Prepare transifex integration.
2015-01-30 11:39:55 +01:00
UdjinM6
bf45840527
fix coin control crash https://github.com/bitcoin/bitcoin/pull/5700
2015-01-30 04:13:14 +03:00
UdjinM6
1ecbfd09d7
prevent running DoAutomaticDenominating while IsInitialBlockDownload
2015-01-30 01:19:41 +03:00
UdjinM6
52dabd1166
always get only confirmed coins by AvailableCoins
2015-01-30 01:15:04 +03:00
UdjinM6
84b0e6f587
use IsDenominatedAmount instead of loops and GetInputDarksendRounds where applicable
2015-01-29 13:36:18 +03:00
evan82
3edcf4beda
Merge pull request #137 from UdjinM6/fix_ds_progress
...
fix updateDarksendProgress / add isDenominatedAmount and GetNormalizedAnonymizedBalance - v0.11.1.x
2015-01-28 11:59:51 -07:00
UdjinM6
6f7f19fdcc
fix updateDarksendProgress / add isDenominatedAmount and GetNormalizedAnonymizedBalance
2015-01-28 10:35:17 +03:00
Evan Duffield
5c7b132841
version bump / enable IX
2015-01-27 14:52:31 -07:00
Evan Duffield
7fafe5d3e1
revert changes to WalletModel::getAnonymizedBalance()
2015-01-27 11:01:25 -07:00
Evan Duffield
11ec24bc36
version bump
2015-01-27 11:00:02 -07:00
evan82
1598d8e7a6
Merge pull request #134 from UdjinM6/fix_creating_denominated
...
fixing pre-mix process of creation denominated amounts
2015-01-27 10:57:35 -07:00
Evan Duffield
c6eba54e65
Much faster block processing
2015-01-27 07:46:06 -07:00
Evan Duffield
de8a436363
fix overpaying for DSTX
2015-01-27 07:29:25 -07:00
UdjinM6
287ea11a25
make collateral inputs from all available inputs but not from mn-like
2015-01-27 07:39:27 +03:00
UdjinM6
a07d637a48
don't use collateral amounts on CreateDenominated / make collateral inputs from all available coins and not only from non-denominated / IsCollateralAmount function
2015-01-27 07:13:34 +03:00
Evan Duffield
61b3ce76eb
Merge branch 'master' of https://github.com/darkcoin/darkcoin
2015-01-26 15:56:02 -07:00
Evan Duffield
69ca88c491
Darksend rounds default/litemode changes
...
4 rounds should be more than enough
2015-01-26 15:54:12 -07:00
evan82
61b84c9dd7
Merge pull request #132 from UdjinM6/fix_crash_coinsview
...
Catch UTXO set read errors and shutdown
2015-01-26 15:46:13 -07:00
Evan Duffield
71e074336b
Update dseg limitations
...
vecMasternodes.size() == 0 is a nearly impossible condition due to the behavior
of dseep. Each time a node receives a ping where it's unaware of the masternode
it will ask for the dsee from it's peer.
- if(c % 5 == 0 && (RequestedMasterNodeList <= 2 || vecMasternodes.size()
+ if(c % 5 == 0 && RequestedMasterNodeList < 3){
2015-01-26 11:03:36 -07:00
UdjinM6
144b24bee5
more fixes/cleanup/debug output to DS mixing
2015-01-26 00:18:26 +03:00
UdjinM6
9a4fac6bb6
fixing pre-mix process of creation denominated amounts
2015-01-25 02:57:55 +03:00
UdjinM6
aa544887d7
ported from 13cdce4336
2015-01-24 20:31:19 +03:00
Evan Duffield
385c532df8
Updated checkpoints
2015-01-24 07:51:34 -07:00
Evan Duffield
90ad641d39
Check pindexBestForkBase/phashBlock both for null
2015-01-23 13:44:25 -07:00
Evan Duffield
3b140b22d7
version bump
2015-01-23 07:56:30 -07:00
Evan Duffield
935ab9e252
Merge branch 'master' of https://github.com/darkcoin/darkcoin
2015-01-23 07:48:52 -07:00
Evan Duffield
26ebf1d7cb
Fixed segfault causes by coins view
2015-01-23 07:48:39 -07:00
evan82
f3710ec4de
Merge pull request #130 from UdjinM6/fix_mn_payments_percent_schedule_comments
...
fix mn payment comment - blocknumbers / new dates according to stats from last 50k blocks
2015-01-23 06:59:00 -07:00
evan82
782bcc6850
Merge pull request #129 from UdjinM6/fix_cmdline_help
...
add missing DS/MN/IX options descriptions in help output
2015-01-23 06:54:47 -07:00
evan82
05f511f740
Merge pull request #128 from UdjinM6/fix_allow_masternode_in_safemode
...
allow masternode commands execution while client is in safemode
2015-01-23 06:54:23 -07:00
UdjinM6
d7bd499722
fix mn payment comment - blocknumbers / new dates according to stats from last 50k blocks
2015-01-23 16:37:58 +03:00
Evan Duffield
7e087dadb9
Merge branch 'master' of https://github.com/darkcoin/darkcoin
2015-01-23 06:29:27 -07:00
Evan Duffield
3aa0a68e00
Check pindexBestForkBase->phashBlock for NULL reference
2015-01-23 06:29:06 -07:00
UdjinM6
bf312bcead
add missing DS/MN/IX options descriptions in help output
2015-01-22 19:31:52 +03:00
UdjinM6
2dc22e9dbe
allow masternode commands execution while client is in safe mode
2015-01-22 17:26:29 +03:00
UdjinM6
ed49131f96
fix dseg messaging / banning issue
2015-01-22 03:04:52 +03:00
Evan Duffield
70eb4efd2f
fixed
2015-01-21 16:12:04 -07:00
Evan Duffield
0918dab39b
fixed "masternode start" for remote masternodes after start
2015-01-21 14:57:02 -07:00
Evan Duffield
e6a937196d
version & protocol bump
2015-01-21 08:03:14 -07:00
Darkcoin
8f88c50035
Merge pull request #126 from UdjinM6/fix_ds_toggle_unlock
...
fix unlocking wallet on ds toggle event
2015-01-21 08:00:40 -07:00
Darkcoin
6ef9ba118b
Merge pull request #125 from UdjinM6/fix_ds_incorrect_txes
...
Fix incorrect DS txes + few small things including some cleanup / debugging
2015-01-21 08:00:01 -07:00
Evan Duffield
2c8d7299d7
Merge branch 'master' of https://github.com/darkcoin/darkcoin
2015-01-21 07:57:39 -07:00
Evan Duffield
78fe35f06d
Implemented DarkSend convertability
...
Darksend defaults to a new mode which enables inputs/outputs
of each session to be different. For example 10DRK can be input
and 1DRKx10 can be output. This strengthens the anonymity of
Darksend greatly, which also increasing the usability (Users who
run out of .1DRK denominations can simply turn on Darksend to
split up larger inputs).
2015-01-21 07:55:21 -07:00
UdjinM6
da96ad5063
fix unlocking wallet on ds toggle - should just check for passphrase here and then use the same conditions as unencrypted
2015-01-21 09:29:09 +03:00
UdjinM6
c91b5202b7
fix ds incorrect txes issue / lowestDenom logic / styling
2015-01-21 09:09:04 +03:00
Darkcoin
625e29334d
Merge pull request #110 from vertoe/devel-0.9-tools
...
Creat a tools menu with info, console and network items.
2015-01-20 14:34:13 -07:00
Evan Duffield
bbd869589c
Collateral issues / Exact denoms / Disabled denoms
...
- When attempting to connect to a masternode for submission into the pool a recursive call to DoAutoDenominate was used. This could possibly take more than 1 minute to complete if it found a string of bad masternodes, in which case the correct masternode was overwritten and replaced with an invalid one. Upon submission, the DS TX was given to the incorrect node causing collateral to be charged.
- To fix this I've removed the recursion and added a critical section to DoAutoDenominate.
- Exact input denominations are matched in PrepareDarksendDenominate to remove the possibility of having change in the pool
- Removed disabled denominations, not needed anymore
2015-01-20 10:33:52 -07:00
Evan Duffield
3322b029ec
replaced IsInitialBlockDownload with more basic/faster check
2015-01-20 03:39:04 -07:00
Evan Duffield
47bb25d853
disable checktimeout when disabled
2015-01-20 03:32:32 -07:00
Evan Duffield
678a43c35b
disable reference node code when key is not present
2015-01-20 03:02:11 -07:00
Evan Duffield
b40bfacb55
improved anonymity for smaller wallets
2015-01-20 02:42:15 -07:00
Evan Duffield
31215c3a63
print lite mode status in log
2015-01-20 02:10:57 -07:00
Evan Duffield
bbc44f415f
lite mode disable checks on block
2015-01-20 02:08:26 -07:00
Evan Duffield
2737edbbf3
Removed non-denomational inputs (UdjinM6)
...
Exact amounts are now allocated directly to denominated
funds then submitted to the pool. This improves anonymity
by never having non-denomination inputs enter or exit the pool.
Randomness has also been added to the amount of each session to
improve anonymity.
2015-01-19 20:12:10 -07:00
Evan Duffield
b7f436bb5c
version bump
2015-01-19 09:25:13 -07: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
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
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
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
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
crowning-
371a16a924
Non-void function should always return something.
2015-01-06 22:05:39 +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
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
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
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
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
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
Evan Duffield
3117b7d5f9
Merge branch 'v0.11.0.x' of https://github.com/darkcoin/darkcoin into v0.11.0.x
2014-12-26 13:02:49 -07:00
Evan Duffield
7fad12f623
Various Improved Darksend
...
- Progress bar is far more accurate now. It only takes into account the inputs that could possibly go into Darksend and ignores the rest.
- Darksend can support down to 1.5DRK now.
- New "masternode outputs" command for start-many
2014-12-26 13:00:56 -07:00
Darkcoin
9b710d2a86
Merge pull request #82 from UdjinM6/110_select_nondenom_first
...
when Darksend is unchecked select nondenom inputs first - for v0.11.0.x
2014-12-26 12:51:47 -07:00
Evan Duffield
80d2e3d067
Fixed progress bar calculation
...
division for amounts smaller than 1DRK were having issues.
fixed by dividing by CENT instead.
2014-12-26 08:39:47 -07:00
Evan Duffield
31ca8ad5f9
reducing lower limit to 1.5DRK
2014-12-25 20:58:58 -07:00
Evan Duffield
5eb3bcdcc0
Fixed darksend issues
2014-12-25 12:21:35 -07:00
Evan Duffield
039023d9c9
fixed Darksend settings
2014-12-25 11:20:18 -07:00
Evan Duffield
7604ace9be
Updated testnet configuration
2014-12-23 18:41:13 -07:00
Evan Duffield
8bc9cd7f48
fix testnet v3
2014-12-23 08:32:55 -07:00
UdjinM6
ae627a2109
fix crash(error thrown) on regtest block generation / slightly simplify _if_ for testnet detection
2014-12-23 06:17:20 +03:00
UdjinM6
f77b2d5943
when Darksend is unchecked select nondenom inputs first - for v11
2014-12-23 06:06:47 +03:00
Evan Duffield
67330fbb51
Added Darksend to v11
2014-12-22 19:30:19 -07:00
Evan Duffield
692ec7c328
Fix mn spam - UdjinM6
2014-12-22 18:23:04 -07:00
Evan Duffield
560bf9bc0b
Fix status update (darksend mixing stuck - UdjinM6)
2014-12-22 18:17:47 -07:00
Francis Reynders
b57bfe0b1e
Fixed lookup for correct vin in GetMasterNodeVin when txHash is available.
2014-12-16 18:45:43 +01:00
evan82
3a7f3f8dba
Merge pull request #72 from UdjinM6/110x_fix_sending_locking
...
fix wallet locking after sending coins
2014-12-14 07:49:38 -07:00
Francis Reynders
55cae78c3b
Improve support for start-many:
...
- refactored CActiveMasternode
- added masternodeconfig to handle remote masternode configuration
- read masternodeconfig upon init
- new masternode rpc commands: stop-many, start-alias, stop-alias, list-conf
- added notCapableReason field for better handling not capable issues
2014-12-14 06:06:39 +01:00
Evan Duffield
d3a5569807
Merge branch 'v-1.11.0.x' of https://github.com/darkcoin/darkcoin into v0.11.0.x
2014-12-13 08:18:20 -07:00
Evan Duffield
64de16ed10
prevent testnet from rejecting blocks missing masternode payments
2014-12-13 08:17:32 -07:00
crowning-
6b8fb97182
On client shutdown write directly into "peers.dat"...
...
...and not into a temporary file which gets renamed to "peers.dat" later.
This prevents softlinks from being replaced by a "real" file, see http://jira.darkcoin.qa/browse/DRK-122
Update of https://github.com/darkcoin/darkcoin/pull/63 to the new Bitcoin codebase.
2014-12-13 15:52:57 +01:00
Evan Duffield
5d14e8c6b3
Fixed testnet syncing issues
2014-12-12 15:19:02 -07:00
Evan Duffield
d87e4e6b55
Fixed testnet segfault issue causes by null pointer
2014-12-12 11:45:05 -07:00
UdjinM6
9db0eaa9b3
fix wallet locking after sending coins
2014-12-12 21:10:38 +03:00
vertoe
6e208f6625
Merge strings.
2014-12-12 13:00:21 +01:00
vertoe
adbd2274e0
Update strings.
2014-12-12 12:44:25 +01:00
donSchoe
c2cf2fb44c
Align with branch v0.11.0.x of darkcoin/darkcoin.
2014-12-11 22:46:43 +01:00
Evan Duffield
0184cf744d
Merged: fix CDarksendQueue::CheckSignature() failure by preventing COutPoint::ToString() to cut hash to 10 symbols only (UdjinM6)
2014-12-11 12:27:55 -07:00
Evan Duffield
56bf9fdb75
Fixed attribution and a few Bitcoin references
2014-12-11 12:10:05 -07:00
UdjinM6
43b2576253
fix walletpassphrase logic/params/description
2014-12-11 21:43:21 +03:00
Evan Duffield
9aac2038f1
Merged: Error message changed (crowning)
2014-12-11 09:01:39 -07:00
Evan Duffield
2a33377fc8
Merged: Typo in log output (crowning)
2014-12-11 08:58:38 -07:00
Evan Duffield
eb87b05ddf
Brought over 10.18 changes from old branch
2014-12-11 08:36:02 -07:00
Evan Duffield
78c5ca53f6
Merged in Darksend/InstantX/Masternodes
...
This doesn't include any of the changes in the darkcoin/v0.10.18.x branch. Those will be brought over into this commit history.
2014-12-11 08:10:35 -07:00
vertoe
c1aae9e3bd
Change init resource to darkcoin
2014-12-11 14:29:22 +01:00
UdjinM6
80c4636840
fix test_bitcoin -> test_darkcoin
2014-12-11 14:20:10 +01:00
UdjinM6
91795c25b1
fix broken build (UdjinM6)
2014-12-11 14:07:31 +01:00
vertoe
6662300900
Change sources to darkcoin*.
2014-12-10 00:35:43 +01:00
vertoe
8fbde6cfeb
Update rpc strings.
2014-12-10 00:22:01 +01:00
vertoe
6089696ade
Merge bitcoin core upstream commits
2014-12-09 23:42:56 +01:00
vertoe
e449d7b4e7
Change binaries to darkcoin*.
2014-12-09 23:38:13 +01:00
vertoe
828b6d38a1
Update strings.
2014-12-09 23:19:26 +01:00
Gregory Maxwell
0a94661e8d
Disable SSLv3 (in favor of TLS) for the RPC client and server.
...
TLS is subject to downgrade attacks when SSLv3 is available, and
SSLv3 has vulnerabilities.
The popular solution is to disable SSLv3. On the web this breaks
some tiny number of very old clients. While Bitcoin RPC shouldn't
be exposed to the open Internet, it also shouldn't be exposed to
really old SSL implementations, so it shouldn't be a major issue
for us to disable SSLv3.
There is more information on the downgrade attacks and disabling
SSLv3 at https://disablessl3.com/ .
Rebased-From: 683dc4009b
2014-12-09 15:22:28 +01:00
Pieter Wuille
bb424e4447
Limit the number of new addressses to accumulate
...
Rebased-From: 12a49cac0a
2014-12-09 15:17:21 +01:00
vertoe
8003eb484e
Fix internal wallet miner.
2014-12-06 22:56:38 +01:00
vertoe
6723c9ea10
Update private key versions.
2014-12-06 16:42:40 +01:00
vertoe
601457c2fe
Change Darkcoin units to DRK and added duffs.
2014-12-05 10:09:38 +01:00
vertoe
4f95ea2ada
Reset testnet (v4).
2014-12-05 09:25:30 +01:00
vertoe
4fca7b4677
Update branding to reflect this is a Darkcoin client.
2014-12-04 23:32:21 +01:00
vertoe
dcf8cb6cb5
Define regression test genesis.
2014-12-04 22:24:59 +01:00
vertoe
f8105535fe
Fix DGW v1 and v2 architecture issues.
2014-12-04 14:33:48 +01:00
vertoe
5a77c79d24
Fix testnet checkpoint.
2014-12-04 13:21:33 +01:00
vertoe
3d65ce730c
Update difficulty retarget to KGW and DGWv3.
2014-12-04 12:47:48 +01:00
vertoe
a63a38bed1
Update strings.
2014-12-04 12:47:16 +01:00
vertoe
311ee3ee74
Prepare KGW and DGWv3 implementation.
2014-12-02 12:43:06 +01:00
vertoe
41f1535135
Bump client and wallet version.
2014-12-02 09:48:47 +01:00
vertoe
e992aee09d
Update subsidity function.
2014-12-02 09:16:52 +01:00
vertoe
0e82f2f91c
Add full X11 implementation and block hashing
2014-11-29 12:29:14 +01:00
vertoe
f164aeaadc
Add sph sources to prepare X11 integration
2014-11-29 11:07:09 +01:00
vertoe
eb2afb2630
Add sph type definition to prepare X11 integration
2014-11-29 10:42:42 +01:00
vertoe
d5b70d0da9
Update checkpoints
2014-11-28 11:53:08 +01:00
vertoe
9279744a64
Update address versions and genesis block
2014-11-28 10:56:02 +01:00
vertoe
b0ad85593f
Update dns seeds
2014-11-27 18:56:59 +01:00
vertoe
dcdbfbcfe4
Update protocol versions
2014-11-27 18:29:18 +01:00
vertoe
aedda3b379
Change port to 9999 and rpcport to 9998
2014-11-27 18:09:11 +01:00
vertoe
5ba6751be7
Change , .conf and .pid files to darkcoin
2014-11-27 17:26:22 +01:00
Gregory Maxwell
cd5164aba2
Make -proxy set all network types, avoiding a connect leak.
...
Previously -proxy was not setting the proxy for IsLimited networks, so
if you set your configuration to be onlynet=tor you wouldn't get an
IPv4 proxy set.
The payment protocol gets its proxy configuration from the IPv4 proxy,
and so it would experience a connection leak.
This addresses issue #5355 and also clears up a cosmetic bug where
getinfo proxy output shows nothing when onlynet=tor is set.
Conflicts:
src/init.cpp
Rebased-From: 3c77714134
Github-Issue: #5358
2014-11-24 15:33:46 +01:00
Gavin Andresen
25b49b5b45
Refactor -alertnotify code
...
Refactor common -alertnotify code into static CAlert::Notify method.
2014-10-08 12:17:57 +02:00
Cory Fields
5b9f78d69c
build: Fix OSX build when using Homebrew and qt5
...
Qt5 is bottled, so configure won't find it without some help. Use
brew to find out its prefix.
Also, qt5 added the host_bins variable to pkg-config, use it.
2014-10-03 15:33:24 -04:00
Gavin Andresen
ea3c1b0806
Store fewer orphan tx by default, add -maxorphantx option
...
There is no reason to store thousands of orphan transactions;
normally an orphan's parents will either be broadcast or
mined reasonably quickly.
This pull drops the maximum number of orphans from 10,000 down
to 100, and adds a command-line option (-maxorphantx) that is
just like -maxorphanblocks to override the default.
2014-09-11 15:06:46 +02:00
shshshsh
af252082ef
Make max number of orphan blocks kept in memory a startup parameter ( fixes #4253 )
...
Rebased-From: 7b45d943b2
2014-09-11 15:06:46 +02:00
Gavin Andresen
6d911ada83
Stricter handling of orphan transactions
...
Prevent denial-of-service attacks by banning
peers that send us invalid orphan transactions
and only storing orphan transactions given to
us by a peer while the peer is connected.
Rebased-From: c74332c678
2014-09-11 15:06:42 +02:00
phantomcircuit
306a93b79e
remove useless millisleep
...
reduces time to service requests improving performance
Rebased-From: 9189f5fe4d
2014-09-11 11:20:48 +02:00
Jeff Garzik
6eb5410d8f
Avoid returning many "inv" orphans
...
Rebased-From: 540ac45
Rebased-By: Wladimir J. van der Laan <laanwj@gmail.com>
2014-09-10 17:05:31 +02:00
Wladimir J. van der Laan
d030936da2
Limit CNode::mapAskFor
...
Tighten resource constraints on CNode.
Rebased-From: d4168c8
Rebased-By: Wladimir J. van der Laan <laanwj@gmail.com>
2014-09-10 17:00:37 +02:00
Gavin Andresen
12927dd315
Fix crashing bug caused by orphan(s) with duplicate prevout.hash
...
Rebased-From: def2fdb
Rebased-By: Wladimir J. van der Laan
2014-09-10 16:56:54 +02:00
Wladimir J. van der Laan
c6727f34d1
Avoid repeated lookups in mapOrphanTransactions and mapOrphanTransactionsByPrev
...
Rebased-From: 89d91f6
Rebased-By: Wladimir J. van der Laan <laanwj@gmail.com>
2014-09-09 09:20:54 +02:00
Wladimir J. van der Laan
ea55881c3e
Filter translations through new update-translations script
...
This does not add any new messages from transifex, it just filters the
current ones.
2014-09-01 11:00:16 +02:00
Wladimir J. van der Laan
e6abbce8cd
qt: Language update for 0.9.3
2014-08-22 12:02:24 +02:00
Cory Fields
47c78c2966
libc-compat: add new symbol that's now needed
...
Rebased-From: 565e569
2014-08-21 18:07:05 +02:00
Cory Fields
0991401cdd
build: Fix boost build on some platforms
...
When the libpath doesn't line up with the value from config.sub, we don't find
the correct path to boost's libs. This adds a hack to try another path before
giving up.
Should close #3219 .
Rebased-From: 54c7df81
2014-08-21 17:54:09 +02:00
Cory Fields
f62031b895
qt: fix unicode character display on osx when building with 10.7 sdk
...
Conflicts:
src/qt/bitcoin.cpp
Rebased-From: 292cc072
2014-08-21 17:35:31 +02:00
Jeff Garzik
026b9dfd6e
Avoid querying DNS seeds, if we have open connections.
...
The goal is to increase independence and privacy.
Rebased-From: 2e7009d
2014-08-19 17:37:07 +02:00
Peter Todd
84fe0ffd68
Increase IsStandard() scriptSig length
...
Removes the limits on number of pubkeys for P2SH CHECKMULTISIG outputs.
Previously with the 500 byte scriptSig limit there were odd restrictions
where even a 1-of-12 P2SH could be spent in a standard transaction(1),
yet multisig scriptPubKey's requiring more signatures quickly ran out of
scriptSig space.
From a "stuff-data-in-the-blockchain" point of view not much has changed
as with the prior commit now only allowing the dummy value to be null
the newly allowed scriptSig space can only be used for signatures. In
any case, just using more outputs is trivial and doesn't cost much.
1) See 779b519480d8c5346de6e635119c7ee772e97ec872240c45e558f582a37b4b73
Mined by BTC Guild.
2014-08-18 15:34:29 +02:00
Peter Todd
fd0c4606bc
Check redeemScript size does not exceed 520 byte limit
...
redeemScripts >520bytes can't be spent due to the
MAX_SCRIPT_ELEMENT_SIZE limit; previously the addmultisigaddress and
createmultisig RPC calls would let you violate that limit unknowingly.
Also made the wallet code itself check the redeemScript prior to adding
it to the wallet, which in the (rare) instance that a user has added an
invalid oversized redeemScript to their wallet causes an error on
startup. The affected key isn't added to the wallet; other keys are
unaffected.
2014-08-18 15:34:29 +02:00
Wladimir J. van der Laan
4b57c5b3c7
Ignore too-long redeemScripts while loading wallet
...
This avoids that long redeemScripts that were grandfathered in
prevent the wallet from loading.
Fixes #4313 .
Rebased-From: 18116b0
2014-08-18 15:34:29 +02:00
Jeff Garzik
f8cdf4f937
base58: add paranoid return value checks
...
Rebased-From: 88df548
2014-08-18 15:34:29 +02:00
Andrew Poelstra
f6f4c83382
key.cpp: fail with a friendlier message on missing ssl EC support
...
Previously if bitcoind is linked with an OpenSSL which is compiled
without EC support, this is seen as an assertion failure "pKey !=
NULL" at key.cpp:134, which occurs after several seconds. It is an
esoteric piece of knowledge to interpret this as "oops, I linked
with the wrong OpenSSL", and because of the delay it may not even
be noticed.
The new output is
: OpenSSL appears to lack support for elliptic curve cryptography. For
more information, visit
https://en.bitcoin.it/wiki/OpenSSL_and_EC_Libraries
: Initialization sanity check failed. Bitcoin Core is shutting down.
which occurs immediately after attempted startup.
This also blocks in an InitSanityCheck() function which currently only
checks for EC support but should eventually do more. See #4081 .
Rebased-From: 4a09e1d
2014-08-18 15:34:29 +02:00
Trevin Hofmann
23826316d4
Add a new checkpoint at block 295,000
...
Block 295,000 seems to meet the criteria of a reasonable timestamp and
no strange transactions. 295,000 is the current block height in the
bootstrap.dat torrent provided by jgarzik.
Rebased-From: 125fba1
2014-08-18 15:34:29 +02:00
Pieter Wuille
a78996503f
Add a way to limit deserialized string lengths
...
and use it for most strings being serialized.
Rebased-From: 216e9a4
2014-08-18 15:34:29 +02:00
Pavel Vasin
0a6dcae508
AvailableCoins: acquire cs_main mutex
...
It's required when called from WalletModel
Rebased-From: ea3acaf
2014-08-18 15:34:28 +02:00
Ruben Dario Ponticelli
44d8e093ca
Avoid a segfault on getblock if it can't read a block from disk.
...
Rebased-From: 954d2e7
2014-08-18 15:34:28 +02:00
Julian Haight
bf75a3d3fd
qt: fix 'opens in testnet mode when presented with a BIP-72 link with no fallback'
...
Passes tests:
```
$ ./bitcoin-qt 'bitcoin:?r=http://www.example.com/ '
.. fixed the original problem - this launches mainnet.
$ ./bitcoin-qt 'bitcoin:mngeNQbTKnmaMbx8EXCYdwUbnt9JJD52cC'
.. launches testnet
$ ./bitcoin-qt -testnet 'bitcoin:1NXXeQRyMFFFRfyUix2o7mk1vhvk2Nxp78'
.. sanity check - launches mainnet.
```
Fixes #4355 . Closes #4411 .
Rebased-From: dd49e92
2014-08-18 15:34:28 +02:00
Zak Wilcox
221684c7ef
Clarify that redeemScript is often optional
...
Rebased-From: 6265ecc
2014-08-18 15:34:28 +02:00
Cory Fields
84efe0ec22
Remove bignum dependency for scripts
...
Rebased-From: 48d8eb1
27bff74
4f497cd
05e3ecf
90320d6
b1fdd54
2014-08-18 15:34:28 +02:00
Zak Wilcox
5baa4a90e3
In -? output: -keypool, -gen, -genproclimit depend on ENABLE_WALLET
...
Rebased-From: a7e1d50
2014-08-18 15:34:28 +02:00
Wladimir J. van der Laan
5332b0a429
Don't poll showmyip.com, it doesn't exist anymore
...
Fixes #4679 .
This leaves us with only one candidate, checkip.dyndns.org.
GetMyExternalIP should be phased out as soon as possible.
Rebased-From: c33b983
2014-08-18 15:11:15 +02:00
Wladimir J. van der Laan
6862c8ba99
Version bump for 0.9.3
2014-08-18 15:05:38 +02:00
Wladimir J. van der Laan
752ecec5cc
Remove NumBlocksOfPeers
...
Generally useless information. Only updates on connect time, not after
that. Peers can easily lie and the median filter is not effective in
preventing that.
In the past it was used for progress display in the GUI but
`CheckPoints::guessVerificationProgress` provides a better way that is now used.
It was too easy to mislead it. Peers do lie about it in practice, see issue #4065 .
From the RPC, `getpeerinfo` gives the peer raw values, which are more
useful.
2014-07-04 06:58:45 +02:00
Wladimir J. van der Laan
354c0f382b
Bump version to 0.9.2.1
2014-06-19 09:51:15 +02:00
Wladimir J. van der Laan
b64b1c6e9f
rpc: Add acceptors only when listening succeeded
...
Rebased-From: 6afa493
Rebased-By: Wladimir J. van der Laan <laanwj@gmail.com>
2014-06-19 09:41:25 +02:00
Wladimir J. van der Laan
a3788527a2
rpc: Ignore and log errors during cancel
...
Cancelling the RPC acceptors can sometimes result in an error about
a bad file descriptor.
As this is the shutdown sequence we need to continue nevertheless,
ignore these errors, log a warning and proceed.
Fixes #4352 .
2014-06-19 09:38:04 +02:00
Cory Fields
9d5b5c3a2d
Qt: Fix monospace font in osx 10.9
...
The "Monospace" hint was added in Qt 4.8, and it works as intended as opposed
to "TypeWriter" which fails to load a font.
Rebased-From: e9df7f8
Rebased-By: Wladimir J. van der Laan
2014-06-18 19:53:55 +02:00
Wladimir J. van der Laan
e39a3f2c69
qt: Periodic translation update
...
Rebased-From: db41541
Rebased-By: Wladimir J. van der Laan <laanwj@gmail.com>
2014-06-06 19:29:47 +02:00
Jeff Garzik
7ccadd4199
CWallet: fix nTimeFirstKey init, by making constructor init common code
...
Don't repeat yourself etc.
Rebased-From: d04fd3e
Rebased-By: Wladimir J. van der Laan <laanwj@gmail.com>
2014-06-06 19:26:15 +02:00
tm314159
eac2cdcab2
Properly initialize CWallet::nTimeFirstKey
...
Rebased-From: 91855f2
Rebased-By: Wladimir J. van der Laan <laanwj@gmail.com>
2014-06-03 08:54:45 +02:00
Huang Le
acb5356087
Use pnode->nLastRecv as sync score directly
...
NodeSyncScore() should find the node which we recv data most recently, so put a negative sign to pnode->nLastRecv is indeed wrong.
Also change the return value type to int64_t.
Signed-off-by: Huang Le <4tarhl@gmail.com>
Rebased-By: Wladimir J. van der Laan <laanwj@gmail.com>
Rebased-From: 09a54a6
2014-06-02 14:26:24 +02:00
Wladimir J. van der Laan
41b96da264
Periodic language update
...
Pull updated translations from Transifex before 0.9.2
Rebased-By: Wladimir J. van der Laan <laanwj@gmail.com>
Rebased-From: 11ef78f
2014-06-01 16:32:04 +02:00
Wladimir J. van der Laan
64e1082d7a
Set client version to release
...
No longer show the "Do not use..." banner.
2014-06-01 16:31:54 +02:00
Pieter Wuille
d6377e6a4a
Limit number of known addresses per peer
...
Rebased-By: Wladimir J. van der Laan <laanwj@gmail.com>
Rebased-From: 5823449
2014-06-01 09:54:00 +02:00
Cory Fields
3a4a66f47e
osx: Fix missing dock menu with qt5
...
Qt5 Removed the qt_mac_set_dock_menu function and left no replacement. It was
later re-added and deprecated for backwards-compatibility.
Qt5.2 adds the non-deprecated QMenu::setAsDockMenu(). Use that when possible.
Rebased-By: Wladimir J. van der Laan <laanwj@gmail.com>
Rebased-From: c21c74b
2014-05-30 10:20:50 +02:00
Pieter Wuille
2f89f4b35d
No references to centralized databases in help text.
...
Rebased-By: Wladimir J. van der Laan <laanwj@gmail.com>
Rebased-From: b5ef85c
2014-05-29 19:11:05 +02:00
Cozz Lovan
6fb75919de
[Qt] Fix Start bitcoin on system login
...
Rebased-By: Wladimir J. van der Laan <laanwj@gmail.com>
Rebased-From: 066d9a5
2014-05-29 08:25:36 +02:00
Wladimir J. van der Laan
48115f5313
qt: Periodic language update
...
Last-minute language update before release 0.9.2.
Rebased-By: Wladimir J. van der Laan <laanwj@gmail.com>
Rebased-From: a8a0db6
2014-05-23 17:59:26 +02:00
Wladimir J. van der Laan
a62649723b
Replace non-threadsafe gmtime and setlocale
...
Make DateTimeStrFormat use boost::posix_time.
Also re-enable the util_DateTimeStrFormat tests, as they are no
longer platform specific.
Rebased-By: Wladimir J. van der Laan <laanwj@gmail.com>
Rebased-From: 3e8ac6a
2014-05-23 16:04:02 +02:00
Wladimir J. van der Laan
e0036e9f0e
Replace non-threadsafe strerror
...
Log the name of the error as well as the error code if a network problem
happens. This makes network troubleshooting more convenient.
Use thread-safe strerror_r and the WIN32 equivalent FormatMessage.
Conflicts:
src/netbase.cpp
Rebased-By: Wladimir van der Laan <laanwj@gmail.com>
Rebased-From: a60838d
2014-05-23 16:03:43 +02:00
Pieter Wuille
2585310a22
Add missing LOCK(cs_main)
...
Rebased-By: Wladimir J. van der Laan <laanwj@gmail.com>
Rebased-From: 305ccaa
2014-05-21 14:15:42 +02:00
Wladimir J. van der Laan
ac1dd87f33
qt: Periodic language update
...
Rebased-By: Wladimir J. van der Laan <laanwj@gmail.com>
Rebased-From: 6fcdad7
2014-05-21 12:42:10 +02:00
Kamil Domanski
e917bdb563
remove ParseString(...) which is never used
...
Rebased-By: Wladimir J. van der Laan <laanwj@gmail.com>
Rebased-From: be54b87
2014-05-21 11:25:28 +02:00
Kamil Domanski
79144ac17d
switch from boost int types to <stdint.h>
...
Rebased-By: Wladimir J. van der Laan <laanwj@gmail.com>
Rebased-From: 4b61a6a
, 3e74ac2
, d56e30c
Github-Pull: #4129
2014-05-21 11:25:18 +02:00
Stuart Cardall
337459b96b
SetupEnvironment() - clean commit
...
Rebased-By: Wladimir J. van der Laan <laanwj@gmail.com>
Rebased-From: 5248ff4
2014-05-19 15:16:33 +02:00
Wladimir J. van der Laan
4b8a3ab877
qt: periodic language update
...
Pull updated translations from Transifex.
Add mn (Mongolian) language.
Do not update English translation for now as we want to keep
compatibility with 0.9.
Rebased-By: Wladimir J. van der Laan <laanwj@gmail.com>
Rebased-From: 795b921
2014-05-13 07:08:59 +02:00
Wladimir J. van der Laan
9f535d4104
rpc: keep track of acceptors, and cancel them in StopRPCThreads
...
Fixes #4156 .
The problem is that the boost::asio::io_service destructor
waits for the acceptors to finish (on windows, and boost 1.55).
Fix this by keeping track of the acceptors and cancelling them before
stopping the event loops.
Rebased-By: Wladimir J. van der Laan <laanwj@gmail.com>
Rebased-From: cef4494
2014-05-12 17:59:28 +02:00
Wladimir J. van der Laan
203a0cfa7c
rpc: Make sure conn object is always cleaned up
...
Make sure conn object always gets cleaned up by using a
`boost::shared_ptr`.
This makes valgrind happy - before this commit, one connection object
always leaked at shutdown, as well as can avoid other leaks, when
for example an exception happens.
Also add an explicit Close() to the !ClientAllowed path to make it similar
to the normal path (I'm not sure whether it is needed, but it
can't hurt).
Rebased-By: Wladimir J. van der Laan
Rebased-From: 1a44522
2014-05-12 17:56:55 +02:00
Wladimir J. van der Laan
1ed6d499b6
rpc: pass errors from async_accept
...
According to the [boost::asio documentation](http://www.boost.org/doc/libs/1_55_0/doc/html/boost_asio/reference/basic_socket_acceptor/async_accept/overload2.html ),
the function signature of the handler must be:
void handler(
const boost::system::error_code& error // Result of operation.
);
We were binding *all* the arguments, instead of all but the error,
resulting in nullary function that never got the error. Fix this
by adding an input argument substitution.
Rebased-By: Wladimir J. van der Laan <laanwj@gmail.com>
Rebased-From: 0a0cd34
2014-05-12 17:55:58 +02:00
Pieter Wuille
010e66188e
Move base58.h implementation code to base58.cpp
...
Rebased-By: Wladimir J. van der Laan <laanwj@gmail.com>
Rebased-From: f6b7c64
2014-05-12 14:57:02 +02:00
Wladimir J. van der Laan
72ae546dd4
Remove dummy PRIszX macros for formatting
...
Size specifiers are no longer needed now that we use typesafe tinyformat
for string formatting, instead of the system's sprintf.
No functional changes.
This continues the work in #3735 .
Rebased-By: Wladimir J. van der Laan <laanwj@gmail.com>
Rebased-From: 783b182
2014-05-12 14:02:43 +02:00
Pieter Wuille
26ceac4acf
Squashed 'src/leveldb/' changes from 9094c7f..7924331
...
42dcc7e Merge upstream LevelDB 1.17.
e353fbc Release LevelDB 1.17
269fc6c Release LevelDB 1.16
REVERT: 9094c7f Temporarily revert to writing .sst files instead of .ldb
git-subtree-dir: src/leveldb
git-subtree-split: 79243314e40ac31d79c68e5658a1d6a64800d50b
Rebased-By: Wladimir J. van der Laan <laanwj@gmail.com>
Rebased-From: 938b689
2014-05-12 11:30:33 +02:00
shshshsh
a39d4e3771
Switch stdout to line buffering
...
Use line buffering (instead of block buffering) so that messages arrive
immediately in systemd-journald, tail -f debug.log, and the like.
Rebased-By: Wladimir J. van der Laan <laanwj@gmail.com>
Rebased-From: 283e405
2014-05-12 08:27:37 +02:00