Make idxt active implementation
Use idxt for ledger_cache - ready for volume test
This commit is contained in:
parent
917473dfdc
commit
f031558b28
2 changed files with 4 additions and 2 deletions
|
@ -15,7 +15,7 @@
|
||||||
%% Inker key type used for tombstones
|
%% Inker key type used for tombstones
|
||||||
-define(INKT_TOMB, tomb).
|
-define(INKT_TOMB, tomb).
|
||||||
|
|
||||||
-define(CACHE_TYPE, tree).
|
-define(CACHE_TYPE, idxt).
|
||||||
|
|
||||||
-record(sft_options,
|
-record(sft_options,
|
||||||
{wait = true :: boolean(),
|
{wait = true :: boolean(),
|
||||||
|
|
|
@ -137,7 +137,9 @@ tsize({_Type, L, _Tree}) ->
|
||||||
L.
|
L.
|
||||||
|
|
||||||
empty(tree) ->
|
empty(tree) ->
|
||||||
{tree, 0, empty_tree()}.
|
{tree, 0, empty_tree()};
|
||||||
|
empty(idxt) ->
|
||||||
|
{idxt, 0, {{}, empty_tree()}}.
|
||||||
|
|
||||||
%%%============================================================================
|
%%%============================================================================
|
||||||
%%% Internal Functions
|
%%% Internal Functions
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue