Pieter Wuille
ab1f56072a
Support -checkmempool=N, which runs checks on average once every N transactions
9 years ago
Wladimir J. van der Laan
c6de5cc886
Merge pull request #6796
...
c7b36cc
Change URLs to https in debian/control (Matt Corallo)
e253e83
Update debian/changelog and slight tweak to debian/control (Matt Corallo)
9 years ago
Wladimir J. van der Laan
e26a3f6713
Merge pull request #6235
...
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)
9 years ago
Wladimir J. van der Laan
41db8c4733
http: Restrict maximum size of request line + headers
...
Prevent memory exhaustion by sending lots of data.
Also add a test to `httpbasics.py`.
Closes #6425
9 years ago
Jorge Timón
55a89751fa
Chainparams: Translations: DRY: options and error strings
...
Also remove SelectBaseParamsFromCommandLine and SelectParamsFromCommandLine
9 years ago
Jorge Timón
f3525e24e3
Chainparams: Replace CBaseChainParams::Network enum with string constants (suggested by Wladimir)
9 years ago
Wladimir J. van der Laan
020c4073a0
Merge pull request #6841
...
b6d5e32
Make fee aware of min relay in pruning.py RPC test (Alex Morcos)
9 years ago
Wladimir J. van der Laan
ae69a75c55
Merge pull request #6801
...
e76d9e4
[depends] Latest config.guess and config.sub (fanquake)
9 years ago
Wladimir J. van der Laan
87e5539e9c
Merge pull request #6827
...
bd4c22e
[rpc-tests] Check return code (MarcoFalke)
0d8b175
[rpc-tests] fundrawtransaction: Update fee after minRelayTxFee increase (MarcoFalke)
9 years ago
Wladimir J. van der Laan
c834f56869
Merge pull request #6853
...
7801f43
Added fPowNoRetargeting field to Consensus::Params that disables nBits recalculation. (Eric Lombrozo)
9 years ago
Wladimir J. van der Laan
488f8517a1
Merge pull request #6829
...
53b86d0
doc: add comment explaining initial header request (Daniel Kraft)
9 years ago
MarcoFalke
bd4c22ed56
[rpc-tests] Check return code
9 years ago
MarcoFalke
0d8b1759d2
[rpc-tests] fundrawtransaction: Update fee after minRelayTxFee increase
9 years ago
Alex Morcos
d3b09f6bac
Do not allow blockfile pruning during reindex.
...
Also clarify startup message.
9 years ago
Eric Lombrozo
7801f4387d
Added fPowNoRetargeting field to Consensus::Params that disables nBits recalculation.
9 years ago
Wladimir J. van der Laan
da7d57fb95
Merge pull request #6852
...
bfcdc21
build: make sure OpenSSL heeds noexecstack (Wladimir J. van der Laan)
9 years ago
Wladimir J. van der Laan
5f5ee0f3ce
Merge pull request #6837
...
0658d0b
temporarily comment out rpcbind.py (Alex Morcos)
9 years ago
Wladimir J. van der Laan
bfcdc21a5d
build: make sure OpenSSL heeds noexecstack
...
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 )
9 years ago
Wladimir J. van der Laan
fc41278e96
Merge pull request #6843
...
99963b9
Correct spelling mistakes in doc folder (Mitchell Cash)
9 years ago
Matt Corallo
58254aa3bc
Fix stale comment in CTxMemPool::TrimToSize.
9 years ago
Wladimir J. van der Laan
5888046323
Merge pull request #6849
...
d2e3fbc
Mention PHP bindings to libbitcoinconsensus (Thomas Kerin)
9 years ago
Thomas Kerin
d2e3fbc620
Mention PHP bindings to libbitcoinconsensus
9 years ago
J Ross Nicoll
c6824f8a90
Add DERSIG transaction test cases
...
Add test cases for DERSIG flag enforcement against transactions.
9 years ago
Mitchell Cash
99963b938f
Correct spelling mistakes in doc folder
...
- OSX —> OS X
- XCode —> Xcode
- github —> GitHub
- homebrew —> Homebrew
- gitian —> Gitian
- Other miscellaneous obvious spelling fixes and whitespace removal
9 years ago
Alex Morcos
b6d5e32e0e
Make fee aware of min relay in pruning.py RPC test
9 years ago
Alex Morcos
0658d0ba82
temporarily comment out rpcbind.py
...
until libevent is fixed. also remove duplicate commented-out forknotify.py.
9 years ago
MarcoFalke
8c15f33d15
[trivial] Update contrib/devtools/README.md
9 years ago
MarcoFalke
338f62f701
[devtools] add clang-format.py
9 years ago
David Hill
b48da5c189
script: Remove magic numbers
...
This adds two new constants, MAX_OPS_PER_SCRIPT and
MAX_PUBKEYS_PER_MULTISIG.
9 years ago
Wladimir J. van der Laan
d78a880900
Merge pull request #6820
...
60af755
build: univalue subdir build fixups (Cory Fields)
9 years ago
Wladimir J. van der Laan
8ce9920635
Merge pull request #6817
...
a0d5e0d
[doc] Cleanup release-process documentation (Michael)
9 years ago
Wladimir J. van der Laan
fa6b405f05
Merge pull request #6823
...
f8f2ace
trivial: use constants for db keys (Daniel Kraft)
9 years ago
Wladimir J. van der Laan
34f200d140
Merge pull request #6830
...
d57586f
Add historical release notes for October 2015 bugfix releases (Micha)
9 years ago
Micha
d57586f91c
Add historical release notes for October 2015 bugfix releases
...
[skip ci]
9 years ago
Matt Corallo
2bc50187ee
Fix comment formatting tabs
9 years ago
Matt Corallo
8abe0f5658
Undo GetMinFee-requires-extra-call-to-hit-0
9 years ago
Daniel Kraft
53b86d0de5
doc: add comment explaining initial header request
...
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!
9 years ago
Michael
a0d5e0d2f4
[doc] Cleanup release-process documentation
9 years ago
Daniel Kraft
f8f2aceadd
trivial: use constants for db keys
...
Replace literal occurances of the key "prefixes" 'c' and 'b' in txdb.cpp
by the respective constants.
9 years ago
Cory Fields
60af755e56
build: univalue subdir build fixups
...
- Force a rebuild if the headers change
- Only build the lib target
- Clean univalue on 'make clean'
9 years ago
Wladimir J. van der Laan
a1d623da3e
Merge pull request #6810
...
7d325b9
zmq: point API link to 4.0 as that is what we are conforming to [Trivial] (Johnathan Corgan)
9 years ago
Wladimir J. van der Laan
9caaf6ed22
Merge pull request #6777
...
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)
9 years ago
Wladimir J. van der Laan
16faccb736
Merge pull request #6791
...
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)
9 years ago
Wladimir J. van der Laan
01f74999e3
Merge pull request #6798
...
700f52e
Clarification of unit test build instructions. (Eric Lombrozo)
9 years ago
Wladimir J. van der Laan
feea3057df
Merge pull request #6812
...
3a4a458
Update bluematt-key, the old one is long-since revoked (Matt Corallo)
9 years ago
Wladimir J. van der Laan
97bee37d4c
Merge pull request #6788
...
3b1279f
build: match upstream build change (Cory Fields)
313e7f5
Squashed 'src/univalue/' changes from 87d9045..5839ac3 (MarcoFalke)
9 years ago
Matt Corallo
9e93640be6
Drop minRelayTxFee to 1000
...
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).
9 years ago
Matt Corallo
074cb155c2
Add reasonable test case for mempool trimming
9 years ago
Matt Corallo
d355cf4420
Only call TrimToSize once per reorg/blocks disconnect
9 years ago
Matt Corallo
794a8cec5d
Implement on-the-fly mempool size limitation.
...
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).
9 years ago