aboutsummaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #6715Wladimir J. van der Laan2015-09-242-16/+39
|\ | | | | | | | | 60de0d5 Fix mempool package tracking edge case (Suhas Daftuar) 598b25d Add test showing bug in mempool packages (Suhas Daftuar)
| * Fix mempool package tracking edge caseSuhas Daftuar2015-09-232-16/+39
| | | | | | | | | | | | | | | | | | | | CalculateMemPoolAncestors was always looping over a transaction's inputs to find in-mempool parents. When adding a new transaction, this is the correct behavior, but when removing a transaction, we want to use the ancestor set that would be calculated by walking mapLinks (which should in general be the same set, except during a reorg when the mempool is in an inconsistent state, and the mapLinks-based calculation would be the correct one).
* | Merge pull request #6550Wladimir J. van der Laan2015-09-2311-71/+24
|\ \ | | | | | | | | | | | | 3b33ec8 Avoid duplicate CheckBlock checks (Pieter Wuille) 391dff1 Do not store Merkle branches in the wallet. (Pieter Wuille)
| * | Avoid duplicate CheckBlock checksPieter Wuille2015-09-222-0/+10
| | |
| * | Do not store Merkle branches in the wallet.Pieter Wuille2015-09-2211-73/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Assume that when a wallet transaction has a valid block hash and transaction position in it, the transaction is actually there. We're already trusting wallet data in a much more fundamental way anyway. To prevent backward compatibility issues, a new record is used for storing the block locator in the wallet. Old wallets will see a wallet file synchronized up to the genesis block, and rescan automatically.
* | | Merge pull request #6653Wladimir J. van der Laan2015-09-235-7/+16
|\ \ \ | | | | | | | | | | | | | | | | 4dee609 Rename rpcconsole.ui => debugwindow.ui (MarcoFalke) 0d0a2d6 [Qt] Raise debug window when requested (MarcoFalke)
| * | | Rename rpcconsole.ui => debugwindow.uiMarcoFalke2015-09-233-2/+2
| | | |
| * | | [Qt] Raise debug window when requestedMarcoFalke2015-09-232-5/+14
| |/ / | | | | | | | | | | | | | | | | | | | | | * Raise the debug window when hidden behind other windows * Switch to the debug window when on another virtual desktop * Show the debug window when minimized This change is a conceptual copy of 5ffaaba and 382e9e2
* | | Merge pull request #6645Wladimir J. van der Laan2015-09-231-6/+9
|\ \ \ | | | | | | | | | | | | 77c6072 Enable wallet key imports without rescan in pruned mode. (Gregory Maxwell)
| * | | Enable wallet key imports without rescan in pruned mode.Gregory Maxwell2015-09-071-6/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Complete rescan is incompatible with pruning, but rescan is optional on our wallet key import RPCs. Import on use is very useful in some common situations in conjunction with pruning, e.g. merchant payment tracking. This reenables importprivkey/importaddress/importpubkey when rescan is not used. In the future we should consider changing the rescan argument to allow depth or date to allow limited rescanning when compatible with the retained block depth.
* | | | Merge pull request #6688Wladimir J. van der Laan2015-09-231-35/+33
|\ \ \ \ | |_|_|/ |/| | | | | | | 131c23d Fix locking in GetTransaction. (Alex Morcos)
| * | | Fix locking in GetTransaction.Alex Morcos2015-09-171-35/+33
| | | | | | | | | | | | | | | | GetTransaction needs to lock cs_main until ReadBlockFromDisk completes, the data inside CBlockIndex's can change since pruning. This lock was held by all calls to GetTransaction except rest_tx.
* | | | Merge pull request #6148Wladimir J. van der Laan2015-09-231-3/+9
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | ae6f957 Enable block relay when pruning (Suhas Daftuar) 0da6ae2 Do not inv old or missing blocks when pruning (Suhas Daftuar)
| * | | | Enable block relay when pruningSuhas Daftuar2015-06-171-3/+1
| | | | |
| * | | | Do not inv old or missing blocks when pruningSuhas Daftuar2015-06-171-0/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When responding to a getblocks message, only return inv's as long as we HAVE_DATA for blocks in the chain, and only for blocks that we aren't likely to delete in the near future.
* | | | | Merge pull request #6646Wladimir J. van der Laan2015-09-231-6/+5
|\ \ \ \ \ | |_|_|_|/ |/| | | | | | | | | 6ecaec3 [Trivial] [logging] Rm extraneous cleansubver in serveral debug messages. (Gregory Maxwell)
| * | | | [Trivial] [logging] Rm extraneous cleansubver in serveral debug messages.Gregory Maxwell2015-09-081-6/+5
| | |_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | We log the cleanSubVer as part of connect. It is not uniquely more informative than any of the other data we have about a peer, often less. It's also often long now as well. There is no need to output it as part of mempoolrej, AcceptToMemoryPool, or pong entries. Leaving it out makes our log entries more uniform and consistent.
* | | | Merge pull request #6315Wladimir J. van der Laan2015-09-2213-52/+650
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 7aac6db [QT] dump banlist to disk in case of ban/unban over QT (Jonas Schnelli) 7f90ea7 [QA] adabt QT_NO_KEYWORDS for QT ban implementation (Jonas Schnelli) 07f70b2 [QA] fix netbase tests because of new CSubNet::ToString() output (Jonas Schnelli) 4ed0510 [Qt] call DumpBanlist() when baning unbaning nodes (Philip Kaufmann) be89292 [Qt] reenabling hotkeys for ban context menu, use different words (Jonas Schnelli) b1189cf [Qt] adapt QT ban option to banlist.dat changes (Jonas Schnelli) 65abe91 [Qt] add sorting for bantable (Philip Kaufmann) 51654de [Qt] bantable polish (Philip Kaufmann) cdd72cd [Qt] simplify ban list signal handling (Philip Kaufmann) 43c1f5b [Qt] remove unused timer-code from banlistmodel.cpp (Jonas Schnelli) e2b8028 net: Fix CIDR notation in ToString() (Wladimir J. van der Laan) 9e521c1 [Qt] polish ban table (Philip Kaufmann) 607809f net: use CIDR notation in CSubNet::ToString() (Jonas Schnelli) 53caec6 [Qt] bantable overhaul (Jonas Schnelli) f0bcbc4 [Qt] bantable fix timestamp 64bit issue (Jonas Schnelli) 6135309 [Qt] banlist, UI optimizing and better signal handling (Jonas Schnelli) 770ca79 [Qt] add context menu with unban option to ban table (Jonas Schnelli) 5f42132 [Qt] add ui signal for banlist changes (Jonas Schnelli) ad204df [Qt] add banlist table below peers table (Jonas Schnelli) 50f0908 [Qt] add ban functions to peers window (Jonas Schnelli)
| * | | | [QT] dump banlist to disk in case of ban/unban over QTJonas Schnelli2015-09-201-0/+2
| | | | |
| * | | | [QA] adabt QT_NO_KEYWORDS for QT ban implementationJonas Schnelli2015-09-163-9/+8
| | | | |
| * | | | [QA] fix netbase tests because of new CSubNet::ToString() outputJonas Schnelli2015-09-161-4/+2
| | | | |
| * | | | [Qt] call DumpBanlist() when baning unbaning nodesPhilip Kaufmann2015-09-161-0/+2
| | | | | | | | | | | | | | | | | | | | - this matches RPC call behaviour
| * | | | [Qt] reenabling hotkeys for ban context menu, use different wordsJonas Schnelli2015-09-161-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - 1 (h)our - 1 (d)ay - 1 (w)eek - 1 (y)ear
| * | | | [Qt] adapt QT ban option to banlist.dat changesJonas Schnelli2015-09-164-12/+12
| | | | |
| * | | | [Qt] add sorting for bantablePhilip Kaufmann2015-09-162-1/+35
| | | | |
| * | | | [Qt] bantable polishPhilip Kaufmann2015-09-163-28/+23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - add missing NULL pointer checks - add better comments and reorder some code in rpcconsole.cpp - remove unneeded leftovers in bantable.cpp - update bantable column sizes to prevent cutting of banned until
| * | | | [Qt] simplify ban list signal handlingPhilip Kaufmann2015-09-164-17/+21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - remove banListChanged signal from client model - directly call clientModel->getBanTableModel()->refresh() without the way over clientModel->updateBanlist() - also fix clearing peer detail window, when selecting (clicking) peers in the ban list
| * | | | [Qt] remove unused timer-code from banlistmodel.cppJonas Schnelli2015-09-162-23/+1
| | | | |
| * | | | net: Fix CIDR notation in ToString()Wladimir J. van der Laan2015-09-162-10/+54
| | | | | | | | | | | | | | | | | | | | Only use CIDR notation if the netmask can be represented as such.
| * | | | [Qt] polish ban tablePhilip Kaufmann2015-09-163-21/+17
| | | | |
| * | | | net: use CIDR notation in CSubNet::ToString()Jonas Schnelli2015-09-163-16/+92
| | | | |
| * | | | [Qt] bantable overhaulJonas Schnelli2015-09-164-14/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - some code cleanups - fix date formatting - reduce header includes
| * | | | [Qt] bantable fix timestamp 64bit issueJonas Schnelli2015-09-161-7/+3
| | | | |
| * | | | [Qt] banlist, UI optimizing and better signal handlingJonas Schnelli2015-09-166-22/+28
| | | | |
| * | | | [Qt] add context menu with unban option to ban tableJonas Schnelli2015-09-162-15/+59
| | | | |
| * | | | [Qt] add ui signal for banlist changesJonas Schnelli2015-09-163-0/+16
| | | | |
| * | | | [Qt] add banlist table below peers tableJonas Schnelli2015-09-167-10/+375
| | | | |
| * | | | [Qt] add ban functions to peers windowJonas Schnelli2015-09-162-1/+41
| | |_|/ | |/| | | | | | | | | | add ban option for peer context menu (1h, 24h, 7d, 1y).
* | | | Merge pull request #6647Wladimir J. van der Laan2015-09-224-12/+36
|\ \ \ \ | | | | | | | | | | | | | | | 1c1b1b3 [uacomment] Sanitize per BIP-0014 (MarcoFalke)
| * | | | [uacomment] Sanitize per BIP-0014MarcoFalke2015-09-164-12/+36
| | |/ / | |/| | | | | | | | | | | | | | | | | | * SanitizeString() can be requested to be more strict * Throw error when SanitizeString() changes uacomments * Fix tests
* | | | Merge pull request #6694Wladimir J. van der Laan2015-09-221-2/+2
|\ \ \ \ | | | | | | | | | | | | | | | 24cb7c7 [QT] fix thin space word wrap line brake issue (Jonas Schnelli)
| * | | | [QT] fix thin space word wrap line brake issueJonas Schnelli2015-09-181-2/+2
| | |/ / | |/| | | | | | | | | | | | | | | | | | The thin space QT html hack results in cut-off chars/nums after a line break. Avoid word wrap line breaks by using a smaller font and a line break before each alternative value)
* | | | Fix spelling of QtDiego Viola2015-09-221-1/+1
| | | |
* | | | Merge pull request #6668Wladimir J. van der Laan2015-09-214-4/+5
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | 9b1cdd7 [trivial] Remove obsolete pixmaps (MarcoFalke) d1acf93 [qt] [trivial] share/qt/make_spinner.py => src/qt/res/movies/makespinner.sh (MarcoFalke)
| * | | | [qt] [trivial] share/qt/make_spinner.py => src/qt/res/movies/makespinner.shMarcoFalke2015-09-134-4/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Merge make_spinner.py into makespinner.sh * Also delete now unused imgs * Actually use all 36 frames for the spinner animation
* | | | | Merge pull request #6695Wladimir J. van der Laan2015-09-214-8/+28
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ddf98d1 Make RPC tests cope with server-side timeout between requests (Wladimir J. van der Laan) 2190ea6 rpc: Split option -rpctimeout into -rpcservertimeout and -rpcclienttimeout (Wladimir J. van der Laan) 8b2d6ed http: Disable libevent debug logging, if not explicitly enabled (Wladimir J. van der Laan) 5ce43da init: Ignore SIGPIPE (Wladimir J. van der Laan)
| * | | | | rpc: Split option -rpctimeout into -rpcservertimeout and -rpcclienttimeoutWladimir J. van der Laan2015-09-214-4/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The two timeouts for the server and client, are essentially different: - In the case of the server it should be a lower value to avoid clients clogging up connection slots - In the case of the client it should be a high value to accomedate slow responses from the server, for example for slow queries or when the lock is contended Split the options into `-rpcservertimeout` and `-rpcclienttimeout` with respective defaults of 30 and 900.
| * | | | | http: Disable libevent debug logging, if not explicitly enabledWladimir J. van der Laan2015-09-212-1/+20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add a option "-debug=libevent" to enable libevent debugging for troubleshooting. Libevent logging is redirected to our own log.
| * | | | | init: Ignore SIGPIPEWladimir J. van der Laan2015-09-181-3/+1
| |/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Ignore SIGPIPE on all non-win32 OSes, otherwise an unexpectedly disconnecting RPC client will terminate the application. This problem was introduced with the libhttp-based RPC server. Fixes #6660.
* | | | | Track transaction packages in CTxMemPoolEntrySuhas Daftuar2015-09-198-65/+885
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Associate with each CTxMemPoolEntry all the size/fees of descendant mempool transactions. Sort mempool by max(feerate of entry, feerate of descendants). Update statistics on-the-fly as transactions enter or leave the mempool. Also add ancestor and descendant limiting, so that transactions can be rejected if the number or size of unconfirmed ancestors exceeds a target, or if adding a transaction would cause some other mempool entry to have too many (or too large) a set of unconfirmed in- mempool descendants.