diff --git a/tools/parser/address_state.hpp b/tools/parser/address_state.hpp index a67ab8f6..1ea46a57 100644 --- a/tools/parser/address_state.hpp +++ b/tools/parser/address_state.hpp @@ -37,16 +37,18 @@ struct NonDudupAddressInfo { uint32_t addressNum; }; +// Initial size of the Bloom Filter for different address types template -constexpr int startingCount = 0; +inline constexpr int startingCount = 0; template<> -constexpr int startingCount = 600'000'000; +inline constexpr int startingCount = 600'000'000; template<> -constexpr int startingCount = 100'000'000; +inline constexpr int startingCount = 100'000'000; template<> -constexpr int startingCount = 100'000'000; +inline constexpr int startingCount = 100'000'000; class AddressState { + static constexpr auto AddressFalsePositiveRate = .05; template