-
Notifications
You must be signed in to change notification settings - Fork 71
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
docs(advanced): added finalize options
- Loading branch information
1 parent
e28b0df
commit 9da5812
Showing
1 changed file
with
22 additions
and
0 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
# Finalize Options | ||
|
||
Advanced options for instructing Oura to stop on a chain point. If you'd like it to only sync a specific section of the chain, you can also instruct oura to stop syncing when it reaches a specific block hash by defining a `[finalize]` config. | ||
|
||
## Configuration | ||
|
||
To modify the default behavior the daemon mode uses, a section named `[finalize]` needs to be added to the `daemon.toml` file. | ||
|
||
```toml | ||
[finalize] | ||
until_hash = <BlockHash> | ||
max_block_slot = <SlotNumber> | ||
``` | ||
|
||
## Examples | ||
|
||
The following example show how to configure Oura to stop sync on Byron era | ||
|
||
```toml | ||
[finalize] | ||
until_hash = "aa83acbf5904c0edfe4d79b3689d3d00fcfc553cf360fd2229b98d464c28e9de" | ||
``` |