Suhas Daftuar
72abd2ce3c
Add ancestor tracking to mempool
...
This implements caching of ancestor state to each mempool entry, similar to
descendant tracking, but also including caching sigops-with-ancestors (as that
metric will be helpful to future code that implements better transaction
selection in CreatenewBlock).
9 years ago
Suhas Daftuar
76a76321d2
Remove work limit in UpdateForDescendants()
...
The work limit served to prevent the descendant walking algorithm from doing
too much work by marking the parent transaction as dirty. However to implement
ancestor tracking, it's not possible to similarly mark those descendant
transactions as dirty without having to calculate them to begin with.
This commit removes the work limit altogether. With appropriate
chain limits (-limitdescendantcount) the concern about doing too much
work inside this function should be mitigated.
9 years ago
Suhas Daftuar
5de2baa138
Rename CTxMemPool::remove -> removeRecursive
...
remove is no longer called non-recursively, so simplify the logic
and eliminate an unnecessary parameter
9 years ago
Suhas Daftuar
7659438a63
CTxMemPool::removeForBlock now uses RemoveStaged
9 years ago
Wladimir J. van der Laan
0735c0ca7c
Merge #7608 : [wallet] Move hardcoded file name out of log messages
...
fa19b18
[wallet] Move hardcoded file name out of log messages (MarcoFalke)
9 years ago
MarcoFalke
fa19b18c63
[wallet] Move hardcoded file name out of log messages
9 years ago
Wladimir J. van der Laan
41d2dfa9e7
Merge #7680 : qt: Remove reflection from `about` icon
...
322a7a2
qt: Remove reflection from `about` icon (Wladimir J. van der Laan)
9 years ago
Wladimir J. van der Laan
322a7a2fe0
qt: Remove reflection from `about` icon
...
While trying to find a black/white version of the Bitcoin
logo for the organization I noticed the about.png is not
entirely black - it has some reflection. Remove this to make
it the same as other icons.
Also ran the icons through `contrib/devtools/optimize-pngs.py`,
so `chevron.png` was optimized too.
9 years ago
Wladimir J. van der Laan
c15eb28241
Merge #7658 : Add curl to Gitian setup instructions
...
ce41cf0
Add curl to Gitian setup instrustions (BtcDrak)
9 years ago
Wladimir J. van der Laan
c9a1265754
Merge #7670 : use cached block hash in blockToJSON()
...
a6ee0ca
use cached block hash in blockToJSON() (Pavel Vasin)
9 years ago
Wladimir J. van der Laan
c87f51e55b
Merge #7663 : Make the generate RPC call function for non-regtest
...
8a253b3
Make the generate RPC call function for non-regtest (Pieter Wuille)
9 years ago
Wladimir J. van der Laan
11c769966a
Merge #7507 : Remove internal miner
...
8d1de43
Remove internal miner (Leviathn)
9 years ago
Wladimir J. van der Laan
5b3b5a7d71
Merge #7577 : [Wallet] move "load wallet phase" to CWallet
...
15e6e13
[Wallet] optimize return value of InitLoadWallet() (Jonas Schnelli)
fc7c60d
[Wallet] move "load wallet phase" to CWallet (Jonas Schnelli)
9 years ago
Wladimir J. van der Laan
f1ca8915bb
Merge #7517 : test: script_error checking in script_invalid tests
...
0ecb340
test: Script_error checking in script_invalid tests (Wladimir J. van der Laan)
2317ad7
test: Re-introduce JSON pretty printing in test builder (Wladimir J. van der Laan)
b0ff857
test: Move non-generated script_invalid test to the correct place (Wladimir J. van der Laan)
9 years ago
Wladimir J. van der Laan
56d2c4e0fe
Merge #7667 : Move GetTempPath() to testutil
...
2fdaa25
Move GetTempPath() to testutil. (Mustafa)
393b22e
Add a source file for unit test utils. (Mustafa)
9 years ago
Jonas Schnelli
15e6e13624
[Wallet] optimize return value of InitLoadWallet()
9 years ago
Jonas Schnelli
b24266c207
Merge #7668 : Fix history deletion bug after font size change
...
21e45a0
Fix history deletion bug after font change (Andrew C)
9 years ago
Jonas Schnelli
3798e5de33
Merge #7613 : Add autocomplete to bitcoin-qt's console window.
...
ce7413f
Add autocomplete to bitcoin-qt's console window. (Luv Khemani)
9 years ago
Pavel Vasin
a6ee0caa4e
use cached block hash in blockToJSON()
9 years ago
Luv Khemani
ce7413fcb7
Add autocomplete to bitcoin-qt's console window.
...
Removed externs
Added listCommands() to CRPCTable
Move autocomplete init to RPCConsole::setClientModel()
9 years ago
Andrew C
21e45a097e
Fix history deletion bug after font change
...
The history is no longer cleared after the font size is changed
9 years ago
Mustafa
2fdaa25529
Move GetTempPath() to testutil.
9 years ago
Jonas Schnelli
fc7c60d699
[Wallet] move "load wallet phase" to CWallet
9 years ago
Mustafa
393b22eacb
Add a source file for unit test utils.
9 years ago
Wladimir J. van der Laan
0fa88ef784
Merge #7635 : [Documentation] Add dependency info to test docs
...
2ab835a
Check if zmq is installed in tests, update docs (Elliot Olds)
9 years ago
Wladimir J. van der Laan
86a1ec5b2c
Merge #7576 : [Wallet] move wallet help string creation to CWallet
...
72c2651
[Wallet] move wallet help string creation to CWallet (Jonas Schnelli)
9 years ago
Wladimir J. van der Laan
9f14e5ad91
Merge #7553 : Remove vfReachable and modify IsReachable to only use vfLimited.
...
110b62f
Remove vfReachable and modify IsReachable to only use vfLimited. (Patrick Strateman)
9 years ago
Wladimir J. van der Laan
26a2a7214f
Merge #7592 : mempool: Re-remove ERROR logging for mempool rejects
...
8fc81e0
mempool: Reduce ERROR logging for mempool rejects (Wladimir J. van der Laan)
9 years ago
Wladimir J. van der Laan
3da5d1bc2e
Merge #7637 : Fix memleak in TorController [rework]
...
e219503
Fix memleak in TorController [rework] (Wladimir J. van der Laan)
9 years ago
Elliot Olds
2ab835ae6c
Check if zmq is installed in tests, update docs
...
If ZMQ is enabled, check whether it's installed before running ZMQ tests.
If it isn't, disable ZMQ and print a warning.
Also add dependency info to test docs, so users know ZMQ is required
before running tests, and so they know how to install it.
When following the build instructions before this change then trying
to run the RPC tests, a unix user would get an error when python
tried to import zmq.
There may be other dependencies that should be added to the docs,
particularly ones for non-unix systems. This is the only unlisted
dependency I encountered using linux.
9 years ago
Pieter Wuille
8a253b342c
Make the generate RPC call function for non-regtest
9 years ago
Pieter Wuille
c8d2473e6c
Merge #7642 : Avoid "Unknown command" messages when receiving getaddr on outbound c…
...
9988554
No "Unknown command" for getaddr command. (R E Broadley)
9 years ago
Pieter Wuille
386f4385ab
Merge #7662 : remove unused NOBLKS_VERSION_{START,END} constants
...
7d2f84c
remove unused NOBLKS_VERSION_{START,END} constants (Pavel Vasin)
9 years ago
Pavel Vasin
7d2f84c72f
remove unused NOBLKS_VERSION_{START,END} constants
9 years ago
BtcDrak
ce41cf082c
Add curl to Gitian setup instrustions
...
curl is required to fetch dependencies
[ci skip]
9 years ago
Jonas Schnelli
87d6562299
Merge #7628 : QT: Add 'copy full transaction details' option
...
b51ed40
QT: Add 'copy full transaction details' option (Eric Shaw)
9 years ago
R E Broadley
9988554fc7
No "Unknown command" for getaddr command.
9 years ago
Eric Shaw
b51ed4036e
QT: Add 'copy full transaction details' option
...
Adds feature from issue #7484
modifies the ctrl-c binding to copy full transaction details in transaction view.
Added translation
9 years ago
Jonas Schnelli
72c2651581
[Wallet] move wallet help string creation to CWallet
9 years ago
Pieter Wuille
9f33dba05c
Merge #7539 : Add tags to mempool's mapTx indices
...
086da92
Add tags to mempool's mapTx indices (Suhas Daftuar)
9 years ago
Wladimir J. van der Laan
7f966713a4
Merge #7455 : [travis] Exit early when check-doc.py fails
...
fa5f193
[travis] Exit early when check-doc.py fails (MarcoFalke)
9 years ago
Wladimir J. van der Laan
3368895c3b
Merge #7521 : Don't resend wallet txs that aren't in our own mempool
...
5a2b1c0
Don't resend wallet txs that aren't in our own mempool (Alex Morcos)
9 years ago
Wladimir J. van der Laan
7f001bdf64
Merge #7605 : Remove openssl info from init/log and from Qt debug window
...
5ecfa36
Remove openssl info from init/log and from Qt debug window (Jonas Schnelli)
9 years ago
Wladimir J. van der Laan
e219503711
Fix memleak in TorController [rework]
...
It looks like, TorController::disconnected_cb(TorControlConnection&
conn) gets called multiple times which results in multiple event_new().
Avoid this by creating the event only once in the constructore, and
deleting it only once in the destructor (thanks to Cory Fields for the
idea).
Replaces the fix by Jonas Schnelli in #7610 , see discussion there.
9 years ago
MarcoFalke
fa5f19319a
[travis] Exit early when check-doc.py fails
9 years ago
Wladimir J. van der Laan
1b68de3525
Merge #7620 : [travis] Only run check-doc.py once
...
fa1b80d
[travis] Only run check-doc.py once (MarcoFalke)
9 years ago
Wladimir J. van der Laan
409f843f2e
Merge #7632 : Delete outdated test-patches reference
...
2e23066
Delete outdated test-patches reference (lewuathe)
9 years ago
lewuathe
2e23066b73
Delete outdated test-patches reference
9 years ago
Wladimir J. van der Laan
e5121eb951
Merge #7617 : [doc/log] Fix markdown syntax and line terminate LogPrint
...
fa26652
Make sure LogPrintf strings are line-terminated (MarcoFalke)
fa97f95
[doc] Fix markdown (MarcoFalke)
fa06ce0
Fix doxygen comment for payTxFee (MarcoFalke)
9 years ago
Wladimir J. van der Laan
639ec582d0
Merge #7616 : [depends] Delete unused patches
...
fafe446
[depends] Delete unused patches (MarcoFalke)
9 years ago