Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Next »

Table of Contents

Overview

FIO Relic is a fork of Antelope Memento and is intended to receive FIO Chain data stream from the FIO Chain Node via EOS Chronicle. FIO specific data is extracted from the stream and stored in a Relational Database (RDB) for future query via API. The following document is intended to be functional specification for the FIO Relic System.

Components

Data Transformation

This component is responsible for reading the data in the data stream and looking for FIO-specific data, parsing it, and inserting into RDB.

Example:

  • When an action registering FIO Domain is observed, insert it into domains table.

Query API

This component is responsible for receiving an API request, fetching relevant data from the RDB and returning to the API user.

Example:

  • Fetch all FIO Domains registered in specific time-frame.

Push Notification System

This component will be developed in Phase 2.

This component allows an API user to subscribe to specific events and then receive notification if such event has occurred during data transformation.

Examples

  • “Notify supplied webhook on every new FIO Domain registration”

  • “Notify when a FIO Request for specific FIO Handle is observed”

Specification

Data Model

blocks

Field

Description

Data stream field name

Relationship

number

Block number as generated by FIO Node

block_num

transactions->block_num

id

Block ID as generated by FIO Node

id

timestamp

Timestamp as generated by FIO Node

timestamp

producer

Account name of producer which produced the block

producer

schedule_version

Version of BP schedule

schedule_version

transactions

Field

Description

Data stream field name

Relationship

block_number

Block which contained this transaction

block_num

blocks->number

id

Transaction id

id

traces->transaction_id

account

Account name for action

account

action

Action name

name

actor

Actor which executed the transaction

actor

tpid

TPID which was recorded in tranaction

tpid

fee

FIO Chain fee paid for this transaction

fee_collected

request_data

Raw request data for primary trace

data

response_data

Raw response data for primary trace

response

traces

Field

Description

Data stream field name

Relationship

id

Trace id

accounts->trace_id

transaction_id

Transaction ID

transactions->id

action_ordinal

Sequential order of trace in transaction

action_ordinal

account

Account name for trace

account

action

Action name fro trace

name

request_data

Raw request data for trace

data

accounts

Field

Description

Data stream field name

Relationship

account

Account name

account_transactions->account

trace_id

Trace ID which created account

traces->id

account_transactions

Field

Description

Data stream field name

Relationship

account

Account name

accounts->account

transaction_id

Transaction ID

transactions->id

type

Type of impact the transaction had on on account

domains

Field

Description

Data stream field name

Relationship

domain

Domain name

domain_activity->domain

owner

Account Name of current owner

accounts->account

expiration

Timestamp of domain expiration

status

Current status of domain

domain_activity

Field

Description

Data stream field name

Relationship

domain

Domain name

domains->domain

owner

Account Name of current owner

accounts->account

trace_id

Trace ID of domain activity

traces->id

type

Type of activity

handles

Field

Description

Data stream field name

Relationship

handle

Handle name

owner

Account Name of current owner

accounts->account

bundled_tx

Bundled tx count

handle_activity

Field

Description

Data stream field name

Relationship

handle

Handle name

handles->handle

owner

Account Name of current owner

accounts->account

trace_id

Trace ID of handle activity

traces->id

type

Type of activity

  • No labels

0 Comments

You are not logged in. Any changes you make will be marked as anonymous. You may want to Log In if you already have an account.