Half-way to ets for Bookie mem
A half-way implementation with use of ETS as the bookie's memory
This commit is contained in:
parent
bbdb35ae03
commit
e6270d288f
3 changed files with 81 additions and 50 deletions
|
@ -322,6 +322,7 @@ init([PCLopts]) ->
|
|||
SrcPenciller = PCLopts#penciller_options.source_penciller,
|
||||
{ok, State} = pcl_registersnapshot(SrcPenciller, self()),
|
||||
leveled_log:log("P0001", [self()]),
|
||||
io:format("Snapshot ledger sqn at ~w~n", [State#state.ledger_sqn]),
|
||||
{ok, State#state{is_snapshot=true, source_penciller=SrcPenciller}};
|
||||
%% Need to do something about timeout
|
||||
{_RootPath, false} ->
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue