| Commit message (Collapse) | Author | Age | Files | Lines |
| |\
| |
| | |
Rewrite subsidy limit tests (1.21)
|
| | | |
|
| | | |
|
| | | |
|
| | | |
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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
|
| | |
| |
| |
| | |
Details: https://github.com/Homebrew/discussions/discussions/691
|
| | |
| |
| |
| |
| |
| | |
* 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 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.
|
| | | |
|
| | | |
|
| | | |
|
| | | |
|
| | |
| |
| |
| | |
Cap maximum fee at 21 million Dogecoins to ensure there is no overflow in the fee logic.
|
| |/ |
|
| |\
| |
| | |
depends: libevent 2.1.12-stable
|
| | |
| |
| |
| | |
Update libevent 2.1.12-stable
|
| |\ \
| | |
| | | |
depends: update expat to 2.4.1
|
| | |/
| |
| |
| |
| | |
Update expat to 2.4.1
CVE-2013-0340/CWE-776
|
| |\ \
| | |
| | | |
1.21 Set default address type to legacy
|
| | | | |
|
| |/ /
| |
| |
| | |
Generate legacy addresses instead of SegWit by default.
|
| |\ \
| |/
|/| |
Add node context to wallet RPC request object
|
| | | |
|
| | |
| |
| |
| | |
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 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.
|
| |\ \
| |/
|/| |
Change count type used by `gettxoutsetinfo`
|
| |/
|
|
| |
changing CAmount (is a int64_t) to arith_uint256 for nTotalAmount in CCoinsStats to prevent overflow
|
| |\
| |
| | |
Introduce AuxPoW chain parameters
|
| | |
| |
| |
| |
| | |
Also removes the AllowLegacyBlocks() function, to be replaced by directly
checking height against the value (as per style used elsewhere).
|
| | |
| |
| |
| | |
Introduce AuxPoW chain parameters. These are not yet used, splitting these out to make validation easier.
|
| |\ \
| | |
| | | |
fix: Boost url dependency
|
| |/ / |
|
| |\ \
| |/
|/| |
Add python3-devel package to CentOS
|
| |/
|
|
|
| |
* 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.
|
| |\
| |
| | |
Cache qa-assets directory on CI
|
| | | |
|
| |\ \
| | |
| | | |
Don't send a Bitcoin alert to Dogecoin clients
|
| | | | |
|
| | |/ |
|
| |\ \
| |/
|/| |
minor Italian translation backport
|
| | | |
|
| | | |
|
| |\ \
| | |
| | | |
fix: reduce tests latency
|
| | | |
| | |
| | |
| | | |
Non-necessary long time sleep for sync_blocks and sync_mempools.
|
| |\ \ \
| |/ /
|/| | |
Scrypt algorithm
|
| | | | |
|
| | | |
| | |
| | |
| | |
| | |
| | |
| | | |
* Replace chain parameters with Dogecoin values
* Update maximum coins to match Dogecoin
* Disable version 2 block requirement
* Update coinbase maturity to match Dogecoin
|
| | | |
| | |
| | |
| | |
| | | |
Add scrypt pow hashing algorithm as a proof of work function.
Rebased from litecoin-project/litecoin@02961f0 minus strencodings.h macros.
|
| |/ / |
|