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:
@@ -2303,7 +2303,7 @@
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\src\ripple\ledger\CachedSLEs.h">
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\src\ripple\ledger\CachingReadView.h">
|
||||
<ClInclude Include="..\..\src\ripple\ledger\CachedView.h">
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\src\ripple\ledger\detail\ApplyStateTable.h">
|
||||
</ClInclude>
|
||||
@@ -2333,7 +2333,7 @@
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='debug|x64'">True</ExcludedFromBuild>
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='release|x64'">True</ExcludedFromBuild>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\src\ripple\ledger\impl\CachingReadView.cpp">
|
||||
<ClCompile Include="..\..\src\ripple\ledger\impl\CachedView.cpp">
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='debug|x64'">True</ExcludedFromBuild>
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='release|x64'">True</ExcludedFromBuild>
|
||||
</ClCompile>
|
||||
|
||||
@@ -3030,7 +3030,7 @@
|
||||
<ClInclude Include="..\..\src\ripple\ledger\CachedSLEs.h">
|
||||
<Filter>ripple\ledger</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\src\ripple\ledger\CachingReadView.h">
|
||||
<ClInclude Include="..\..\src\ripple\ledger\CachedView.h">
|
||||
<Filter>ripple\ledger</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\src\ripple\ledger\detail\ApplyStateTable.h">
|
||||
@@ -3063,7 +3063,7 @@
|
||||
<ClCompile Include="..\..\src\ripple\ledger\impl\CachedSLEs.cpp">
|
||||
<Filter>ripple\ledger\impl</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\src\ripple\ledger\impl\CachingReadView.cpp">
|
||||
<ClCompile Include="..\..\src\ripple\ledger\impl\CachedView.cpp">
|
||||
<Filter>ripple\ledger\impl</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\src\ripple\ledger\impl\Directory.cpp">
|
||||
|
||||
Reference in New Issue
Block a user