Skip to content

Commit

Permalink
[Indexer-Grpc-V2] Add MetadataManager.
Browse files Browse the repository at this point in the history
  • Loading branch information
grao1991 committed Jan 14, 2025
1 parent 0ff320c commit 501f87e
Show file tree
Hide file tree
Showing 10 changed files with 805 additions and 360 deletions.
2 changes: 2 additions & 0 deletions Cargo.lock

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

2 changes: 2 additions & 0 deletions ecosystem/indexer-grpc/indexer-grpc-manager/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@ aptos-indexer-grpc-utils = { workspace = true }
aptos-protos = { workspace = true }
async-trait = { workspace = true }
clap = { workspace = true }
dashmap = { workspace = true }
rand = { workspace = true }
serde = { workspace = true }
tokio = { workspace = true }
tokio-scoped = { workspace = true }
Expand Down
3 changes: 3 additions & 0 deletions ecosystem/indexer-grpc/indexer-grpc-manager/src/config.rs
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,9 @@ pub(crate) struct ServiceConfig {
pub struct IndexerGrpcManagerConfig {
pub(crate) chain_id: u64,
pub(crate) service_config: ServiceConfig,
pub(crate) self_advertised_address: String,
pub(crate) grpc_manager_addresses: Vec<String>,
pub(crate) fullnode_addresses: Vec<String>,
}

#[async_trait::async_trait]
Expand Down
1 change: 1 addition & 0 deletions ecosystem/indexer-grpc/indexer-grpc-manager/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,5 @@

pub mod config;
mod grpc_manager;
mod metadata_manager;
mod service;
Loading

0 comments on commit 501f87e

Please sign in to comment.