Public storage
Storage (Key-Value Store)
ER Diagram
"MasterNDID" → NDID’s node ID
Key | Value |
---|---|
MasterNDID | <NDID’s node ID> |
"NodeID"|<node’s node ID> → Node detail (Protobuf)
Key | Protobuf | |
---|---|---|
NodeID\ | <node’s node ID> | message NodeDetail { string public_key = 1; string master_public_key = 2; string node_name = 3; string role = 4; double max_ial = 5; double max_aal = 6; repeated MQ mq = 7; bool active = 8; } message MQ { string ip = 1; int64 port = 2; } |
"allList" → List of all node ID (Protobuf)
Key | Protobuf |
---|---|
allList | message AllList { repeated string node_id = 1; } |
"rpList" → List of RP node ID (Protobuf)
Key | Protobuf |
---|---|
rpList | message RPList { repeated string node_id = 1; } |
"IdPList" → List of IdP node ID (Protobuf)
Key | Protobuf |
---|---|
IdPList | message IdPList { repeated string node_id = 1; } |
"asList" → List of AS node ID (Protobuf)
Key | Protobuf |
---|---|
asList | message ASList { repeated string node_id = 1; } |
"TimeOutBlockRegisterIdentity" → Time out block for RegisterIdentity set by NDID
Key | Protobuf |
---|---|
TimeOutBlockRegisterIdentity | message TimeOutBlockRegisterIdentity { int64 time_out_block = 1; } |
"Token"|<node’s node ID> → Token amount
Key | Value | |
---|---|---|
Token\ | <node’s node ID> | 100.0 |
"TokenPriceFunc"|<function name> → Price of function
Key | Value | |
---|---|---|
TokenPriceFunc\ | <function name> | 10.0 |
"SpendGas"|<node’s node ID> → List of spend token (Protobuf)
Key | Protobuf | |
---|---|---|
SpendGas\ | <node’s node ID> | message ReportList { repeated Report reports = 1; } message Report { string method = 1; double price = 2; string data = 3; } |
"AllService" → List of service detail (Protobuf)
Key | Protobuf |
---|---|
AllService | message ServiceDetailList { repeated ServiceDetail services = 1; } |
"Service"|<service’s ID> → Service detail (Protobuf)
Key | Protobuf | |
---|---|---|
Service\ | <service’s ID> | message ServiceDetail { string service_id = 1; string service_name = 2; string data_schema = 3; string data_schema_version = 4; bool active = 5; } |
"ApproveKey"|<service’s ID>|<node’s node ID> → Approve value for regsiter service destination (Protobuf)
Key | Protobuf | ||
---|---|---|---|
ApproveKey\ | <service’s ID>\ | <node’s node ID> | message ApproveService { bool active = 1; } |
"ProvideService"|<node’s node ID> → Provide service list in AS node (Protobuf)
Key | Protobuf | |
---|---|---|
ProvideService\ | <node’s node ID> | message ServiceList { repeated Service services = 1; } message Service { string service_id = 1; double min_ial = 2; double min_aal = 3; bool active = 4; bool suspended = 5; } |
"ServiceDestination"|<service’s ID> → List of service destination (Protobuf)
Key | Protobuf | |
---|---|---|
ServiceDestination\ | <service’s ID> | message ServiceDesList { repeated ASNode node = 1; } message ASNode { string node_id = 1; double min_ial = 2; double min_aal = 3; string service_id = 4; bool active = 5; } |
"AllNamespace" → List of namespace (Protobuf)
Key | Protobuf |
---|---|
AllNamespace | message NamespaceList { repeated Namespace namespaces = 1; } message Namespace { string namespace = 1; string description = 2; bool active = 3; } |
"MsqDestination"|<hash ID> → List of msq destination (Protobuf)
Key | Protobuf | |
---|---|---|
MsqDestination\ | <hash ID> | message MsqDesList { repeated Node nodes = 1; } message Node { double ial = 1; string node_id = 2; bool active = 3; bool first = 4; int64 timeout_block = 5; } |
"Request"|<request ID> → Request detail (Protobuf)
Key | Protobuf | |
---|---|---|
Request\ | <request ID> | message Request { string request_id = 1; int64 min_idp = 2; double min_aal = 3; double min_ial = 4; int64 request_timeout = 5; repeated string idp_id_list = 6; repeated DataRequest data_request_list = 7; string request_message_hash = 8; repeated Response response_list = 9; bool closed = 10; bool timed_out = 11; string purpose = 12; string owner = 13; int64 mode = 14; int64 use_count = 15; int64 creation_block_height = 16; } message DataRequest { string service_id = 1; repeated string as_id_list = 2; int64 min_as = 3; string request_params_hash = 4; repeated string answered_as_id_list = 5; repeated string received_data_from_list = 6; } message Response { double ial = 1; double aal = 2; string status = 3; string signature = 4; string identity_proof = 5; string private_proof_hash = 6; string idp_id = 7; string valid_proof = 8; string valid_ial = 9; string valid_signature = 10; } |
"SignData"|<node ID>|<service ID>|<request ID> → Signature of data from AS
Key | Value | |||
---|---|---|---|---|
SignData\ | AS1\ | statement\ | ef6f4c9c-818b-42b8-8904-3d97c4c520f6 | e8921066562be0sadasd... |
"AccessorGroup"|<accessor group ID> → Accessor group ID
Key | Value | |
---|---|---|
AccessorGroup\ | <accessor group ID> | <accessor group ID> |
"Accessor"|<accessor ID> → Accessor detail (Protobuf)
Key | Protobuf | |
---|---|---|
Accessor\ | <accessor ID> | message Accessor { string accessor_type = 1; string accessor_public_key = 2; string accessor_group_id = 3; bool active = 4; string owner = 5; } |
"AccessorInGroup"|<accessor group ID> → List of accessor ID in Accessor group (Protobuf)
Key | Protobuf | |
---|---|---|
AccessorInGroup\ | <accessor group ID> | message AccessorInGroup { repeated string accessors = 1; } |
"Proxy"|<node’s node ID> → Proxy of node (Protobuf)
Key | Protobuf | |
---|---|---|
Proxy\ | <node’s node ID> | message Proxy { string proxy_node_id = 1; string config = 2; } |
"BehindProxyNode"|<proxy node’s node ID> → List of node ID behind proxy (Protobuf)
Key | Protobuf | |
---|---|---|
BehindProxyNode\ | <proxy node’s node ID> | message BehindNodeList { repeated string nodes = 1; } |