7887 Commits

Author SHA1 Message Date
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
Warren Togami
9780e91ac9 Merge remote-tracking branch 'bitcoin/0.10' into master-0.10 2015-04-16 20:10:00 -10:00
mrbandrews
57d1f46952
Fix CheckBlockIndex for reindex.
Some tests in CheckBlockIndex require chainActive.Tip(), but when reindexing, chainActive has not been set on the first call to CheckBlockIndex.

reindex.py starts a node, mines 3 blocks, stops, and reindexes with CheckBlockIndex enabled.

Rebased-From: 0421c18f3a261f04e83a03f59884e5798af74fd9
Github-Pull: #6012
2015-04-16 10:34:30 +02:00
Warren Togami
4056452c2f Litecoin: OSX signing 2015-04-15 20:51:45 -10:00
Warren Togami
7552167577 Litecoin: Korean s/비트코인/라이트코인/g 2015-04-15 17:45:11 -10:00
Matt Corallo
eae305f4c4
Fix missing lock in submitblock
Rebased-From: eb63bf86cf6dc99f150574463df6ffb013a34493
Github-Pull: #6007
2015-04-14 10:52:03 +02:00
Warren Togami
afc657b1af Litecoin v0.10.1.2 2015-04-12 21:08:44 -10:00
Warren Togami
41e961b3c6 Litecoin: Add CLIENT_VERSION_BUILD to version. 2015-04-12 20:02:21 -10:00
Warren Togami
38008f736f Litecoin Core v0.10.1.1 2015-04-12 12:31:50 -10:00
Warren Togami
ca24fa8ad7 Litecoin: Default minRelayTxFee and CWallet::minTxFee set by DEFAULT_TX_FEE
Miners can adjust the minimum fee per 1000 bytes they are willing to accept
with the -minrelaytxfee parameter.
2015-04-12 12:28:01 -10:00
Warren Togami
e76542af8c Litecoin: Rename to Litecoin in Translations
(with numerous exclusions)
2015-04-12 12:27:56 -10:00
Warren Togami
1cfb09639d Merge remote-tracking branch 'bitcoin/0.10' into exp-0.10-mark17
Conflicts:
	configure.ac
	doc/release-process.md
	src/clientversion.h
	src/qt/bitcoingui.cpp
2015-04-11 20:51:04 -10:00
Warren Togami
d9ec5086f0 Revert "Litecoin: Litecoin Qt Translations"
This reverts commit 49d11b4080e64ae25f2e492394ca23ad1054607c.
2015-04-11 16:47:49 -10:00
Wladimir J. van der Laan
34127c77cb
doc: update release notes pre rc2 2015-04-09 10:19:52 +02:00
Gavin Andresen
1c62e84099
Keep mempool consistent during block-reorgs
This fixes a subtle bug involving block re-orgs and non-standard transactions.

Start with a block containing a non-standard transaction, and
one or more transactions spending it in the memory pool.

Then re-org away from that block to another chain that does
not contain the non-standard transaction.

Result before this fix: the dependent transactions get stuck
in the mempool without their parent, putting the mempool
in an inconsistent state.

Tested with a new unit test (adapted for 0.10).

Rebased-From: ad9e86dca11dce023d827d342e966f3806c39d27
Github-Pull: #5945
2015-04-06 11:38:43 +02:00
Wladimir J. van der Laan
149c1d890d
doc: Credit Jonas Nick in release notes
For discovering the vulnerability and discussing the fix that led to PR #5860.
2015-04-06 09:27:41 +02:00
Wladimir J. van der Laan
24e48991d3
Merge pull request #5961
bf1cc80 Docs: Use new Bitcoin.org download URLs (David A. Harding)
2015-04-03 07:49:39 +02:00
David A. Harding
bf1cc80372
Docs: Use new Bitcoin.org download URLs
To give the torrents (which use web seeds) better names, we updated the
URL scheme on bitcoin.org/bin. This updates the release notes and
release doc accordingly, plus updates some other details based on recent
changes to the site.

[skip ci]
2015-04-02 10:38:38 -04:00
Wladimir J. van der Laan
9e1cc16296
doc: add historical release notes for 0.10.0
Rebased-From: 15facb4aca75122b6ae0dcc6f6e112127e6a0e59
2015-04-01 18:44:49 +02:00
Wladimir J. van der Laan
fe3122580e
update release notes for #5953/#5900 2015-04-01 17:27:54 +02:00
Wladimir J. van der Laan
2b7636c3d6
Merge pull request #5953
a1f425b Add a consistency check for the block chain data structures (Pieter Wuille)

This is a port of #5900 to 0.10.

Github-Pull: #5900
2015-04-01 17:26:33 +02:00
Wladimir J. van der Laan
ae1479a114
update release notes after #5941 2015-04-01 16:48:23 +02:00
Pieter Wuille
aa587d4cae
Scale up addrman
This change was suggested as Countermeasure 6 in
Eclipse Attacks on Bitcoin’s Peer-to-Peer Network, Ethan Heilman,
Alison Kendler, Aviv Zohar, Sharon Goldberg. ePrint Archive Report
2015/263. March 2015.

Rebased-From: 1d21ba2f5ecbf03086d0b65c4c4c80a39a94c2ee
Github-Pull: #5941
2015-04-01 16:39:55 +02:00
Pieter Wuille
0c6f334c32
Always use a 50% chance to choose between tried and new entries
This change was suggested as Countermeasure 2 in
Eclipse Attacks on Bitcoin’s Peer-to-Peer Network, Ethan Heilman,
Alison Kendler, Aviv Zohar, Sharon Goldberg. ePrint Archive Report
2015/263. March 2015.

Rebased-From: c6a63ceeb4956933588995bcf01dc3095aaeb1fc
Github-Pull: #5941
2015-04-01 16:39:36 +02:00
Pieter Wuille
214154e6fc
Do not bias outgoing connections towards fresh addresses
This change was suggested as Countermeasure 2 in
Eclipse Attacks on Bitcoin’s Peer-to-Peer Network, Ethan Heilman,
Alison Kendler, Aviv Zohar, Sharon Goldberg. ePrint Archive Report
2015/263. March 2015.

Rebased-From: 68ba3f67bd500a64fb8932c6b41924ddc31d76f
Github-Pull: #5941
2015-04-01 16:39:30 +02:00
Pieter Wuille
2218d4bbe0
Simplify hashing code
Conflicts:
	src/addrman.cpp

Rebased-From: a8ff7c62edc63c7c94bc91c30b80995539ed7477
Github-Pull: #5941
2015-04-01 16:38:54 +02:00
Pieter Wuille
cf0218f8b2
Make addrman's bucket placement deterministic.
Give each address a single fixed location in the new and tried tables,
which become simple fixed-size arrays instead of sets and vectors.

This prevents attackers from having an advantages by inserting an
address multiple times.

This change was suggested as Countermeasure 1 in
Eclipse Attacks on Bitcoin’s Peer-to-Peer Network, Ethan Heilman,
Alison Kendler, Aviv Zohar, Sharon Goldberg. ePrint Archive Report
2015/263. March 2015.

It is also more efficient.

Conflicts:
	src/addrman.cpp
	src/addrman.h

Rebased-From: e6b343d880f50d52390c5af8623afa15fcbc65a2
Github-Pull: #5941
2015-04-01 16:38:47 +02:00
Pieter Wuille
b788994256
Switch addrman key from vector to uint256
Conflicts:
	src/addrman.cpp

Rebased-From: b23add5521e4207085d41a0266617e94435fc22e
Github-Pull: #5941
2015-04-01 16:38:31 +02:00
Wladimir J. van der Laan
90bef6638f No notable changes for minor release 2015-03-30 11:26:36 +02:00
Pieter Wuille
a1f425b48b Add a consistency check for the block chain data structures
This adds a -checkblockindex (defaulting to true for regtest), which occasionally
does a full consistency check for mapBlockIndex, setBlockIndexCandidates, chainActive, and
mapBlocksUnlinked.
2015-03-27 17:24:07 -07:00
Wladimir J. van der Laan
4635a4c4e7
Translations update from transifex 2015-03-26 08:59:53 +01:00
Wladimir J. van der Laan
0eccf0ae30
Add commits (up to now) to release notes 2015-03-26 08:48:32 +01:00
Ruben de Vries
78f64ef0b2
don't trickle for whitelisted nodes
Rebased-From: fc720207e0e513e531b1f266b966a2ffa57b936a
Github-Pull: #5942
2015-03-26 08:39:00 +01:00
Wladimir J. van der Laan
a316622fd0
Clean out release notes for 0.10.1 2015-03-25 16:54:14 +01:00
Alex Morcos
1d2cdd2ef9
Fix InvalidateBlock to add chainActive.Tip to setBlockIndexCandidates
Rebased-From: cd3d67cf3b0d573d2c387c2ec35e8b52129863d9
Github-Pull: #5890
2015-03-24 14:51:36 +01:00
dexX7
c9e022b7ee Initialization: set Boost path locale in main thread
The path locale is lazy initialized and to avoid deinitialization errors
in multithreading environments, it is set explicitly by the main thread.

Conflicts:
	src/util.cpp
Rebased-From: 317e66c741aef0fd272e50aa2e82ff192ca5f7e5
Github-Pull: #5877
2015-03-24 08:45:24 +01:00
Wladimir J. van der Laan
10c09f98b2
Merge pull request #5926
8752b5c 0.10 fix for crashes on OSX 10.6 (Cory Fields)
2015-03-19 07:57:26 +01:00
Cory Fields
8752b5c882 0.10 fix for crashes on OSX 10.6
strnlen is available at build-time but not at runtime, causing a crash.

0.11 drops support for 10.6, so this is not needed in master.
2015-03-19 00:14:28 -04:00