Alex Morcos
4afbde6028
Introduce MemPoolConflictRemovalTracker
...
Analogue to ConnectTrace that tracks transactions that have been removed from the mempool due to conflicts and then passes them through SyncTransaction at the end of its scope.
8 years ago
Wladimir J. van der Laan
ff25c32392
mempool: add notification for added/removed entries
...
Add notification signals to make it possible to subscribe to mempool
changes:
- NotifyEntryAdded(CTransactionRef)>
- NotifyEntryRemoved(CTransactionRef, MemPoolRemovalReason)>
Also add a mempool removal reason enumeration, which is passed to the
removed notification based on why the transaction was removed from
the mempool.
8 years ago
Pieter Wuille
71148b8947
Merge #9596 : [bugfix] save feeDelta instead of priorityDelta in DumpMempool
...
bd92f24
[bugfix] save feeDelta instead of priorityDelta in DumpMempool (Alex Morcos)
8 years ago
Wladimir J. van der Laan
727a798360
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)
8 years ago
Russell Yanofsky
5a00659b58
[wallet] Clarify getbalance help string to explain interaction with bumpfee
...
Documentation change only, no change in behavior.
8 years ago
Wladimir J. van der Laan
5cf3c60fcc
Merge #9607 : Remove redundant semicolons in Python code
...
5cdf106
Remove redundant semicolons in Python code (practicalswift)
8 years ago
Wladimir J. van der Laan
7884956414
Merge #9511 : Don't overwrite validation state with corruption check
...
116419e
Don't overwrite validation state with corruption check (Alex Morcos)
8 years ago
Wladimir J. van der Laan
eafba4e273
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)
8 years ago
MarcoFalke
ff58b1c3bd
Merge #9610 : [Trivial] Grammar and typo correction (laudaa)
...
5c66d41
[Trivial] Grammar and typo correction (Lauda)
8 years ago
Lauda
5c66d41b7f
[Trivial] Grammar and typo correction
...
Minor corrections in src\test\* .
8 years ago
MarcoFalke
0b96abc35f
Merge #9554 : [test] Avoid potential NULL pointer dereference in addrman_tests.cpp
...
afab9f4
[test] Avoid potential NULL pointer dereference in addrman_tests.cpp (practicalswift)
8 years ago
practicalswift
8455e367fe
[test] Avoid reading a potentially uninitialized variable in tx_invalid-test
...
Prior to this commit the err variable was not guaranteed to be set before
the check ...
BOOST_CHECK_MESSAGE(err != SCRIPT_ERR_OK, ScriptErrorString(err));
8 years ago
Jeremy Rubin
e2073424fd
Fix CCheckQueue IsIdle (potential) race condition and remove dangerous constructors.
8 years ago
Matt Corallo
003cd60cc3
Add missing mempool lock for CalculateMemPoolAncestors
8 years ago
practicalswift
5cdf10611f
Remove redundant semicolons in Python code
8 years ago
John Newbery
dd5b0114cf
[Trivial] add comment about setting peer as HB peer.
...
This adds a comment to the new logic for setting HB peers based
on block validation (and aligns the code below to reflect the comment).
It's not obvious why we're checking mapBlocksInFlight. Add a comment to
explain.
8 years ago
Alex Morcos
de1ae324bf
Exclude RBF txs from fee estimation
8 years ago
Wladimir J. van der Laan
af01cd3a3d
qt: Periodic translation update
8 years ago
Wladimir J. van der Laan
b8d1b81077
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.
8 years ago
Wladimir J. van der Laan
fb75cd04bb
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)
8 years ago
Alex Morcos
fe8e8efcf9
[rpc] Add incremental relay fee to getnetworkinfo
8 years ago
Pavel Janík
44f2baac48
Do not shadow local variable named `tx`.
8 years ago
Gregory Maxwell
8ff8d219c3
Send final alert message to older peers after connecting.
...
The old Bitcoin alert system has long since been retired.
( See also: https://bitcoin.org/en/alert/2016-11-01-alert-retirement )
This change causes each node to send any old peers that
it connects with a copy of the final alert.
The alert it hardcode cancels all other alerts including
other final alerts.
8 years ago
Alex Morcos
bd92f2481c
[bugfix] save feeDelta instead of priorityDelta in DumpMempool
8 years ago
Alex Morcos
6b331e6cf9
Fix to have miner test aware of new separate block min tx fee
8 years ago
Alex Morcos
de6400de5d
Fix missing use of dustRelayFee
8 years ago
Alex Morcos
5b158707f2
Use incrementalRelayFee for BIP 125 replacement
8 years ago
Bob McElrath
b471daf85b
Adddress nits, use asyncio signal handling, create_task
8 years ago
Bob McElrath
4bb7d1bc4d
Add python version checks and 3.4 example
8 years ago
Bob McElrath
5406d51067
Rewrite to not use Polling wrapper for asyncio, link to python2.7 example
8 years ago
Bob McElrath
5ea5368b3a
ZMQ example using python3 and asyncio
8 years ago
MarcoFalke
fa4d47814f
qt: Use nPowTargetSpacing constant
8 years ago
Jonas Schnelli
c9f3062d55
Add fundrawtransactions new reserveChangeKey option to the release notes
8 years ago
Jonas Schnelli
9eb325d079
[QA] Add test for fundrawtransactions new reserveChangeKey option
8 years ago
Jonas Schnelli
9aa4e6a6c2
[Wallet] Add an option to keep the change address key, true by default
8 years ago
Wladimir J. van der Laan
82274c02ed
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)
8 years ago
Jonas Schnelli
b25068697f
Merge #9461 : [Qt] Improve progress display during headers-sync and peer-finding
...
40ec7c7
[Qt] Improve progress display during headers-sync and peer-finding (Jonas Schnelli)
8 years ago
Wladimir J. van der Laan
2ef52d3cf1
Merge #8456 : [RPC] Simplified bumpfee command.
...
cc0243a
[RPC] bumpfee (mrbandrews)
52dde66
[wallet] Add include_unsafe argument to listunspent RPC (Russell Yanofsky)
766e8a4
[wallet] Add IsAllFromMe: true if all inputs are from wallet (Suhas Daftuar)
8 years ago
Matt Corallo
989989354b
Move wallet callbacks into cs_main (this effectively reverts #7946 )
8 years ago
mrbandrews
cc0243ad32
[RPC] bumpfee
...
This command allows a user to increase the fee on a wallet transaction T, creating a "bumper" transaction B.
T must signal that it is BIP-125 replaceable.
T's change output is decremented to pay the additional fee. (B will not add inputs to T.)
T cannot have any descendant transactions.
Once B bumps T, neither T nor B's outputs can be spent until either T or (more likely) B is mined.
Includes code by @jonasschnelli and @ryanofsky
8 years ago
Russell Yanofsky
52dde66770
[wallet] Add include_unsafe argument to listunspent RPC
8 years ago
Wladimir J. van der Laan
054d664215
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)
8 years ago
Wladimir J. van der Laan
e9e7993007
Merge #9542 : Docs: Update CONTRIBUTING.md
...
c70622e
Docs: Update CONTRIBUTING.md (John Newbery)
8 years ago
Wladimir J. van der Laan
41cb05cc8f
Merge #9552 : Add IPv6 support to qos.sh
...
fc089ae
Add IPv6 support to qos.sh (James White)
8 years ago
James White
fc089ae47a
Add IPv6 support to qos.sh
8 years ago
Jonas Schnelli
40ec7c7b0d
[Qt] Improve progress display during headers-sync and peer-finding
8 years ago
Wladimir J. van der Laan
9c9af5ab2d
Merge #9499 : Use recent-rejects, orphans, and recently-replaced txn for compact-block-reconstruction
...
c594580
Add braces around AddToCompactExtraTransactions (Matt Corallo)
1ccfe9b
Clarify comment about mempool/extra conflicts (Matt Corallo)
fac4c78
Make PartiallyDownloadedBlock::InitData's second param const (Matt Corallo)
b55b416
Add extra_count lower bound to compact reconstruction debug print (Matt Corallo)
863edb4
Consider all (<100k memusage) txn for compact-block-extra-txn cache (Matt Corallo)
7f8c8ca
Consider all orphan txn for compact-block-extra-txn cache (Matt Corallo)
93380c5
Use replaced transactions in compact block reconstruction (Matt Corallo)
1531652
Keep shared_ptrs to recently-replaced txn for compact blocks (Matt Corallo)
edded80
Make ATMP optionally return the CTransactionRefs it replaced (Matt Corallo)
c735540
Move ORPHAN constants from validation.h to net_processing.h (Matt Corallo)
8 years ago
Cory Fields
c36ec715f0
depends: qt: disable printer for all platforms, not just osx
...
This also fixes the native osx build.
8 years ago
Wladimir J. van der Laan
6012967c47
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)
8 years ago
John Newbery
c70622e942
Docs: Update CONTRIBUTING.md
...
Update CONTRIBUTING.md to document the different components.
Notably, trivial should only be used for PRs that do not change the
code.
8 years ago