diff options
author | glozow <gloriajzhao@gmail.com> | 2023-09-29 15:43:16 +0100 |
---|---|---|
committer | glozow <gloriajzhao@gmail.com> | 2024-10-24 21:23:56 -0400 |
commit | 0f4bc635854597e15ea6968767fc4e5cf5bdd790 (patch) | |
tree | 867acefb8862cde2544d0e3644e98e9200709143 /src/txorphanage.h | |
parent | 699643f23a1bd0346e36bd90c83ba1b0b0a5c3fe (diff) |
[fuzz] txdownloadman and txdownload_impl
The txdownload_impl is similar but allows us to check specific
invariants within its implementation. It will also change a lot more
than the external interface (txdownloadman) will, so we will add more to
this target later.
Diffstat (limited to 'src/txorphanage.h')
-rw-r--r-- | src/txorphanage.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/txorphanage.h b/src/txorphanage.h index 5501d10922..b1fae3fa00 100644 --- a/src/txorphanage.h +++ b/src/txorphanage.h @@ -67,7 +67,7 @@ public: std::vector<std::pair<CTransactionRef, NodeId>> GetChildrenFromDifferentPeer(const CTransactionRef& parent, NodeId nodeid) const; /** Return how many entries exist in the orphange */ - size_t Size() + size_t Size() const { return m_orphans.size(); } |