mirror of
https://github.com/arnaucube/hermez-node.git
synced 2026-02-06 19:06:42 +01:00
Merge pull request #385 from hermeznetwork/feature/integratepriceupdater
Update and integrate price updater
This commit is contained in:
@@ -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"`
|
||||
|
||||
Reference in New Issue
Block a user