-
Notifications
You must be signed in to change notification settings - Fork 82
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
18 changed files
with
1,512 additions
and
6 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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,7 +1,7 @@ | ||
[workspace] | ||
resolver = "2" | ||
|
||
members = ["indexer-metrics", "moving-average", "processor", "server-framework"] | ||
members = ["indexer-metrics", "moving-average", "processor", "server-framework", "transaction-filter"] | ||
|
||
[workspace.package] | ||
authors = ["Aptos Labs <[email protected]>"] | ||
|
@@ -67,6 +67,8 @@ jemallocator = { version = "0.5.0", features = [ | |
] } | ||
kanal = { version = "0.1.0-pre8", features = ["async"] } | ||
once_cell = "1.10.0" | ||
# SIMD for string search | ||
memchr = "2.7.2" | ||
num_cpus = "1.16.0" | ||
pbjson = "0.5.1" | ||
prometheus = { version = "0.13.0", default-features = false } | ||
|
@@ -86,6 +88,7 @@ sha2 = "0.9.3" | |
sha3 = "0.9.1" | ||
strum = { version = "0.24.1", features = ["derive"] } | ||
tempfile = "3.3.0" | ||
thiserror = "1.0.61" | ||
toml = "0.7.4" | ||
tracing-subscriber = { version = "0.3.17", features = ["json", "env-filter"] } | ||
tokio = { version = "1.35.1", features = ["full"] } | ||
|
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 |
---|---|---|
@@ -0,0 +1,32 @@ | ||
[package] | ||
name = "transaction-filter" | ||
version = "0.1.0" | ||
|
||
# Workspace inherited keys | ||
authors = { workspace = true } | ||
edition = { workspace = true } | ||
homepage = { workspace = true } | ||
license = { workspace = true } | ||
publish = { workspace = true } | ||
repository = { workspace = true } | ||
rust-version = { workspace = true } | ||
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html | ||
|
||
[dependencies] | ||
anyhow = { workspace = true } | ||
aptos-protos = { workspace = true } | ||
|
||
# SIMD for string search. TODO: benchmark this on various real inputs to see if it's worth it | ||
memchr = { workspace = true } | ||
|
||
prost = { workspace = true } | ||
|
||
serde = { workspace = true } | ||
serde_json = { workspace = true } | ||
|
||
thiserror = { workspace = true } | ||
|
||
[dev-dependencies] | ||
# we only decompress the fixture protos in tests | ||
lz4 = "1.24.0" | ||
|
Binary file added
BIN
+455 KB
...on-filter/fixtures/compressed_files_lz4_00008bc1d5adcf862d3967c1410001fb_705101000.pb.lz4
Binary file not shown.
Binary file added
BIN
+2.9 MB
...on-filter/fixtures/compressed_files_lz4_0013c194ec4fdbfb8db7306170aac083_445907000.pb.lz4
Binary file not shown.
Binary file added
BIN
+38.9 MB
...on-filter/fixtures/compressed_files_lz4_f3d880d9700c70d71fefe71aa9218aa9_301616000.pb.lz4
Binary file not shown.
Oops, something went wrong.