aboutsummaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* Merge #7962: CalculateNextWorkRequired CleanupWladimir J. van der Laan2016-04-281-2/+0
|\ | | | | | | c7aac2d Deprecating the remaining LogPrintf dependencies that were made obsolete in PR #7459. (21E14)
| * Deprecating the remaining LogPrintf dependencies that were made obsolete in ↵21E142016-04-271-2/+0
| | | | | | | | PR #7459.
* | Merge #7926: [RPC] push back getaddednodeinfo dead valueWladimir J. van der Laan2016-04-281-0/+1
|\ \ | | | | | | | | | 9c0bcb6 push back getaddednodeinfo dead value (instagibbs)
| * | push back getaddednodeinfo dead valueinstagibbs2016-04-221-0/+1
| | |
* | | Merge #7952: Log invalid block hash to make debugging easier.Wladimir J. van der Laan2016-04-281-1/+1
|\ \ \ | | | | | | | | | | | | 61c0170 Log invalid block hash to make debugging easier. (Pavel Janík)
| * | | Log invalid block hash to make debugging easier.Pavel Janík2016-04-261-1/+1
| | | |
* | | | Merge #7514: Fix IsInitialBlockDownload for testnetWladimir J. van der Laan2016-04-281-1/+1
|\ \ \ \ | | | | | | | | | | | | | | | 8aa7226 Fix IsInitialBlockDownload to play nice with testnet (jmacwhyte)
| * | | | Fix IsInitialBlockDownload to play nice with testnetjmacwhyte2016-02-111-1/+1
| | | | |
* | | | | Merge #7939: qt: Make it possible to show details for multiple transactionsWladimir J. van der Laan2016-04-283-3/+5
|\ \ \ \ \ | |_|_|_|/ |/| | | | | | | | | | | | | | f135e3c qt: Add transaction hash to details window title (Wladimir J. van der Laan) 17a6a21 qt: Make it possible to show details for multiple transactions (Wladimir J. van der Laan)
| * | | | qt: Add transaction hash to details window titleWladimir J. van der Laan2016-04-262-1/+2
| | | | |
| * | | | qt: Make it possible to show details for multiple transactionsWladimir J. van der Laan2016-04-251-2/+3
| | |/ / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | A small GUI annoyance for me has always been that it's impossible to have multiple transaction detail windows open, for example to compare transactions. This patch makes the window non-modal so that it is possible to open transaction details at will.
* | | | Merge #7933: Fix OOM when deserializing UTXO entries with invalid lengthWladimir J. van der Laan2016-04-265-5/+101
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 1e44169 Add tests for CCoins deserialization (Pieter Wuille) 5d0434d Fix OOM bug: UTXO entries with invalid script length (Pieter Wuille) 4bf631e CDataStream::ignore Throw exception instead of assert on negative nSize. (Patrick Strateman) 4f87af6 Treat overly long scriptPubKeys as unspendable (Pieter Wuille) f8e6fb1 Introduce constant for maximum CScript length (Pieter Wuille)
| * | | | Add tests for CCoins deserializationPieter Wuille2016-04-251-0/+71
| | | | |
| * | | | Fix OOM bug: UTXO entries with invalid script lengthPieter Wuille2016-04-252-2/+22
| | | | |
| * | | | CDataStream::ignore Throw exception instead of assert on negative nSize.Patrick Strateman2016-04-251-1/+3
| | | | | | | | | | | | | | | | | | | | Previously disk corruption would cause an assert instead of an exception.
| * | | | Treat overly long scriptPubKeys as unspendablePieter Wuille2016-04-251-1/+1
| | | | |
| * | | | Introduce constant for maximum CScript lengthPieter Wuille2016-04-252-1/+4
| | | | |
* | | | | Fixing comment in script_test.json test caseChris Stewart2016-04-251-1/+1
| |/ / / |/| | |
* | | | Merge #7688: List solvability in listunspent output and improve helpWladimir J. van der Laan2016-04-255-8/+14
|\ \ \ \ | |/ / / |/| | | | | | | c3932b3 List solvability in listunspent output and improve help (Pieter Wuille)
| * | | List solvability in listunspent output and improve helpPieter Wuille2016-03-145-8/+14
| | | |
* | | | Merge #7927: Minor changes to dbwrapper to simplify support for other databasesWladimir J. van der Laan2016-04-254-68/+73
|\ \ \ \ | |_|_|/ |/| | | | | | | | | | | | | | | | | | | 869cf12 dbwrapper: Move `HandleError` to `dbwrapper_private` (Wladimir J. van der Laan) b69836d dbwrapper: Pass parent CDBWrapper into CDBBatch and CDBIterator (Wladimir J. van der Laan) 878bf48 dbwrapper: Remove CDBWrapper::GetObfuscateKeyHex (Wladimir J. van der Laan) 74f7b12 dbwrapper: Remove throw keywords in function signatures (Wladimir J. van der Laan)
| * | | dbwrapper: Move `HandleError` to `dbwrapper_private`Wladimir J. van der Laan2016-04-232-21/+23
| | | | | | | | | | | | | | | | HandleError is implementation-specific.
| * | | dbwrapper: Pass parent CDBWrapper into CDBBatch and CDBIteratorWladimir J. van der Laan2016-04-234-30/+44
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Pass parent wrapper directly instead of obfuscation key. This makes it possible for other databases which re-use this code to use other properties from the database. Add a namespace dbwrapper_private for private functions to be used only in dbwrapper.h/cpp and dbwrapper_tests.
| * | | dbwrapper: Remove CDBWrapper::GetObfuscateKeyHexWladimir J. van der Laan2016-04-232-13/+2
| | | | | | | | | | | | | | | | | | | | | | | | It is an unnecessary method as it is used only two times and only internally, and the whole implementation is HexStr(obfuscate_key).
| * | | dbwrapper: Remove throw keywords in function signaturesWladimir J. van der Laan2016-04-232-9/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Using throw() specifications in function signatures is not only not required in C++, it is considered deprecated for [various reasons](https://stackoverflow.com/questions/1055387/throw-keyword-in-functions-signature). It is not implemented by any of the common C++ compilers. The usage is also inconsistent with the rest of the source code.
* | | | qt: Fix out-of-tree GUI buildsWladimir J. van der Laan2016-04-221-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Without this patch: - When I compile the GUI from the bitcoin directory itself, it works as expected. - When I build the GUI in an out-of-tree build, I cannot get it to select tabs. When I click, say the "Receive" tab nothing happens, the button selects but it doesn't switch the page. The rest - even the debug window - seems to work. See full discussion here: https://github.com/bitcoin/bitcoin/pull/7911#issuecomment-212413442 This turned out to be caused by a mismatch in the arguments to moc, preventing it from finding `bitcoin-config.h`. Fix this by passing `$(DEFAULT_INCLUDES)` to it, which gets set to the appropriate path by autoconf itself.
* | | | Merge #7911: leveldb: integrate leveldb into our buildsystemWladimir J. van der Laan2016-04-222-16/+87
|\ \ \ \ | | | | | | | | | | | | | | | a4625ac leveldb: integrate leveldb into our buildsystem (Cory Fields)
| * | | | leveldb: integrate leveldb into our buildsystemCory Fields2016-04-192-16/+87
| |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | leveldb's buildsystem causes us a few problems: - breaks out-of-tree builds - forces flags used for some tools - limits cross builds Rather than continuing to add wrappers around it, simply integrate it into our build.
* | | | Merge #7922: CBase58Data::SetString: cleanse the full vectorWladimir J. van der Laan2016-04-221-1/+1
|\ \ \ \ | | | | | | | | | | | | | | | 5770449 CBase58Data::SetString: cleanse the full vector (Kaz Wesley)
| * | | | CBase58Data::SetString: cleanse the full vectorKaz Wesley2016-04-211-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | SetString seems to be passing the length of the wrong variable to memory_cleanse, resulting in the last byte of the temporary buffer not being securely erased.
* | | | | Merge #7919: Fix headers announcements edge caseWladimir J. van der Laan2016-04-221-1/+15
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | 3a99fb2 Fix headers announcements edge case (Suhas Daftuar)
| * | | | | Fix headers announcements edge caseSuhas Daftuar2016-04-201-1/+15
| | |/ / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Previously we would assert that if every block in vBlockHashesToAnnounce is in chainActive, then the blocks to be announced must connect. However, there are edge cases where this assumption could be violated (eg using invalidateblock / reconsiderblock), so just check for this case and revert to inv-announcement instead.
* | | | | Merge #7816: [Wallet] slighly refactor GetOldestKeyPoolTime()Wladimir J. van der Laan2016-04-221-5/+12
|\ \ \ \ \ | |_|/ / / |/| | | | | | | | | 9f7336b [Wallet] slightly refactor GetOldestKeyPoolTime() (Jonas Schnelli)
| * | | | [Wallet] slightly refactor GetOldestKeyPoolTime()Jonas Schnelli2016-04-061-5/+12
| | | | |
* | | | | Merge #7916: Explicitly pass CChainParams& to DisconnectTip()Wladimir J. van der Laan2016-04-213-17/+17
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 176869f Explicitly pass CChainParams to ConnectBlock (face) d0a6353 Pass CChainParams to DisconnectTip() (face) 764d237 Globals: Explicitly pass const CChainParams& to UpdateTip() (Jorge Timón)
| * | | | | Explicitly pass CChainParams to ConnectBlockface2016-04-202-6/+7
| | | | | |
| * | | | | Pass CChainParams to DisconnectTip()face2016-04-193-8/+7
| | | | | |
| * | | | | Globals: Explicitly pass const CChainParams& to UpdateTip()Jorge Timón2016-04-191-4/+4
| | | | | |
* | | | | | Merge #7913: Fix for incorrect locking in GetPubKey() (keystore.cpp)Pieter Wuille2016-04-211-0/+1
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | 220f950 Fix for incorrect locking in GetPubKey() (keystore.cpp) (Yuri Zhykin)
| * | | | | | Fix for incorrect locking in GetPubKey() (keystore.cpp)Yuri Zhykin2016-04-201-0/+1
| | |_|/ / / | |/| | | |
* | | | | | Merge #7868: net: Split DNS resolving functionality out of net structuresPieter Wuille2016-04-215-35/+46
|\ \ \ \ \ \ | |/ / / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | d39f5b4 net: disable resolving from storage structures (Cory Fields) 3675699 net: resolve outside of storage structures (Cory Fields) a98cd1f net: manually resolve dns seed sources (Cory Fields) e9fc71e net: require lookup functions to specify all arguments (Cory Fields)
| * | | | | net: disable resolving from storage structuresCory Fields2016-04-203-22/+22
| | | | | | | | | | | | | | | | | | | | | | | | CNetAddr/CService/CSubnet can no longer resolve DNS.
| * | | | | net: resolve outside of storage structuresCory Fields2016-04-202-7/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Rather than allowing CNetAddr/CService/CSubNet to launch DNS queries, require that addresses are already resolved. This greatly simplifies async resolve logic, and makes it harder to accidentally leak DNS queries.
| * | | | | net: manually resolve dns seed sourcesCory Fields2016-04-201-1/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Note: Some seeds aren't actually returning an IP for their name entries, so they're being added to addrman with a source of [::]. This commit shouldn't change that behavior, for better or worse.
| * | | | | net: require lookup functions to specify all argumentsCory Fields2016-04-172-5/+5
| |/ / / / | | | | | | | | | | | | | | | To make it clear where DNS resolves are happening
* | | | | Merge #7787: [Moveonly] Create ui_interface.cppWladimir J. van der Laan2016-04-196-58/+56
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | fa10ce6 Move ui_interface.cpp to libbitcoin_server_a_SOURCES (MarcoFalke) fabbf80 [ui] Move InitError, InitWarning, AmountErrMsg (MarcoFalke)
| * | | | | Move ui_interface.cpp to libbitcoin_server_a_SOURCESMarcoFalke2016-04-191-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | It is only needed by bitcoind and bitcoin-qt
| * | | | | [ui] Move InitError, InitWarning, AmountErrMsgMarcoFalke2016-04-026-58/+56
| | | | | |
* | | | | | Merge #7762: [ZMQ] append a message sequence number to every ZMQ notificationWladimir J. van der Laan2016-04-192-8/+38
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | 0b25a9f [ZMQ] append a message sequence number to every ZMQ notification (Jonas Schnelli) de821d5 [ZMQ] refactor message string (Jonas Schnelli)
| * | | | | | [ZMQ] append a message sequence number to every ZMQ notificationJonas Schnelli2016-04-192-8/+33
| | | | | | |