Skip to content

Commit

Permalink
add processors to indexer grpc system. (aptos-labs#7012)
Browse files Browse the repository at this point in the history
  • Loading branch information
larry-aptos authored Mar 12, 2023
1 parent c0c8f00 commit d5ecd9a
Show file tree
Hide file tree
Showing 98 changed files with 9,962 additions and 10,222 deletions.
1 change: 1 addition & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
!crates/aptos/src/move_tool/*.bpl
!api/doc/
!crates/indexer/migrations/**/*.sql
!ecosystem/indexer-grpc/indexer-grpc-parser/migrations/**/*.sql
!terraform/helm/aptos-node/
!terraform/helm/genesis/
!testsuite/forge/src/backend/k8s/
40 changes: 40 additions & 0 deletions Cargo.lock

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

28 changes: 23 additions & 5 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,7 @@ members = [
"ecosystem/indexer-grpc/indexer-grpc-data-service",
"ecosystem/indexer-grpc/indexer-grpc-file-store",
"ecosystem/indexer-grpc/indexer-grpc-fullnode",
"ecosystem/indexer-grpc/indexer-grpc-parser",
"ecosystem/indexer-grpc/indexer-grpc-utils",
"ecosystem/node-checker",
"ecosystem/node-checker/fn-check-client",
Expand Down Expand Up @@ -227,6 +228,7 @@ aptos-indexer-grpc-data-service = { path = "ecosystem/indexer-grpc/indexer-grpc-
aptos-indexer-grpc-file-store = { path = "ecosystem/indexer-grpc/indexer-grpc-file-store" }
aptos-indexer-grpc-fullnode = { path = "ecosystem/indexer-grpc/indexer-grpc-fullnode" }
aptos-indexer-grpc-utils = { path = "ecosystem/indexer-grpc/indexer-grpc-utils" }
aptos-indexer-grpc-parser = { path = "ecosystem/indexer-grpc/indexer-grpc-parser" }
aptos-infallible = { path = "crates/aptos-infallible" }
aptos-inspection-service = { path = "crates/inspection-service" }
aptos-jellyfish-merkle = { path = "storage/jellyfish-merkle" }
Expand Down Expand Up @@ -287,7 +289,9 @@ aptos-telemetry = { path = "crates/aptos-telemetry" }
aptos-telemetry-service = { path = "crates/aptos-telemetry-service" }
aptos-temppath = { path = "crates/aptos-temppath" }
aptos-testcases = { path = "testsuite/testcases" }
aptos-time-service = { path = "crates/aptos-time-service", features = ["async"] }
aptos-time-service = { path = "crates/aptos-time-service", features = [
"async",
] }
aptos-transaction-emitter-lib = { path = "crates/transaction-emitter-lib" }
aptos-transactional-test-harness = { path = "aptos-move/aptos-transactional-test-harness" }
aptos-types = { path = "types" }
Expand Down Expand Up @@ -382,10 +386,15 @@ indicatif = "0.15.0"
indoc = "1.0.6"
ipnet = "2.5.0"
itertools = "0.10.3"
jemallocator = { version = "0.3.2", features = ["profiling", "unprefixed_malloc_on_supported_platforms"] }
jemallocator = { version = "0.3.2", features = [
"profiling",
"unprefixed_malloc_on_supported_platforms",
] }
json-patch = "0.2.6"
jsonwebtoken = "8.1"
k8s-openapi = { version = "0.11.0", default-features = false, features = ["v1_15"] }
k8s-openapi = { version = "0.11.0", default-features = false, features = [
"v1_15",
] }
kube = { version = "0.51.0", features = ["jsonpatch"] }
libfuzzer-sys = "=0.3.2"
libsecp256k1 = "0.7.0"
Expand Down Expand Up @@ -478,8 +487,17 @@ tokio-stream = "0.1.8"
tokio-test = "0.4.1"
tokio-util = { version = "0.7.2", features = ["compat", "codec"] }
toml = "0.5.9"
tonic = { version = "0.8.3", features = ["tls-roots", "transport", "prost", "gzip", "codegen"] }
ureq = { version = "1.5.4", features = ["json", "native-tls"], default_features = false }
tonic = { version = "0.8.3", features = [
"tls-roots",
"transport",
"prost",
"gzip",
"codegen",
] }
ureq = { version = "1.5.4", features = [
"json",
"native-tls",
], default_features = false }
url = { version = "2.2.2", features = ["serde"] }
uuid = { version = "1.0.0", features = ["v4", "serde"] }
walkdir = "2.3.2"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ message RawDatastreamRequest {
// Required; start version of current stream.
uint64 starting_version = 1;

// Optional; number of transactions to return in current stream.
// Optional; number of transactions to return in current stream.
// If not set, response streams infinitely.
optional uint64 transactions_count = 2;
}
Expand Down
70 changes: 35 additions & 35 deletions crates/aptos-protos/src/pb/aptos.datastream.v1.rs

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

Loading

0 comments on commit d5ecd9a

Please sign in to comment.