Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
76 commits
Select commit Hold shift + click to select a range
ea9178d
tx fields blsct
aguycalled Feb 16, 2023
f4e0f90
Merge remote-tracking branch 'origin/master' into tx-blsct-fields
aguycalled Feb 16, 2023
d5857aa
remove version control conflict marker
aguycalled Feb 16, 2023
82f45df
patches wip
aguycalled Feb 16, 2023
311a4f3
try to embed initializer as class member
aguycalled Feb 17, 2023
81d26e9
s/auto/size_t/
aguycalled Feb 17, 2023
878f7cf
remove unused type alias
aguycalled Feb 17, 2023
e1110af
fix tests for new transction members
aguycalled Feb 17, 2023
123df6d
Merge remote-tracking branch 'gogoex/drop-static-mcl-init' into tx-bl…
aguycalled Feb 17, 2023
5976ba1
patches for tests
aguycalled Feb 17, 2023
5aca822
remove duplicated include
aguycalled Feb 17, 2023
a006fb7
remove boost mutex and lock includes
aguycalled Feb 17, 2023
45b236e
update src/coins.cpp
aguycalled Feb 17, 2023
3f29c81
update Makefile.am
aguycalled Feb 18, 2023
5b4868f
trigger ci
aguycalled Feb 18, 2023
3ff6718
remove debug, change fixture
aguycalled Feb 18, 2023
c5617cc
change fixture
aguycalled Feb 18, 2023
b5fd040
fix tests fixtures
aguycalled Feb 18, 2023
94a8869
fix tests fixtures
aguycalled Feb 18, 2023
d185706
fixture validation_flush_tests.cpp
aguycalled Feb 18, 2023
07402bf
fixture script_tests.cpp
aguycalled Feb 18, 2023
e738701
more fixture changes at script_tests.cpp
aguycalled Feb 18, 2023
b2d3476
add mclinit to fuzzer
aguycalled Feb 18, 2023
c9eb9c8
MclInit for navcoind
aguycalled Feb 20, 2023
25a57d9
extract blsct output members
aguycalled Feb 20, 2023
03afc37
update test/functional/test_framework/messages.py with blsct serializ…
aguycalled Feb 20, 2023
96c3ae0
remove test/.idea
aguycalled Feb 20, 2023
f14e884
migrate to std::mutex
aguycalled Feb 20, 2023
f653c11
include cmath
aguycalled Feb 20, 2023
ec74c18
remove boost from lint-includes
aguycalled Feb 20, 2023
97de98e
test removing mclBnG1_clear(&m_p);
aguycalled Feb 25, 2023
cb4d0e4
remove clear from mcl default constructors
aguycalled Feb 25, 2023
70565a6
fix test
aguycalled Feb 25, 2023
85de8a7
Merge remote-tracking branch 'gogoex/replace-mcl-clear-with-memset' i…
aguycalled Feb 27, 2023
6c7fca1
fix validation_flush_tests.cpp
aguycalled Feb 27, 2023
fa770c8
fix test/functional/feature_taproot.py
aguycalled Feb 27, 2023
c224fd6
remove test/.idea
aguycalled Feb 27, 2023
23e4c8e
update qa-assets repo
aguycalled Feb 27, 2023
3236aa5
remove psbt functional test
aguycalled Feb 27, 2023
3f9748a
remove spaces
aguycalled Feb 27, 2023
539c34c
remove spaces
aguycalled Feb 27, 2023
4dbc93e
update test_runner.py
aguycalled Feb 27, 2023
c739610
update COIN_SIZE
aguycalled Feb 27, 2023
4d2b49b
revert change
aguycalled Feb 27, 2023
4c72302
test log
aguycalled Feb 27, 2023
b929c9a
more log
aguycalled Feb 27, 2023
c584623
more log
aguycalled Feb 27, 2023
e8cec12
more log
aguycalled Feb 27, 2023
bce041e
update MAX_COINS_CACHE_BYTES
aguycalled Feb 28, 2023
5a8a806
disable test
aguycalled Feb 28, 2023
e306301
disable whole test
aguycalled Feb 28, 2023
dec9aad
fix fuzzer
aguycalled Feb 28, 2023
8f8805c
remove exceptions from signature serialization
aguycalled Mar 1, 2023
5f9f7f7
trigger ci
aguycalled Mar 3, 2023
7513f20
add <Import Project=common.props />
aguycalled Mar 4, 2023
ca8c09e
add blsct tx fields to stringifiers and jsonifiers
aguycalled Mar 8, 2023
5b24d90
optional blsct fields
aguycalled Mar 8, 2023
9b7bd7f
update param name comment
aguycalled Mar 11, 2023
8e70b18
add missing files in libbitcoinconsensus.vcxproj
aguycalled Mar 11, 2023
5e3c28c
add common.props import to libbitcoinconsensus.vcxproj
aguycalled Mar 12, 2023
28a9695
add missing secp256k1 include
aguycalled Mar 12, 2023
82e7322
trigger ci
aguycalled Mar 12, 2023
1e7e160
changes at common.props
aguycalled Mar 12, 2023
c9625a8
increase memory for fuzzer task
aguycalled Mar 12, 2023
4a56903
increase cpu for fuzzer task
aguycalled Mar 12, 2023
40400e2
increase cpus for vs task
aguycalled Mar 12, 2023
42bec30
reduce cpus for vs task
aguycalled Mar 12, 2023
d8a9721
reduce cpus for vs task
aguycalled Mar 12, 2023
b495766
reduce cpus for vs task
aguycalled Mar 12, 2023
1eeff2a
limit threads in common.init.vcxproj and increase again instance cpus
aguycalled Mar 12, 2023
691ec3d
set number of threads as parameter for msbuild in cirrus.yml instead
aguycalled Mar 12, 2023
233409b
revert
aguycalled Mar 12, 2023
87a6ab9
trigger ci
aguycalled Mar 12, 2023
cee1044
optional extended range proof jsonifier
aguycalled Mar 13, 2023
4b90e91
Update mcl_scalar.cpp
Mar 14, 2023
674bc16
Update mcl_scalar.cpp
Mar 14, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 5 additions & 6 deletions .cirrus.yml
Original file line number Diff line number Diff line change
Expand Up @@ -91,8 +91,8 @@ task:
task:
name: "Win64 native [vs2022]"
windows_container:
cpu: 6
memory: 12G
cpu: 8
memory: 16G
image: cirrusci/windowsservercore:visualstudio2022
timeout_in: 120m
env:
Expand Down Expand Up @@ -144,7 +144,7 @@ task:
- cd %CIRRUS_WORKING_DIR%
- ccache --zero-stats --max-size=%CCACHE_SIZE%
- python build_msvc\msvc-autogen.py
- msbuild build_msvc\bitcoin.sln -property:CLToolExe=%WRAPPED_CL%;UseMultiToolTask=true;Configuration=Release -maxCpuCount -verbosity:minimal -noLogo
- msbuild build_msvc\bitcoin.sln -property:CLToolExe=%WRAPPED_CL%;UseMultiToolTask=true;Configuration=Release -verbosity:minimal -noLogo
- ccache --show-stats
check_script:
- build_msvc\x64\Release\test_navcoin.exe -l test_suite
Expand Down Expand Up @@ -246,8 +246,8 @@ task:
<< : *GLOBAL_TASK_TEMPLATE
container:
image: ubuntu:jammy
cpu: 4 # Increase CPU and memory to avoid timeout
memory: 16G
cpu: 8 # Increase CPU and memory to avoid timeout
memory: 32G
env:
<< : *CIRRUS_EPHEMERAL_WORKER_TEMPLATE_ENV
FILE_ENV: "./ci/test/00_setup_env_native_fuzz.sh"
Expand Down Expand Up @@ -313,4 +313,3 @@ task:
env:
<< : *CIRRUS_EPHEMERAL_WORKER_TEMPLATE_ENV
FILE_ENV: "./ci/test/00_setup_env_android.sh"

1 change: 1 addition & 0 deletions build_msvc/common.init.vcxproj.in
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
<PropertyGroup Label="Globals">
<VCProjectVersion>16.0</VCProjectVersion>
<UseNativeEnvironment>true</UseNativeEnvironment>
<MaxiumumProcesses>2</MaxiumumProcesses>
</PropertyGroup>

<PropertyGroup Label="Vcpkg">
Expand Down
4 changes: 2 additions & 2 deletions build_msvc/common.props
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<PropertyGroup Label="UserMacros" />
<ItemDefinitionGroup>
<ClCompile>
<AdditionalIncludeDirectories>$(SolutionDir)\..\src\bls\mcl\../cybozulib/include;$(SolutionDir)\..\src\bls\mcl\../cybozulib_ext/include;$(SolutionDir)\..\src\bls\mcl\include;$(SolutionDir)\..\src\bls\mcl\../xbyak;$(SolutionDir)..\src\bls\include;$(SolutionDir)..\src;$(SolutionDir)..\src\univalue\include;$(SolutionDir)..\src\leveldb\include;$(SolutionDir)..\src\minisketch\include</AdditionalIncludeDirectories>
<AdditionalIncludeDirectories>$(SolutionDir)\..\src\bls\mcl\../cybozulib/include;$(SolutionDir)\..\src\bls\mcl\../cybozulib_ext/include;$(SolutionDir)\..\src\bls\mcl\include;$(SolutionDir)\..\src\bls\mcl\../xbyak;$(SolutionDir)..\src\bls\include;$(SolutionDir)..\src;$(SolutionDir)..\src\univalue\include;$(SolutionDir)..\src\leveldb\include;$(SolutionDir)..\src\minisketch\include;$(SolutionDir)..\src\secp256k1\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
</ClCompile>
</ItemDefinitionGroup>
<ItemDefinitionGroup>
Expand All @@ -16,7 +16,7 @@
<PreprocessorDefinitions>_MBCS;%(PreprocessorDefinitions);NOMINMAX;BLS_ETH;MCL_USE_VINT;MCL_VINT_FIXED_BUFFER;MCL_DONT_USE_OPENSSL;MCL_DONT_USE_XBYAK;MCLBN_DONT_EXPORT;MT;MCL_SIZEOF_UNIT=4;MCL_MAX_BIT_SIZE=384;CYBOZU_MINIMUM_EXCEPTION;%(PreprocessorDefinitions)</PreprocessorDefinitions>
</ClCompile>
<Link>
<AdditionalLibraryDirectories>$(SolutionDir)../cybozulib_ext/lib;$(SolutionDir)lib</AdditionalLibraryDirectories>
<AdditionalLibraryDirectories>$(SolutionDir)../cybozulib_ext/lib;$(SolutionDir)lib;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
</Link>
</ItemDefinitionGroup>
<ItemGroup />
Expand Down
14 changes: 13 additions & 1 deletion build_msvc/libbitcoinconsensus/libbitcoinconsensus.vcxproj
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,12 @@
<ConfigurationType>StaticLibrary</ConfigurationType>
</PropertyGroup>
<ItemGroup>
<ProjectReference Include="..\..\src\bls\src\proj\bls384_256.vcxproj">
<Project>{1DBB979A-C212-45CD-9563-446A96F87F72}</Project>
</ProjectReference>
<ProjectReference Include="..\..\src\bls\mcl\src\proj\mcl.vcxproj">
<Project>{1DBB979A-C212-45CD-9563-446A96F87F71}</Project>
</ProjectReference>
<ClCompile Include="..\..\src\arith_uint256.cpp" />
<ClCompile Include="..\..\src\consensus\merkle.cpp" />
<ClCompile Include="..\..\src\consensus\tx_check.cpp" />
Expand All @@ -30,8 +36,14 @@
<ClCompile Include="..\..\src\script\script_error.cpp" />
<ClCompile Include="..\..\src\uint256.cpp" />
<ClCompile Include="..\..\src\util\strencodings.cpp" />
<ClCompile Include="..\..\src\blsct\arith\elements.cpp" />
<ClCompile Include="..\..\src\blsct\arith\mcl\mcl_g1point.cpp" />
<ClCompile Include="..\..\src\blsct\arith\mcl\mcl_scalar.cpp" />
<ClCompile Include="..\..\src\blsct\range_proof\range_proof.cpp" />
<ClCompile Include="..\..\src\blsct\signature.cpp" />
</ItemGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
<Import Project="$(SolutionDir)common.props" />
<Import Project="..\common.vcxproj" />
</Project>
</Project>
2 changes: 2 additions & 0 deletions build_msvc/navcoin-tx/navcoin-tx.vcxproj
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,9 @@
<Project>{1DBB979A-C212-45CD-9563-446A96F87F71}</Project>
</ProjectReference>
</ItemGroup>
<Import Project="$(SolutionDir)common.props" />
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
<Import Project="..\common.vcxproj" />
</Project>

1 change: 1 addition & 0 deletions build_msvc/navcoin-util/navcoin-util.vcxproj
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@
<Project>{1DBB979A-C212-45CD-9563-446A96F87F71}</Project>
</ProjectReference>
</ItemGroup>
<Import Project="$(SolutionDir)common.props" />
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
<Import Project="..\common.vcxproj" />
Expand Down
1 change: 1 addition & 0 deletions build_msvc/navcoin-wallet/navcoin-wallet.vcxproj
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@
<Project>{1DBB979A-C212-45CD-9563-446A96F87F71}</Project>
</ProjectReference>
</ItemGroup>
<Import Project="$(SolutionDir)common.props" />
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
<Import Project="..\common.vcxproj" />
Expand Down
4 changes: 2 additions & 2 deletions ci/test/04_install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -124,13 +124,13 @@ CI_EXEC df -h
if [ "$RUN_FUZZ_TESTS" = "true" ]; then
export DIR_FUZZ_IN=${DIR_QA_ASSETS}/fuzz_seed_corpus/
if [ ! -d "$DIR_FUZZ_IN" ]; then
CI_EXEC git clone --depth=1 https://github.com/bitcoin-core/qa-assets "${DIR_QA_ASSETS}"
CI_EXEC git clone --depth=1 https://github.com/navcoin/qa-assets "${DIR_QA_ASSETS}"
fi
elif [ "$RUN_UNIT_TESTS" = "true" ] || [ "$RUN_UNIT_TESTS_SEQUENTIAL" = "true" ]; then
export DIR_UNIT_TEST_DATA=${DIR_QA_ASSETS}/unit_test_data/
if [ ! -d "$DIR_UNIT_TEST_DATA" ]; then
CI_EXEC mkdir -p "$DIR_UNIT_TEST_DATA"
CI_EXEC curl --location --fail https://github.com/bitcoin-core/qa-assets/raw/main/unit_test_data/script_assets_test.json -o "${DIR_UNIT_TEST_DATA}/script_assets_test.json"
CI_EXEC curl --location --fail https://github.com/navcoin/qa-assets/raw/main/unit_test_data/script_assets_test.json -o "${DIR_UNIT_TEST_DATA}/script_assets_test.json"
fi
fi

Expand Down
14 changes: 7 additions & 7 deletions doc/fuzzing.md
Original file line number Diff line number Diff line change
Expand Up @@ -82,12 +82,12 @@ $ FUZZ=address_deserialize_v2 src/test/fuzz/fuzz -runs=1 fuzz_seed_corpus/addres

## Fuzzing corpora

The project's collection of seed corpora is found in the [`bitcoin-core/qa-assets`](https://github.com/bitcoin-core/qa-assets) repo.
The project's collection of seed corpora is found in the [`navcoin/qa-assets`](https://github.com/navcoin/qa-assets) repo.

To fuzz `process_message` using the [`bitcoin-core/qa-assets`](https://github.com/bitcoin-core/qa-assets) seed corpus:
To fuzz `process_message` using the [`navcoin/qa-assets`](https://github.com/navcoin/qa-assets) seed corpus:

```sh
$ git clone https://github.com/bitcoin-core/qa-assets
$ git clone https://github.com/navcoin/qa-assets
$ FUZZ=process_message src/test/fuzz/fuzz qa-assets/fuzz_seed_corpus/process_message/
INFO: Seed: 1346407872
INFO: Loaded 1 modules (424174 inline 8-bit counters): 424174 [0x55d8a9004ab8, 0x55d8a906c3a6),
Expand All @@ -101,7 +101,7 @@ INFO: seed corpus: files: 991 min: 1b max: 1858b total: 288291b rss: 150Mb

## Run without sanitizers for increased throughput

Fuzzing on a harness compiled with `--with-sanitizers=address,fuzzer,undefined` is good for finding bugs. However, the very slow execution even under libFuzzer will limit the ability to find new coverage. A good approach is to perform occasional long runs without the additional bug-detectors (configure `--with-sanitizers=fuzzer`) and then merge new inputs into a corpus as described in the qa-assets repo (https://github.com/bitcoin-core/qa-assets/blob/main/.github/PULL_REQUEST_TEMPLATE.md). Patience is useful; even with improved throughput, libFuzzer may need days and 10s of millions of executions to reach deep/hard targets.
Fuzzing on a harness compiled with `--with-sanitizers=address,fuzzer,undefined` is good for finding bugs. However, the very slow execution even under libFuzzer will limit the ability to find new coverage. A good approach is to perform occasional long runs without the additional bug-detectors (configure `--with-sanitizers=fuzzer`) and then merge new inputs into a corpus as described in the qa-assets repo (https://github.com/navcoin/qa-assets/blob/main/.github/PULL_REQUEST_TEMPLATE.md). Patience is useful; even with improved throughput, libFuzzer may need days and 10s of millions of executions to reach deep/hard targets.

## Reproduce a fuzzer crash reported by the CI

Expand All @@ -117,9 +117,9 @@ Fuzzing on a harness compiled with `--with-sanitizers=address,fuzzer,undefined`

## Submit improved coverage

If you find coverage increasing inputs when fuzzing you are highly encouraged to submit them for inclusion in the [`bitcoin-core/qa-assets`](https://github.com/bitcoin-core/qa-assets) repo.
If you find coverage increasing inputs when fuzzing you are highly encouraged to submit them for inclusion in the [`navcoin/qa-assets`](https://github.com/navcoin/qa-assets) repo.

Every single pull request submitted against the Bitcoin Core repo is automatically tested against all inputs in the [`bitcoin-core/qa-assets`](https://github.com/bitcoin-core/qa-assets) repo. Contributing new coverage increasing inputs is an easy way to help make Bitcoin Core more robust.
Every single pull request submitted against the Bitcoin Core repo is automatically tested against all inputs in the [`navcoin/qa-assets`](https://github.com/navcoin/qa-assets) repo. Contributing new coverage increasing inputs is an easy way to help make Bitcoin Core more robust.

## macOS hints for libFuzzer

Expand Down Expand Up @@ -323,7 +323,7 @@ be decoded in the same way.
Fuzzing with Eclipser will likely be much more effective if using an existing corpus:

```sh
$ git clone https://github.com/bitcoin-core/qa-assets
$ git clone https://github.com/navcoin/qa-assets
$ FUZZ=bech32 dotnet Eclipser/build/Eclipser.dll fuzz -p src/test/fuzz/fuzz -t 36000 -i qa-assets/fuzz_seed_corpus/bech32 outputs --src stdin
```

Expand Down
16 changes: 13 additions & 3 deletions src/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -420,6 +420,7 @@ libbitcoin_node_a_SOURCES = \
blsct/range_proof/generators.cpp \
blsct/range_proof/lazy_g1point.cpp \
blsct/range_proof/range_proof_logic.cpp \
blsct/range_proof/range_proof.cpp \
blsct/range_proof/range_proof_with_transcript.cpp \
blsct/signature.cpp \
chain.cpp \
Expand Down Expand Up @@ -660,6 +661,11 @@ libbitcoin_consensus_a_CXXFLAGS = $(AM_CXXFLAGS) $(PIE_FLAGS)
libbitcoin_consensus_a_SOURCES = \
arith_uint256.cpp \
arith_uint256.h \
blsct/arith/elements.cpp \
blsct/arith/mcl/mcl_g1point.cpp \
blsct/arith/mcl/mcl_scalar.cpp \
blsct/range_proof/range_proof.cpp \
blsct/signature.cpp \
consensus/amount.h \
consensus/merkle.cpp \
consensus/merkle.h \
Expand All @@ -684,6 +690,7 @@ libbitcoin_consensus_a_SOURCES = \
script/script_error.h \
serialize.h \
span.h \
streams.h \
tinyformat.h \
uint256.cpp \
uint256.h \
Expand All @@ -698,6 +705,7 @@ libbitcoin_common_a_CXXFLAGS = $(AM_CXXFLAGS) $(PIE_FLAGS)
libbitcoin_common_a_SOURCES = \
base58.cpp \
bech32.cpp \
blsct/arith/elements.cpp \
chainparams.cpp \
coins.cpp \
common/bloom.cpp \
Expand Down Expand Up @@ -744,6 +752,7 @@ endif
libbitcoin_util_a_CPPFLAGS = $(AM_CPPFLAGS) $(BITCOIN_INCLUDES)
libbitcoin_util_a_CXXFLAGS = $(AM_CXXFLAGS) $(PIE_FLAGS)
libbitcoin_util_a_SOURCES = \
blsct/arith/elements.cpp \
support/lockedpool.cpp \
chainparamsbase.cpp \
clientversion.cpp \
Expand Down Expand Up @@ -854,7 +863,7 @@ navcoin_cli_LDADD += $(EVENT_LIBS)

# navcoin-tx binary #
navcoin_tx_SOURCES = bitcoin-tx.cpp
navcoin_tx_CPPFLAGS = $(AM_CPPFLAGS) $(BITCOIN_INCLUDES)
navcoin_tx_CPPFLAGS = $(AM_CPPFLAGS) $(BITCOIN_INCLUDES) $(BOOST_CPPFLAGS)
navcoin_tx_CXXFLAGS = $(AM_CXXFLAGS) $(PIE_FLAGS)
navcoin_tx_LDFLAGS = $(RELDFLAGS) $(AM_LDFLAGS) $(LIBTOOL_APP_LDFLAGS) $(PTHREAD_FLAGS)

Expand Down Expand Up @@ -900,7 +909,7 @@ endif

# navcoin-util binary #
navcoin_util_SOURCES = bitcoin-util.cpp
navcoin_util_CPPFLAGS = $(AM_CPPFLAGS) $(BITCOIN_INCLUDES)
navcoin_util_CPPFLAGS = $(AM_CPPFLAGS) $(BITCOIN_INCLUDES) $(BOOST_CPPFLAGS)
navcoin_util_CXXFLAGS = $(AM_CXXFLAGS) $(PIE_FLAGS)
navcoin_util_LDFLAGS = $(RELDFLAGS) $(AM_LDFLAGS) $(LIBTOOL_APP_LDFLAGS) $(PTHREAD_FLAGS)

Expand Down Expand Up @@ -970,6 +979,7 @@ libbitcoinkernel_la_SOURCES = \
blsct/private_key.cpp \
blsct/public_key.cpp \
blsct/public_keys.cpp \
blsct/range_proof/range_proof.cpp \
blsct/signature.cpp \
chain.cpp \
chainparamsbase.cpp \
Expand Down Expand Up @@ -1065,7 +1075,7 @@ libbitcoinconsensus_la_LIBADD = \
$(LIBBLS) \
$(LIBMCL) \
$(LIBSECP256K1)
libbitcoinconsensus_la_CPPFLAGS = $(AM_CPPFLAGS) -I$(builddir)/obj -I$(srcdir)/secp256k1/include -DBUILD_BITCOIN_INTERNAL
libbitcoinconsensus_la_CPPFLAGS = $(AM_CPPFLAGS) -I$(builddir)/obj -I$(srcdir)/secp256k1/include $(BLS_INCLUDES) -DBUILD_BITCOIN_INTERNAL
libbitcoinconsensus_la_CXXFLAGS = $(AM_CXXFLAGS) $(PIE_FLAGS)

endif
Expand Down
2 changes: 2 additions & 0 deletions src/Makefile.test_util.include
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ TEST_UTIL_H = \
blsct/private_key.h \
blsct/public_key.h \
blsct/public_keys.h \
blsct/signature.h \
test/util/blockfilter.h \
test/util/chainstate.h \
test/util/logging.h \
Expand Down Expand Up @@ -44,6 +45,7 @@ libtest_util_a_SOURCES = \
blsct/private_key.cpp \
blsct/public_key.cpp \
blsct/public_keys.cpp \
blsct/signature.h \
test/util/blockfilter.cpp \
test/util/logging.cpp \
test/util/mining.cpp \
Expand Down
Loading