aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2016-04-10Clean up lockorder data of destroyed mutexesPieter Wuille
The lockorder potential deadlock detection works by remembering for each lock A that is acquired while holding another B the pair (A,B), and triggering a warning when (B,A) already exists in the table. A and B in the above text are represented by pointers to the CCriticalSection object that is acquired. This does mean however that we need to clean up the table entries that refer to any critical section which is destroyed, as it memory address can potentially be used for another unrelated lock in the future. Implement this clean up by remembering not only the pairs in forward direction, but also backward direction. This allows for fast iteration over all pairs that use a deleted CCriticalSection in either the first or the second position.
2016-04-08Merge #7835: Version 2 transactions remain non-standard until CSV activatesWladimir J. van der Laan
da5fdbb Test relay of version 2 transactions (Suhas Daftuar) 5cb1d8a Tests: move get_bip9_status to util.py (Suhas Daftuar) e4ba9f6 Version 2 transactions remain non-standard until CSV activates (Suhas Daftuar)
2016-04-08Merge #7570: Net: Add IPv6 Link-Local Address SupportWladimir J. van der Laan
eda3d92 Net: Add IPv6 Link-Local Address Support (mruddy)
2016-04-07Test relay of version 2 transactionsSuhas Daftuar
2016-04-07Tests: move get_bip9_status to util.pySuhas Daftuar
2016-04-07Version 2 transactions remain non-standard until CSV activatesSuhas Daftuar
Before activation, such transactions might not be mined, so don't allow into the mempool.
2016-04-07Merge #7832: Reduce block timeout to 10 minutesWladimir J. van der Laan
62b9a55 Reduce block timeout to 10 minutes (Wladimir J. van der Laan)
2016-04-07Reduce block timeout to 10 minutesWladimir J. van der Laan
Now that #7804 fixed the timeout handling, reduce the block timeout from 20 minutes to 10 minutes. 20 minutes is overkill.
2016-04-07Merge #7804: Track block download times per individual blockWladimir J. van der Laan
0e24bbf Self check after the last peer is removed (Pieter Wuille) 2d1d658 Track block download times per individual block (Pieter Wuille)
2016-04-07Merge #7821: init: allow shutdown during 'Activating best chain...'Wladimir J. van der Laan
07398e8 init: allow shutdown during 'Activating best chain...' (Wladimir J. van der Laan)
2016-04-07Self check after the last peer is removedPieter Wuille
2016-04-07Track block download times per individual blockPieter Wuille
Currently, we're keeping a timeout for each requested block, starting from when it is requested, with a correction factor for the number of blocks in the queue. That's unnecessarily complicated and inaccurate. As peers process block requests in order, we can make the timeout for each block start counting only when all previous ones have been received, and have a correction based on the number of peers, rather than the total number of blocks.
2016-04-06Merge #7802: [qa] httpbasics: Actually test second connectionWladimir J. van der Laan
fa24456 [qa] httpbasics: Actually test second connection (MarcoFalke)
2016-04-06Merge #7803: [qa] maxblocksinflight: Actually enable testWladimir J. van der Laan
fac724c [qa] maxblocksinflight: Actually enable test (MarcoFalke)
2016-04-06Merge #7801: [qa] Remove misleading "errorString syntax"Wladimir J. van der Laan
ffff866 [qa] Remove misleading "errorString syntax" (MarcoFalke)
2016-04-06init: allow shutdown during 'Activating best chain...'Wladimir J. van der Laan
Two-line patch to make it possible to shut down bitcoind cleanly during the initial ActivateBestChain. Fixes #6459 (among other complaints). To reproduce: - shutdown bitcoind - copy chainstate - start bitcoind - let the chain sync a bit - shutdown bitcoind - copy back old chainstate - start bitcoind - bitcoind will catch up with all blocks during Init() (the `boost::this_thread::interruption_point` / `ShutdownRequested()` dance is ugly, this should be refactored all over bitcoind at some point when moving from boost::threads to c++11 threads, but it works...)
2016-04-05Net: Add IPv6 Link-Local Address Supportmruddy
2016-04-05Merge #7793: [doxygen] Fix member commentsWladimir J. van der Laan
fada0c4 [doc] Fix doxygen comments for members (MarcoFalke)
2016-04-05Merge #7788: Use relative paths instead of absolute paths in protoc callsWladimir J. van der Laan
0087f26 Use relative paths instead of absolute paths (Pavel Janík)
2016-04-05Merge #7791: Doc: change Precise to Trusty in gitian-building.mdWladimir J. van der Laan
190c1e2 Doc: change Precise to Trusty in gitian-building.md (JeremyRand)
2016-04-05Merge #7774: RPC: add versionHex in getblock and getblockheader JSON resultsWladimir J. van der Laan
92107d5 RPC: add versionHex in getblock and getblockheader JSON results; expand data in getblockchaininfo bip9_softforks field. (mruddy)
2016-04-05Merge #7776: build: Remove unnecessary executables from gitian releaseWladimir J. van der Laan
f063863 build: Remove unnecessary executables from gitian release (Wladimir J. van der Laan)
2016-04-05Merge #7781: devtools: Auto-set branch to merge to in github-mergeWladimir J. van der Laan
10d3ae1 devtools: Auto-set branch to merge to in github-merge (Wladimir J. van der Laan)
2016-04-05Merge #7813: [doc] Update port in tor.mdWladimir J. van der Laan
3373c43 [doc] Update port in tor.md (Adam Brown)
2016-04-05[doc] Update port in tor.mdAdam Brown
Tor Browser Bundle spawns the Tor process and listens on port 9150, it doesn't randomly pick a port. [ci skip] (cherry picked from commit 1b63cf98347b2a62915425576930f55c2126c2ff)
2016-04-04RPC: add versionHex in getblock and getblockheader JSON results; expand data ↵mruddy
in getblockchaininfo bip9_softforks field.
2016-04-04Use relative paths instead of absolute pathsPavel Janík
2016-04-04Merge #7707: [RPC][QT] UI support for abandoned transactionsJonas Schnelli
8efed3b [Qt] Support for abandoned/abandoning transactions (Jonas Schnelli)
2016-04-04[Qt] Support for abandoned/abandoning transactionsJonas Schnelli
2016-04-03[qa] Remove misleading "errorString syntax"MarcoFalke
2016-04-03[qa] maxblocksinflight: Actually enable testMarcoFalke
2016-04-03[qa] httpbasics: Actually test second connectionMarcoFalke
2016-04-03Merge #7797: RPC: fix generatetoaddress failing to parse addressWladimir J. van der Laan
60361ca RPC: fix generatetoaddress failing to parse address and add unit test (mruddy)
2016-04-03RPC: fix generatetoaddress failing to parse address and add unit testmruddy
2016-04-03Merge #7778: [qa] Bug fixes and refactorWladimir J. van der Laan
4444806 [qa] mininode: Combine struct.pack format strings (MarcoFalke) faaa3c9 [qa] mininode: Catch exceptions in got_data (MarcoFalke) fa2cea1 [qa] rpc-tests: Properly use integers, floats (MarcoFalke) fa524d9 [qa] Use python2/3 syntax (MarcoFalke)
2016-04-03build: Remove unnecessary executables from gitian releaseWladimir J. van der Laan
This removes the following executables from the binary gitian release: - test_bitcoin-qt[.exe] - bench_bitcoin[.exe] @jonasschnelli and me discussed this on IRC a few days ago - unlike the normal `bitcoin_tests` which is useful to see if it is safe to run bitcoin on a certain OS/environment combination, there is no good reason to include these. Better to leave them out to reduce the download size. Sizes from the 0.12 release: ``` 2.4M bitcoin-0.12.0/bin/bench_bitcoin.exe 22M bitcoin-0.12.0/bin/test_bitcoin-qt.exe ```
2016-04-03Merge #7789: [Doc] Add note about using the Qt official binary installer.Wladimir J. van der Laan
4b9dfd6 Add note about using the Qt official binary installer. (Pavel Janík)
2016-04-03[doc] Fix doxygen comments for membersMarcoFalke
2016-04-02Doc: change Precise to Trusty in gitian-building.mdJeremyRand
https://github.com/bitcoin/bitcoin/commit/2cecb2460002bc645e47e8517b21099b0faec818 changed "precise" to "trusty" in the shell command, but didn't change the text above it accordingly. This commit fixes that.
2016-04-02Add note about using the Qt official binary installer.Pavel Janík
2016-04-02[qa] mininode: Combine struct.pack format stringsMarcoFalke
2016-04-02Merge #7691: [Wallet] refactor wallet/init interactionWladimir J. van der Laan
25340b7 [Wallet] refactor wallet/init interaction (Jonas Schnelli)
2016-04-02Merge #7711: [build-aux] Update Boost & check macros to latest serialsWladimir J. van der Laan
cf5c786 [build-aux] Update Boost & check macros to latest serials (fanquake)
2016-04-02devtools: Auto-set branch to merge to in github-mergeWladimir J. van der Laan
As we are already using the API to retrieve the pull request title, also retrieve the base branch. This makes sure that pull requests for 0.12 automatically end up in 0.12, and pull requests for master automatically end up in master, and so on. It is still possible to override the branch from the command line or using the `githubmerge.branch` git option.
2016-04-02Merge #7785: Trivial: Fix typo: Optimizaton -> Optimization [skip ci]Wladimir J. van der Laan
a22bde9 Fix typo: Optimizaton -> Optimization (paveljanik)
2016-04-01Fix typo: Optimizaton -> Optimizationpaveljanik
2016-04-01[qa] mininode: Catch exceptions in got_dataMarcoFalke
2016-04-01[qa] rpc-tests: Properly use integers, floatsMarcoFalke
2016-04-01Merge #7489: tests: Make proxy_test work on travis servers without IPv6Wladimir J. van der Laan
7539f1a tests: Make proxy_test work on travis servers without IPv6 (Wladimir J. van der Laan)
2016-03-31[qa] Use python2/3 syntaxMarcoFalke