![]() |
BSHA3
0.17.99
P2P Blockchain, based on Bitcoin
|
Complete block filter struct as defined in BIP 157. More...
#include <blockfilter.h>
Public Member Functions | |
| BlockFilter (BlockFilterType filter_type, const CBlock &block, const CBlockUndo &block_undo) | |
| BlockFilterType | GetFilterType () const |
| const GCSFilter & | GetFilter () const |
| const std::vector< unsigned char > & | GetEncodedFilter () const |
| uint256 | GetHash () const |
| uint256 | ComputeHeader (const uint256 &prev_header) const |
| template<typename Stream > | |
| void | Serialize (Stream &s) const |
| template<typename Stream > | |
| void | Unserialize (Stream &s) |
Private Attributes | |
| BlockFilterType | m_filter_type |
| uint256 | m_block_hash |
| GCSFilter | m_filter |
Complete block filter struct as defined in BIP 157.
Serialization matches payload of "cfilter" messages.
Definition at line 88 of file blockfilter.h.
| BlockFilter::BlockFilter | ( | BlockFilterType | filter_type, |
| const CBlock & | block, | ||
| const CBlockUndo & | block_undo | ||
| ) |
|
inline |
Definition at line 104 of file blockfilter.h.
|
inline |
Definition at line 102 of file blockfilter.h.
|
inline |
Definition at line 100 of file blockfilter.h.
| uint256 BlockFilter::GetHash | ( | ) | const |
Definition at line 242 of file blockfilter.cpp.
|
inline |
|
inline |
|
private |
Definition at line 92 of file blockfilter.h.
|
private |
Definition at line 93 of file blockfilter.h.
|
private |
Definition at line 91 of file blockfilter.h.
1.8.14