Add Network Manager screen
This commit is contained in:
+17
-17
@@ -1,7 +1,7 @@
|
||||
% Node, Chain and Net represent the physical network.
|
||||
|
||||
-record(node,
|
||||
{ip = {161,97,102,143} :: inet:ip_address(),
|
||||
{ip = {161,97,102,143} :: string() | inet:ip_address(),
|
||||
external = 3013 :: inet:port_number(), % 3013
|
||||
internal = none :: none | inet:port_number(), % 3113
|
||||
rosetta = none :: none | inet:port_number(), % 8080
|
||||
@@ -10,9 +10,9 @@
|
||||
|
||||
|
||||
-record(chain,
|
||||
{id = <<"mint.devnet">> :: binary(),
|
||||
coins = ["gaju"] :: [string()],
|
||||
nodes = [#node{}] :: [#node{}]}).
|
||||
{id = <<"groot.devnet">> :: binary(),
|
||||
coins = ["gaju"] :: [string()],
|
||||
nodes = [#node{}] :: [#node{}]}).
|
||||
|
||||
|
||||
-record(net,
|
||||
@@ -29,17 +29,17 @@
|
||||
|
||||
|
||||
-record(coin,
|
||||
{id = "gaju" :: string(),
|
||||
mint = <<"mint.devnet">> :: binary(),
|
||||
acs = [#ac{}] :: [#ac{}]}).
|
||||
{id = "gaju" :: string(),
|
||||
mint = <<"groot.devnet">> :: binary(),
|
||||
acs = [#ac{}] :: [#ac{}]}).
|
||||
|
||||
|
||||
|
||||
% Balance, POA, Key, TXs, all culminate in capturing a complete Wallet view.
|
||||
-record(balance,
|
||||
{coin = "gaju" :: string(),
|
||||
total = 0 :: non_neg_integer(),
|
||||
dist = [{<<"mint.devnet">>, 0}] :: [{Chain :: binary(), non_neg_integer()}]}).
|
||||
{coin = "gaju" :: string(),
|
||||
total = 0 :: non_neg_integer(),
|
||||
dist = [{<<"groot.devnet">>, 0}] :: [{Chain :: binary(), non_neg_integer()}]}).
|
||||
|
||||
|
||||
-record(poa,
|
||||
@@ -75,10 +75,10 @@
|
||||
|
||||
|
||||
-record(wallet,
|
||||
{version = 1 :: integer(),
|
||||
poas = [] :: [#poa{}],
|
||||
keys = [] :: [#key{}],
|
||||
pass = none :: none | binary(),
|
||||
chain_id = <<"mint.devnet">> :: binary(),
|
||||
endpoint = #node{} :: #node{},
|
||||
chains = [#chain{}] :: [#chain{}]}).
|
||||
{version = 1 :: integer(),
|
||||
poas = [] :: [#poa{}],
|
||||
keys = [] :: [#key{}],
|
||||
pass = none :: none | binary(),
|
||||
chain_id = <<"groot.devnet">> :: binary(),
|
||||
endpoint = #node{} :: #node{},
|
||||
nets = [#net{}] :: [#net{}]}).
|
||||
|
||||
Reference in New Issue
Block a user