![]() |
Bitcoin Core 31.0.0
P2P Digital Currency
|
Abstract class for internal representation of a minisketch object. More...
#include <sketch.h>
Public Member Functions | |
| Sketch (int implementation, int bits) | |
| void | Ready () |
| void | Check () const |
| void | UnReady () |
| int | Implementation () const |
| int | Bits () const |
| virtual | ~Sketch () |
| virtual size_t | Syndromes () const =0 |
| virtual void | Init (size_t syndromes)=0 |
| virtual void | Add (uint64_t element)=0 |
| virtual void | Serialize (unsigned char *) const =0 |
| virtual void | Deserialize (const unsigned char *)=0 |
| virtual size_t | Merge (const Sketch *other_sketch)=0 |
| virtual void | SetSeed (uint64_t seed)=0 |
| virtual int | Decode (int max_count, uint64_t *roots) const =0 |
Private Attributes | |
| uint64_t | m_canary |
| const int | m_implementation |
| const int | m_bits |
Abstract class for internal representation of a minisketch object.
Implemented in SketchImpl< F >.
|
inline |
Implemented in SketchImpl< F >.
Implemented in SketchImpl< F >.
Implemented in SketchImpl< F >.
Implemented in SketchImpl< F >.
Implemented in SketchImpl< F >.
Implemented in SketchImpl< F >.