Skip to main content

OracleChain Memory Tables

OracleChain component provides scheduler and services to maintain transaction chain and real world data integration.

But we need a way to access quickly this information for better computation latency.

For this purpose, the OracleChain service maintains a memory table using ETS to hold the information according to their date.

It represented in that way:

TimestampServiceData

For example for the UCO service we may have:

TimestampServiceData
1622801400UCO%{ "eur" => 0.02 }

The table is loading after each oracle or oracle summary transaction and during the bootstrap for faster computation.

info

The transaction's fee algorithm is using this cached information to provide this computation quickly