mirror of
https://github.com/XRPLF/rippled.git
synced 2025-12-06 17:27:55 +00:00
Add CachedLedger:
This type alias provide cache-wrapping for Ledger objects. Through the CachedLedger interface, access to the underlying Ledger is permitted to allow for cases where the implementation must perform Ledger specific activities. For example, building a fetch pack from the contained SHAMap objects. The CachingReadView is refactored: * Renamed to CachedView * Templated on Base, the base type * base() returns a shared_ptr to the wrapped object * Constructor requires a shared_ptr<Base>
This commit is contained in:
@@ -23,7 +23,7 @@
|
||||
#include <ripple/ledger/impl/ApplyViewBase.cpp>
|
||||
#include <ripple/ledger/impl/ApplyViewImpl.cpp>
|
||||
#include <ripple/ledger/impl/CachedSLEs.cpp>
|
||||
#include <ripple/ledger/impl/CachingReadView.cpp>
|
||||
#include <ripple/ledger/impl/CachedView.cpp>
|
||||
#include <ripple/ledger/impl/Directory.cpp>
|
||||
#include <ripple/ledger/impl/OpenView.cpp>
|
||||
#include <ripple/ledger/impl/PaymentSandbox.cpp>
|
||||
|
||||
Reference in New Issue
Block a user