hermeznetwork / hermez-node

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

Update provers config #1106

Closed mfcastellani closed 2 years ago

mfcastellani commented 3 years ago

Update the list of available providers before creating the pipeline. Currently the listing of provers is only checked on heznode startup.

mfcastellani commented 3 years ago

The creation of the pipeline takes place in the NewPipeline method (line 85 of pipeline.go). It receives a listing of providers as a parameter. This parameter must be removed and the list of providers must be read when creating the pipeline.