aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Merge #7809: depends: some base fixes/changesWladimir J. van der Laan2016-04-155-13/+39
|\ | | | | | | | | | | | | 11d9f6b depends: qt/cctools: fix checksum checksum tests (Cory Fields) bb717f4 depends: fix "unexpected operator" error during "make download" (Cory Fields) fe740f1 depends: fix fallback downloads (Cory Fields) dc4ec6d depends: create a hostid and buildid and add option for salts (Cory Fields)
| * depends: qt/cctools: fix checksum checksum testsCory Fields2016-04-042-2/+6
| | | | | | | | Checksums were being verified after download, but not again before extraction
| * depends: fix "unexpected operator" error during "make download"Cory Fields2016-04-041-3/+3
| |
| * depends: fix fallback downloadsCory Fields2016-04-041-6/+10
| | | | | | | | | | In some cases, failed downloads wouldn't trigger a fallback download attempt. Namely, checksum mismatches.
| * depends: create a hostid and buildid and add option for saltsCory Fields2016-04-043-2/+20
| | | | | | | | | | | | | | | | | | These add very simple sanity checks to ensure that the build/host toolchains have not changed since the last run. If they have, all ids will change and packages will be rebuilt. For more complicated usage (like parsing dpkg), HOST_ID_SALT/BUILD_ID_SALT may be used to introduce arbitrary data to the ids.
* | Merge #7798: [travis] Print the commit which was evaluatedWladimir J. van der Laan2016-04-151-0/+3
|\ \ | | | | | | | | | | | | fac9ca2 [travis] echo $TRAVIS_COMMIT_RANGE (MarcoFalke) faef3b7 [travis] Print the commit which was evaluated (MarcoFalke)
| * | [travis] echo $TRAVIS_COMMIT_RANGEMarcoFalke2016-04-051-1/+1
| | |
| * | [travis] Print the commit which was evaluatedMarcoFalke2016-04-031-0/+3
| | |
* | | Merge #6215: add bip32 pub key serializationWladimir J. van der Laan2016-04-156-12/+71
|\ \ \ | | | | | | | | | | | | 90604f1 add bip32 pubkey serialization (Jonas Schnelli)
| * | | add bip32 pubkey serializationJonas Schnelli2016-04-146-12/+71
| | | | | | | | | | | | | | | | CExtPubKey should be serializable like CPubKey
* | | | Merge #7878: [test] bctest.py: Revert faa41eeWladimir J. van der Laan2016-04-151-2/+1
|\ \ \ \ | |/ / / |/| | | | | | | fa7abe0 [test] bctest.py: Revert faa41ee (MarcoFalke)
| * | | [test] bctest.py: Revert faa41eeMarcoFalke2016-04-141-2/+1
|/ / /
* | | Merge #7874: Improve AlreadyHaveWladimir J. van der Laan2016-04-141-1/+3
|\ \ \ | | | | | | | | | | | | c6cb6f7 Avoid unnecessary database access for unknown transactions (Alex Morcos)
| * | | Avoid unnecessary database access for unknown transactionsAlex Morcos2016-04-131-1/+3
| | | |
* | | | Merge #7853: [qa] py2: Unfiddle strings into bytes explicitlyWladimir J. van der Laan2016-04-1428-213/+205
|\ \ \ \ | | | | | | | | | | | | | | | faa41ee [qa] py2: Unfiddle strings into bytes explicitly (MarcoFalke)
| * | | | [qa] py2: Unfiddle strings into bytes explicitlyMarcoFalke2016-04-1028-213/+205
| | | | |
* | | | | Merge #7812: Tiny refactor of `IsRBFOptIn`, avoid exceptionWladimir J. van der Laan2016-04-143-16/+19
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | 4f7c959 Refactor IsRBFOptIn, avoid exception (Jonas Schnelli)
| * | | | | Refactor IsRBFOptIn, avoid exceptionJonas Schnelli2016-04-063-16/+19
| | |_|_|/ | |/| | |
* | | | | Merge #7842: RPC: do not print minping time in getpeerinfo when no ping ↵Wladimir J. van der Laan2016-04-141-5/+7
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | received yet 62a6486 RPC: do not print ping info in getpeerinfo when no ping received yet, fix help (Pavel Janík)
| * | | | | RPC: do not print ping info in getpeerinfo when no ping received yet, fix helpPavel Janík2016-04-091-5/+7
| | |_|_|/ | |/| | |
* | | | | Merge #7846: Clean up lockorder data of destroyed mutexesWladimir J. van der Laan2016-04-142-23/+65
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | 5eeb913 Clean up lockorder data of destroyed mutexes (Pieter Wuille)
| * | | | | Clean up lockorder data of destroyed mutexesPieter Wuille2016-04-102-23/+65
| | |_|/ / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | | | | Merge #7862: Use txid as key in mapAlreadyAskedForWladimir J. van der Laan2016-04-143-5/+5
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | 7e91f63 Use txid as key in mapAlreadyAskedFor (Suhas Daftuar)
| * | | | | Use txid as key in mapAlreadyAskedForSuhas Daftuar2016-04-113-5/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Previously we used the CInv that would be sent to the peer announcing the transaction as the key, but using the txid instead allows us to decouple the p2p layer from the application logic (which relies on this map to avoid duplicate tx requests).
* | | | | | Merge #7849: tests: add varints_bitpatterns testWladimir J. van der Laan2016-04-141-0/+21
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | 4521f00 tests: add varints_bitpatterns test (Wladimir J. van der Laan)
| * | | | | | tests: add varints_bitpatterns testWladimir J. van der Laan2016-04-091-0/+21
| | |/ / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The current tests for varint only check that serialization-deserialization is a roundtrip. That is a useful test, but it is also good to check for some exact bit patterns, to prevent a code change that changes the serialization format from going undetected. As the varint functions are templated, also check with different types.
* | | | | | Merge #7850: Removed call to `TryCreateDirectory` from `GetDefaultDataDir` ↵Wladimir J. van der Laan2016-04-141-3/+1
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | in `src/util.cpp`. 41dbc48 Removed call to `TryCreateDirectory` from `GetDefaultDataDir` in `src/util.cpp`. (Alexander Regueiro)
| * | | | | | Removed call to `TryCreateDirectory` from `GetDefaultDataDir` in `src/util.cpp`.Alexander Regueiro2016-04-131-3/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | See https://github.com/bitcoin/bitcoin/issues/7845#issuecomment-207684728. Also refactored `GetDefaultDataDir` function to return path for Mac in one expression.
* | | | | | | Merge #7818: Refactor script testsWladimir J. van der Laan2016-04-146-2124/+2128
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | dde46d3 Merge script_valid and script_invalid tests (Pieter Wuille) 009b503 Get rid of expect in script_tests as it's implied by scripterror (Pieter Wuille) 76da761 Make script_error a mandatory 4th field for script_tests (Pieter Wuille) 269281b Fix some misconstructed tests (Pieter Wuille) d03e466 Fix formatting of NOPs for generated script tests (Pieter Wuille) c7c6641 Fix JSON pretty printing in script_tests (Pieter Wuille)
| * | | | | | | Merge script_valid and script_invalid testsPieter Wuille2016-04-054-1203/+1143
| | | | | | | |
| * | | | | | | Get rid of expect in script_tests as it's implied by scripterrorPieter Wuille2016-04-051-8/+9
| | | | | | | |
| * | | | | | | Make script_error a mandatory 4th field for script_testsPieter Wuille2016-04-053-1167/+1200
| | | | | | | |
| * | | | | | | Fix some misconstructed testsPieter Wuille2016-04-053-12/+30
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | They claimed to be testing P2SH scripts with non-push scriptSigs, but 1) they were not enabling P2SH 2) they have push-only scriptSigs Fix this, and add a few more related cases.
| * | | | | | | Fix formatting of NOPs for generated script testsPieter Wuille2016-04-051-2/+2
| | | | | | | |
| * | | | | | | Fix JSON pretty printing in script_testsPieter Wuille2016-04-051-4/+16
| | |_|_|_|/ / | |/| | | | |
* | | | | | | Merge #7847: doc: add arch linux build exampleWladimir J. van der Laan2016-04-141-1/+19
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | fe53a2a doc: add arch linux setup and build example [skip ci] (mruddy)
| * | | | | | | doc: add arch linux setup and build examplemruddy2016-04-091-1/+19
| | |/ / / / / | |/| | | | | | | | | | | | | | | | | | | [skip ci]
* | | | | | | Merge #7863: getblockchaininfo: make bip9_softforks an object, not an array.Wladimir J. van der Laan2016-04-144-17/+11
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | d12760b rpc-tests: handle KeyError nicely in test_framework.py (Rusty Russell) 85c807c getblockchaininfo: make bip9_softforks an object, not an array. (Rusty Russell)
| * | | | | | | rpc-tests: handle KeyError nicely in test_framework.pyRusty Russell2016-04-131-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | btcdrak wrote this for me. Signed-off-by: Rusty Russell <[email protected]>
| * | | | | | | getblockchaininfo: make bip9_softforks an object, not an array.Rusty Russell2016-04-133-17/+8
| | |_|_|/ / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We can't change "softforks", but it seems far more logical to use tags in an object rather than using an "id" field in an array. For example, to get the csv status before, you need to iterate the array to find the entry with 'id' field equal to "csv": jq '.bip9_softforks | map(select(.id == "csv"))[] | .status' Now: jq '.bip9_softforks.csv.status' There is no issue with fork names being incompatible with JSON tags, since we're selecting them ourselves. Signed-off-by: Rusty Russell <[email protected]>
* | | | | | | Merge #7855: [doc] gitian: Replace precise with trustyWladimir J. van der Laan2016-04-141-6/+6
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | fa6399d [doc] gitian: Replace precise with trusty (MarcoFalke)
| * | | | | | | [doc] gitian: Replace precise with trustyMarcoFalke2016-04-101-6/+6
| | |_|_|/ / / | |/| | | | |
* | | | | | | Merge #7796: [amount] Add support for negative fee ratesWladimir J. van der Laan2016-04-143-9/+51
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | facf5a4 [amount] tests: Fix off-by-one mistake (MarcoFalke) fa2da2c [amount] Add support for negative fee rates (MarcoFalke) 11114a6 [amount] test negative fee rates and full constructor (MarcoFalke)
| * | | | | | | [amount] tests: Fix off-by-one mistakeMarcoFalke2016-04-091-1/+1
| | | | | | | |
| * | | | | | | [amount] Add support for negative fee ratesMarcoFalke2016-04-082-9/+22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Currently negative fee rates are not supported on archs of 64-bit or more
| * | | | | | | [amount] test negative fee rates and full constructorMarcoFalke2016-04-081-0/+29
| | |_|_|_|/ / | |/| | | | |
* | | | | | | Merge #7838: [Doc] Update gitian build guide to debian 8.4.0Wladimir J. van der Laan2016-04-144-8/+12
|\ \ \ \ \ \ \ | |_|_|_|_|_|/ |/| | | | | | | | | | | | | 4a1d5c1 [Doc] Update gitian build guide to debian 8.4.0 (fanquake)
| * | | | | | [Doc] Update gitian build guide to debian 8.4.0fanquake2016-04-114-8/+12
| | | | | | |
* | | | | | | Merge #7828: Trivial: Globals: Explicitly pass const CChainParams& to ↵Pieter Wuille2016-04-121-3/+2
|\ \ \ \ \ \ \ | |_|_|_|/ / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | ProcessMessage() bf477bc Trivial: Globals: Explicitly pass const CChainParams& to ProcessMessage() (Jorge Timón)
| * | | | | | Trivial: Globals: Explicitly pass const CChainParams& to ProcessMessage()Jorge Timón2016-04-061-3/+2
| | | | | | |