Merge pull request #385 from hermeznetwork/feature/integratepriceupdater

Update and integrate price updater
This commit is contained in:
a_bennassar
2020-12-21 09:56:07 +01:00
committed by GitHub
5 changed files with 111 additions and 33 deletions

View File

@@ -96,6 +96,11 @@ type Coordinator struct {
// Node is the hermez node configuration.
type Node struct {
PriceUpdater struct {
Interval Duration `valudate:"required"`
URL string `valudate:"required"`
Type string `valudate:"required"`
} `validate:"required"`
StateDB struct {
Path string
} `validate:"required"`