UdjinM6
88646bd0d0
Rename fMasterNode
to fMasternodeMode
to clarify its meaning and to avoid confusion with CNode::fMasternode
( #1874 )
2018-01-26 04:11:01 +03:00
UdjinM6
f6d98422ca
Silence ratecheck_test ( #1873 )
2018-01-26 04:10:45 +03:00
UdjinM6
9cee4193b8
Separate .h generation from .json/.raw for different modules ( #1870 )
2018-01-24 16:29:24 +01:00
UdjinM6
83957f2d3b
Fix alertTests.raw.h (again) ( #1869 )
2018-01-24 14:27:08 +03:00
UdjinM6
c13afaad8b
Fix alertTests.raw.h generation ( #1868 )
2018-01-24 11:11:22 +03:00
Alexander Block
b84afb2512
Allow to filter for fully connected nodes when calling CopyNodeVector ( #1864 )
...
And use this where needed. This avoids warnings about unset version fields
and is also generally a good thing (we really should only communicate with
nodes we know are good)
2018-01-22 16:17:11 +03:00
Alexander Block
b97eecc058
Fix review nits
2018-01-22 08:05:44 +01:00
Alexander Block
ec81769605
Remove segwit related dash-tx tests
2018-01-21 22:50:55 +01:00
Alexander Block
4d651621ef
Update mainnet chainparams to use correct heights for BIP34/BIP65/BIP66
2018-01-21 14:29:06 +01:00
Alexander Block
3824192e42
Update testnet chainparams to use correct heights for BIP34/BIP65/BIP66
2018-01-21 14:29:06 +01:00
Alexander Block
9bc404a8cc
Add "setbip69enabled" RPC usable by tests only
...
Needed by fundrawtransaction tests which rely on the ordering not being
changed.
2018-01-21 14:14:34 +01:00
Russell Yanofsky
6bee150e8e
Require timestamps for importmulti keys
...
Additionally, accept a "now" timestamp, to allow avoiding rescans for keys
which are known never to have been used.
Note that the behavior when "now" is specified is slightly different than the
previous behavior when no timestamp was specified at all. Previously, when no
timestamp was specified, it would avoid rescanning during the importmulti call,
but set the key's nCreateTime value to 1, which would not prevent future block
reads in later ScanForWalletTransactions calls. With this change, passing a
"now" timestamp will set the key's nCreateTime to the current block time
instead of 1.
Fixes #9491
2018-01-21 14:14:34 +01:00
Alexander Block
611cb6f275
Fix new dash-tx tests
2018-01-21 14:14:34 +01:00
Alexander Block
86753a890d
Add spaces around + in updateGlobalFeeVariables
2018-01-21 14:14:34 +01:00
Alexander Block
771c56a79b
Fix new bitcoin-util-tests
2018-01-21 14:14:33 +01:00
Alexander Block
9e13bb393d
Fix transaction_tests.cpp
2018-01-21 14:14:33 +01:00
Alexander Block
cd0c910a88
Use new data structures for devnet checkpointData/chainTxData
2018-01-21 14:14:33 +01:00
Wladimir J. van der Laan
2cdafa0ca2
Merge #9671 : Fix super-unlikely race introduced in 236618061a445d2cb11e72
...
885cfdd Fix super-unlikely race introduced in 236618061a445d2cb11e72 (Matt Corallo)
2018-01-21 14:14:33 +01:00
MarcoFalke
4f6de16976
Merge #9525 : test: Include tx data in EXTRA_DIST
...
fa29736 test: Include tx data in EXTRA_DIST (MarcoFalke)
2018-01-21 14:14:33 +01:00
MarcoFalke
dd5ccf1cba
Merge #9406 : Re-enable a blank v1 Tx JSON test
...
b371732 Re-enable a blank v1 Tx JSON test (Douglas Roark)
2018-01-21 14:14:33 +01:00
MarcoFalke
660c027cd5
Merge #9510 : [trivial] Fix typos in comments
...
cc16d99 [trivial] Fix typos in comments (practicalswift)
2018-01-21 12:48:34 +01:00
Wladimir J. van der Laan
007dc59762
Merge #9637 : [Qt] fix transaction details output-index to reflect vout index
...
04b8773 [Qt] fix transaction details output-index to reflect vout index (Jonas Schnelli)
2018-01-21 12:48:34 +01:00
Wladimir J. van der Laan
6070cf111b
Merge #9519 : Exclude RBF replacement txs from fee estimation
...
de1ae32 Exclude RBF txs from fee estimation (Alex Morcos)
2018-01-21 12:48:34 +01:00
Jonas Schnelli
ccd81a00fc
Merge #9624 : [Trivial] fix logging typo in FlushStateToDisk()
...
ac9a846 [Trivial] fix logging typo in FlushStateToDisk() (John Newbery)
2018-01-21 12:48:33 +01:00
Wladimir J. van der Laan
dc523a1649
Merge #9371 : Notify on removal
...
094e4b3 Better document usage of SyncTransaction (Alex Morcos)
4afbde6 Introduce MemPoolConflictRemovalTracker (Alex Morcos)
ff25c32 mempool: add notification for added/removed entries (Wladimir J. van der Laan)
2018-01-21 12:48:33 +01:00
Pieter Wuille
3b2a26c4e7
Merge #9596 : [bugfix] save feeDelta instead of priorityDelta in DumpMempool
...
bd92f24 [bugfix] save feeDelta instead of priorityDelta in DumpMempool (Alex Morcos)
2018-01-21 12:48:33 +01:00
Wladimir J. van der Laan
119c3fe62f
Merge #9516 : Bug-fix: listsinceblock: use fork point as reference for blocks in reorg'd chains
...
7ba0a00 Testing: listsinceblock should not use orphan block height. (Karl-Johan Alm)
ee5c1ce Bug-fix: listsinceblock: use closest common ancestor when a block hash was provided for a chain that was not the main chain. (Karl-Johan Alm)
2018-01-21 12:48:33 +01:00
Wladimir J. van der Laan
9ba8a31d03
Merge #9583 : Move wallet callbacks into cs_main (this effectively reverts #7946 )
...
9899893 Move wallet callbacks into cs_main (this effectively reverts #7946 ) (Matt Corallo)
2018-01-21 12:48:33 +01:00
MarcoFalke
6bc16a66fb
Merge #9610 : [Trivial] Grammar and typo correction (laudaa)
...
5c66d41 [Trivial] Grammar and typo correction (Lauda)
2018-01-21 12:48:33 +01:00
MarcoFalke
cd04ccd2d9
Merge #9554 : [test] Avoid potential NULL pointer dereference in addrman_tests.cpp
...
afab9f4 [test] Avoid potential NULL pointer dereference in addrman_tests.cpp (practicalswift)
2018-01-21 12:48:33 +01:00
Wladimir J. van der Laan
c431a7f07a
trivial: squash missing field 'argNames' initializer warning in qt tests
...
The additional initializer is for the named arguments, which are unused
in the test (and unfilled global fields will be initialized to 0
anyhow), so this is a no-op apart from the warning.
2018-01-21 12:48:33 +01:00
Wladimir J. van der Laan
36109e0580
Merge #9377 : fundrawtransaction: Keep change-output keys by default, make it optional
...
c9f3062 Add fundrawtransactions new reserveChangeKey option to the release notes (Jonas Schnelli)
9eb325d [QA] Add test for fundrawtransactions new reserveChangeKey option (Jonas Schnelli)
9aa4e6a [Wallet] Add an option to keep the change address key, true by default (Jonas Schnelli)
2018-01-21 12:48:33 +01:00
Wladimir J. van der Laan
f8b880f4d8
Merge #9535 : Split CNode::cs_vSend: message processing and message sending
...
376b3c2 Make the cs_sendProcessing a LOCK instead of a TRY_LOCK (Matt Corallo)
d7c58ad Split CNode::cs_vSend: message processing and message sending (Matt Corallo)
2018-01-21 12:48:33 +01:00
Wladimir J. van der Laan
a84f8da136
Merge #9498 : Basic CCheckQueue Benchmarks
...
aad4cb5 Address ryanofsky feedback on CCheckQueue benchmarks. Eliminated magic numbers, fixed scoping of vectors (and memory movement component of benchmark). (Jeremy Rubin)
9f03110 Add Basic CheckQueue Benchmark (Jeremy Rubin)
2018-01-21 12:48:33 +01:00
Wladimir J. van der Laan
197fbea84b
Merge #9512 : Fix various things -fsanitize complains about
...
82e8baa Avoid boost dynamic_bitset in rest_getutxos (Pieter Wuille)
99f001e Fix memory leak in multiUserAuthorized (Pieter Wuille)
5a0b7e4 Fix memory leak in net_tests (Pieter Wuille)
6b03bfb Fix memory leak in wallet tests (Pieter Wuille)
f94f3e0 Avoid integer overflows in scriptnum tests (Pieter Wuille)
843c560 Avoid unaligned access in crypto i/o (Pieter Wuille)
2018-01-21 12:48:33 +01:00
MarcoFalke
be63fb7953
Merge #9508 : Remove unused Python imports
...
95bab82 Remove unused Python imports (practicalswift)
2018-01-21 12:48:33 +01:00
Pieter Wuille
3bd155bd5c
Merge #9561 : Wake message handling thread when we receive a new block
...
241d893 Wake message handling thread when we receive a new block (Matt Corallo)
f13914a Make WakeMessageHandler public (Matt Corallo)
2018-01-21 12:48:33 +01:00
Wladimir J. van der Laan
40dff103de
Merge #9380 : Separate different uses of minimum fees
...
eb30d1a Introduce -dustrelayfee (Alex Morcos)
7b1add3 Introduce -incrementalrelayfee (Alex Morcos)
daec955 Introduce -blockmintxfee (Alex Morcos)
2018-01-21 12:48:32 +01:00
Pieter Wuille
ad9b9251ac
Merge #9490 : Replace FindLatestBefore used by importmuti with FindEarliestAtLeast.
...
4b06e41 Add unit test for FindEarliestAtLeast (Suhas Daftuar)
997a98a Replace FindLatestBefore used by importmuti with FindEarliestAtLeast. (Gregory Maxwell)
2018-01-21 12:48:32 +01:00
Wladimir J. van der Laan
4408b2d147
Merge #9222 : Add 'subtractFeeFromAmount' option to 'fundrawtransaction'.
...
453bda6 Add 'subtractFeeFromOutputs' option to 'fundrawtransaction'. (Chris Moore)
2018-01-21 12:48:32 +01:00
Wladimir J. van der Laan
74bfe0b223
Merge #9261 : Add unstored orphans with rejected parents to recentRejects
...
dfbe0d5 Add unstored orphans with rejected parents to recentRejects (Alex Morcos)
2018-01-21 12:48:32 +01:00
Alexander Block
53820de3ef
Remove SegWit related code in dash-tx
2018-01-21 12:48:32 +01:00
Wladimir J. van der Laan
a0d089eda1
Merge #8883 : Add all standard TXO types to bitcoin-tx
...
0c50909 testcases: explicitly specify transaction version 1 (John Newbery)
b7e144b Add test cases to test new bitcoin-tx functionality (jnewbery)
61a1534 Add all transaction output types to bitcoin-tx. (jnewbery)
1814b08 add p2sh and segwit options to bitcoin-tx outscript command (Stanislas Marion)
2018-01-21 12:48:32 +01:00
Wladimir J. van der Laan
658479355e
Merge #9472 : Disentangle progress estimation from checkpoints and update it
...
df36371 Update estimated transaction count data (Pieter Wuille)
e356d9a Shorten variable names and switch to tx/s (Pieter Wuille)
6dd8116 Remove SIGCHECK_VERIFICATION_FACTOR (Pieter Wuille)
3641141 Move tx estimation data out of CCheckPointData (Pieter Wuille)
a4bac66 [MOVEONLY] Move progress estimation out of checkpoints (Pieter Wuille)
2018-01-21 12:48:32 +01:00
MarcoFalke
cee8cf1be6
Merge #9518 : Return height of last block pruned by pruneblockchain RPC
...
918d1fb Return height of last block pruned by pruneblockchain RPC (Russell Yanofsky)
2018-01-21 12:48:32 +01:00
MarcoFalke
294b8f70e2
Merge #9520 : Deprecate non-txindex getrawtransaction and better warning
...
db904db Deprecate non-txindex getrawtransaction and better warning (Pieter Wuille)
2018-01-21 12:48:32 +01:00
MarcoFalke
a0438d5347
Merge #9297 : Various RPC help outputs updated
...
54ee3fc RPC help updated (Michael Rotarius)
2018-01-21 12:48:32 +01:00
Pieter Wuille
819ea7484e
Merge #9507 : Fix use-after-free in CTxMemPool::removeConflicts()
...
fe7e593 Fix use-after-free in CTxMemPool::removeConflicts() (Suhas Daftuar)
2018-01-21 12:48:32 +01:00
Wladimir J. van der Laan
88b9aa45de
Merge #7871 : Manual block file pruning.
...
afffeea fixup! Add pruneblockchain RPC to enable manual block file pruning. (Russell Yanofsky)
1fc4ec7 Add pruneblockchain RPC to enable manual block file pruning. (mrbandrews)
2018-01-21 12:48:32 +01:00
Alexander Block
6132bfbe23
Use version 2 blocks for miner_tests
...
This is needed because Dashs chainparams start BIP34 on block 1 and
the removal of IsSuperMajority results in the checks to trigger
immediately in tests.
Also update miner_tests nonces
2018-01-21 12:48:31 +01:00