hermeznetwork / hermez-node

Hermez node Go implementation
GNU Affero General Public License v3.0
58 stars 33 forks source link

TODO: make prover wait ready timeout configurable #1081

Closed tclemos closed 3 years ago

tclemos commented 3 years ago

Rationale

The current Prover Wait Ready Timeout time is hardcoded

https://github.com/hermeznetwork/hermez-node/blob/3fc5b4c531394e9d6a9975e2fa798bbd5029e6a4/coordinator/pipeline.go#L25-L26

Implementation

Create a new configuration field to receive this info and use the configuration instead of the hardcoded value. The default value can continue to be the value hardcoded.