aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2015-10-22Set TCP_NODELAY on P2P sockets.Gregory Maxwell
Nagle appears to be a significant contributor to latency now that the static sleeps are gone. Most of our messages are relatively large compared to IP + TCP so I do not expect this to create enormous overhead. This may also reduce traffic burstyness somewhat.
2015-10-21Merge pull request #6859Wladimir J. van der Laan
41db8c4 http: Restrict maximum size of request line + headers (Wladimir J. van der Laan)
2015-10-21Merge pull request #6722Wladimir J. van der Laan
58254aa Fix stale comment in CTxMemPool::TrimToSize. (Matt Corallo) 2bc5018 Fix comment formatting tabs (Matt Corallo) 8abe0f5 Undo GetMinFee-requires-extra-call-to-hit-0 (Matt Corallo) 9e93640 Drop minRelayTxFee to 1000 (Matt Corallo) 074cb15 Add reasonable test case for mempool trimming (Matt Corallo) d355cf4 Only call TrimToSize once per reorg/blocks disconnect (Matt Corallo) 794a8ce Implement on-the-fly mempool size limitation. (Matt Corallo) e6c7b36 Print mempool size in KB when adding txn (Matt Corallo) 241d607 Add CFeeRate += operator (Matt Corallo) e8bcdce Track (and define) ::minRelayTxFee in CTxMemPool (Matt Corallo) 9c9b66f Fix calling mempool directly, instead of pool, in ATMP (Matt Corallo) 49b6fd5 Add Mempool Expire function to remove old transactions (Pieter Wuille) 78b82f4 Reverse the sort on the mempool's feerate index (Suhas Daftuar)
2015-10-20Merge pull request #6796Wladimir J. van der Laan
c7b36cc Change URLs to https in debian/control (Matt Corallo) e253e83 Update debian/changelog and slight tweak to debian/control (Matt Corallo)
2015-10-20Merge pull request #6235Wladimir J. van der Laan
55a8975 Chainparams: Translations: DRY: options and error strings (Jorge Timón) f3525e2 Chainparams: Replace CBaseChainParams::Network enum with string constants (suggested by Wladimir) (Jorge Timón)
2015-10-20http: Restrict maximum size of request line + headersWladimir J. van der Laan
Prevent memory exhaustion by sending lots of data. Also add a test to `httpbasics.py`. Closes #6425
2015-10-20Chainparams: Translations: DRY: options and error stringsJorge Timón
Also remove SelectBaseParamsFromCommandLine and SelectParamsFromCommandLine
2015-10-20Chainparams: Replace CBaseChainParams::Network enum with string constants ↵Jorge Timón
(suggested by Wladimir)
2015-10-20Merge pull request #6841Wladimir J. van der Laan
b6d5e32 Make fee aware of min relay in pruning.py RPC test (Alex Morcos)
2015-10-20Merge pull request #6801Wladimir J. van der Laan
e76d9e4 [depends] Latest config.guess and config.sub (fanquake)
2015-10-20Merge pull request #6827Wladimir J. van der Laan
bd4c22e [rpc-tests] Check return code (MarcoFalke) 0d8b175 [rpc-tests] fundrawtransaction: Update fee after minRelayTxFee increase (MarcoFalke)
2015-10-20Merge pull request #6853Wladimir J. van der Laan
7801f43 Added fPowNoRetargeting field to Consensus::Params that disables nBits recalculation. (Eric Lombrozo)
2015-10-20Merge pull request #6829Wladimir J. van der Laan
53b86d0 doc: add comment explaining initial header request (Daniel Kraft)
2015-10-20[rpc-tests] Check return codeMarcoFalke
2015-10-20[rpc-tests] fundrawtransaction: Update fee after minRelayTxFee increaseMarcoFalke
2015-10-19Added fPowNoRetargeting field to Consensus::Params that disables nBits ↵Eric Lombrozo
recalculation.
2015-10-19Merge pull request #6852Wladimir J. van der Laan
bfcdc21 build: make sure OpenSSL heeds noexecstack (Wladimir J. van der Laan)
2015-10-19Merge pull request #6837Wladimir J. van der Laan
0658d0b temporarily comment out rpcbind.py (Alex Morcos)
2015-10-19build: make sure OpenSSL heeds noexecstackWladimir J. van der Laan
This passes `-Wa,--noexecstack` to the assembler when building platform-specific assembly files, to signal that a non-executable stack can be used. This is the same approach as used by Debian (see https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=430583)
2015-10-19Merge pull request #6843Wladimir J. van der Laan
99963b9 Correct spelling mistakes in doc folder (Mitchell Cash)
2015-10-19Fix stale comment in CTxMemPool::TrimToSize.Matt Corallo
2015-10-19Merge pull request #6849Wladimir J. van der Laan
d2e3fbc Mention PHP bindings to libbitcoinconsensus (Thomas Kerin)
2015-10-18Mention PHP bindings to libbitcoinconsensusThomas Kerin
2015-10-18Correct spelling mistakes in doc folderMitchell Cash
- OSX —> OS X - XCode —> Xcode - github —> GitHub - homebrew —> Homebrew - gitian —> Gitian - Other miscellaneous obvious spelling fixes and whitespace removal
2015-10-17Make fee aware of min relay in pruning.py RPC testAlex Morcos
2015-10-16temporarily comment out rpcbind.pyAlex Morcos
until libevent is fixed. also remove duplicate commented-out forknotify.py.
2015-10-15Merge pull request #6820Wladimir J. van der Laan
60af755 build: univalue subdir build fixups (Cory Fields)
2015-10-15Merge pull request #6817Wladimir J. van der Laan
a0d5e0d [doc] Cleanup release-process documentation (Michael)
2015-10-15Merge pull request #6823Wladimir J. van der Laan
f8f2ace trivial: use constants for db keys (Daniel Kraft)
2015-10-15Merge pull request #6830Wladimir J. van der Laan
d57586f Add historical release notes for October 2015 bugfix releases (Micha)
2015-10-14Add historical release notes for October 2015 bugfix releasesMicha
[skip ci]
2015-10-14Fix comment formatting tabsMatt Corallo
2015-10-14Undo GetMinFee-requires-extra-call-to-hit-0Matt Corallo
2015-10-14doc: add comment explaining initial header requestDaniel Kraft
Add a comment that explains why the initial "getheader" requests are made starting from the block preceding the currently best one. Thanks to sdaftuar for the explanation!
2015-10-14[doc] Cleanup release-process documentationMichael
2015-10-13trivial: use constants for db keysDaniel Kraft
Replace literal occurances of the key "prefixes" 'c' and 'b' in txdb.cpp by the respective constants.
2015-10-13build: univalue subdir build fixupsCory Fields
- Force a rebuild if the headers change - Only build the lib target - Clean univalue on 'make clean'
2015-10-13Merge pull request #6810Wladimir J. van der Laan
7d325b9 zmq: point API link to 4.0 as that is what we are conforming to [Trivial] (Johnathan Corgan)
2015-10-13Merge pull request #6777Wladimir J. van der Laan
dcd8e27 Refer to obfuscate_key via pointer in peripheral CLevelDB classes (James O'Beirne) 1488506 Add tests for gettxoutsetinfo, CLevelDBBatch, CLevelDBIterator (James O'Beirne) 0fdf8c8 Handle obfuscation in CLevelDBIterator (James O'Beirne) 3499ce1 Encapsulate CLevelDB iterators cleanly (Pieter Wuille)
2015-10-13Merge pull request #6791Wladimir J. van der Laan
d0321a4 [doc] trivial: fix markdown syntax in qa/rpc-tests/README.md (MarcoFalke) 60a8b70 [doc] trivial: developer-notes.md covers more than just coding standards (MarcoFalke) 3507992 [trivial] Make optimize-pngs.py also cover share/pixmaps (MarcoFalke) 8a320c7 [trivial] Remove obsolete share/qt/make_windows_icon.sh (MarcoFalke)
2015-10-13Merge pull request #6798Wladimir J. van der Laan
700f52e Clarification of unit test build instructions. (Eric Lombrozo)
2015-10-13Merge pull request #6812Wladimir J. van der Laan
3a4a458 Update bluematt-key, the old one is long-since revoked (Matt Corallo)
2015-10-13Merge pull request #6788Wladimir J. van der Laan
3b1279f build: match upstream build change (Cory Fields) 313e7f5 Squashed 'src/univalue/' changes from 87d9045..5839ac3 (MarcoFalke)
2015-10-13Drop minRelayTxFee to 1000Matt Corallo
There is no exact science to setting this parameter, but 5000 (just over 1 US cent at the time of writing) is higher than the cost to relay a transaction around the network (the new benchmark due to mempool limiting).
2015-10-13Add reasonable test case for mempool trimmingMatt Corallo
2015-10-13Only call TrimToSize once per reorg/blocks disconnectMatt Corallo
2015-10-13Implement on-the-fly mempool size limitation.Matt Corallo
After each transaction which is added to mempool, we first call Expire() to remove old transactions, then throwing away the lowest-feerate transactions. After throwing away transactions by feerate, we set the minimum relay fee to the maximum fee transaction-and-dependant-set we removed, plus the default minimum relay fee. After the next block is received, the minimum relay fee is allowed to decrease exponentially. Its halflife defaults to 12 hours, but is decreased to 6 hours if the mempool is smaller than half its maximum size, and 3 hours if the mempool is smaller than a quarter its maximum size. The minimum -maxmempool size is 40*-limitdescendantsize, as it is easy for an attacker to play games with the cheapest -limitdescendantsize transactions. -maxmempool defaults to 300MB. This disables high-priority transaction relay when the min relay fee adjustment is >0 (ie when the mempool is full). When the relay fee adjustment drops below the default minimum relay fee / 2 it is set to 0 (re-enabling priority-based free relay).
2015-10-13Print mempool size in KB when adding txnMatt Corallo
2015-10-13Merge pull request #6807Wladimir J. van der Laan
3b363df Updated Prab's PGP Key -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 (Paul Rabahy)
2015-10-13Add CFeeRate += operatorMatt Corallo