-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
small fixes and add the n2c to the workspace properly
- Loading branch information
1 parent
986ad84
commit c51600d
Showing
5 changed files
with
24 additions
and
16 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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,2 @@ | ||
# Oura block fetcher | ||
|
||
The tool is needed to fetch Cardano blocks from oura with raw cbor. Example: | ||
```shell | ||
cargo run --bin oura-block-fetcher -- --bearer tcp --since 94542168,9a585e847251b8e1eb41130c53506f3a5ef60213478af4b42b4477f884f86a59 --socket relays-new.cardano-mainnet.iohk.io:3001 | ||
``` | ||
# Configuration | ||
There are multiple parameters: | ||
* `bearer -- either tcp or unix` - represents the connection type to the node (tcp web / unix socket) | ||
* `since -- slot,block_hash` - starting point | ||
* `socket -- relays-new.cardano-mainnet.iohk.io:3001` - url or path to cardano node unix socket | ||
* `network -- mainnet / testnet / preview / preprod` - network of interest | ||
|
||
# Example | ||
`cargo run --bin n2c-fetcher -- --unix_socket socket_path --since 94542168,9a585e847251b8e1eb41130c53506f3a5ef60213478af4b42b4477f884f86a59` |
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