This class serializes and deserializes the proof short ids. This will be used to send and process the compact proof messages.
Depends on D11450.
Differential D11453
[avalanche] Introduce a CompactProofs class for managing the short proof ids Fabien on May 12 2022, 12:55. Authored by
Details
This class serializes and deserializes the proof short ids. This will be used to send and process the compact proof messages. Depends on D11450. ninja check-avalanche
Diff Detail
Event Timeline
Comment Actions Use a Differential formatter for serializing/deserializing the prefilled proofs.
Comment Actions Build Bitcoin ABC Diffs / Diff Testing (build-diff) failed.
Tail of the build log: [348/520] Linking C static library src/secp256k1/libsecp256k1.a [349/520] Linking CXX static library src/libbitcoinconsensus.a [350/520] Linking C executable src/secp256k1/ecmult-bench [351/520] Linking C executable src/secp256k1/internal-bench [352/520] Linking C executable src/secp256k1/sign-bench [353/520] Building CXX object src/test/CMakeFiles/testutil.dir/util/logging.cpp.o [354/520] Linking C executable src/secp256k1/verify-bench [355/520] Linking C executable src/secp256k1/recover-bench [356/520] Installing component secp256k1 -- Install configuration: "RelWithDebInfo" -- Install component: "secp256k1" -- Installing: /results/artifacts/lib/libsecp256k1.a -- Installing: /results/artifacts/include/secp256k1.h -- Installing: /results/artifacts/include/secp256k1_preallocated.h -- Installing: /results/artifacts/include/secp256k1_recovery.h -- Installing: /results/artifacts/include/secp256k1_schnorr.h [357/520] Building CXX object src/CMakeFiles/script.dir/script/descriptor.cpp.o [358/520] Linking CXX static library src/libscript.a [359/520] Linking CXX static library src/libcommon.a [360/520] Linking CXX shared library src/libbitcoinconsensus.so.0.25.6 [361/520] Creating library symlink src/libbitcoinconsensus.so.0 src/libbitcoinconsensus.so [362/520] Building CXX object src/CMakeFiles/bitcoin-cli.dir/bitcoin-cli.cpp.o [363/520] Linking CXX executable src/bitcoin-cli [364/520] Building CXX object src/wallet/CMakeFiles/wallet.dir/context.cpp.o [365/520] Building CXX object src/test/CMakeFiles/testutil.dir/util/blockfilter.cpp.o [366/520] Building CXX object src/test/CMakeFiles/testutil.dir/util/transaction_utils.cpp.o [367/520] Building CXX object src/CMakeFiles/server.dir/validation.cpp.o [368/520] Building CXX object src/wallet/CMakeFiles/wallet.dir/coincontrol.cpp.o [369/520] Building CXX object src/CMakeFiles/bitcoin-tx.dir/bitcoin-tx.cpp.o [370/520] Building CXX object src/test/CMakeFiles/testutil.dir/util/net.cpp.o [371/520] Building CXX object src/test/CMakeFiles/testutil.dir/util/mining.cpp.o [372/520] Linking CXX executable src/bitcoin-tx [373/520] Building CXX object src/wallet/CMakeFiles/wallet.dir/db.cpp.o [374/520] Building CXX object src/wallet/CMakeFiles/wallet.dir/crypter.cpp.o [375/520] Building CXX object src/test/CMakeFiles/testutil.dir/util/wallet.cpp.o [376/520] Building CXX object src/wallet/CMakeFiles/wallet.dir/bdb.cpp.o [377/520] Building CXX object src/wallet/CMakeFiles/wallet.dir/coinselection.cpp.o [378/520] Building CXX object src/test/CMakeFiles/testutil.dir/util/setup_common.cpp.o [379/520] Building CXX object src/wallet/CMakeFiles/wallet.dir/sqlite.cpp.o [380/520] Building CXX object src/wallet/CMakeFiles/wallet.dir/fees.cpp.o [381/520] Building CXX object src/seeder/CMakeFiles/seeder-base.dir/dns.cpp.o [382/520] Building CXX object src/wallet/CMakeFiles/wallet-tool.dir/wallettool.cpp.o [383/520] Building CXX object src/wallet/CMakeFiles/wallet.dir/walletutil.cpp.o [384/520] Building CXX object src/seeder/CMakeFiles/seeder-base.dir/db.cpp.o [385/520] Building CXX object src/wallet/CMakeFiles/wallet.dir/load.cpp.o [386/520] Building CXX object src/wallet/CMakeFiles/wallet.dir/salvage.cpp.o [387/520] Building CXX object src/seeder/CMakeFiles/seeder-base.dir/options.cpp.o [388/520] Building CXX object src/seeder/CMakeFiles/seeder-base.dir/bitcoin.cpp.o [389/520] Building CXX object src/wallet/CMakeFiles/wallet.dir/__/interfaces/wallet.cpp.o [390/520] Building CXX object src/seeder/CMakeFiles/bitcoin-seeder.dir/main.cpp.o [391/520] Building CXX object src/wallet/CMakeFiles/wallet.dir/scriptpubkeyman.cpp.o [392/520] Building CXX object src/wallet/CMakeFiles/wallet.dir/walletdb.cpp.o [393/520] Building CXX object src/wallet/CMakeFiles/wallet.dir/rpcdump.cpp.o [394/520] Building CXX object src/wallet/CMakeFiles/wallet.dir/wallet.cpp.o [395/520] Building CXX object src/wallet/CMakeFiles/wallet.dir/rpcwallet.cpp.o [396/520] Linking CXX static library src/wallet/libwallet.a [397/520] Linking CXX static library src/wallet/libwallet-tool.a [398/520] Linking CXX executable src/bitcoin-wallet ninja: build stopped: cannot make progress due to previous errors. Build build-diff failed with exit code 1 Comment Actions Build Bitcoin ABC Diffs / Diff Testing (build-clang) failed.
Tail of the build log: [348/520] Installing component secp256k1 -- Install configuration: "RelWithDebInfo" -- Install component: "secp256k1" -- Installing: /results/artifacts/lib/libsecp256k1.a -- Installing: /results/artifacts/include/secp256k1.h -- Installing: /results/artifacts/include/secp256k1_preallocated.h -- Installing: /results/artifacts/include/secp256k1_recovery.h -- Installing: /results/artifacts/include/secp256k1_schnorr.h [349/520] Building CXX object src/CMakeFiles/bitcoinconsensus.dir/pubkey.cpp.o [350/520] Building CXX object src/CMakeFiles/bitcoinconsensus.dir/consensus/tx_check.cpp.o [351/520] Linking CXX static library src/libbitcoinconsensus.a [352/520] Building CXX object src/test/CMakeFiles/testutil.dir/util/net.cpp.o [353/520] Building CXX object src/test/CMakeFiles/testutil.dir/util/mining.cpp.o [354/520] Building CXX object src/CMakeFiles/script.dir/script/standard.cpp.o [355/520] Linking CXX static library src/libscript.a [356/520] Building CXX object src/wallet/CMakeFiles/wallet.dir/bdb.cpp.o [357/520] Building CXX object src/test/CMakeFiles/testutil.dir/util/logging.cpp.o [358/520] Building CXX object src/wallet/CMakeFiles/wallet.dir/__/interfaces/wallet.cpp.o [359/520] Building C object src/secp256k1/CMakeFiles/ecmult-bench.dir/src/bench_ecmult.c.o [360/520] Building CXX object src/wallet/CMakeFiles/wallet.dir/context.cpp.o [361/520] Building CXX object src/wallet/CMakeFiles/wallet.dir/crypter.cpp.o [362/520] Linking C executable src/secp256k1/ecmult-bench [363/520] Building CXX object src/wallet/CMakeFiles/wallet.dir/coinselection.cpp.o [364/520] Building CXX object src/CMakeFiles/bitcoin-wallet.dir/bitcoin-wallet.cpp.o [365/520] Building CXX object src/wallet/CMakeFiles/wallet.dir/rpcdump.cpp.o [366/520] Building CXX object src/wallet/CMakeFiles/wallet.dir/rpcwallet.cpp.o [367/520] Building CXX object src/test/CMakeFiles/testutil.dir/util/transaction_utils.cpp.o [368/520] Building CXX object src/test/CMakeFiles/testutil.dir/util/blockfilter.cpp.o [369/520] Building CXX object src/wallet/CMakeFiles/wallet.dir/salvage.cpp.o [370/520] Building CXX object src/CMakeFiles/common.dir/rpc/util.cpp.o [371/520] Building CXX object src/CMakeFiles/server.dir/rpc/blockchain.cpp.o [372/520] Linking CXX static library src/libcommon.a [373/520] Building CXX object src/wallet/CMakeFiles/wallet.dir/db.cpp.o [374/520] Building CXX object src/wallet/CMakeFiles/wallet.dir/wallet.cpp.o [375/520] Linking CXX shared library src/libbitcoinconsensus.so.0.25.6 [376/520] Linking CXX executable src/bitcoin-cli [377/520] Creating library symlink src/libbitcoinconsensus.so.0 src/libbitcoinconsensus.so [378/520] Building CXX object src/seeder/CMakeFiles/seeder-base.dir/db.cpp.o [379/520] Building CXX object src/seeder/CMakeFiles/seeder-base.dir/dns.cpp.o [380/520] Building CXX object src/seeder/CMakeFiles/seeder-base.dir/options.cpp.o [381/520] Building CXX object src/test/CMakeFiles/testutil.dir/util/wallet.cpp.o [382/520] Building CXX object src/wallet/CMakeFiles/wallet.dir/coincontrol.cpp.o [383/520] Building CXX object src/CMakeFiles/server.dir/net_processing.cpp.o [384/520] Building CXX object src/wallet/CMakeFiles/wallet.dir/sqlite.cpp.o [385/520] Building CXX object src/CMakeFiles/server.dir/validation.cpp.o [386/520] Building CXX object src/CMakeFiles/bitcoin-tx.dir/bitcoin-tx.cpp.o [387/520] Building CXX object src/wallet/CMakeFiles/wallet.dir/fees.cpp.o [388/520] Linking CXX executable src/bitcoin-tx [389/520] Building CXX object src/wallet/CMakeFiles/wallet.dir/walletutil.cpp.o [390/520] Building CXX object src/seeder/CMakeFiles/bitcoin-seeder.dir/main.cpp.o [391/520] Building CXX object src/wallet/CMakeFiles/wallet-tool.dir/wallettool.cpp.o [392/520] Building CXX object src/wallet/CMakeFiles/wallet.dir/load.cpp.o [393/520] Building CXX object src/seeder/CMakeFiles/seeder-base.dir/bitcoin.cpp.o [394/520] Building CXX object src/wallet/CMakeFiles/wallet.dir/walletdb.cpp.o [395/520] Building CXX object src/wallet/CMakeFiles/wallet.dir/scriptpubkeyman.cpp.o [396/520] Linking CXX static library src/wallet/libwallet.a [397/520] Linking CXX static library src/wallet/libwallet-tool.a [398/520] Linking CXX executable src/bitcoin-wallet ninja: build stopped: cannot make progress due to previous errors. Build build-clang failed with exit code 1 Comment Actions Build Bitcoin ABC Diffs / Diff Testing (build-clang-tidy) failed.
Tail of the build log: [340/518] Building CXX object src/CMakeFiles/bitcoinconsensus.dir/consensus/tx_check.cpp.o [341/518] Building CXX object src/CMakeFiles/common.dir/rpc/util.cpp.o [342/518] Building CXX object src/CMakeFiles/script.dir/script/signingprovider.cpp.o [343/518] Building CXX object src/CMakeFiles/server.dir/validation.cpp.o [344/518] Building C object src/secp256k1/CMakeFiles/ecmult-bench.dir/src/bench_ecmult.c.o [345/518] Building CXX object src/test/CMakeFiles/testutil.dir/util/str.cpp.o [346/518] Building CXX object src/CMakeFiles/bitcoin-wallet.dir/bitcoin-wallet.cpp.o [347/518] Building CXX object src/wallet/CMakeFiles/wallet.dir/context.cpp.o [348/518] Building C object src/secp256k1/CMakeFiles/internal-bench.dir/src/bench_internal.c.o [349/518] Building CXX object src/CMakeFiles/script.dir/script/descriptor.cpp.o [350/518] Building CXX object src/CMakeFiles/bitcoin-cli.dir/bitcoin-cli.cpp.o [351/518] Building C object src/secp256k1/CMakeFiles/secp256k1.dir/src/secp256k1.c.o [352/518] Linking C static library src/secp256k1/libsecp256k1.a [353/518] Linking CXX static library src/libbitcoinconsensus.a [354/518] Building CXX object src/test/CMakeFiles/testutil.dir/util/logging.cpp.o [355/518] Linking CXX static library src/libscript.a [356/518] Linking C executable src/secp256k1/ecmult-bench [357/518] Linking CXX static library src/libcommon.a [358/518] Linking C executable src/secp256k1/internal-bench [359/518] Linking CXX shared library src/libbitcoinconsensus.so.0.25.6 [360/518] Creating library symlink src/libbitcoinconsensus.so.0 src/libbitcoinconsensus.so [361/518] Linking CXX executable src/bitcoin-cli [362/518] Linking C executable src/secp256k1/sign-bench [363/518] Linking C executable src/secp256k1/verify-bench [364/518] Linking C executable src/secp256k1/recover-bench [365/518] Building CXX object src/test/CMakeFiles/testutil.dir/util/blockfilter.cpp.o [366/518] Building CXX object src/test/CMakeFiles/testutil.dir/util/transaction_utils.cpp.o [367/518] Building CXX object src/CMakeFiles/bitcoin-tx.dir/bitcoin-tx.cpp.o [368/518] Linking CXX executable src/bitcoin-tx [369/518] Building CXX object src/wallet/CMakeFiles/wallet.dir/db.cpp.o [370/518] Building CXX object src/test/CMakeFiles/testutil.dir/util/net.cpp.o [371/518] Building CXX object src/test/CMakeFiles/testutil.dir/util/mining.cpp.o [372/518] Building CXX object src/wallet/CMakeFiles/wallet.dir/coincontrol.cpp.o [373/518] Building CXX object src/wallet/CMakeFiles/wallet.dir/coinselection.cpp.o [374/518] Building CXX object src/wallet/CMakeFiles/wallet.dir/crypter.cpp.o [375/518] Building CXX object src/wallet/CMakeFiles/wallet.dir/bdb.cpp.o [376/518] Building CXX object src/test/CMakeFiles/testutil.dir/util/wallet.cpp.o [377/518] Building CXX object src/test/CMakeFiles/testutil.dir/util/setup_common.cpp.o [378/518] Building CXX object src/wallet/CMakeFiles/wallet-tool.dir/wallettool.cpp.o [379/518] Building CXX object src/wallet/CMakeFiles/wallet.dir/sqlite.cpp.o [380/518] Building CXX object src/seeder/CMakeFiles/seeder-base.dir/dns.cpp.o [381/518] Building CXX object src/wallet/CMakeFiles/wallet.dir/fees.cpp.o [382/518] Building CXX object src/wallet/CMakeFiles/wallet.dir/walletutil.cpp.o [383/518] Building CXX object src/wallet/CMakeFiles/wallet.dir/load.cpp.o [384/518] Building CXX object src/seeder/CMakeFiles/seeder-base.dir/db.cpp.o [385/518] Building CXX object src/seeder/CMakeFiles/seeder-base.dir/options.cpp.o [386/518] Building CXX object src/wallet/CMakeFiles/wallet.dir/salvage.cpp.o [387/518] Building CXX object src/wallet/CMakeFiles/wallet.dir/__/interfaces/wallet.cpp.o [388/518] Building CXX object src/seeder/CMakeFiles/seeder-base.dir/bitcoin.cpp.o [389/518] Building CXX object src/seeder/CMakeFiles/bitcoin-seeder.dir/main.cpp.o [390/518] Building CXX object src/wallet/CMakeFiles/wallet.dir/scriptpubkeyman.cpp.o [391/518] Building CXX object src/wallet/CMakeFiles/wallet.dir/walletdb.cpp.o [392/518] Building CXX object src/wallet/CMakeFiles/wallet.dir/rpcdump.cpp.o [393/518] Building CXX object src/wallet/CMakeFiles/wallet.dir/wallet.cpp.o [394/518] Building CXX object src/wallet/CMakeFiles/wallet.dir/rpcwallet.cpp.o [395/518] Linking CXX static library src/wallet/libwallet.a [396/518] Linking CXX static library src/wallet/libwallet-tool.a [397/518] Linking CXX executable src/bitcoin-wallet ninja: build stopped: cannot make progress due to previous errors. Build build-clang-tidy failed with exit code 1 Comment Actions Build Bitcoin ABC Diffs / Diff Testing (build-without-wallet) failed.
Tail of the build log: [341/466] Building CXX object src/CMakeFiles/server.dir/torcontrol.cpp.o [342/466] Building C object src/secp256k1/CMakeFiles/secp256k1.dir/src/secp256k1.c.o [343/466] Building CXX object src/CMakeFiles/server.dir/dummywallet.cpp.o [344/466] Building CXX object src/test/CMakeFiles/testutil.dir/util/str.cpp.o [345/466] Building CXX object src/test/CMakeFiles/testutil.dir/util/logging.cpp.o [346/466] Building CXX object src/test/CMakeFiles/testutil.dir/util/blockfilter.cpp.o [347/466] Building CXX object src/test/CMakeFiles/testutil.dir/util/net.cpp.o [348/466] Building CXX object src/test/CMakeFiles/testutil.dir/util/mining.cpp.o [349/466] Linking C static library src/secp256k1/libsecp256k1.a [350/466] Building CXX object src/test/CMakeFiles/testutil.dir/util/transaction_utils.cpp.o [351/466] Building CXX object src/test/CMakeFiles/testutil.dir/util/setup_common.cpp.o [352/466] Building CXX object src/seeder/CMakeFiles/bitcoin-seeder.dir/main.cpp.o [353/466] Building CXX object src/test/CMakeFiles/testutil.dir/util/wallet.cpp.o [354/466] Building CXX object src/seeder/CMakeFiles/seeder-base.dir/db.cpp.o [355/466] Building CXX object src/seeder/CMakeFiles/seeder-base.dir/dns.cpp.o [356/466] Linking C executable src/secp256k1/ecmult-bench [357/466] Building CXX object src/seeder/CMakeFiles/seeder-base.dir/bitcoin.cpp.o [358/466] Linking C executable src/secp256k1/internal-bench [359/466] Linking C executable src/secp256k1/sign-bench [360/466] Linking C executable src/secp256k1/verify-bench [361/466] Building CXX object src/seeder/CMakeFiles/seeder-base.dir/options.cpp.o [362/466] Linking C executable src/secp256k1/recover-bench [363/466] Linking CXX static library src/libcommon.a [364/466] Linking CXX static library src/libscript.a [365/466] Linking CXX static library src/libbitcoinconsensus.a [366/466] Linking CXX shared library src/libbitcoinconsensus.so.0.25.6 [367/466] Creating library symlink src/libbitcoinconsensus.so.0 src/libbitcoinconsensus.so [368/466] Linking CXX executable src/bitcoin-cli [369/466] Building CXX object src/CMakeFiles/server.dir/avalanche/compactproofs.cpp.o FAILED: src/CMakeFiles/server.dir/avalanche/compactproofs.cpp.o /usr/bin/ccache /usr/bin/c++ -DBOOST_AC_USE_STD_ATOMIC -DBOOST_SP_USE_STD_ATOMIC -DBUILD_BITCOIN_INTERNAL -DENABLE_AVX2 -DENABLE_SHANI -DENABLE_SSE41 -DHAVE_BUILD_INFO -DHAVE_CONFIG_H -DHAVE_CONSENSUS_LIB -DLEVELDB_ATOMIC_PRESENT -DLEVELDB_PLATFORM_POSIX -DOS_LINUX -I../../src/leveldb/helpers/memenv -I../../src/. -Isrc -I../../src/univalue/include -Isrc/crypto/.. -I../../src/secp256k1/include -I../../src/leveldb/include -isystem /usr/include/jemalloc -isystem /usr/include/miniupnpc -Werror -g -O2 -fPIC -fvisibility=hidden -fstack-reuse=none -fstack-protector-all -Wstack-protector -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -Wall -Wextra -Wformat -Wvla -Wcast-align -Wunused-parameter -Wmissing-braces -Wredundant-decls -Wsign-compare -Wduplicated-branches -Wduplicated-cond -Wlogical-op -Wformat-security -Woverloaded-virtual -Wno-unused-parameter -Wno-implicit-fallthrough -pthread -std=gnu++17 -MD -MT src/CMakeFiles/server.dir/avalanche/compactproofs.cpp.o -MF src/CMakeFiles/server.dir/avalanche/compactproofs.cpp.o.d -o src/CMakeFiles/server.dir/avalanche/compactproofs.cpp.o -c ../../src/avalanche/compactproofs.cpp In file included from ../../src/avalanche/compactproofs.cpp:5: ../../src/./avalanche/compactproofs.h:59:25: error: ‘RadixTree’ does not name a type CompactProofs(const RadixTree<const Proof, ProofRadixTreeAdapter> &proofs); ^~~~~~~~~ ../../src/./avalanche/compactproofs.h:59:34: error: expected ‘,’ or ‘...’ before ‘<’ token CompactProofs(const RadixTree<const Proof, ProofRadixTreeAdapter> &proofs); ^ ../../src/avalanche/compactproofs.cpp:13:11: error: ‘RadixTree’ does not name a type const RadixTree<const Proof, ProofRadixTreeAdapter> &proofs) ^~~~~~~~~ ../../src/avalanche/compactproofs.cpp:13:20: error: expected ‘,’ or ‘...’ before ‘<’ token const RadixTree<const Proof, ProofRadixTreeAdapter> &proofs) ^ ../../src/avalanche/compactproofs.cpp: In constructor ‘avalanche::CompactProofs::CompactProofs(int)’: ../../src/avalanche/compactproofs.cpp:15:5: error: ‘proofs’ was not declared in this scope proofs.forEachLeaf([&](auto pLeaf) { ^~~~~~ ../../src/avalanche/compactproofs.cpp:15:5: note: suggested alternative: ‘Proof’ proofs.forEachLeaf([&](auto pLeaf) { ^~~~~~ Proof [370/466] Linking CXX executable src/bitcoin-tx [371/466] Building CXX object src/CMakeFiles/server.dir/avalanche/processor.cpp.o [372/466] Building CXX object src/CMakeFiles/server.dir/rpc/avalanche.cpp.o [373/466] Building CXX object src/CMakeFiles/server.dir/validation.cpp.o [374/466] Building CXX object src/CMakeFiles/server.dir/init.cpp.o [375/466] Building CXX object src/CMakeFiles/server.dir/net_processing.cpp.o ninja: build stopped: cannot make progress due to previous errors. Build build-without-wallet failed with exit code 1 Comment Actions Build Bitcoin ABC Diffs / Diff Testing (build-debug) failed.
Tail of the build log: [348/520] Building CXX object src/CMakeFiles/bitcoin-wallet.dir/bitcoin-wallet.cpp.o [349/520] Building CXX object src/test/CMakeFiles/testutil.dir/util/logging.cpp.o [350/520] Building C object src/secp256k1/CMakeFiles/secp256k1.dir/src/secp256k1.c.o [351/520] Linking C static library src/secp256k1/libsecp256k1.a [352/520] Linking CXX static library src/libbitcoinconsensus.a [353/520] Building CXX object src/CMakeFiles/script.dir/script/descriptor.cpp.o [354/520] Linking C executable src/secp256k1/ecmult-bench [355/520] Linking C executable src/secp256k1/internal-bench [356/520] Linking C executable src/secp256k1/sign-bench [357/520] Linking CXX static library src/libscript.a [358/520] Linking C executable src/secp256k1/verify-bench [359/520] Linking C executable src/secp256k1/recover-bench [360/520] Installing component secp256k1 -- Install configuration: "Debug" -- Install component: "secp256k1" -- Installing: /results/artifacts/lib/libsecp256k1.a -- Installing: /results/artifacts/include/secp256k1.h -- Installing: /results/artifacts/include/secp256k1_preallocated.h -- Installing: /results/artifacts/include/secp256k1_recovery.h -- Installing: /results/artifacts/include/secp256k1_schnorr.h [361/520] Building CXX object src/wallet/CMakeFiles/wallet.dir/context.cpp.o [362/520] Linking CXX static library src/libcommon.a [363/520] Linking CXX shared library src/libbitcoinconsensus.so.0.25.6 [364/520] Creating library symlink src/libbitcoinconsensus.so.0 src/libbitcoinconsensus.so [365/520] Linking CXX executable src/bitcoin-cli [366/520] Building CXX object src/test/CMakeFiles/testutil.dir/util/transaction_utils.cpp.o [367/520] Building CXX object src/test/CMakeFiles/testutil.dir/util/blockfilter.cpp.o [368/520] Building CXX object src/CMakeFiles/bitcoin-tx.dir/bitcoin-tx.cpp.o [369/520] Building CXX object src/wallet/CMakeFiles/wallet.dir/coinselection.cpp.o [370/520] Building CXX object src/wallet/CMakeFiles/wallet.dir/bdb.cpp.o [371/520] Building CXX object src/test/CMakeFiles/testutil.dir/util/mining.cpp.o [372/520] Linking CXX executable src/bitcoin-tx [373/520] Building CXX object src/test/CMakeFiles/testutil.dir/util/net.cpp.o [374/520] Building CXX object src/wallet/CMakeFiles/wallet.dir/coincontrol.cpp.o [375/520] Building CXX object src/wallet/CMakeFiles/wallet.dir/db.cpp.o [376/520] Building CXX object src/wallet/CMakeFiles/wallet.dir/crypter.cpp.o [377/520] Building CXX object src/test/CMakeFiles/testutil.dir/util/wallet.cpp.o [378/520] Building CXX object src/wallet/CMakeFiles/wallet.dir/sqlite.cpp.o [379/520] Building CXX object src/test/CMakeFiles/testutil.dir/util/setup_common.cpp.o [380/520] Building CXX object src/seeder/CMakeFiles/seeder-base.dir/dns.cpp.o [381/520] Building CXX object src/wallet/CMakeFiles/wallet-tool.dir/wallettool.cpp.o [382/520] Building CXX object src/seeder/CMakeFiles/seeder-base.dir/db.cpp.o [383/520] Building CXX object src/wallet/CMakeFiles/wallet.dir/walletutil.cpp.o [384/520] Building CXX object src/seeder/CMakeFiles/seeder-base.dir/options.cpp.o [385/520] Building CXX object src/wallet/CMakeFiles/wallet.dir/fees.cpp.o [386/520] Building CXX object src/wallet/CMakeFiles/wallet.dir/load.cpp.o [387/520] Building CXX object src/wallet/CMakeFiles/wallet.dir/__/interfaces/wallet.cpp.o [388/520] Building CXX object src/wallet/CMakeFiles/wallet.dir/salvage.cpp.o [389/520] Building CXX object src/seeder/CMakeFiles/bitcoin-seeder.dir/main.cpp.o [390/520] Building CXX object src/seeder/CMakeFiles/seeder-base.dir/bitcoin.cpp.o [391/520] Building CXX object src/wallet/CMakeFiles/wallet.dir/scriptpubkeyman.cpp.o [392/520] Building CXX object src/wallet/CMakeFiles/wallet.dir/rpcdump.cpp.o [393/520] Building CXX object src/wallet/CMakeFiles/wallet.dir/walletdb.cpp.o [394/520] Building CXX object src/wallet/CMakeFiles/wallet.dir/rpcwallet.cpp.o [395/520] Building CXX object src/wallet/CMakeFiles/wallet.dir/wallet.cpp.o [396/520] Linking CXX static library src/wallet/libwallet.a [397/520] Linking CXX static library src/wallet/libwallet-tool.a [398/520] Linking CXX executable src/bitcoin-wallet ninja: build stopped: cannot make progress due to previous errors. Build build-debug failed with exit code 1
Comment Actions Fix an off by one error in the test, add a 32 bits overflow check and non contiguous index check at deserialization time |