| Commit message (Collapse) | Author | Age | Files | Lines |
| |\
| |
| |
| | |
30d9662 Reject invalid pubkeys when reading ckey items from the wallet. (Gregory Maxwell)
|
| | |
| |
| |
| |
| | |
This makes the behavior more consistent with key objects and will
reject some corrupted pubkeys (e.g. zero length).
|
| |\ \
| |/
|/|
| | |
e9e6163 Make -checkmempool=1 not fail through int32 overflow (Pieter Wuille)
|
| | | |
|
| |\ \
| | |
| | |
| | | |
0be387a unittest: fix test for null tx input (Daniel Kraft)
|
| | | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Update the unittest that is meant to catch a transaction that is invalid
because it has a null input. The old test failed not because of that
but because it was considered a coinbase with too large script. This is
already checked with a different test, though.
The new test is *not* a coinbase since it has two inputs, but one of
them is null. This really checks the corresponding code path in
CheckTransaction.
|
| |\ \ \
| | | |
| | | |
| | | | |
a83f3c2 Add explicit shared_ptr constructor due to C++11 error (Bob McElrath)
|
| | |/ / |
|
| |\ \ \
| |_|/
|/| |
| | |
| | |
| | |
| | | |
040c0ea Init: Cleanup error and warning strings (MarcoFalke)
6782f58 [trivial] Latest config.guess (MarcoFalke)
bf68191 [trivial] rpcnet: fix typo (MarcoFalke)
95f4291 [trivial] Rewrite help text for feature enabled by default (MarcoFalke)
|
| | | |
| | |
| | |
| | | |
Also update doc/translation_strings_policy.md
|
| | | | |
|
| |\ \ \
| | | |
| | | |
| | | | |
ad5aae1 constify missing catch cases (Philip Kaufmann)
|
| | | |/
| |/|
| | |
| | | |
- ensure all missing catch cases are constant where possible
|
| |\ \ \
| | | |
| | | |
| | | | |
214de7e [Trivial] ensure minimal header conventions (Philip Kaufmann)
|
| | |/ /
| | |
| | |
| | |
| | |
| | | |
- ensure header namespaces and end comments are correct
- add missing header end comments
- ensure minimal formatting (add newlines etc.)
|
| |\ \ \
| | | |
| | | |
| | | | |
ab1f560 Support -checkmempool=N, which runs checks on average once every N transactions (Pieter Wuille)
|
| | | | | |
|
| | |/ /
|/| | |
|
| |\ \ \
| | | |
| | | |
| | | | |
2d8c49d Clean up tx prioritization when conflict mined (Casey Rodarmor)
|
| | | | | |
|
| |\ \ \ \
| | | | |
| | | | |
| | | | | |
0d699fc fix locking issue with new mempool limiting (Jonas Schnelli)
|
| | | | | |
| | | | |
| | | | |
| | | | | |
Current master crashes on OSX with an exception: "boost: mutex lock failed in pthread_mutex_lock: Invalid argument"
|
| |\ \ \ \ \
| | | | | |
| | | | | |
| | | | | | |
7bbc7c3 Add option for microsecond precision in debug.log (Suhas Daftuar)
|
| | | | | | | |
|
| |\ \ \ \ \ \
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
17a073a Add RPC test for -maxuploadtarget (Suhas Daftuar)
872fee3 Introduce -maxuploadtarget (Jonas Schnelli)
|
| | | |/ / / /
| |/| | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
* -maxuploadtarget can be set in MiB
* if <limit> - ( time-left-in-24h-cycle / 600 * MAX_BLOCK_SIZE ) has reach, stop serve blocks older than one week and filtered blocks
* no action if limit has reached, no guarantee that the target will not be surpassed
* add outbound limit informations to rpc getnettotals
|
| |\ \ \ \ \ \
| | | | | | |
| | | | | | |
| | | | | | | |
143d173 Use BOOST_CHECK_MESSAGE() rather than BOOST_CHECK() in alerts_tests.cpp and initialize strMiscWarning before calling PartitionCheck()." (Eric Lombrozo)
|
| | |/ / / / /
| | | | | |
| | | | | |
| | | | | | |
initialize strMiscWarning before calling PartitionCheck()."
|
| |\ \ \ \ \ \
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
dea8d21 Enable policy enforcing GetMedianTimePast as the end point of lock-time constraints (Mark Friedenbach)
9d55050 Add rules--presently disabled--for using GetMedianTimePast as endpoint for lock-time calculations (Mark Friedenbach)
|
| | | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
constraints
Transactions are not allowed in the memory pool or selected for inclusion in a block until their lock times exceed chainActive.Tip()->GetMedianTimePast(). However blocks including transactions which are only mature under the old rules are still accepted; this is *not* the soft-fork required to actually rely on the new constraint in production.
|
| | |/ / / / /
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
lock-time calculations
The lock-time code currently uses CBlock::nTime as the cutoff point for time based locked transactions. This has the unfortunate outcome of creating a perverse incentive for miners to lie about the time of a block in order to collect more fees by including transactions that by wall clock determination have not yet matured. By using CBlockIndex::GetMedianTimePast from the prior block instead, the self-interested miner no longer gains from generating blocks with fraudulent timestamps. Users can compensate for this change by simply adding an hour (3600 seconds) to their time-based lock times.
If enforced, this would be a soft-fork change. This commit only adds the functionality on an unexecuted code path, without changing the behaviour of Bitcoin Core.
|
| |\ \ \ \ \ \
| | | | | | |
| | | | | | |
| | | | | | | |
10e2eae rpc: Add maxmempool and effective min fee to getmempoolinfo (Wladimir J. van der Laan)
|
| | | | | | | | |
|
| | |/ / / / /
|/| | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Until now there were quite a few leftovers, and only the coverage
related files in `src/` were cleaned, while the ones in the other dirs
remained. `qa/tmp/` is related to the BitcoinJ tests, and `cache/` is
related to RPC tests.
|
| |\ \ \ \ \ \ |
|
| | | | | | | | |
|
| | | | | | | | |
|
| | | |_|_|_|/
| |/| | | |
| | | | | |
| | | | | | |
Also, trim trailing whitespace.
|
| |\ \ \ \ \ \
| | | | | | |
| | | | | | |
| | | | | | | |
d3b09f6 Do not allow blockfile pruning during reindex. (Alex Morcos)
|
| | | |_|/ / /
| |/| | | |
| | | | | |
| | | | | | |
Also clarify startup message.
|
| |\ \ \ \ \ \
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
65ef372 Add BIP65 to getblockchaininfo softforks list (Peter Todd)
cde7ab2 Add RPC tests for the CHECKLOCKTIMEVERIFY (BIP65) soft-fork (Peter Todd)
287f54f Add CHECKLOCKTIMEVERIFY (BIP65) soft-fork logic (Peter Todd)
|
| | | | | | | | |
|
| | | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
Based on the earlier BIP66 soft-fork logic implemented by Pieter
Wuille's 5a47811da5158df763aa2fca09ce646ee0c51e7b
|
| |\ \ \ \ \ \ \
| | | | | | | |
| | | | | | | |
| | | | | | | | |
212bcca Add optional locktime to createrawtransaction (Tom Harding)
|
| | | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | | |
A non-zero locktime also causes input sequences to be set to
non-max, activating the locktime.
|
| |\ \ \ \ \ \ \ \
| | | | | | | | |
| | | | | | | | |
| | | | | | | | | |
b48da5c script: Remove magic numbers (David Hill)
|
| | | |_|/ / / / /
| |/| | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | | |
This adds two new constants, MAX_OPS_PER_SCRIPT and
MAX_PUBKEYS_PER_MULTISIG.
|
| |\ \ \ \ \ \ \ \
| |_|_|_|_|/ / /
|/| | | | | | |
| | | | | | | | |
a4e28b3 Set 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.
|
| |\ \ \ \ \ \ \
| | | | | | | |
| | | | | | | |
| | | | | | | | |
c6824f8 Add DERSIG transaction test cases (J Ross Nicoll)
|