Changeset View
Changeset View
Standalone View
Standalone View
src/blockfilter.cpp
// Copyright (c) 2018 The Bitcoin Core developers | // Copyright (c) 2018 The Bitcoin Core developers | ||||
// Distributed under the MIT software license, see the accompanying | // Distributed under the MIT software license, see the accompanying | ||||
// file COPYING or http://www.opensource.org/licenses/mit-license.php. | // file COPYING or http://www.opensource.org/licenses/mit-license.php. | ||||
#include <blockfilter.h> | #include <blockfilter.h> | ||||
#include <hash.h> | #include <crypto/siphash.h> | ||||
#include <streams.h> | #include <streams.h> | ||||
/// SerType used to serialize parameters in GCS filter encoding. | /// SerType used to serialize parameters in GCS filter encoding. | ||||
static constexpr int GCS_SER_TYPE = SER_NETWORK; | static constexpr int GCS_SER_TYPE = SER_NETWORK; | ||||
/// Protocol version used to serialize parameters in GCS filter encoding. | /// Protocol version used to serialize parameters in GCS filter encoding. | ||||
static constexpr int GCS_SER_VERSION = 0; | static constexpr int GCS_SER_VERSION = 0; | ||||
▲ Show 20 Lines • Show All 184 Lines • Show Last 20 Lines |