1#include <xrpld/app/ledger/OrderBookDB.h>
34 if (havePublished.
emplace(p->getSeq()).second)
std::recursive_mutex mLock
hash_map< std::uint64_t, InfoSub::wptr > mListeners
void removeSubscriber(std::uint64_t sub)
Stop publishing to a subscriber.
void addSubscriber(InfoSub::ref sub)
Add a new subscription for this book.
void publish(MultiApiJson const &jvObj, hash_set< std::uint64_t > &havePublished)
Publish a transaction to subscribers.
Use hash_* containers for keys that do not need a cryptographically secure hashing algorithm.