Closed elpiel closed 4 years ago
We need to be able to load statically a Configuration file in the binary.
I think there was a nice crate to do the whole deserialiazation into a stuct,
[x] Loading a configuration from file (dev & prod) in the binary #13 https://github.com/AdExNetwork/adex-validator-stack-rust/blob/master/primitives/src/config.rs#L9
clap
Timeouts:
[x] recency (4 minutes default from https://github.com/AdExNetwork/adex-market/blob/eed1f7f0bfa89fb5e0cf7061f10b8a6492299c5c/cfg.js#L9) #13
[x] limitedIdentityEarningsLimit from https://github.com/AdExNetwork/adex-market/blob/eed1f7f0bfa89fb5e0cf7061f10b8a6492299c5c/cfg.js#L13 #13
limitedIdentityEarningsLimit
[x] Fetch campaigns from Market every X secs/mins #13
[x] Update campaigns statuses (from validators) every X secs/mins #13
We need to be able to load statically a Configuration file in the binary.
I think there was a nice crate to do the whole deserialiazation into a stuct,
[x] Loading a configuration from file (dev & prod) in the binary #13 https://github.com/AdExNetwork/adex-validator-stack-rust/blob/master/primitives/src/config.rs#L9
clap
) #13Timeouts:
[x] recency (4 minutes default from https://github.com/AdExNetwork/adex-market/blob/eed1f7f0bfa89fb5e0cf7061f10b8a6492299c5c/cfg.js#L9) #13
[x]
limitedIdentityEarningsLimit
from https://github.com/AdExNetwork/adex-market/blob/eed1f7f0bfa89fb5e0cf7061f10b8a6492299c5c/cfg.js#L13 #13[x] Fetch campaigns from Market every X secs/mins #13
[x] Update campaigns statuses (from validators) every X secs/mins #13