Gregory Maxwell
40cd32e835
Revert "Add rules--presently disabled--for using GetMedianTimePast as endpoint for lock-time calculations"
...
This reverts commit 9d55050773
.
As noted by Luke-Jr, under some conditions this will accept transactions which are invalid by the network
rules. This happens when the current block time is head of the median time past and a transaction's
locktime is in the middle.
This could be addressed by changing the rule to MAX(this_block_time, MTP+offset) but this solution and
the particular offset used deserve some consideration.
9 years ago
Gregory Maxwell
8537ecdfc4
Revert "Enable policy enforcing GetMedianTimePast as the end point of lock-time constraints"
...
This reverts commit dea8d21fc6
.
9 years ago
Wladimir J. van der Laan
02a95be977
qt: translation update prior to opening 0.12 translations
...
Also update transifex slug for new version.
9 years ago
Wladimir J. van der Laan
7497e805bd
tests: Initialize networking on windows
9 years ago
Wladimir J. van der Laan
a6e80e4017
Merge pull request #6883
...
c939792
Add BIP65 CHECKLOCKTIMEVERIFY to release notes (Peter Todd)
9 years ago
Pieter Wuille
0b9e9dca4e
Evict sigcache entries that are seen in a block
9 years ago
Pieter Wuille
830e3f3d02
Make sigcache faster and more efficient
9 years ago
Wladimir J. van der Laan
48b5b84ee5
Merge pull request #6906
...
30d9662
Reject invalid pubkeys when reading ckey items from the wallet. (Gregory Maxwell)
9 years ago
Wladimir J. van der Laan
d482c0a7b2
Merge pull request #6896
...
e9e6163
Make -checkmempool=1 not fail through int32 overflow (Pieter Wuille)
9 years ago
Jorge Timón
87cbdb8b41
Globals: Explicit Consensus::Params arg for main:
...
-CheckBlockIndex
-DisconnectTip
-GetTransaction
-InvalidateBlock
-ProcessGetData
-ReadBlockFromDisk
9 years ago
Luke Dashjr
a6efc01908
Bugfix: Omit wallet-related options from -help when wallet is disabled
9 years ago
Gregory Maxwell
30d9662bd7
Reject invalid pubkeys when reading ckey items from the wallet.
...
This makes the behavior more consistent with key objects and will
reject some corrupted pubkeys (e.g. zero length).
9 years ago
MarcoFalke
28313b83fc
[qt] Use fixed pitch font for the rpc console
...
Also:
* Preserve white space
* Make fixed font as large as default font
9 years ago
MarcoFalke
6342a4889b
Init: Use DEFAULT_TRANSACTION_MINFEE in help message
9 years ago
Wladimir J. van der Laan
725539ea03
Merge pull request #6863
...
0be387a
unittest: fix test for null tx input (Daniel Kraft)
9 years ago
Wladimir J. van der Laan
b28c229324
Merge pull request #6899
...
a83f3c2
Add explicit shared_ptr constructor due to C++11 error (Bob McElrath)
9 years ago
Wladimir J. van der Laan
b2ce2c1f0f
Merge pull request #6870
...
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)
9 years ago
Wladimir J. van der Laan
26752767df
Merge pull request #6894
...
3e187f2
Fix BIP65 p2p test (Suhas Daftuar)
9 years ago
Bob McElrath
a83f3c2426
Add explicit shared_ptr constructor due to C++11 error
9 years ago
MarcoFalke
040c0ea093
Init: Cleanup error and warning strings
...
Also update doc/translation_strings_policy.md
9 years ago
MarcoFalke
a9c73a130e
[wallet] Add comments for doxygen
9 years ago
MarcoFalke
6b0e622c25
[wallet] Refactor to use new MIN_CHANGE
...
* Introduce new constant MIN_CHANGE and use it instead of the
hardcoded "CENT"
* Add test case for MIN_CHANGE
* Introduce new constant for -mintxfee default:
DEFAULT_TRANSACTION_MINFEE = 1000
9 years ago
Alex Morcos
971a4e6b86
Lower default policy limits
...
Reduce the default limits on maximum number of transactions and the cumulative size of those transactions in both ancestor and descendant packages to 25 txs and 101kb total size.
9 years ago
Pieter Wuille
e9e616323b
Make -checkmempool=1 not fail through int32 overflow
9 years ago
Pieter Wuille
8daffe227b
Merge pull request #6891
...
ad5aae1
constify missing catch cases (Philip Kaufmann)
9 years ago
Pieter Wuille
4764f5db9d
Merge pull request #6892
...
214de7e
[Trivial] ensure minimal header conventions (Philip Kaufmann)
9 years ago
Pieter Wuille
e06c14fb59
Merge pull request #6776
...
ab1f560
Support -checkmempool=N, which runs checks on average once every N transactions (Pieter Wuille)
9 years ago
Pieter Wuille
8756c98642
Merge pull request #6895
...
4252cd0
Update to my new key (Pieter Wuille)
9 years ago
Pieter Wuille
93521a4f56
Merge pull request #6875
...
6e800c2
Add Pieter's new PGP key to verify-commits/trusted-keys (Matt Corallo)
1d94b72
Whitelist commits signed with Pieter's now-revoked key (Matt Corallo)
27252b7
Fix pre-push-hook regexes (Matt Corallo)
9 years ago
Gregory Maxwell
d0badb916e
Merge pull request #6865
...
298e040
Fix chainstate serialized_size computation (Pieter Wuille)
9 years ago
Pieter Wuille
4252cd09fd
Update to my new key
9 years ago
Matt Corallo
6e800c2b41
Add Pieter's new PGP key to verify-commits/trusted-keys
9 years ago
Pieter Wuille
298e040bca
Fix chainstate serialized_size computation
9 years ago
Suhas Daftuar
3e187f2acd
Fix BIP65 p2p test
...
create_coinbase() was being called with the wrong arguments
9 years ago
Daniel Kraft
0be387a536
unittest: fix test for null tx input
...
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.
9 years ago
Philip Kaufmann
214de7e54c
[Trivial] ensure minimal header conventions
...
- ensure header namespaces and end comments are correct
- add missing header end comments
- ensure minimal formatting (add newlines etc.)
9 years ago
Philip Kaufmann
ad5aae15b4
constify missing catch cases
...
- ensure all missing catch cases are constant where possible
9 years ago
Wladimir J. van der Laan
8f3b3cdee4
Merge pull request #6464
...
2d8c49d
Clean up tx prioritization when conflict mined (Casey Rodarmor)
9 years ago
Wladimir J. van der Laan
38369dda32
Merge pull request #6889
...
0d699fc
fix locking issue with new mempool limiting (Jonas Schnelli)
9 years ago
Wladimir J. van der Laan
2b625510d3
Merge pull request #6881
...
7bbc7c3
Add option for microsecond precision in debug.log (Suhas Daftuar)
9 years ago
Suhas Daftuar
7bbc7c314f
Add option for microsecond precision in debug.log
9 years ago
Wladimir J. van der Laan
7939164d89
Merge pull request #6622
...
17a073a
Add RPC test for -maxuploadtarget (Suhas Daftuar)
872fee3
Introduce -maxuploadtarget (Jonas Schnelli)
9 years ago
Wladimir J. van der Laan
dbc5ee821e
Merge pull request #6621
...
e04b0b6
added OS X documentation to doc/init.md (Kevin Cooper)
d4aa54c
added org.bitcoin.bitcoind.plist for launchd (OS X) (Kevin Cooper)
9 years ago
Wladimir J. van der Laan
c8322ff7f7
Merge pull request #6888
...
143d173
Use BOOST_CHECK_MESSAGE() rather than BOOST_CHECK() in alerts_tests.cpp and initialize strMiscWarning before calling PartitionCheck()." (Eric Lombrozo)
9 years ago
Suhas Daftuar
17a073ae06
Add RPC test for -maxuploadtarget
9 years ago
Jonas Schnelli
872fee3fcc
Introduce -maxuploadtarget
...
* -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
9 years ago
Jonas Schnelli
0d699fc821
fix locking issue with new mempool limiting
...
Current master crashes on OSX with an exception: "boost: mutex lock failed in pthread_mutex_lock: Invalid argument"
9 years ago
Wladimir J. van der Laan
ff057f41aa
Merge pull request #6566
...
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)
9 years ago
Wladimir J. van der Laan
26f5b34e88
Merge pull request #6877
...
10e2eae
rpc: Add maxmempool and effective min fee to getmempoolinfo (Wladimir J. van der Laan)
9 years ago
Wladimir J. van der Laan
10e2eae35c
rpc: Add maxmempool and effective min fee to getmempoolinfo
9 years ago