Skip to content
This repository has been archived by the owner on Mar 11, 2024. It is now read-only.

Build read only nodes for each build #10

Open
nitro-neal opened this issue May 11, 2023 · 1 comment
Open

Build read only nodes for each build #10

nitro-neal opened this issue May 11, 2023 · 1 comment

Comments

@nitro-neal
Copy link
Collaborator

Additionally we need read only nodes:

Build read only nodes for each build

Config to turn roles on and off:
https://github.com/decentralized-identity/ion/blob/master/config/mainnet-core-config.json

Change both batchingIntervalInSeconds (for Batch Writer) and observingIntervalInSeconds (for Observer) to 0, then you have an ION node running just the Resolver.

Unit test:
https://github.com/decentralized-identity/sidetree-reference-impl/blob/bf1f7aeab251083cfb5ea5d612f481cd41f0ab1b/tests/core/Core.spec.ts#L108

@nitro-neal
Copy link
Collaborator Author

#11

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant