aboutsummaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* Merge #7686: [qt] Remove 0-fee from send dialogWladimir J. van der Laan2016-03-173-63/+3
|\ | | | | | | | | fae8467 [qt] Remove unneeded "fSendFreeTransactions" check (MarcoFalke) fa48bb3 [qt] Remove 0-fee from send dialog (MarcoFalke)
| * [qt] Remove unneeded "fSendFreeTransactions" checkMarcoFalke2016-03-171-2/+0
| |
| * [qt] Remove 0-fee from send dialogMarcoFalke2016-03-143-61/+3
| |
* | Merge #7594: Mempool: Add tracking of ancestor packagesWladimir J. van der Laan2016-03-174-124/+302
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | ce019bf Check all ancestor state in CTxMemPool::check() (Suhas Daftuar) e2eeb5d Add ancestor feerate index to mempool (Suhas Daftuar) 72abd2c Add ancestor tracking to mempool (Suhas Daftuar) 76a7632 Remove work limit in UpdateForDescendants() (Suhas Daftuar) 5de2baa Rename CTxMemPool::remove -> removeRecursive (Suhas Daftuar) 7659438 CTxMemPool::removeForBlock now uses RemoveStaged (Suhas Daftuar)
| * | Check all ancestor state in CTxMemPool::check()Suhas Daftuar2016-03-142-6/+23
| | |
| * | Add ancestor feerate index to mempoolSuhas Daftuar2016-03-143-3/+137
| | |
| * | Add ancestor tracking to mempoolSuhas Daftuar2016-03-143-22/+117
| | | | | | | | | | | | | | | | | | | | | 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).
| * | Remove work limit in UpdateForDescendants()Suhas Daftuar2016-03-143-80/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
| * | Rename CTxMemPool::remove -> removeRecursiveSuhas Daftuar2016-03-144-23/+19
| | | | | | | | | | | | | | | remove is no longer called non-recursively, so simplify the logic and eliminate an unnecessary parameter
| * | CTxMemPool::removeForBlock now uses RemoveStagedSuhas Daftuar2016-03-141-2/+6
| |/
* | Merge #7187: Keep reorgs fast for SequenceLocks checksWladimir J. van der Laan2016-03-166-26/+131
|\ \ | | | | | | | | | 982670c Add LockPoints (Alex Morcos)
| * | Add LockPointsAlex Morcos2016-03-166-26/+131
| | | | | | | | | | | | Obtain LockPoints to store in CTxMemPoolEntry and during a reorg, evaluate whether they are still valid and if not, recalculate them.
* | | Merge #7684: [qa] Extend testsWladimir J. van der Laan2016-03-161-0/+5
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | fad8cfb [qa] mininode: Add and use CONSTs (MarcoFalke) fa8cd46 [qa] Move create_tx() to util.py (MarcoFalke) fad7dc8 [qa] wallet: speed up tests (MarcoFalke) fa3a81a [tests] Extend util_ParseMoney test case (MarcoFalke)
| * | | [tests] Extend util_ParseMoney test caseMarcoFalke2016-03-141-0/+5
| | | |
* | | | Merge #7621: Fixes ZMQ startup with bad arguments.Wladimir J. van der Laan2016-03-152-1/+1
|\ \ \ \ | | | | | | | | | | | | | | | 0040118 Fixes ZMQ startup with bad arguments. (mrbandrews)
| * | | | Fixes ZMQ startup with bad arguments.mrbandrews2016-02-292-1/+1
| | | | |
* | | | | Fix torcontrol.cpp unused private field warningJonas Schnelli2016-03-141-2/+2
| |_|_|/ |/| | |
* | | | Merge #7608: [wallet] Move hardcoded file name out of log messagesWladimir J. van der Laan2016-03-144-25/+29
|\ \ \ \ | | | | | | | | | | | | | | | fa19b18 [wallet] Move hardcoded file name out of log messages (MarcoFalke)
| * | | | [wallet] Move hardcoded file name out of log messagesMarcoFalke2016-03-144-25/+29
| | | | |
* | | | | qt: Remove reflection from `about` iconWladimir J. van der Laan2016-03-142-0/+0
|/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | | | Merge #7670: use cached block hash in blockToJSON()Wladimir J. van der Laan2016-03-141-1/+1
|\ \ \ \ | | | | | | | | | | | | | | | a6ee0ca use cached block hash in blockToJSON() (Pavel Vasin)
| * | | | use cached block hash in blockToJSON()Pavel Vasin2016-03-121-1/+1
| | | | |
* | | | | Merge #7663: Make the generate RPC call function for non-regtestWladimir J. van der Laan2016-03-142-10/+18
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | 8a253b3 Make the generate RPC call function for non-regtest (Pieter Wuille)
| * | | | | Make the generate RPC call function for non-regtestPieter Wuille2016-03-092-10/+18
| | | | | |
* | | | | | Merge #7507: Remove internal minerWladimir J. van der Laan2016-03-147-288/+0
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | 8d1de43 Remove internal miner (Leviathn)
| * | | | | | Remove internal minerLeviathn2016-02-107-288/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This code removes the internal miner which is only useful on Testnet. This leaves the internal miner that is useful on RegTest intact.
* | | | | | | Merge #7577: [Wallet] move "load wallet phase" to CWalletWladimir J. van der Laan2016-03-143-141/+172
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 15e6e13 [Wallet] optimize return value of InitLoadWallet() (Jonas Schnelli) fc7c60d [Wallet] move "load wallet phase" to CWallet (Jonas Schnelli)
| * | | | | | | [Wallet] optimize return value of InitLoadWallet()Jonas Schnelli2016-03-142-5/+16
| | | | | | | |
| * | | | | | | [Wallet] move "load wallet phase" to CWalletJonas Schnelli2016-03-113-143/+163
| | |_|/ / / / | |/| | | | |
* | | | | | | Merge #7517: test: script_error checking in script_invalid testsWladimir J. van der Laan2016-03-142-553/+685
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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)
| * | | | | | | test: Script_error checking in script_invalid testsWladimir J. van der Laan2016-02-112-545/+677
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Check the returned script_error. Add expected script_error for generated as well as custom tests. The specific error is not part of consensus, however it could avoid unclear reporting issues such as #6862 in the future. Fixes #7513.
| * | | | | | | test: Re-introduce JSON pretty printing in test builderWladimir J. van der Laan2016-02-111-3/+3
| | | | | | | |
| * | | | | | | test: Move non-generated script_invalid test to the correct placeWladimir J. van der Laan2016-02-111-6/+6
| | |/ / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | This test was introduced in 9fadf1c874f938f87395495776dbae896551873d, but accidentally added in the autogenerated area.
* | | | | | | Merge #7667: Move GetTempPath() to testutilWladimir J. van der Laan2016-03-147-25/+53
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2fdaa25 Move GetTempPath() to testutil. (Mustafa) 393b22e Add a source file for unit test utils. (Mustafa)
| * | | | | | | Move GetTempPath() to testutil.Mustafa2016-03-117-25/+39
| | | | | | | |
| * | | | | | | Add a source file for unit test utils.Mustafa2016-03-112-0/+14
| | |_|/ / / / | |/| | | | |
* | | | | | | Merge #7668: Fix history deletion bug after font size changeJonas Schnelli2016-03-142-5/+8
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | 21e45a0 Fix history deletion bug after font change (Andrew C)
| * | | | | | | Fix history deletion bug after font changeAndrew C2016-03-112-5/+8
| | |_|/ / / / | |/| | | | | | | | | | | | | | | | | | | The history is no longer cleared after the font size is changed
* | | | | | | Merge #7613: Add autocomplete to bitcoin-qt's console window.Jonas Schnelli2016-03-144-0/+32
|\ \ \ \ \ \ \ | |/ / / / / / |/| | | | | | | | | | | | | ce7413f Add autocomplete to bitcoin-qt's console window. (Luv Khemani)
| * | | | | | Add autocomplete to bitcoin-qt's console window.Luv Khemani2016-03-124-1/+33
|/ / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Removed externs Added listCommands() to CRPCTable Move autocomplete init to RPCConsole::setClientModel()
* | | | | | Merge #7576: [Wallet] move wallet help string creation to CWalletWladimir J. van der Laan2016-03-113-30/+43
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | 72c2651 [Wallet] move wallet help string creation to CWallet (Jonas Schnelli)
| * | | | | | [Wallet] move wallet help string creation to CWalletJonas Schnelli2016-03-053-30/+43
| | | | | | |
* | | | | | | Merge #7553: Remove vfReachable and modify IsReachable to only use vfLimited.Wladimir J. van der Laan2016-03-114-16/+6
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | 110b62f Remove vfReachable and modify IsReachable to only use vfLimited. (Patrick Strateman)
| * | | | | | | Remove vfReachable and modify IsReachable to only use vfLimited.Patrick Strateman2016-02-174-16/+6
| | |_|_|_|_|/ | |/| | | | | | | | | | | | | | | | | | | We do not know that a class of Network is reachable, only that it is not.
* | | | | | | Merge #7592: mempool: Re-remove ERROR logging for mempool rejectsWladimir J. van der Laan2016-03-111-27/+30
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | 8fc81e0 mempool: Reduce ERROR logging for mempool rejects (Wladimir J. van der Laan)
| * | | | | | | mempool: Reduce ERROR logging for mempool rejectsWladimir J. van der Laan2016-02-241-27/+30
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Continues "Make logging for validation optional" from #6519. The idea there was to remove all ERROR logging of rejected transaction, and move it to one message in the class 'mempoolrej' which logs the state message (and debug info). The superfluous ERRORs in the log "terrify" users, see for example issue #5794. Unfortunately a lot of new logging was introduced in #6871 (RBF) and #7287 (misc refactoring). This pull updates that new code.
* | | | | | | | Merge #7637: Fix memleak in TorController [rework]Wladimir J. van der Laan2016-03-111-4/+9
|\ \ \ \ \ \ \ \ | |_|_|_|/ / / / |/| | | | | | | | | | | | | | | e219503 Fix memleak in TorController [rework] (Wladimir J. van der Laan)
| * | | | | | | Fix memleak in TorController [rework]Wladimir J. van der Laan2016-03-031-4/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | | | | | | | Merge #7642: Avoid "Unknown command" messages when receiving getaddr on ↵Pieter Wuille2016-03-091-6/+11
|\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | outbound c… 9988554 No "Unknown command" for getaddr command. (R E Broadley)
| * | | | | | | | No "Unknown command" for getaddr command.R E Broadley2016-03-081-6/+11
| | |_|_|_|_|_|/ | |/| | | | | |