Skip to content

Commit

Permalink
Updating cargo with mango optimizations branch
Browse files Browse the repository at this point in the history
using solana-geyser instead of agave-geyser

making config point release
  • Loading branch information
godmodegalactus committed Sep 25, 2024
1 parent f010c77 commit 60e5da5
Show file tree
Hide file tree
Showing 4 changed files with 66 additions and 65 deletions.
100 changes: 45 additions & 55 deletions Cargo.lock

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

28 changes: 19 additions & 9 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -22,14 +22,14 @@ license = "AGPL"
edition = "2021"

[workspace.dependencies]
solana-sdk = "~1.18.16"
solana-program = "~1.18.16"
solana-transaction-status = "~1.18.16"
solana-logger = "~1.18.16"
solana-rpc-client = "~1.18.16"
solana-rpc-client-api = "~1.18.16"
solana-account-decoder = "~1.18.16"
solana-geyser-plugin-interface = "=1.18.16"
solana-sdk = "~1.18.22"
solana-program = "~1.18.22"
solana-transaction-status = "~1.18.22"
solana-logger = "~1.18.22"
solana-rpc-client = "~1.18.22"
solana-rpc-client-api = "~1.18.22"
solana-account-decoder = "~1.18.22"
solana-geyser-plugin-interface = "=1.18.22"

itertools = "0.10.5"
serde = "1.0.201"
Expand Down Expand Up @@ -81,4 +81,14 @@ lite-token-account-storage = { git = "https://github.com/blockworks-foundation/s
[profile.release]
debug = true
lto = true
codegen-units = 1
codegen-units = 1

[patch.crates-io]
solana-geyser-plugin-interface = { git = "https://github.com/blockworks-foundation/solana.git", branch = "v1.18.22_mango_rpc_optimizations" }
solana-logger = { git = "https://github.com/blockworks-foundation/solana.git", branch = "v1.18.22_mango_rpc_optimizations" }
solana-program = { git = "https://github.com/blockworks-foundation/solana.git", branch = "v1.18.22_mango_rpc_optimizations" }
solana-sdk = { git = "https://github.com/blockworks-foundation/solana.git", branch = "v1.18.22_mango_rpc_optimizations" }
solana-transaction-status = { git = "https://github.com/blockworks-foundation/solana.git", branch = "v1.18.22_mango_rpc_optimizations" }
solana-rpc-client = { git = "https://github.com/blockworks-foundation/solana.git", branch = "v1.18.22_mango_rpc_optimizations" }
solana-rpc-client-api = { git = "https://github.com/blockworks-foundation/solana.git", branch = "v1.18.22_mango_rpc_optimizations" }
solana-account-decoder = { git = "https://github.com/blockworks-foundation/solana.git", branch = "v1.18.22_mango_rpc_optimizations" }
2 changes: 1 addition & 1 deletion config.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"libpath": "target/debug/libquic_geyser_plugin.so",
"libpath": "target/release/libquic_geyser_plugin.so",
"quic_plugin": {
"address": "0.0.0.0:10800",
"compression_parameters": {
Expand Down
1 change: 1 addition & 0 deletions plugin/src/config.rs
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ impl RpcServiceConfig {
pub fn default_rpc_service_enable() -> bool {
false
}

pub fn default_port() -> u16 {
10801
}
Expand Down

0 comments on commit 60e5da5

Please sign in to comment.