![]() |
Fabcoin Core
0.16.2
P2P Digital Currency
|
#include <BlockQueue.h>
Public Member Functions | |
| std::size_t | count () const |
| std::size_t | size () const |
| bool | isEmpty () const |
| h256 | nextHash () const |
| T const & | next () const |
| void | clear () |
| void | enqueue (T &&_t) |
| T | dequeue () |
| std::vector< T > | dequeueMultiple (std::size_t _n) |
| bool | remove (h256 const &_hash) |
| template<class Pred > | |
| std::vector< T > | removeIf (Pred _pred) |
| bool | replace (h256 const &_hash, T &&_t) |
Private Member Functions | |
| std::vector< T > | removeRange (typename std::deque< T >::iterator _begin, typename std::deque< T >::iterator _end) |
Static Private Member Functions | |
| static std::function< bool(T const &)> | sha3UnclesEquals (h256 const &_hash) |
Private Attributes | |
| std::deque< T > | m_queue |
| std::atomic< size_t > | m_size = {0} |
| Tracks total size in bytes. More... | |
Definition at line 71 of file BlockQueue.h.
|
inline |
Definition at line 84 of file BlockQueue.h.
|
inline |
Definition at line 74 of file BlockQueue.h.
|
inline |
Definition at line 96 of file BlockQueue.h.
|
inline |
Definition at line 106 of file BlockQueue.h.
|
inline |
Definition at line 90 of file BlockQueue.h.
|
inline |
Definition at line 78 of file BlockQueue.h.
|
inline |
Definition at line 82 of file BlockQueue.h.
|
inline |
Definition at line 80 of file BlockQueue.h.
|
inline |
Definition at line 111 of file BlockQueue.h.
|
inline |
Definition at line 118 of file BlockQueue.h.
|
inlineprivate |
Definition at line 145 of file BlockQueue.h.
|
inline |
Definition at line 125 of file BlockQueue.h.
|
inlinestaticprivate |
Definition at line 140 of file BlockQueue.h.
|
inline |
Definition at line 76 of file BlockQueue.h.
|
private |
Definition at line 156 of file BlockQueue.h.
|
private |
Tracks total size in bytes.
Definition at line 157 of file BlockQueue.h.
1.8.11