aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #2311 from rnicoll/1.21-subsidy-tests1.21-devPatrick Lodder2021-07-1219-407/+175
|\ | | | | Rewrite subsidy limit tests (1.21)
| * Add warning log message if overriding -blockmintxfeeRoss Nicoll2021-07-111-2/+7
| |
| * Disable warnings on MacRoss Nicoll2021-07-111-0/+3
| |
| * ci: Build with --enable-werror by default, and document exceptionsHennadii Stepanov2021-07-115-4/+11
| |
| * Disable test which always times outRoss Nicoll2021-07-111-7/+8
| |
| * test: Add missing shift-base:nanobench.h suppressionMarcoFalke2021-07-111-3/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Otherwise it is not possible to run bench_bitcoin with clang-12 + ASAN compiled. Output: $ src/bench/bench_bitcoin bench/nanobench.h:1107:15: runtime error: left shift of 4982565676696827473 by 27 places cannot be represented in type 'uint64_t' (aka 'unsigned long') #0 0x5623d6a13137 in ankerl::nanobench::Rng::rotl(unsigned long, unsigned int) /bitcoin/ci/scratch/build/bitcoin-x86_64-pc-linux-gnu/src/./bench/nanobench.h:1107:15 #1 0x5623d6a13137 in ankerl::nanobench::Rng::operator()() /bitcoin/ci/scratch/build/bitcoin-x86_64-pc-linux-gnu/src/./bench/nanobench.h:1075:10 #2 0x5623d6a05c5b in ankerl::nanobench::Rng::Rng(unsigned long) /bitcoin/ci/scratch/build/bitcoin-x86_64-pc-linux-gnu/src/./bench/nanobench.h:3135:9 #3 0x5623d6a0ca51 in ankerl::nanobench::detail::IterationLogic::Impl::Impl(ankerl::nanobench::Bench const&) /bitcoin/ci/scratch/build/bitcoin-x86_64-pc-linux-gnu/src/./bench/nanobench.h:2206:13 #4 0x5623d69f8f73 in ankerl::nanobench::detail::IterationLogic::IterationLogic(ankerl::nanobench::Bench const&) /bitcoin/ci/scratch/build/bitcoin-x86_64-pc-linux-gnu/src/./bench/nanobench.h:2215:18 #5 0x5623d690f165 in ankerl::nanobench::Bench& ankerl::nanobench::Bench::run<AddrManAdd(ankerl::nanobench::Bench&)::$_0>(AddrManAdd(ankerl::nanobench::Bench&)::$_0&&) /bitcoin/ci/scratch/build/bitcoin-x86_64-pc-linux-gnu/src/./bench/nanobench.h:1114:28 #6 0x5623d690e26e in AddrManAdd(ankerl::nanobench::Bench&) /bitcoin/ci/scratch/build/bitcoin-x86_64-pc-linux-gnu/src/bench/addrman.cpp:76:11 #7 0x5623d69279d6 in void std::__invoke_impl<void, void (*&)(ankerl::nanobench::Bench&), ankerl::nanobench::Bench&>(std::__invoke_other, void (*&)(ankerl::nanobench::Bench&), ankerl::nanobench::Bench&) /usr/bin/../lib/gcc/x86_64-linux-gnu/10/../../../../include/c++/10/bits/invoke.h:60:14 #8 0x5623d6927921 in std::enable_if<is_invocable_r_v<void, void (*&)(ankerl::nanobench::Bench&), ankerl::nanobench::Bench&>, void>::type std::__invoke_r<void, void (*&)(ankerl::nanobench::Bench&), ankerl::nanobench::Bench&>(void (*&)(ankerl::nanobench::Bench&), ankerl::nanobench::Bench&) /usr/bin/../lib/gcc/x86_64-linux-gnu/10/../../../../include/c++/10/bits/invoke.h:110:2 #9 0x5623d692775f in std::_Function_handler<void (ankerl::nanobench::Bench&), void (*)(ankerl::nanobench::Bench&)>::_M_invoke(std::_Any_data const&, ankerl::nanobench::Bench&) /usr/bin/../lib/gcc/x86_64-linux-gnu/10/../../../../include/c++/10/bits/std_function.h:291:9 #10 0x5623d692dbd5 in std::function<void (ankerl::nanobench::Bench&)>::operator()(ankerl::nanobench::Bench&) const /usr/bin/../lib/gcc/x86_64-linux-gnu/10/../../../../include/c++/10/bits/std_function.h:622:14 #11 0x5623d692cd44 in benchmark::BenchRunner::RunAll(benchmark::Args const&) /bitcoin/ci/scratch/build/bitcoin-x86_64-pc-linux-gnu/src/bench/bench.cpp:65:13 #12 0x5623d69282bf in main /bitcoin/ci/scratch/build/bitcoin-x86_64-pc-linux-gnu/src/bench/bench_bitcoin.cpp:63:5 #13 0x7f6812010564 in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x28564) #14 0x5623d685f4dd in _start (/bitcoin/ci/scratch/build/bitcoin-x86_64-pc-linux-gnu/src/bench/bench_bitcoin+0x13754dd) SUMMARY: UndefinedBehaviorSanitizer: invalid-shift-base bench/nanobench.h:1107:15 in $ clang --version Ubuntu clang version 12.0.0-1ubuntu1 Target: x86_64-pc-linux-gnu Thread model: posix InstalledDir: /usr/bin
| * ci: Fix macOS brew install commandHennadii Stepanov2021-07-091-3/+4
| | | | | | | | Details: https://github.com/Homebrew/discussions/discussions/691
| * Disable broken CI testsRoss Nicoll2021-07-092-19/+26
| | | | | | | | | | | | * Disable fuzzer tests in CI as broken when we forked Bitcoin Core 0.21. * Disable thread sanitizer as it incorrectly flags an issue in BDB. * Disable integer overflow sanitizer as it fails on algorithms we depend on which intentionally use this behaviour.
| * Ignore unsigned overflow warningsRoss Nicoll2021-07-092-0/+6
| | | | | | | | | | | | | | Ignore unsigned overflow warnings in: * Scrypt hash calculation as this is an intentional part of how they behave. * Calculating block subsidy as the Mersenne Twister intentionally expects this behaviour.
| * Replace HMAC_SHA256 with Bitcoin's versionRoss Nicoll2021-07-092-333/+25
| |
| * Fix compilation error in fuzz codeRoss Nicoll2021-07-091-1/+2
| |
| * bitcoin-node -> dogecoin-nodeRoss Nicoll2021-07-091-1/+1
| |
| * Correct signedness of expected data in dogecoin_testsRoss Nicoll2021-07-091-6/+6
| |
| * Cap maximum feeRoss Nicoll2021-07-095-11/+25
| | | | | | | | Cap maximum fee at 21 million Dogecoins to ensure there is no overflow in the fee logic.
| * Rewrite subsidy limit testsRoss Nicoll2021-07-091-19/+39
|/
* Merge pull request #2288 from fdoving/fdov-depends-libeventPatrick Lodder2021-06-272-25/+4
|\ | | | | depends: libevent 2.1.12-stable
| * depends: libevent 2.1.12-stablefdov2021-06-102-25/+4
| | | | | | | | Update libevent 2.1.12-stable
* | Merge pull request #2287 from fdoving/fdov-depends-expatPatrick Lodder2021-06-271-3/+3
|\ \ | | | | | | depends: update expat to 2.4.1
| * | depends: update expat to 2.4.1fdov2021-06-091-3/+3
| |/ | | | | | | | | Update expat to 2.4.1 CVE-2013-0340/CWE-776
* | Merge pull request #2274 from rnicoll/1.21-default-address-typeRoss Nicoll2021-06-1211-19/+31
|\ \ | | | | | | 1.21 Set default address type to legacy
| * | Disable generating BECH32 addresses from the UIRoss Nicoll2021-06-121-0/+3
| | |
| * | Generate legacy addresses by defaultRoss Nicoll2021-06-1210-19/+28
|/ / | | | | | | Generate legacy addresses instead of SegWit by default.
* | Merge pull request #2259 from rnicoll/1.21-node-contextRoss Nicoll2021-06-126-7/+14
|\ \ | |/ |/| Add node context to wallet RPC request object
| * Remove separate node and wallet contextsRoss Nicoll2021-06-095-6/+6
| |
| * Directly include NodeContext instead of defining itRoss Nicoll2021-06-091-2/+2
| | | | | | | | Rather than defining that NodeContext is defined fully elsewhere, actually include node/context.h into src/wallet/context.h for details.
| * Add node context to wallet RPC request objectRoss Nicoll2021-06-096-7/+14
| | | | | | | | Add node context to wallet RPC request object, as getauxblock needs access to the node to determine if it is in initial block download, and requires access to the wallet to get an address to pay to.
* | Merge pull request #2248 from rnicoll/1.21-count-typeRoss Nicoll2021-06-084-1/+30
|\ \ | |/ |/| Change count type used by `gettxoutsetinfo`
| * Change count type used by `gettxoutsetinfo`Ross Nicoll2021-06-084-1/+30
|/ | | | changing CAmount (is a int64_t) to arith_uint256 for nTotalAmount in CCoinsStats to prevent overflow
* Merge pull request #2252 from rnicoll/1.21-auxpow-parametersRoss Nicoll2021-06-082-0/+21
|\ | | | | Introduce AuxPoW chain parameters
| * Switch naming of AuxPoW activation to match BIPxxHeight styleRoss Nicoll2021-06-082-17/+5
| | | | | | | | | | Also removes the AllowLegacyBlocks() function, to be replaced by directly checking height against the value (as per style used elsewhere).
| * Introduce AuxPoW chain parametersRoss Nicoll2021-06-052-0/+33
| | | | | | | | Introduce AuxPoW chain parameters. These are not yet used, splitting these out to make validation easier.
* | Merge pull request #2260 from mmicael1/1.21-dev-boost-dependencyRoss Nicoll2021-06-061-1/+1
|\ \ | | | | | | fix: Boost url dependency
| * | fix: Boost url dependencyMalta Micael2021-06-061-1/+1
|/ /
* | Merge pull request #2253 from rnicoll/1.21-centosRoss Nicoll2021-06-051-1/+1
|\ \ | |/ |/| Add python3-devel package to CentOS
| * Add python3-devel package to CentOSRoss Nicoll2021-06-051-1/+1
|/ | | | | * Add python3-devel package to CentOS as it is required for ltc_scrypt to build. * Remove python3-distutils package from CentOS as they ship in the default Python 3 install.
* Merge pull request #2237 from mmicael1/1.21-dev-ci-cache-assetsRoss Nicoll2021-06-031-0/+1
|\ | | | | Cache qa-assets directory on CI
| * Cache qa-assets directory on CIMalta Micael2021-06-021-0/+1
| |
* | Merge pull request #2238 from rnicoll/1.21-dont-send-alertPatrick Lodder2021-06-031-4/+3
|\ \ | | | | | | Don't send a Bitcoin alert to Dogecoin clients
| * | Update src/net_processing.cppRoss Nicoll2021-06-031-2/+1
| | |
| * | Stop sending a Bitcoin alert to Dogecoin clientsRoss Nicoll2021-06-031-2/+2
| |/
* | Merge pull request #2222 from rnicoll/1.21-italianPatrick Lodder2021-06-031-2/+2
|\ \ | |/ |/| minor Italian translation backport
| * Apply suggestions from language reviewRoss Nicoll2021-06-031-2/+2
| |
| * Articols matter in ItalianMarco2021-05-301-1/+1
| |
* | Merge pull request #2224 from mmicael1/1.21-reduce-tests-latencyRoss Nicoll2021-06-021-2/+4
|\ \ | | | | | | fix: reduce tests latency
| * | fix: reduce tests latencyMalta Micael2021-05-301-2/+4
| | | | | | | | | | | | Non-necessary long time sleep for sync_blocks and sync_mempools.
* | | Merge pull request #1828 from rnicoll/1.21-dev-scrypt-algoPatrick Lodder2021-06-0244-401/+1249
|\ \ \ | |/ / |/| | Scrypt algorithm
| * | Remove default SignetRoss Nicoll2021-06-023-106/+27
| | |
| * | Replace consensus values with Dogecoin equivalentsRoss Nicoll2021-06-0229-347/+419
| | | | | | | | | | | | | | | | | | | | | * Replace chain parameters with Dogecoin values * Update maximum coins to match Dogecoin * Disable version 2 block requirement * Update coinbase maturity to match Dogecoin
| * | crypto: Add scrypt N=1024 PoWbarrystyle2021-05-305-12/+255
| | | | | | | | | | | | | | | Add scrypt pow hashing algorithm as a proof of work function. Rebased from litecoin-project/litecoin@02961f0 minus strencodings.h macros.
| * | Litecoin: Add scrypt N=1024 PoWshaolinfry2021-05-3015-8/+620
|/ /