nuts-foundation / nuts-discovery

Discovery service by the Nuts foundation for bootstrapping the network
GNU General Public License v3.0
2 stars 1 forks source link

Persist network params #27

Closed woutslakhorst closed 4 years ago

woutslakhorst commented 4 years ago

Each time a notary is stored, the params are updated It also identifies a notary based on the correct extension.

codecov[bot] commented 4 years ago

Codecov Report

Merging #27 into master will increase coverage by 1.44%. The diff coverage is n/a.

Impacted Files Coverage Δ Complexity Δ
...l/nuts/discovery/store/entity/NetworkParameters.kt 100.00% <0.00%> (ø) 5.00% <0.00%> (?%)
...nuts/discovery/service/NetworkParametersService.kt 97.05% <0.00%> (ø) 14.00% <0.00%> (?%)
woutslakhorst commented 4 years ago

Has to return empty networkParameters by default, otherwise the notary will never publish itself!