Add zomp.meta and fix key_block typo
This commit is contained in:
@@ -75,8 +75,8 @@
|
|||||||
|
|
||||||
|
|
||||||
% OTP Application Interface
|
% OTP Application Interface
|
||||||
%-export([start/0, stop/0]).
|
-export([start/0, stop/0]).
|
||||||
%-export([start/2, stop/1]).
|
-export([start/2, stop/1]).
|
||||||
|
|
||||||
|
|
||||||
%%% Types
|
%%% Types
|
||||||
@@ -277,7 +277,7 @@ timeout(MS) ->
|
|||||||
top_height() ->
|
top_height() ->
|
||||||
case top_block() of
|
case top_block() of
|
||||||
{ok, #{"micro_block" := #{"height" := Height}}} -> {ok, Height};
|
{ok, #{"micro_block" := #{"height" := Height}}} -> {ok, Height};
|
||||||
{ok, #{"key_block " := #{"height" := Height}}} -> {ok, Height};
|
{ok, #{"key_block" := #{"height" := Height}}} -> {ok, Height};
|
||||||
Error -> Error
|
Error -> Error
|
||||||
end.
|
end.
|
||||||
|
|
||||||
@@ -1478,19 +1478,25 @@ eu(N, Size) ->
|
|||||||
% /v2/debug/crash
|
% /v2/debug/crash
|
||||||
|
|
||||||
|
|
||||||
%-spec start() -> ok | {error, Reason :: term()}.
|
-spec start() -> ok | {error, Reason :: term()}.
|
||||||
%
|
|
||||||
%start() ->
|
start() ->
|
||||||
% application:start(vanillae).
|
application:start(vanillae).
|
||||||
%
|
|
||||||
%
|
|
||||||
%-spec start(normal, term()) -> {ok, pid()}.
|
-spec stop() -> ok | {error, Reason :: term()}.
|
||||||
%
|
|
||||||
%start(normal, _Args) ->
|
stop() ->
|
||||||
% vanillae_sup:start_link().
|
application:stop(vanillae).
|
||||||
%
|
|
||||||
%
|
|
||||||
%-spec stop(term()) -> ok.
|
-spec start(normal, term()) -> {ok, pid()}.
|
||||||
%
|
|
||||||
%stop(_State) ->
|
start(normal, _Args) ->
|
||||||
% ok.
|
vanillae_sup:start_link().
|
||||||
|
|
||||||
|
|
||||||
|
-spec stop(term()) -> ok.
|
||||||
|
|
||||||
|
stop(_State) ->
|
||||||
|
ok.
|
||||||
|
|||||||
@@ -2,7 +2,12 @@
|
|||||||
{author,"Craig Everett"}.
|
{author,"Craig Everett"}.
|
||||||
{c_email,"ceverett@tsuriai.jp"}.
|
{c_email,"ceverett@tsuriai.jp"}.
|
||||||
{copyright,"Craig Everett"}.
|
{copyright,"Craig Everett"}.
|
||||||
{deps,[]}.
|
{deps,[{"otpr","aeserialization",{0,1,0}},
|
||||||
|
{"otpr","aesophia",{7,1,0}},
|
||||||
|
{"otpr","zj",{1,1,0}},
|
||||||
|
{"otpr","eblake2",{1,0,0}},
|
||||||
|
{"otpr","getopt",{1,0,2}},
|
||||||
|
{"otpr","aebytecode",{3,2,0}}]}.
|
||||||
{desc,"Erlang library for ecommerce use of the Aeternity blockchain"}.
|
{desc,"Erlang library for ecommerce use of the Aeternity blockchain"}.
|
||||||
{file_exts,[]}.
|
{file_exts,[]}.
|
||||||
{key_name,none}.
|
{key_name,none}.
|
||||||
|
|||||||
Reference in New Issue
Block a user