Skip to content

Commit

Permalink
feat: implement file-based chain cursor (txpipe#723)
Browse files Browse the repository at this point in the history
  • Loading branch information
scarmuega authored Dec 29, 2023
1 parent cdaa596 commit b8114ae
Show file tree
Hide file tree
Showing 37 changed files with 581 additions and 626 deletions.
8 changes: 4 additions & 4 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,9 @@ pallas = "0.19.0"
# pallas = { path = "../pallas/pallas" }
# pallas = { git = "https://github.com/txpipe/pallas" }

gasket = { version = "^0.4", features = ["derive"] }
gasket = { version = "^0.6", features = ["derive"] }
# gasket = { path = "../../construkts/gasket-rs/gasket", features = ["derive"] }
# gasket = { git = "https://github.com/construkts/gasket-rs.git", features = ["derive"] }
# gasket = { git = "https://github.com/construkts/gasket-rs.git", features = ["derive"] }

utxorpc = { version = "1.0.0-alpha.1" }
hex = "0.4.3"
Expand Down
1 change: 1 addition & 0 deletions examples/file_cursor/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
*.json
14 changes: 14 additions & 0 deletions examples/file_cursor/daemon.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
[source]
type = "N2N"
peers = ["relays-new.cardano-mainnet.iohk.io:3001"]

[intersect]
type = "Point"
value = [4493860, "ce7f821d2140419fea1a7900cf71b0c0a0e94afbb1f814a6717cff071c3b6afc"]

[cursor]
type = "File"
path = "my_cursor.json"

[sink]
type = "Stdout"
42 changes: 0 additions & 42 deletions src/_utils/facade.rs

This file was deleted.

127 changes: 0 additions & 127 deletions src/_utils/retry.rs

This file was deleted.

Loading

0 comments on commit b8114ae

Please sign in to comment.