-
Notifications
You must be signed in to change notification settings - Fork 622
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
nearcore: run node in archival mode if database is an archive (#7752)
Previously, if neard wasn’t configured to run as an archival node (i.e. `archive` setting in `config.json` was false) but the database was an archive, the node would fail. Change this behaviour so that it warns and continues running as archival node. The grand plan is to get rid of the `archive` setting and have type of the node be determined by the database. This will reduce number of special cases to be handled when opening a database.
- Loading branch information
Showing
2 changed files
with
29 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters