WIP
This commit is contained in:
+14
-4
@@ -1,4 +1,4 @@
|
||||
% Node, Chain and Net represent the physical network.
|
||||
%% Node, Chain and Net represent the physical network.
|
||||
|
||||
-record(node,
|
||||
{ip = {161,97,102,143} :: string() | inet:ip_address(),
|
||||
@@ -21,7 +21,7 @@
|
||||
|
||||
|
||||
|
||||
% AC and Coin represent the financial authority graph for a given coin.
|
||||
%% AC and Coin represent the financial authority graph for a given coin.
|
||||
|
||||
-record(ac,
|
||||
{id = none :: string(),
|
||||
@@ -35,7 +35,7 @@
|
||||
|
||||
|
||||
|
||||
% Balance, POA, Key, TXs, all culminate in capturing a complete Wallet view.
|
||||
%% Balance, POA, Key, TXs, all culminate in capturing a complete Wallet view.
|
||||
-record(balance,
|
||||
{coin = "gaju" :: string(),
|
||||
total = 0 :: non_neg_integer(),
|
||||
@@ -76,9 +76,19 @@
|
||||
|
||||
-record(wallet,
|
||||
{version = 1 :: integer(),
|
||||
name = "" :: string(),
|
||||
poas = [] :: [#poa{}],
|
||||
keys = [] :: [#key{}],
|
||||
pass = none :: none | binary(),
|
||||
chain_id = <<"groot.devnet">> :: binary(),
|
||||
endpoint = #node{} :: #node{},
|
||||
nets = [#net{}] :: [#net{}]}).
|
||||
|
||||
|
||||
|
||||
%% Niche registered elements
|
||||
|
||||
% WR: Wallet Registration
|
||||
-record(wr,
|
||||
{name = "" :: string(),
|
||||
path = "" :: file:filename(),
|
||||
pass = false :: boolean()}).
|
||||
|
||||
Reference in New Issue
Block a user