You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
URL pattern should be something like: /{assetname}/{time}/rvalue /{assetname}/{time}/signature
Time should be using ISO-8601, this article gives some good practices.
R values and signatures should be generated lazily, meaning that when they are requested for the first time, they are generated and stored in the database (it is important to consider concurrency issues here).
The k values should be generated using a CPRG and also stored in the database (this should be revised in the future to store them in a secure module).
Objectives
Have the server automatically generate the handlers based on the configuration file.
Return properly generated R values and store them in DB
Return dummy signatures
Have unit and integration tests
Technical consideration
Might be useful to reuse some of the configuration structures and functions from p2pderivatives-server, maybe extracting them in a separate repo.
The text was updated successfully, but these errors were encountered:
Overview
The oracle server should be configurable to allow serving different type of assets with different timeframes.
The configuration should look something like:
URL pattern should be something like:
/{assetname}/{time}/rvalue
/{assetname}/{time}/signature
Time should be using ISO-8601, this article gives some good practices.
R values and signatures should be generated lazily, meaning that when they are requested for the first time, they are generated and stored in the database (it is important to consider concurrency issues here).
The k values should be generated using a CPRG and also stored in the database (this should be revised in the future to store them in a secure module).
Objectives
Technical consideration
Might be useful to reuse some of the configuration structures and functions from
p2pderivatives-server
, maybe extracting them in a separate repo.The text was updated successfully, but these errors were encountered: