Skip to content

doc: Improve documentation of FindBlockPos and SaveBlockToDisk

Cirrus CI / fuzzer,address,undefined,integer, no depends failed Apr 26, 2024 in 1m 42s

Task Summary

Instruction ci failed in 01:35

Details

✅ 00:03 clone
✅ 00:01 merge_base
❌ 01:35 ci

./node/blockstorage.h:334:20: note: did you mean 'nHeight'?
  334 |      * @param[in]  height       the hieght of the block
      |                    ^~~~~~
      |                    nHeight
1 error generated.
make[2]: *** [Makefile:10228: libbitcoin_node_a-init.o] Error 1
In file included from rest.cpp:20:
./node/blockstorage.h:334:20: error: parameter 'height' not found in the function declaration [-Werror,-Wdocumentation]
  334 |      * @param[in]  height       the hieght of the block
      |                    ^~~~~~
./node/blockstorage.h:334:20: note: did you mean 'nHeight'?
  334 |      * @param[in]  height       the hieght of the block
      |                    ^~~~~~
      |                    nHeight
1 error generated.
make[2]: *** [Makefile:10886: libbitcoin_node_a-rest.o] Error 1
In file included from net_processing.cpp:25:
./node/blockstorage.h:334:20: error: parameter 'height' not found in the function declaration [-Werror,-Wdocumentation]
  334 |      * @param[in]  height       the hieght of the block
      |                    ^~~~~~
./node/blockstorage.h:334:20: note: did you mean 'nHeight'?
  334 |      * @param[in]  height       the hieght of the block
      |                    ^~~~~~
      |                    nHeight
1 error generated.
make[2]: *** [Makefile:10382: libbitcoin_node_a-net_processing.o] Error 1
make[2]: Leaving directory '/ci_container_base/ci/scratch/build/bitcoin-x86_64-pc-linux-gnu/src'
make[1]: *** [Makefile:20118: install-recursive] Error 1
make[1]: Leaving directory '/ci_container_base/ci/scratch/build/bitcoin-x86_64-pc-linux-gnu/src'
make: *** [Makefile:754: install-recursive] Error 1
Build failure. Verbose build follows.
+ echo 'Build failure. Verbose build follows.'
+ make install V=1
Making install in src
make[1]: Entering directory '/ci_container_base/ci/scratch/build/bitcoin-x86_64-pc-linux-gnu/src'
make[2]: Entering directory '/ci_container_base/ci/scratch/build/bitcoin-x86_64-pc-linux-gnu/src'
/usr/bin/ccache clang++-18 -ftrivial-auto-var-init=pattern -std=c++20 -DHAVE_CONFIG_H -I. -I../src/config  -DABORT_ON_FAILED_ASSUME -fmacro-prefix-map=/ci_container_base/ci/scratch/build/bitcoin-x86_64-pc-linux-gnu=. -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DHAVE_BUILD_INFO -I. -I./minisketch/include -I./secp256k1/include -I./univalue/include -I/usr/include -DBOOST_MULTI_INDEX_DISABLE_SERIALIZATION -DBOOST_NO_CXX98_FUNCTION_BASE  -g -O2 -fdebug-prefix-map=/ci_container_base/ci/scratch/build/bitcoin-x86_64-pc-linux-gnu=. -Wstack-protector -fstack-protector-all -fcf-protection=full -fstack-clash-protection -Wall -Wextra -Wgnu -Wformat -Wformat-security -Wvla -Wshadow-field -Wthread-safety -Wloop-analysis -Wredundant-decls -Wunused-member-function -Wdate-time -Wconditional-uninitialized -Woverloaded-virtual -Wsuggest-override -Wimplicit-fallthrough -Wunreachable-code -Wdocumentation -Wno-unused-parameter -Wno-self-assign -Werror  -fsanitize=fuzzer,address,undefined,float-divide-by-zero,integer -fPIE  -c -o wallet/test/fuzz/test_fuzz_fuzz-coincontrol.o `test -f 'wallet/test/fuzz/coincontrol.cpp' || echo './'`wallet/test/fuzz/coincontrol.cpp
/usr/bin/ccache clang++-18 -ftrivial-auto-var-init=pattern -std=c++20 -DHAVE_CONFIG_H -I. -I../src/config  -DABORT_ON_FAILED_ASSUME -fmacro-prefix-map=/ci_container_base/ci/scratch/build/bitcoin-x86_64-pc-linux-gnu=. -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DHAVE_BUILD_INFO -I. -I./minisketch/include -I./secp256k1/include -I./univalue/include -I/usr/include -DBOOST_MULTI_INDEX_DISABLE_SERIALIZATION -DBOOST_NO_CXX98_FUNCTION_BASE  -g -O2 -fdebug-prefix-map=/ci_container_base/ci/scratch/build/bitcoin-x86_64-pc-linux-gnu=. -Wstack-protector -fstack-protector-all -fcf-protection=full -fstack-clash-protection -Wall -Wextra -Wgnu -Wformat -Wformat-security -Wvla -Wshadow-field -Wthread-safety -Wloop-analysis -Wredundant-decls -Wunused-member-function -Wdate-time -Wconditional-uninitialized -Woverloaded-virtual -Wsuggest-override -Wimplicit-fallthrough -Wunreachable-code -Wdocumentation -Wno-unused-parameter -Wno-self-assign -Werror  -fsanitize=fuzzer,address,undefined,float-divide-by-zero,integer -fPIE  -c -o wallet/test/fuzz/test_fuzz_fuzz-coinselection.o `test -f 'wallet/test/fuzz/coinselection.cpp' || echo './'`wallet/test/fuzz/coinselection.cpp
/usr/bin/ccache clang++-18 -ftrivial-auto-var-init=pattern -std=c++20 -DHAVE_CONFIG_H -I. -I../src/config  -DABORT_ON_FAILED_ASSUME -fmacro-prefix-map=/ci_container_base/ci/scratch/build/bitcoin-x86_64-pc-linux-gnu=. -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -DHAVE_BUILD_INFO -I. -I./minisketch/include -I./secp256k1/include -I./univalue/include -I/usr/include -DBOOST_MULTI_INDEX_DISABLE_SERIALIZATION -DBOOST_NO_CXX98_FUNCTION_BASE  -g -O2 -fdebug-prefix-map=/ci_container_base/ci/scratch/build/bitcoin-x86_64-pc-linux-gnu=. -Wstack-protector -fstack-protector-all -fcf-protection=full -fstack-clash-protection -Wall -Wextra -Wgnu -Wformat -Wformat-security -Wvla -Wshadow-field -Wthread-safety -Wloop-analysis -Wredundant-decls -Wunused-member-function -Wdate-time -Wconditional-uninitialized -Woverloaded-virtual -Wsuggest-override -Wimplicit-fallthrough -Wunreachable-code -Wdocumentation -Wno-unused-parameter -Wno-self-assign -Werror  -fsanitize=fuzzer,address,undefined,float-divide-by-zero,integer -fPIE  -c -o wallet/test/fuzz/test_fuzz_fuzz-fees.o `test -f 'wallet/test/fuzz/fees.cpp' || echo './'`wallet/test/fuzz/fees.cpp
In file included from wallet/test/fuzz/fees.cpp:13:
In file included from ./validation.h:19:
./node/blockstorage.h:334:20: error: parameter 'height' not found in the function declaration [-Werror,-Wdocumentation]
  334 |      * @param[in]  height       the hieght of the block
      |                    ^~~~~~
./node/blockstorage.h:334:20: note: did you mean 'nHeight'?
  334 |      * @param[in]  height       the hieght of the block
      |                    ^~~~~~
      |                    nHeight
1 error generated.
make[2]: *** [Makefile:16486: wallet/test/fuzz/test_fuzz_fuzz-fees.o] Error 1
make[2]: Leaving directory '/ci_container_base/ci/scratch/build/bitcoin-x86_64-pc-linux-gnu/src'
make[1]: *** [Makefile:20118: install-recursive] Error 1
make[1]: Leaving directory '/ci_container_base/ci/scratch/build/bitcoin-x86_64-pc-linux-gnu/src'
make: *** [Makefile:754: install-recursive] Error 1

Exit status: 2�