Gregory Maxwell
0a48b680f8
Performance optimization for bloom filters.
...
This reduces a peer's ability to attack network resources by
using a full bloom filter, but without reducing the usability
of bloom filters. It sets a default match everything filter
for peers and it generalizes a prior optimization to
cover more cases.
11 years ago
Pieter Wuille
adf0e05d05
Remove inline LevelDB to prepare for git-subtree version
11 years ago
Gavin Andresen
0d90ac1b56
Simplify storage of orphan transactions
...
Orphan transactions were stored as a CDataStream pointer;
this changes the mapOrphanTransactions data structures to
store orphans as a CTransaction.
This also fixes CVE-2013-4627 by always re-serializing
transactions before relaying them.
11 years ago
Gavin Andresen
b1f636b161
Revert "Truncate oversize 'tx' messages before relaying/storing."
...
This reverts commit 7cc960f8f5
.
11 years ago
Gavin Andresen
5ee73ff86c
Make RPC password resistant to timing attacks
...
Fixes issue#2838; this is a tweaked version of pull#2845 that
should not leak the length of the password and is more generic,
in case we run into other situations where we need
timing-attack-resistant comparisons.
11 years ago
pooler
7446c4adc9
Update description of GetNetworkHashPS()
11 years ago
coblee
dbc5f6d7f4
Litecoin: Fix alert test
...
Protocol version is now 70002. So 70001 alerts no longer apply to us. But the test is still testing the alert notify behavior correctly because there is still one alert that applies.
11 years ago
pooler
de5250f938
Add a height parameter to getnetworkhashps
11 years ago
Warren Togami
1b5cb0866e
Litecoin version 0.8.3.7
11 years ago
Peter Todd
176e54c5f7
Add NODE_BLOOM service bit and option to disable bloom filters
11 years ago
Warren Togami
1877fb9aae
Litecoin: Unit test for scrypt_1024_1_1_256() hash
...
Uncomment the block.print(); in main.cpp below printf("received block ..."
if you want to capture raw input bytes and PoW hashes for testing.
11 years ago
Baruch Rutman
edb1e32bc1
Litecoin: Fix Hebrew translations, replace all bitcoin references with litecoin.
11 years ago
Warren Togami
6c984620fa
Litecoin version 0.8.3.6
11 years ago
Anton Yemelyanov
4fdc6ba448
Litecoin: Force splash text to look correct with Win32 font scaling
11 years ago
Rama McIntosh
ea1c057b67
Litecoin: MacOS X icon and deploy script
11 years ago
Warren Togami
378ff026d0
Litecoin: Reduce MinTxFee to 0.02 LTC
11 years ago
Anton Yemelyanov
ed20c26ef7
Litecoin: Splash layout and leather wallet artwork
11 years ago
Anton Yemelyanov
bd7c864288
Litecoin: Icons and Artwork
11 years ago
Warren Togami
0331f6e029
Litecoin: Localization tweaks for 0.8.3.x in src/qt/locale/*.ts
11 years ago
Warren Togami
25cf33b01d
Litecoin: User-visible strings s/bitcoin/litecoin/
...
Source filenames, comments and other aspects hidden to end-users are not renamed in an effort to minimize the diff.
11 years ago
coblee
5fd2fde9e4
Litecoin: Fix alert tests to use Litecoin alert key.
11 years ago
Warren Togami
56af6c44a5
Litecoin: Tests
11 years ago
Warren Togami
4014afe2e6
Litecoin: Build and Makefile changes
11 years ago
Pieter Wuille
3a619b01b3
Fix minor backward incompatibility
...
The key refactor changed the way unencrypted private keys with compressed
public key are stored in the wallet. Apparently older versions relied on
this to verify the correctness of stored keys.
Note that earlier pre-release versions do risk creating wallets that can
not be opened by 0.8.3 and earlier.
11 years ago
Warren Togami
4f21807de8
Litecoin: Runtime paths s/bitcoin/litecoin/
12 years ago
Warren Togami
3ce5732926
Litecoin: DUST_SOFT_LIMIT=0.01, DUST_HARD_LIMIT=0.0001, 250KB block soft limit, 100KB tx size limit
12 years ago
Adrian Gallagher
94bf538131
Litecoin: Remove native coin generation.
12 years ago
Warren Togami
de45a48874
Litecoin: temporarily disable v2 block lockin until future 95% miner vote to coincide with planned spam tx removal
12 years ago
Warren Togami
d8b855df41
Litecoin: Litecoin does not need special compat rule before Aug 15th BDB hardfork deadline because our standard block size is already comfortably 250KB.
12 years ago
Warren Togami
8bc9dbd316
Litecoin: BIP50 short-term limits to avoid 10,000 BDB lock until 15 August 2013
12 years ago
Warren Togami
0d1d058451
Litecoin: IsDust() detection disabled, allows any valid dust to be relayed. The fees imposed on each dust txo is considered sufficient spam deterrant.
12 years ago
Warren Togami
bb88edbd0f
Litecoin: Checkpoints
12 years ago
Warren Togami
a85d88ff10
Litecoin: Seeds
12 years ago
Warren Togami
3a9b5c718c
Litecoin: BIP16 began October 1st, 2012. BIP30 was never violated, make permanent.
12 years ago
Warren Togami
267715362c
Litecoin: getworkex DEPRECATED - will be removed in TBD future version
...
Who wrote this? Earliest reference is from litecoin-0.5.x
638f9b1b src/bitcoinrpc.cpp (Alex 2012-02-15 22:53:27 +0400
12 years ago
coblee
164ae00f46
Litecoin: Fix zeitgeist2 attack 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.
12 years ago
coblee
db4d8e21d9
Litecoin: improve dust spamming prevention algorithm to add base fee for each output that's less than a CENT
12 years ago
coblee
5e17fcb020
Litecoin: Reduce amount that peers can adjust our time to eliminate an attack vector.
12 years ago
coblee
2db43142bc
Litecoin: Add mininput to deal with dust spam. By default, mininput is set to 0.0001. This means that create transaction will ignore any transactions with an output value less than 0.0001. You can override the default by passing in -mininput on startup or by calling setmininput.
...
Historically this patch allowed wallets to perform without delay after the dust spam attack during November 2011.
12 years ago
coblee
3da6dc7302
Litecoin: getnetworkhashps
12 years ago
coblee
0b646aed42
Litecoin: Protocol, genesis and parameters * 2.5 minute average between blocks * 3.5 days between diff changes * 84 million coin limit * Addresses begin with L
12 years ago
Warren Togami
9b5ca659e4
Litecoin: Default TCP ports, mainnet 9333 testnet 19333 RPC ports, mainnet 9332 testnet 19332
12 years ago
pooler
d6e580d43f
Litecoin: Adapt scrypt code to C++
12 years ago
Warren Togami
2acab1baf1
Litecoin: Scrypt n=1024 Pow hash based upon Colin Percival's Tarnsnap (2009)
...
Modified by Artforz, coblee, and pooler
12 years ago
Warren Togami
9ab59ab97a
Litecoin: CLIENT_VERSION_IS_RELEASE = false
12 years ago
Jeff Garzik
cb3076a3da
Log reason for non-standard transaction rejection
12 years ago
Pieter Wuille
3b0b36e380
Fix build date for from-tarball builds
12 years ago
Pieter Wuille
44cada7590
Initialize database before checking changed txindex
...
In case no database exists yet, and -txindex(=1) is passed, we currently first
check whether fTxIndex differs from -txindex (and ask the user to reindex in
that case), and only afterwards initialize the database. By swapping these
around (the initialization is a no-op in case the database already exists),
we allow it to be born in txindex mode, without warning.
That also means we don't need to check -reindex anymore, as the wiping/reinit
of the databases happens before checking.
12 years ago
theuni
f85096b30a
fixed: don't use thread::sleep_for where it's known to be broken
...
Fixes #2690 .
12 years ago
theuni
8ae8e62355
fixed: include boost header as necessary
...
Without this include, sometimes BOOST_VERSION was defined and sometimes
it was not, depending on which includes came before it. The result was a
random mix of sleep or sleep_for for boost versions >= 1.50.
12 years ago