11454 Commits

Author SHA1 Message Date
ultragtx
4c7884a78f Litecoin: scrypt related Makefile fixes 2016-12-18 19:58:01 -08:00
ultragtx
8e00781cb8 Litecoin: gitignore bench_litecoin instead of bench_bitcoin 2016-12-18 19:58:01 -08:00
ultragtx
a94127c6b4 Litecoin: Fix OSX app building 2016-12-18 19:58:01 -08:00
Adrian Gallagher
7ce159a482 Litecoin: Start fixing rpc-tests 2016-12-18 19:58:01 -08:00
Adrian Gallagher
6d611cb46e Litecoin: Fix generate for rpcmining 2016-12-18 19:58:01 -08:00
ultragtx
104874ecdd Litecoin: Fix tests for litecoin-tx 2016-12-18 18:22:41 -08:00
Adrian Gallagher
1b772126a8 Litecoin: Fix Qt tests 2016-12-18 18:22:41 -08:00
Adrian Gallagher
889f14dd7d Litecoin: Fix miner tests and update readme 2016-12-18 18:22:41 -08:00
Xinxi Wang
18eac9a16a Litecoin: Fix subsidy_limit_test & key_tests 2016-12-18 18:22:41 -08:00
Adrian Gallagher
30ae3aba41 Litecoin: Fix bloom_tests 2016-12-18 18:22:41 -08:00
pooler
8894bb89ce Litecoin: fix miner tests 2016-12-18 18:22:41 -08:00
ultragtx
91495000bd Litecoin: Fix rpc_tests and rpc_wallet_tests 2016-12-18 18:22:41 -08:00
ultragtx
593b40b2e5 Litecoin: Fix pow_tests 2016-12-18 18:22:41 -08:00
Warren Togami
d71129250b Litecoin: Reject peer proto version below 70002 2016-12-18 18:22:41 -08:00
Fancy
562835545c Litecoin: Fix base58 and block encoding tests 2016-12-18 18:22:40 -08:00
Martin Smith
6fa4dee167 Litecoin: Add Litecoin logos and icons 2016-12-18 18:22:40 -08:00
Xinxi Wang
f6cc96084f Litecoin: Reject v1 blocks at specific block height 2016-12-18 18:22:40 -08:00
Adrian Gallagher
3db030f6f4 Litecoin: Adjust BIP30 enforcement 2016-12-18 18:22:40 -08:00
Adrian Gallagher
d13e146966 Litecoin: Adjust BIP16 activation time 2016-12-18 18:22:40 -08:00
Xinxi Wang
8e641d9c65 Litecoin: Adjust chain parameters 2016-12-18 18:22:33 -08:00
Warren Togami
e30d65c009 Litecoin: Disable PoW Sanity check while loading block index from disk.
We use the sha256 hash for the block index for performance reasons, which is recorded for later use.
CheckProofOfWork() uses the scrypt hash which is discarded after a block is accepted.
While it is technically feasible to verify the PoW, doing so takes several minutes as it
requires recomputing every PoW hash during every Litecoin startup.
We opt instead to simply trust the data that is on your local disk.
2016-11-17 18:30:26 -08:00
Xinxi Wang
1f553b07cf Litecoin: Fix Zeitgeist2 attack and avoid overflow in CalculateNextWorkRequired()
Thanks to Lolcust and ArtForz for the Zeitgeist patch. 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.

Thanks to pooler for the overflow fix.
2016-11-17 18:30:26 -08:00
coblee
ec67a79b4f Litecoin: Reduce amount that peers can adjust our time to eliminate an attack vector. 2016-11-17 18:30:26 -08:00
Adrian Gallagher
7c872d7c4e Litecoin: Use Litecoin data directories 2016-11-17 18:30:26 -08:00
Warren Togami
ffdd5674a6 Litecoin: Scrypt n=1024 Pow hash based upon Colin Percival's Tarnsnap (2009)
Modified by Artforz, coblee, pooler, wtogami, Nikolay Belikov, Adrian Gallagher
2016-11-17 18:30:26 -08:00
Adrian Gallagher
0adc85de6c Litecoin: Update seed list 2016-11-17 18:30:26 -08:00
Adrian Gallagher
ce29465eb1 Litecoin: Adjust port strings 2016-11-17 18:30:26 -08:00
Adrian Gallagher
408797e7fe Litecoin: Adjust coin amount 2016-11-17 18:30:26 -08:00
Adrian Gallagher
cab730935d Litecoin: Update README.md 2016-11-17 18:30:26 -08:00
Adrian Gallagher
8145ff107c Litecoin: Update gitian descriptors 2016-11-17 18:30:26 -08:00
Adrian Gallagher
a0155235d8 Litecoin: String branding 2016-11-17 18:30:15 -08:00
Adrian Gallagher
3189e47d76 Litecoin: Build Litecoin binaries 2016-11-18 13:00:57 +11:00
Wladimir J. van der Laan
03422e564b
Merge #9022: Update release notes to mention dropping OS X 10.7 support
1d12463 Update release notes for dropping osx 10.7 support (Michael Ford)
2016-10-27 08:10:55 +02:00
Michael Ford
1d1246314f
Update release notes for dropping osx 10.7 support 2016-10-27 10:34:18 +08:00
Cory Fields
a32d7c23fc
release: bump required osx version to 10.8. Credit jonasschnelli.
libc++ on 10.7 causes too many issues.

See #8577 for discussion/details.

Github-Pull: #9015
Rebased-From: 339c4b6c3a8e68e4bba1969d144e413a462b68f1
2016-10-26 10:07:20 +02:00
MarcoFalke
58d4fa7da3
[net] Remove assert(nMaxInbound > 0)
nMaxInbound might very well be 0 or -1, if the user prefers to keep
a small number of maxconnections.

Note: nMaxInbound of -1 means that the user set maxconnections
to 8 or less, but we still want to keep an additional slot for
the feeler connection.

Github-Pull: #9008
Rebased-From: fa1c3c2eb0a1853ed0e0662fc2bdbca51e05ccf5
2016-10-25 19:29:23 +02:00
Wladimir J. van der Laan
cb69988572
Merge #9012: release-notes: Update from blog draft
99f5cf1 release-notes: Update from blog draft (Luke Dashjr)
2016-10-25 14:12:12 +02:00
Luke Dashjr
99f5cf1893 release-notes: Update from blog draft 2016-10-25 11:31:34 +00:00
Wladimir J. van der Laan
c9a5baddee
doc: Update blurb in release notes
Minor version, not major version.
2016-10-20 13:03:21 +02:00
Wladimir J. van der Laan
5f6b312e51
doc: Add missing credit to release notes
(Eric participated in Segwit work but has no direct commits, so should
be mentioned)
2016-10-20 12:27:43 +02:00
Wladimir J. van der Laan
6e8936032f
doc: Update release notes for rc2 2016-10-19 11:58:19 +02:00
Wladimir J. van der Laan
0dbc48a5bd
nMaxOutbound is MAX_OUTBOUND_CONNECTIONS on 0.13
Github-Pull: #8949
2016-10-19 11:50:15 +02:00
Wladimir J. van der Laan
53e6196a90
qt: pre-rc2 translations update 2016-10-19 11:48:12 +02:00
Luke Dashjr
7c2bf4b175
RPC/Mining: getblocktemplate: Update and fix formatting of help
Github-Pull: #8951
Rebased-From: 59daa58d6a17bb1170c724f2d01d43c2ec21a9b4
2016-10-19 11:24:22 +02:00
Gregory Maxwell
91ae0b06b9
Make dnsseed's definition of acute need include relevant services.
We normally prefer to connect to peers offering the relevant services.

If we're not connected to enough peers with relevant services, we
 probably don't know about them and could use dnsseed's help.

Github-Pull: #8949
Rebased-From: 46304791353d2bb61004a035869612620c30b4eb
2016-10-19 11:24:12 +02:00
Gregory Maxwell
33cd5539b2
Be more aggressive in connecting to peers with relevant services.
Only allow skipping relevant services until there are four outbound
 connections up.

This avoids quickly filling up with peers lacking the relevant
 services when addrman has few or none of them.

Github-Pull: #8949
Rebased-From: 9583477288072e203541b747fcffe8d50cfefb8d
2016-10-19 11:23:53 +02:00
Wladimir J. van der Laan
2c0913d0b3
Merge #8960: doc: update 0.13.1 release note info on linux arm builds
d179eed doc: update 0.13.1 release note info on linux arm builds [skip ci] (mruddy)
2016-10-18 18:35:31 +02:00
mruddy
d179eed6ca doc: update 0.13.1 release note info on linux arm builds
[skip ci]
2016-10-18 11:20:47 -04:00
Matt Corallo
685e4c78f8
Remove bogus assert on number of oubound connections.
This value can be significantly higher if the users uses addnode

Github-Pull: #8944
Rebased-From: 1ab21cf344ed0547de5ae679b7e479cb4b1a923b
2016-10-18 14:41:42 +02:00
Wladimir J. van der Laan
3f508edcfb
rpc: Generate auth cookie in hex instead of base64
Base64 contains '/', and the '/' character in credentials is problematic
for AuthServiceProxy which represents the RPC endpoint as an URI with
user and password embedded.

Closes #8399.

Github-Pull: #8858
Rebased-From: 1c80386bceb216ca5b5da657e03a29f9c779d58b
2016-10-18 14:41:17 +02:00