aboutsummaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2015-09-22Avoid duplicate CheckBlock checksPieter Wuille
2015-09-22Do not store Merkle branches in the wallet.Pieter Wuille
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.
2015-09-22Merge pull request #6315Wladimir J. van der Laan
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)
2015-09-22Merge pull request #6647Wladimir J. van der Laan
1c1b1b3 [uacomment] Sanitize per BIP-0014 (MarcoFalke)
2015-09-22Merge pull request #6694Wladimir J. van der Laan
24cb7c7 [QT] fix thin space word wrap line brake issue (Jonas Schnelli)
2015-09-22Fix spelling of QtDiego Viola
2015-09-21Merge pull request #6668Wladimir J. van der Laan
9b1cdd7 [trivial] Remove obsolete pixmaps (MarcoFalke) d1acf93 [qt] [trivial] share/qt/make_spinner.py => src/qt/res/movies/makespinner.sh (MarcoFalke)
2015-09-21Merge pull request #6695Wladimir J. van der Laan
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)
2015-09-21rpc: Split option -rpctimeout into -rpcservertimeout and -rpcclienttimeoutWladimir J. van der Laan
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.
2015-09-21http: Disable libevent debug logging, if not explicitly enabledWladimir J. van der Laan
Add a option "-debug=libevent" to enable libevent debugging for troubleshooting. Libevent logging is redirected to our own log.
2015-09-20[QT] dump banlist to disk in case of ban/unban over QTJonas Schnelli
2015-09-19Track transaction packages in CTxMemPoolEntrySuhas Daftuar
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.
2015-09-19TxMemPool: Change mapTx to a boost::multi_index_containerAshley Holman
Indexes on: - Tx Hash - Fee Rate (fee-per-kb)
2015-09-18init: Ignore SIGPIPEWladimir J. van der Laan
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.
2015-09-18[QT] fix thin space word wrap line brake issueJonas Schnelli
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)
2015-09-16[QA] adabt QT_NO_KEYWORDS for QT ban implementationJonas Schnelli
2015-09-16[QA] fix netbase tests because of new CSubNet::ToString() outputJonas Schnelli
2015-09-16[Qt] call DumpBanlist() when baning unbaning nodesPhilip Kaufmann
- this matches RPC call behaviour
2015-09-16[Qt] reenabling hotkeys for ban context menu, use different wordsJonas Schnelli
- 1 (h)our - 1 (d)ay - 1 (w)eek - 1 (y)ear
2015-09-16[Qt] adapt QT ban option to banlist.dat changesJonas Schnelli
2015-09-16[Qt] add sorting for bantablePhilip Kaufmann
2015-09-16[Qt] bantable polishPhilip Kaufmann
- 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
2015-09-16[Qt] simplify ban list signal handlingPhilip Kaufmann
- 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
2015-09-16[Qt] remove unused timer-code from banlistmodel.cppJonas Schnelli
2015-09-16net: Fix CIDR notation in ToString()Wladimir J. van der Laan
Only use CIDR notation if the netmask can be represented as such.
2015-09-16[Qt] polish ban tablePhilip Kaufmann
2015-09-16net: use CIDR notation in CSubNet::ToString()Jonas Schnelli
2015-09-16[Qt] bantable overhaulJonas Schnelli
- some code cleanups - fix date formatting - reduce header includes
2015-09-16[Qt] bantable fix timestamp 64bit issueJonas Schnelli
2015-09-16[Qt] banlist, UI optimizing and better signal handlingJonas Schnelli
2015-09-16[Qt] add context menu with unban option to ban tableJonas Schnelli
2015-09-16[Qt] add ui signal for banlist changesJonas Schnelli
2015-09-16[Qt] add banlist table below peers tableJonas Schnelli
2015-09-16[Qt] add ban functions to peers windowJonas Schnelli
add ban option for peer context menu (1h, 24h, 7d, 1y).
2015-09-16Merge pull request #6317Jeff Garzik
2015-09-16[uacomment] Sanitize per BIP-0014MarcoFalke
* SanitizeString() can be requested to be more strict * Throw error when SanitizeString() changes uacomments * Fix tests
2015-09-16Add ZeroMQ support. Notify blocks and transactions via ZeroMQJeff Garzik
Continues Johnathan Corgan's work. Publishing multipart messages Bugfix: Add missing zmq header includes Bugfix: Adjust build system to link ZeroMQ code for Qt binaries
2015-09-16Add UpdatedBlockTip signal to CMainSignals and CValidationInterfaceJoão Barbosa
2015-09-15Merge pull request #5665Jeff Garzik
2015-09-13[qt] [trivial] share/qt/make_spinner.py => src/qt/res/movies/makespinner.shMarcoFalke
* Merge make_spinner.py into makespinner.sh * Also delete now unused imgs * Actually use all 36 frames for the spinner animation
2015-09-08Merge pull request #6579Wladimir J. van der Laan
afb0cca Add NODE_BLOOM service bit and bump protocol version (Matt Corallo)
2015-09-08Merge pull request #6594Wladimir J. van der Laan
5ffaaba Disallow duplicate windows. (Casey Rodarmor)
2015-09-08Merge pull request #6640Wladimir J. van der Laan
eb3002b [TRIVIAL] Fix typo: exactmath -> exactmatch (paveljanik)
2015-09-08Merge pull request #6644Wladimir J. van der Laan
7a7e68d Prune the -prune help to reflect that the wallet is no longer disabled. (Gregory Maxwell)
2015-09-07Prune the -prune help to reflect that the wallet is no longer disabled.Gregory Maxwell
The wallet hasn't been disabled since 3201035f22fe451c808b0bb157d33a58f0d99c07.
2015-09-07Simplify logic of REST request suffix parsing.Daniel Kraft
This patch changes the way the suffix (giving the requested data format) is parsed for REST requests. Before, the string was split at '.' characters and it was assumed that the second part was the suffix. Now, we look for the last dot and use that to determine the suffix. This allows for strings that contain dots (not used now, though), and seems, in general, to be clearer and more intuitive.
2015-09-05Add NODE_BLOOM service bit and bump protocol versionMatt Corallo
Lets nodes advertise that they offer bloom filter support explicitly. The protocol version bump allows SPV nodes to assume that NODE_BLOOM is set if NODE_NETWORK is set for pre-70011 nodes. Also adds an option to turn bloom filter support off for nodes which advertise a version number >= 70011. Nodes attempting to use bloom filters on such protocol versions are banned, and a later upgade should drop nodes of an older version which attempt to use bloom filters. Much code stolen from Peter Todd. Implements BIP 111
2015-09-04Disallow duplicate windows.Casey Rodarmor
2015-09-04[TRIVIAL] Fix typo: exactmath -> exactmatchpaveljanik
... but not yet in trivial tree
2015-09-04net: correctly initialize nMinPingUsecTimeWladimir J. van der Laan
`nMinPingUsecTime` was left uninitialized in CNode. The correct initialization for a minimum-until-now is int64_t's max value, so initialize it to that. Thanks @MarcoFalke for noticing.