14893 Commits

Author SHA1 Message Date
Adrian Gallagher
154dbfdb12
Litecoin: Add historical release notes 2018-01-21 19:50:14 -08:00
Adrian Gallagher
98d3c15325
Litecoin: Update seeds 2018-01-19 17:55:27 -08:00
Adrian Gallagher
42dddc2f9e
Litecoin: Adjust chainparams and blockchain size 2018-01-19 16:18:35 -08:00
Adrian Gallagher
11fd90dea3
Litecoin: Adjust STALE_CHECK_INTERVAL value for DoS_tests 2018-01-18 17:02:50 -08:00
Adrian Gallagher
d4a9d24930
Litecoin: Fix tests 2018-01-18 17:02:44 -08:00
Adrian Gallagher
98d755d140
Litecoin: Relax minrelayfee to prepare for fee drop in next release 2018-01-18 16:28:34 -08:00
Adrian Gallagher
05f8d743e8
Litecoin: Adjust license year range to 2018 2018-01-18 16:28:30 -08:00
ppm0
3fd09de6f0
change DEFAULT_MAX_MEMPOOL_SIZE to 300(MB) (#411)
issue #410
2018-01-18 16:28:28 -08:00
spl0i7
c20788a13e
freebsd compilation fix (#416) 2018-01-18 16:28:24 -08:00
Valtteri Koskivuori
dfefdeab8f
cherry-pick 1ec0c0a01c316146434642ab2f14a7367306dbec from BTC repo to fix build on macOS (#419) 2018-01-18 16:28:22 -08:00
Ryan Romanchuk
ecc1cc06e5
Making a note about ZeroMQ support (#420) 2018-01-18 16:28:19 -08:00
Adrian Gallagher
d3ef66b9fc
Litecoin: Update release notes 2018-01-18 16:28:17 -08:00
Adrian Gallagher
120952f18e
Litecoin: Re-enable RBF listtransaction tests 2018-01-18 16:28:15 -08:00
Charlie Lee
a9275c8d10
Litecoin: Rename mLTC/μLTC to lites/photons. (#375) 2018-01-18 16:28:13 -08:00
Adrian Gallagher
332efb2469
Litecoin: Update trusted keys
GPG keys for coblee, shaolinfry, thrasher and xinxi
2018-01-18 16:28:10 -08:00
Gerald Nash⚡️
826e81155f
Change references from BTC Core to LTC Core (#373)
In this commit, all references to `Bitcoin` or `Bitcoin Core` are replaced with `Litecoin` and `Litecoin Core`, respectively.  

In addition, I added a copyright line for *The Litecoin Core Developers* and provided the rightful attribution to the original `Bitcoin Core` team as per their MIT license.
2018-01-18 16:28:08 -08:00
Adrian Gallagher
83d36e7e24
Litecoin: Update Qt translations 2018-01-18 16:28:06 -08:00
Adrian Gallagher
dc8c90bddb
Litecoin: Update Travis 2018-01-18 16:28:05 -08:00
Adrian Gallagher
b6a8a1b28d
Litecoin: Update chainparams and blockchain size 2018-01-18 16:28:03 -08:00
Adrian Gallagher
98dcbd7856
Litecoin: Update hardcoded seeds 2018-01-18 16:28:00 -08:00
Romano
d8b8d96d23
Litecoin: enable support for SSE2 instructions in scrypt via configure --enable-sse2 (#362) 2018-01-18 16:27:56 -08:00
Adrian Gallagher
da8306292d
Litecoin: Adjust splashscreen for testnet/regtest 2018-01-18 16:27:55 -08:00
Adrian Gallagher
231fb558a9
Litecoin: Fix build system 2018-01-18 16:27:51 -08:00
Adrian Gallagher
d3fe529369
Litecoin: Update man files
# Conflicts:
#	doc/man/litecoin-cli.1
#	doc/man/litecoin-qt.1
#	doc/man/litecoin-tx.1
#	doc/man/litecoind.1
2018-01-18 16:27:49 -08:00
Adrian Gallagher
53aa681e0d
Litecoin: Fix various tests 2018-01-18 16:27:47 -08:00
Charlie Lee
e1ec1a548a
Set final alert message for Litecoin 2018-01-18 16:27:43 -08:00
romanornr
e9801c248d
Litecoin: Zeitgeist2 bool fshift bnNew.bits() 2018-01-18 16:27:41 -08:00
Adrian Gallagher
293d7cac1d
Litecoin: Adjust fee system
# Conflicts:
#	src/policy/policy.h
#	src/test/transaction_tests.cpp
#	src/wallet/wallet.h
#	test/functional/abandonconflict.py
#	test/functional/bumpfee.py
2018-01-18 16:27:39 -08:00
Adrian Gallagher
ec665bae20
Litecoin: Branding
# Conflicts:
#	.gitignore
#	contrib/seeds/README.md
#	doc/README.md
#	doc/README_windows.txt
#	doc/release-process.md
#	qa/rpc-tests/README.md
#	src/Makefile.qt.include
#	src/Makefile.qttest.include
#	src/Makefile.test.include
#	src/bitcoind.cpp
#	src/qt/forms/intro.ui
#	src/qt/test/test_main.cpp
#	src/rpc/mining.cpp
#	src/rpc/rawtransaction.cpp
#	src/validation.cpp
#	src/wallet/rpcdump.cpp
#	src/wallet/rpcwallet.cpp
2018-01-18 16:27:37 -08:00
Adrian Gallagher
a5d4ed049f
Litecoin: Fix copyright year value 2018-01-18 16:27:35 -08:00
Adrian Gallagher
b41ecc6feb
Litecoin: Protocol and default settings
0) Adjust BIP16 & BIP30 enforcement values

1) Reduce amount that peers can adjust our time to eliminate an attack vector. Thanks to
coblee for this fix.

2) Zeitgeist2 patch - thanks to Lolcust and ArtForz. This fixes an issue where a
51% attack can change difficulty at will. Go back the full period unless it's the
first retarget after genesis.

3) Avoid overflow in CalculateNextWorkRequired(). Thanks to pooler for the overflow fix.

4) SegWit ContextualCheckBlockHeader adjustment and extra coverage

5) Reject peer proto version below 70002. Thanks to wtogami for this patch.

6) Adjust default settings for Litecoin
2018-01-18 16:27:33 -08:00
Xinxi Wang
837ee5b597
Litecoin: M prefix added for script addresses 2018-01-18 16:27:29 -08:00
shaolinfry
6a61d434b3
Litecoin: Update gitian descriptors
# Conflicts:
#	contrib/gitian-descriptors/gitian-linux.yml
#	contrib/gitian-descriptors/gitian-osx.yml
#	contrib/gitian-descriptors/gitian-win.yml
2018-01-18 16:27:27 -08:00
ultragtx
ddbdcd482a
Litecoin: Fix various tests
# Conflicts:
#	.travis.yml
#	qa/README.md
#	qa/pull-tester/rpc-tests.py
#	qa/rpc-tests/test_framework/test_framework.py
#	src/test/README.md
#	src/test/blockencodings_tests.cpp
#	src/test/main_tests.cpp
#	src/test/pow_tests.cpp
#	src/test/test_bitcoin.cpp
#	test/functional/fundrawtransaction.py
#	test/functional/multi_rpc.py
#	test/functional/p2p-compactblocks.py
#	test/functional/test_framework/mininode.py
#	test/functional/test_framework/util.py
2018-01-18 16:27:25 -08:00
shaolinfry
c61a4c8126
Litecoin: Developer gpg keys 2018-01-18 16:27:23 -08:00
Martin Smith
dd764bb478
Litecoin: Add Litecoin logos and icons
# Conflicts:
#	share/pixmaps/nsis-header.bmp
#	share/pixmaps/nsis-wizard.bmp
2018-01-18 16:27:22 -08:00
shaolinfry
166fcb2aec
Litecoin: Add scrypt N=1024 PoW
# Conflicts:
#	src/txdb.cpp
2018-01-18 16:27:20 -08:00
shaolinfry
5c06f19e31
Litecoin: Adjust chain parameters 2018-01-18 16:27:13 -08:00
shaolinfry
fec11b7e9c
Litecoin: Move 0.13.2 release notes 2018-01-18 14:36:47 -08:00
Adrian Gallagher
4905522b3b
Litecoin: Update README.md 2018-01-18 14:36:47 -08:00
Wladimir J. van der Laan
7b57bc998f
Merge #11610: [0.15] Update release notes for 0.15.1
4fcb915 Update release notes for 0.15.1 (MeshCollider)

Pull request description:

  Adds info for the more notable changes since 0.15.0.1 to the release notes.

  ~Still needs the list of commits added too.~ (added in 2ce9e586d5)

Tree-SHA512: 54d30b1f0105d0d9d86a0dba017471bfa13b6bdd39fc4ee785cb515958c0f72874fb2d1e967076ac61762a16ff7b23b0eebc016f2ab0fb0aa9d6941fd6662042
2017-11-06 09:46:24 +01:00
MeshCollider
4fcb915944 Update release notes for 0.15.1 2017-11-06 12:13:02 +13:00
Wladimir J. van der Laan
2ce9e586d5
doc: Fill in 0.15.1 changelog and authors in release notes
Tree-SHA512: 569816ca62319650d803b2dd4bc3a8791aaea1f573cd52a9e2cf220dc1ec08180a66fbb0ac44441f6b9f48cb9041ce08f56ff2e864b58510308b9a4b6898f8e8
2017-11-05 14:59:38 +01:00
Pieter Wuille
f518d9ae6a
Merge #11592: 0.15: Backports
8195cb0d7 rpc: further constrain the libevent workaround (Cory Fields)
34153a7e4 rpc: work-around an upstream libevent bug (Cory Fields)
fc308a6cd Add unit test for stale tip checking (Suhas Daftuar)
2ed0647ac Add CConnmanTest to mutate g_connman in tests (João Barbosa)
a607a95d8 Connect to an extra outbound peer if our tip is stale (Suhas Daftuar)
459f2db42 Track tip update time and last new block announcement from each peer (Suhas Daftuar)
49bf09018 net: Allow connecting to extra outbound peers (Suhas Daftuar)
bb83fe190 Add release notes describing blockmaxweight deprecation (Matt Corallo)
4c82cea99 Use a sensible default for blockmaxweight (Matt Corallo)
7871a7d3b Deprecate confusing blockmaxsize, fix getmininginfo output (Matt Corallo)
6baa317b5 Fix minchainwork test for 0.15 backport (Suhas Daftuar)
55b7abfa8 Make p2p-acceptablock not an extended test (Matt Corallo)
5bec7744d [qa] test that invalid blocks on an invalid chain get a disconnect (Matt Corallo)
92d6105c4 Reject headers building on invalid chains by tracking invalidity (Matt Corallo)
51001d684 Accept unrequested blocks with work equal to our tip (Matt Corallo)
c6e4d0ce8 Stop always storing blocks from whitelisted peers (Matt Corallo)
e976c36dd Rewrite p2p-acceptblock in preparation for slight behavior changes (Matt Corallo)
ec8dedff4 net: Add missing lock in ProcessHeadersMessage(...) (practicalswift)
59b210d9a Disconnect outbound peers relaying invalid headers (Suhas Daftuar)
fc966bbd2 moveonly: factor out headers processing into separate function (Suhas Daftuar)
e3272242e Add unit test for outbound peer eviction (Suhas Daftuar)
9961abf9e Permit disconnection of outbound peers on bad/slow chains (Suhas Daftuar)
bf191a718 Disconnecting from bad outbound peers in IBD (Suhas Daftuar)
d570aa429 Fix uninitialized g_connman crash in Shutdown() (MeshCollider)
0a5477c7e net: stop both net/net_processing before destroying them (Cory Fields)
b4136f21c net: drop unused connman param (Cory Fields)
dc897e53d net: use an interface class rather than signals for message processing (Cory Fields)
8aee55af3 net: pass CConnman via pointer rather than reference (Cory Fields)
6f279652b Rename fAddnode to a more-descriptive "manual_connection" (Matt Corallo)
ffb6ea4e5 Add comment explaining forced processing of compact blocks (Suhas Daftuar)
2df65eeb9 qa: add test for minchainwork use in acceptblock (Suhas Daftuar)
3acec3878 Don't process unrequested, low-work blocks (Suhas Daftuar)
0e9d04bf0 [qa] Test nMinimumChainWork (Suhas Daftuar)
da4908c3a Allow setting nMinimumChainWork on command line (Suhas Daftuar)
41088795d qa: Remove never used return value of sync_with_ping (MarcoFalke)
f3457d0e8 qa: Make tmpdir option an absolute path (MarcoFalke)
9c8006dc3 Avoid opening copied wallet databases simultaneously (Russell Yanofsky)
de7053f11 [wallet] Fix leak in CDB constructor (João Barbosa)
fd79ed6b2 Ensure backupwallet fails when attempting to backup to source file (Tomas van der Wansem)
d94fc336c scripted-diff: rename assert_raises_jsonrpc to assert_raises_rpc error (John Newbery)
623de0acb [tests] do not allow assert_raises_message to be called with JSONRPCException (John Newbery)
5b728c8e9 [tests] remove direct testing on JSONRPCException from individual test cases (John Newbery)

Pull request description:

Tree-SHA512: 9fdb5c47844a899271023d8d445f7fc728e3ad71916490cd9783464684967594b07cda05dd644b722bfcea9fade74d06cfc501e1a68abf118d6d03fbbf7d7707
2017-11-03 15:42:50 -07:00
Cory Fields
8195cb0d7f rpc: further constrain the libevent workaround
The bug was introduced in 2.1.6-beta, versions before that don't need the
workaround.

Github-Pull: #11593
Rebased-From: 97932cd2689659addfbb58dc6148928b73af3bd0
2017-11-02 15:31:39 -04:00
Cory Fields
34153a7e4a rpc: work-around an upstream libevent bug
A rare race condition may trigger while awaiting the body of a message, see
upsteam commit 5ff8eb26371c4dc56f384b2de35bea2d87814779 for details.

This may fix some reported rpc hangs/crashes.

Github-Pull: #11593
Rebased-From: 6b58360f9b64eb0b680a662fdfd590e47f115f44
2017-11-02 15:31:18 -04:00
Wladimir J. van der Laan
f224cbc3d8
build: Bump version to 0.15.1
Tree-SHA512: d998b31250208078414a27431d21b847592bdb1e4bd7eb1df6bee7f67671a4124dcaa2971ebef52304528080ab2d2ff6553b7d7138d948a364e64fc4e37dacd3
2017-11-02 20:26:37 +01:00
Suhas Daftuar
fc308a6cdb Add unit test for stale tip checking
Github-Pull: #11560
Rebased-From: 626291508c433488439b662f2e88882048fb59fb
2017-11-02 15:18:56 -04:00
João Barbosa
2ed0647ac1 Add CConnmanTest to mutate g_connman in tests
Github-Pull: #11560
Rebased-From: 83df25736ebaa23777e965d265ed677a8d79f23f
2017-11-02 15:18:56 -04:00
Suhas Daftuar
a607a95d81 Connect to an extra outbound peer if our tip is stale
If our tip hasn't updated in a while, that may be because our peers are
not relaying blocks to us that we would consider valid. Allow connection
to an additional outbound peer in that circumstance.

Also, periodically check to see if we are exceeding our target number of
outbound peers, and disconnect the one which has least recently
announced a new block to us (choosing the newest such peer in the case
of tie).

Github-Pull: #11560
Rebased-From: ac7b37cd2bd612a64a4009ba82f1cd1d57f37434
2017-11-02 15:18:56 -04:00