7774 Commits

Author SHA1 Message Date
Adrian Gallagher
72ece8bf54 Merge remote-tracking branch 'bitcoin/0.10' into master-0.10
Conflicts:
	src/main.h
2015-06-15 18:51:30 +10:00
Wladimir J. van der Laan
be6420407b
Add option -alerts to opt out of alert system
Make it possible to opt-out of the centralized alert system by providing
an option `-noalerts` or `-alerts=0`. The default remains unchanged.

This is a gentler form of #6260, in which I went a bit overboard by
removing the alert system completely.

I intend to add this to the GUI options in another pull after this.

Conflicts:
	src/init.cpp
	src/main.cpp

Github-Pull: #6274
Rebased-From: 02a6702a82a5b00e0e0351041dd3267308b7f319
2015-06-15 10:17:56 +02:00
Tom Harding
0fd8464458
Fix getbalance *
Chance "getbalance *" not to use IsTrusted.  The method and result
now match the "getbalance <specific-account>" behavior. In
particular, "getbalance * 0" now works.

Also fixed a comment -- GetGalance has required 1 confirmation
for many years, and the default "getbalance *" behavior matches
that.

Github-Pull: #6276
Rebased-From: 7d6a85ab5b1dc96e0f3f6f835f27bb81ba2af919
Rebased-By: @trasher-
2015-06-15 10:13:13 +02:00
Adrian Gallagher
8d99544165 Litecoin: Updated testnet alert key (Coblee's) 2015-06-11 19:02:18 +10:00
Adrian Gallagher
e8d394ab97 Litecoin: v0.10.2.2 release notes 2015-06-11 17:10:20 +10:00
Adrian Gallagher
a15c50e653 Litecoin Core v0.10.2.2 2015-06-11 17:05:03 +10:00
Adrian Gallagher
2f2d3f6ea2 Merge remote-tracking branch 'bitcoin/0.10' into master-0.10 2015-06-11 16:57:45 +10:00
Adrian Gallagher
f607d55aff Merge pull request #198 from Gitju/patch-2
Litecoin: String update s/Bitcoin/Litecoin/
2015-06-11 14:42:40 +10:00
Adrian Gallagher
1750a7bd14 Merge pull request #200 from thrasher-/master-0.10
Litecoin: Cosmetic string changes.
2015-06-11 14:42:02 +10:00
Luke Dashjr
09334e04a9
configure: Detect (and reject) LibreSSL
Rebased-From: a5a81f7354b3aa3e797d973a7e6840f0e50e6533
Github-Pull: #6244
2015-06-10 08:18:07 +02:00
Adrian Gallagher
b7f69edd34 Merge pull request #199 from Gitju/patch-3
Pid file is litecoind.pid
2015-06-09 21:36:07 +10:00
Adrian Gallagher
77eca5d2e9 Litecoin: Cosmetic string changes. 2015-06-09 16:08:34 +10:00
Gitju
960097a5ef Pid file is litecoind.pid 2015-06-08 18:10:38 +02:00
Gitju
3c7bd4be25 s/Bitcoin/Litecoin/ 2015-06-07 15:25:06 +02:00
Adrian Gallagher
91f92eede6 Merge pull request #197 from Gitju/patch-1
Litecoin: Update TCP port of Bitcoin in release notes.
2015-06-07 15:17:17 +10:00
Gitju
f7752e4d6d TCP port of Bitcoin
Bitcoin uses 8333
2015-06-06 14:44:34 +02:00
Wladimir J. van der Laan
181771b712
json: fail read_string if string contains trailing garbage
Change `read_string` to fail when not the entire input has been
consumed. This avoids unexpected, even dangerous behavior (fixes #6223).

The new JSON parser adapted in #6121 also solves this problem so in
master this is a temporary fix, but should be backported to older releases.

Also adds tests for the new behavior.

Github-Pull: #6226
Rebased-From: 4e157fc60dae5ca69933ea4c1585a2a078b4d957
2015-06-03 15:16:18 +02:00
Warren Togami
c70cbb9043 Merge branch 'master-0.10b' into master-0.10 2015-06-02 22:53:08 -07:00
Warren Togami
e2714d2082 Litecoin: v0.10.2.1 release notes 2015-06-02 22:52:34 -07:00
Luke Dashjr
ecc96f5ba9
Remove P2SH coinbase flag, no longer interesting
Github-Pull: #6203
Rebased-From: d449772cf69c01932fc5d72c46054815d6300b3c
2015-06-02 09:14:13 +02:00
Adrian Gallagher
49d5d31693 Merge pull request #196 from thrasher-/master-0.10
Litecoin: Update translation/misc strings.
2015-06-01 11:09:01 +10:00
Adrian Gallagher
d3abb35b2e Litecoin: Update strings. 2015-05-31 19:04:05 +10:00
Warren Togami
4abaf36df1 Merge remote-tracking branch 'origin/0.10' into master-0.10 2015-05-27 14:10:09 -07:00
Wladimir J. van der Laan
ebd7d8d78c
Parameter interaction: disable upnp if -proxy set
To protect privacy, do not use UPNP when a proxy is set. The user may
still specify -listen=1 to listen locally (for a hidden service), so
don't rely on this happening through -listen.

Fixes #2927.

Conflicts:
	src/init.cpp

Rebased-From: 8c35b6f3be218101630101806300cfd75be23f58
Github-Pull: #6153
2015-05-27 09:35:40 +02:00
Wladimir J. van der Laan
ae3d8f371a
Fix two problems in CSubNet parsing
Fix two CSubNet constructor problems:

- The use of `/x` where 8 does not divide x was broken, due to a
  bit-order issue

- The use of e.g. `1.2.3.4/24` where the netmasked bits in the network
  are not 0 was broken. Fix this by explicitly normalizing the netwok
  according to the bitmask.

Also add tests for these cases.

Fixes #6179. Thanks to @jonasschnelli for reporting and initial fix.

Rebased-From: b45c50ce511dbf541ea086ae40a3ad16ff06de0c
Github-Pull: #6186
2015-05-27 09:11:27 +02:00
Wladimir J. van der Laan
e4a7d51537
Simplify code for CSubnet
Simplify the code by using CAddress.ip directly, instead of the reversed
GetByte() semantics.

Rebased-From: 19e8d7be42039724b4893515ec6457d0187024a9
Github-Pull: #6186
2015-05-27 09:10:56 +02:00
Warren Togami
dd63d78fd2 Merge remote-tracking branch 'origin/0.10' into master-0.10
Conflicts:
	configure.ac
	src/clientversion.h
	src/qt/locale/bitcoin_be_BY.ts
	src/qt/locale/bitcoin_et.ts
	src/qt/locale/bitcoin_fr.ts
2015-05-21 23:14:54 -07:00
Warren Togami
214bde676c Merge remote-tracking branch 'origin/0.10' into master-0.10
Conflicts:
	src/qt/locale/bitcoin_be_BY.ts
	src/qt/locale/bitcoin_bg.ts
	src/qt/locale/bitcoin_cs.ts
	src/qt/locale/bitcoin_fi.ts
	src/qt/locale/bitcoin_pl.ts
	src/qt/locale/bitcoin_pt_BR.ts
	src/qt/locale/bitcoin_pt_PT.ts
	src/qt/locale/bitcoin_ro_RO.ts
	src/qt/locale/bitcoin_ru.ts
	src/qt/locale/bitcoin_sk.ts
	src/qt/locale/bitcoin_zh_TW.ts
2015-05-18 17:30:42 -07:00
Wladimir J. van der Laan
16f45600c8
doc: small amandment to release notes 2015-05-16 10:37:27 +02:00
Wladimir J. van der Laan
ff32503267
Release notes 0.10.2 2015-05-12 17:08:58 +02:00
Gregory Maxwell
da656068ec
Avoid crash on start in TestBlockValidity with gen=1.
When the internal miner is enabled at the start of a new node, there
 is an near instant assert in TestBlockValidity because its attempting
 to mine a block before the top checkpoint.

Also avoids a data race around vNodes.

Github-Pull: #6123
Rebased-From: bba7c249296a9a2f444e1035fef8f8b593ba2aaf
2015-05-12 16:38:04 +02:00
Wladimir J. van der Laan
49e4d14f75
Translations update 2015-05-12 16:33:04 +02:00
Wladimir J. van der Laan
d7e7727658
Preparations for 0.10.2 release 2015-05-12 16:23:53 +02:00
Jonas Schnelli
424ae6629b
don't imbue boost::filesystem::path with locale "C" on windows
fixes https://github.com/bitcoin/bitcoin/issues/6078

Github-Pull: #6093
Rebased-From: b3ffcdf91608d4435acfb9b0a6266a4073ffaf7f 3da78490073b04f52f0136e17b07246cc37bedf1
2015-05-10 14:26:22 +02:00
Wladimir J. van der Laan
9a5b88cc0c
Merge pull request #6114
824c011 wallet: fix boost::get usage with boost 1.58 (Cory Fields)
2015-05-07 10:08:45 +02:00
Cory Fields
824c011d16 wallet: fix boost::get usage with boost 1.58
Backport from master
2015-05-06 16:52:46 -04:00
Wladimir J. van der Laan
ebc0e41ede
qt: translation update for next 0.10 point release 2015-05-04 13:12:30 +02:00
Warren Togami
e94ff551e1 Litecoin Core v0.10.1.3 2015-04-29 19:40:35 -10:00
Warren Togami
ade0464b58 Litecoin: Exclude libbitcoin from binary distribution
Issue #192: For now nothing really uses this, so we are not going to complicate maintenance by renaming it just yet.
2015-04-29 19:35:01 -10:00
Warren Togami
cce61f0108 Litecoin: Release Notes for v0.10.1.3 2015-04-29 19:27:46 -10:00
Warren Togami
bca95b3dd3 Merge remote-tracking branch 'bitcoin/0.10' into master-0.10 2015-04-29 18:35:22 -10:00
Gregory Maxwell
d8ac901842
doc: improve credits in release notes 2015-04-25 10:05:13 +02:00
Wladimir J. van der Laan
bf8ad0dc6b
update release notes for 0.10.1rc3 2015-04-20 14:05:01 +02:00
Gregory Maxwell
139cd8177b
Cap nAttempts penalty at 8 and switch to pow instead of a division loop.
On hosts that had spent some time with a failed internet connection their
 nAttempts penalty was going through the roof (e.g. thousands for all peers)
 and as a result the connect search was pegging the CPU and failing to get
 more than a 4 connections after days of running (because it was taking so
 long per try).

Rebased-From: a784f90c9892f06b9fea4e7579f5eca3585482c3
Github-Pull: #6029
2015-04-20 13:59:19 +02:00
Suhas Daftuar
bac6fca3c9
Set nSequenceId when a block is fully linked
Also adds a test to CheckBlockIndex

Conflicts:
	src/main.cpp

Rebased-From: c1ecee8f723c2635fbd51100fa09acdb0cbec8a0
Github-Pull: #6010
2015-04-20 13:48:52 +02:00
Wladimir J. van der Laan
3a70613398
Merge pull request #6025
323de27 Initialization: setup environment before starting QT tests (dexX7)
7494e09 Initialization: setup environment before starting tests (dexX7)
df45564 Initialization: set fallback locale as environment variable (dexX7)
2015-04-20 13:44:11 +02:00
dexX7
323de27f4b
Initialization: setup environment before starting QT tests
The environment is prepared by the main thread to guard against invalid locale settings.
2015-04-18 16:06:22 +02:00
dexX7
7494e0915b
Initialization: setup environment before starting tests
The environment is prepared by the main thread to guard against invalid locale settings and to prevent deinitialization issues of Boost path, which can result in app crashes.
2015-04-18 16:06:20 +02:00
dexX7
df45564cf0
Initialization: set fallback locale as environment variable
The scope of `std::locale::global` appears to be smaller than `setenv("LC_ALL", ...)` and insufficient to fix messed up locale settings for the whole application.
2015-04-18 16:06:15 +02:00
Warren Togami
8cb2aa637d Litecoin: Protocol version 70003
Differentiates v0.10 from v0.8 which was 70002.
2015-04-16 20:13:15 -10:00