Pieter Wuille
eece63fa72
Switch blocks to a constant-space Merkle root/branch algorithm.
...
This switches the Merkle tree logic for blocks to one that runs in constant (small) space.
The old code is moved to tests, and a new test is added that for various combinations of
block sizes, transaction positions to compute a branch for, and mutations:
* Verifies that the old code and new code agree for the Merkle root.
* Verifies that the old code and new code agree for the Merkle branch.
* Verifies that the computed Merkle branch is valid.
* Verifies that mutations don't change the Merkle root.
* Verifies that mutations are correctly detected.
9 years ago
Pieter Wuille
ee60e5625b
Add merkle.{h,cpp}, generic merkle root/branch algorithm
9 years ago
Wladimir J. van der Laan
93e0514fd0
Merge pull request #7078
...
c434940
uint256::GetCheapHash bigendian compatibility (daniel)
9 years ago
Wladimir J. van der Laan
f3d0fdd392
Merge pull request #7114
...
9b63758
util: Don't set strMiscWarning on every exception (Wladimir J. van der Laan)
9 years ago
Wladimir J. van der Laan
d6454f6cb2
Merge pull request #7090
...
cde857f
Connect to Tor hidden services by default (Peter Todd)
9 years ago
Wladimir J. van der Laan
d8368a07ba
Merge pull request #7095
...
4ec3561
Replace scriptnum_test's normative ScriptNum implementation (Wladimir J. van der Laan)
9 years ago
Wladimir J. van der Laan
9502b7f634
Merge pull request #7083
...
faf12bc
OpenSSL 1.1.0: Fix text variant of the version number (MarcoFalke)
9 years ago
Wladimir J. van der Laan
2a94cd67e8
Merge pull request #6780
...
a46f87f
Initialize logging before we do parameter interaction (Jonas Schnelli)
df66147
Move -blocksonly parameter interaction to the new ParameterInteraction() function (Jonas Schnelli)
68354e7
[QT] Call inits parameter interaction before we create the options model (Jonas Schnelli)
411b05a
Refactor parameter interaction, call it before AppInit2() (Jonas Schnelli)
9 years ago
Wladimir J. van der Laan
9b63758974
util: Don't set strMiscWarning on every exception
...
Fixes #6809 - run-of-the-mill exceptions should not get into
strMiscWarning (which is reported by `getinfo`).
9 years ago
Wladimir J. van der Laan
5ca149a3db
Merge pull request #7053
...
2e29e7e
Globals: Remove a bunch of Params() calls from main.cpp: (Jorge Timón)
9 years ago
Jonas Schnelli
a46f87f0c1
Initialize logging before we do parameter interaction
9 years ago
Jonas Schnelli
df66147613
Move -blocksonly parameter interaction to the new ParameterInteraction() function
9 years ago
Jonas Schnelli
68354e75e9
[QT] Call inits parameter interaction before we create the options model
9 years ago
Jonas Schnelli
411b05ac95
Refactor parameter interaction, call it before AppInit2()
9 years ago
Wladimir J. van der Laan
0e935865b9
Merge pull request #6871
...
63b5840
Fix usage of local python-bitcoinlib (Peter Todd)
16a2f93
Fix incorrect locking of mempool during RBF replacement (Peter Todd)
97203f5
Port test to rpc-test framework (Suhas Daftuar)
20367d8
Add test for max replacement limit (Suhas Daftuar)
73d9040
Improve RBF replacement criteria (Suhas Daftuar)
b272ecf
Reject replacements that add new unconfirmed inputs (Peter Todd)
fc8c19a
Prevent low feerate txs from (directly) replacing high feerate txs (Peter Todd)
0137e6f
Add tests for transaction replacement (Peter Todd)
5891f87
Add opt-in full-RBF to mempool (Peter Todd)
9 years ago
Wladimir J. van der Laan
e92377fa7f
Merge pull request #6134
...
e304432
Pass reference to estimateSmartFee and cleanup whitespace (Suhas Daftuar)
56106a3
Expose RPC calls for estimatesmart functions (Alex Morcos)
e93a236
add estimateSmartFee to the unit test (Alex Morcos)
6303051
EstimateSmart functions consider mempool min fee (Alex Morcos)
f22ac4a
Increase success threshold for fee estimation to 95% (Alex Morcos)
4fe2823
Change wallet and GUI code to use new smart fee estimation calls. (Alex Morcos)
22eca7d
Add smart fee estimation functions (Alex Morcos)
9 years ago
Wladimir J. van der Laan
05d591839f
Merge pull request #5967
...
072e2f8
Alter assumptions in CCoinsViewCache::BatchWrite (Alex Morcos)
9 years ago
Wladimir J. van der Laan
9a3e1a59df
Merge pull request #7058
...
ffacd27
zmq: prepend zmq to debug messages (Daniel Cousens)
14075b1
init: add zmq to debug categories (Daniel Cousens)
cdcd816
init: amend ZMQ flag names (Daniel Cousens)
9 years ago
Wladimir J. van der Laan
f8a8e27a6a
Merge pull request #7069
...
fa472f3
[trivial] Fix -maxmempool InitError (MarcoFalke)
9 years ago
Peter Todd
cde857f2d9
Connect to Tor hidden services by default
...
Adds 127.0.0.1:9050 for the .onion proxy if we can succesfully connect
to the control port.
Natural followup to creating hidden services automatically.
9 years ago
Wladimir J. van der Laan
be281d8a83
Merge pull request #7087
...
9cf6688
Document both the peerbloomfilters and enforcenodebloom options. (Patick Strateman)
0f4dc53
Add enforcenodebloom option. (Patick Strateman)
b3caa9b
Move bloom filter filtering logic outside of command "switch" (giant if/else). (Patick Strateman)
9 years ago
Wladimir J. van der Laan
4ec3561eb3
Replace scriptnum_test's normative ScriptNum implementation
...
Compare against the scriptnum from Bitcoin Core 0.10 instead of OpenSSL.
Closes #7086 .
9 years ago
Wladimir J. van der Laan
2b2ddc558e
Merge pull request #7088
...
5ad5463
Squashed 'src/secp256k1/' changes from 2bfb82b..6c527ec (MarcoFalke)
9 years ago
Wladimir J. van der Laan
348b281f8a
Merge pull request #7092
...
392d3c5
build: Set osx permissions in the dmg to make Gatekeeper happy (Cory Fields)
9 years ago
daniel
c434940e83
uint256::GetCheapHash bigendian compatibility
9 years ago
Jonas Schnelli
26af1ac7cb
Merge pull request #7006
...
f71bfef
add UI help for -resetguisettings (Jonas Schnelli)
ae98388
[Qt] add startup option to reset Qt settings (Jonas Schnelli)
9 years ago
Cory Fields
392d3c5846
build: Set osx permissions in the dmg to make Gatekeeper happy
9 years ago
Wladimir J. van der Laan
b19fe277dd
Merge pull request #7075
...
4846543
Move time data log print to 'net' category to reduce log noise (tulip)
9 years ago
Suhas Daftuar
e30443244a
Pass reference to estimateSmartFee and cleanup whitespace
9 years ago
MarcoFalke
fa472f330f
[trivial] Fix -maxmempool InitError
9 years ago
Patick Strateman
9cf668844e
Document both the peerbloomfilters and enforcenodebloom options.
9 years ago
Patick Strateman
0f4dc53fd6
Add enforcenodebloom option.
...
Previously peers which implement a protocol version less than NO_BLOOM_VERSION
would not be disconnected for sending a filter command, regardless of the
peerbloomfilter option.
Many node operators do not wish to provide expensive bloom filtering for SPV
clients, previously they had to cherry pick the commit which enabled the
disconnect logic.
The default should remain false until a sufficient percent of SPV clients
have updated.
9 years ago
Wladimir J. van der Laan
02a0f348c2
Merge pull request #7066
...
5c2fd38
Add missing "blocktime" description to listtransactions help, fix formatting. (Pavel Janík)
9 years ago
Patick Strateman
b3caa9b7fa
Move bloom filter filtering logic outside of command "switch" (giant if/else).
...
Moving this logic outside of the "switch" makes it far simpler to
enable the forced disconnect by a parameter.
9 years ago
Wladimir J. van der Laan
72dccfc29d
Merge pull request #7045
...
2aa49ce
Bugfix: Use unique autostart filenames on Linux for testnet/regtest (Luke Dashjr)
9 years ago
Wladimir J. van der Laan
b1fcdec687
Merge pull request #7042
...
70899d7
[doc][trivial] Update Debian control description (fanquake)
2fcb849
[doc][trivial] Remove source forge from Debian watch. (fanquake)
9 years ago
Wladimir J. van der Laan
ed34e0577e
Merge pull request #7052
...
a0953cd
[qa] python-bitcoinrpc is no longer a subtree (MarcoFalke)
9 years ago
MarcoFalke
fa63e49b35
Merge commit '5ad54630935d1f340666de7bc9ffef9b8a1df296' into HEAD
9 years ago
MarcoFalke
5ad5463093
Squashed 'src/secp256k1/' changes from 2bfb82b..6c527ec
...
6c527ec Merge pull request #357
445f7f1 Fix for Windows compile issue
git-subtree-dir: src/secp256k1
git-subtree-split: 6c527eceee7f5105c33c98dfae24ffeffd71f7cf
9 years ago
MarcoFalke
faf12bc283
OpenSSL 1.1.0: Fix text variant of the version number
9 years ago
Wladimir J. van der Laan
f91e29fd4d
Merge pull request #7065
...
3522f49
http: add Boost 1.49 compatibility (Wladimir J. van der Laan)
9 years ago
Jorge Timón
2e29e7e247
Globals: Remove a bunch of Params() calls from main.cpp:
...
1) Chainparams: Explicit CChainParams arg for main:
-AcceptBlock
-AcceptBlockHeader
-ActivateBestChain
-ConnectTip
-InitBlockIndex
-LoadExternalBlockFile
-VerifyDB parametric constructor
2) Also pickup more Params()\. in main.cpp
3) Pass nPruneAfterHeight explicitly to new FindFilesToPrune() in main.cpp
9 years ago
Gregory Maxwell
0b0fc179ab
Merge pull request #7028
...
e16ee1c
[qa] Extend README.md (MarcoFalke)
cc97574
[qa] Split README.md to /qa and /qa/rpc-tests (MarcoFalke)
9 years ago
Gregory Maxwell
9cdd407ca5
Merge pull request #7029
...
c800c95
Remove unmaintained example test script_test.py (Suhas Daftuar)
9 years ago
Gregory Maxwell
c322652b71
Merge pull request #7046
...
80ae230
Improve log messages for blocks only violations. (Patick Strateman)
08843ed
Add relaytxes status to getpeerinfo (Peter Todd)
d8aaa51
Bail early in processing transactions in blocks only mode. (Patick Strateman)
3587f6a
Fix relay mechanism for whitelisted peers under blocks only mode. (Patick Strateman)
9 years ago
tulip
4846543ac5
Move time data log print to 'net' category to reduce log noise
9 years ago
Patick Strateman
80ae230a52
Improve log messages for blocks only violations.
9 years ago
Gregory Maxwell
31de2414c6
Merge pull request #7011
...
6531f17
Add mediantime field to getblock and getblockheader (Peter Todd)
7259769
Document new mediantime field in getblockchaininfo (Peter Todd)
c277a63
Clarify nLockTime-by-time comment in CheckFinalTx() (Peter Todd)
748321e
Add mediantime field to getblockchaininfo RPC call (Peter Todd)
9 years ago
Gregory Maxwell
616d61b20d
Merge pull request #6851
...
3e7c891
Optimisation: Store transaction list order in memory rather than compute it every need (Luke Dashjr)
9 years ago
Luke Dashjr
3e7c89196c
Optimisation: Store transaction list order in memory rather than compute it every need
...
Huge performance improvement (450%) for zapwallettxes
9 years ago