Skip to content

Commit

Permalink
docs(advanced): added finalize options
Browse files Browse the repository at this point in the history
  • Loading branch information
paulobressan committed Aug 14, 2023
1 parent e28b0df commit 9da5812
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions docs/pages/v2/advanced/finalize_options.mdx
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"
```

0 comments on commit 9da5812

Please sign in to comment.