-
Notifications
You must be signed in to change notification settings - Fork 10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
2.0.16 #13
2.0.16 #13
Changes from all commits
651310c
c1ca3e2
1d2937a
e9eb3ec
7f115fb
280f03d
e000a96
aad4baf
fef2e70
dd18a20
85d04ac
20f29c1
1245d8b
dd78804
1d1a01c
929b20e
f280f90
e09e5e2
1393527
edd3a1a
eb964e3
28c3041
2d65f2d
1e83353
8e5b1b8
a6cb6bb
39199b8
2cef5ef
1b536cb
e278c14
f60e9f2
e4bb528
09d4700
b64f700
1b5d4f4
087625d
88f8d71
193a1b6
bd439a3
78b8197
86412cf
430847b
61b202a
6ffc8d0
32aeb33
f620664
4157779
03b3d14
08f17d3
71d49a5
5710402
e366b59
a57860e
beeca85
759170c
af17800
460ca4c
238f44a
3fd7e6d
6319612
a4a93de
c096a04
0604573
1724047
c239e1b
18729e8
8574783
c71cbbe
6e97616
ce03864
e10e3f4
214886a
e90ecd1
9ce723f
88ebcea
8acb7d3
89f27a3
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Large diffs are not rendered by default.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
[package] | ||
name = "geyser-grpc-connector" | ||
version = "0.10.1+yellowstone.1.12" | ||
version = "0.11.0+yellowstone.2.0.0" | ||
edition = "2021" | ||
|
||
description = "Multiplexing and Reconnection on Yellowstone gRPC Geyser client streaming" | ||
|
@@ -9,16 +9,16 @@ authors = ["GroovieGermanikus <[email protected]>"] | |
repository = "https://github.com/blockworks-foundation/geyser-grpc-connector" | ||
|
||
[dependencies] | ||
yellowstone-grpc-client = { version = "1.13.0+solana.1.17.15", git = "https://github.com/rpcpool/yellowstone-grpc.git", tag = "v1.12.0+solana.1.17.15" } | ||
yellowstone-grpc-proto = { version = "1.12.0+solana.1.17.15", git = "https://github.com/rpcpool/yellowstone-grpc.git", tag = "v1.12.0+solana.1.17.15" } | ||
|
||
# note: as timewriting there are versions 3.0.0 and 4.0.0; we will come back to that later | ||
yellowstone-grpc-client = { version = "2.0.0", git = "https://github.com/rpcpool/yellowstone-grpc.git", tag = "v2.0.0+solana.2.0.16" } | ||
yellowstone-grpc-proto = { version = "2.0.0", git = "https://github.com/rpcpool/yellowstone-grpc.git", tag = "v2.0.0+solana.2.0.16" } | ||
|
||
# required for CommitmentConfig | ||
solana-sdk = "~1.17.15" | ||
solana-sdk = "~2.0.16" | ||
|
||
url = "2.5.0" | ||
async-stream = "0.3.5" | ||
tokio = { version = "1.28" , features = ["rt"] } | ||
tokio = { version = "1.28" , features = ["rt", "rt-multi-thread"] } | ||
futures = "0.3.28" | ||
merge-streams = "0.1.2" | ||
anyhow = "1.0.70" | ||
|
@@ -31,7 +31,19 @@ base64 = "0.21.5" | |
bincode = "1.3.3" | ||
|
||
csv = "1.3.0" | ||
dashmap = "6.1.0" | ||
tonic = { version= "0.12.3", features=["gzip"] } | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. tonic dependency had some historic version issues. do we need that here? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. @grooviegermanikus - I think those dependencies cam from your performancetest branch - I just updated tonic to most recent - we need this to enable gzip in yellowstone_grpc_util GeyserClient::with_interceptor(channel, interceptor)
.accept_compressed(CompressionEncoding::Gzip) There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. lets move forward, i found a workaround for the zeroize version issue. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. you can drop Gzip support if it helps |
||
tonic-health = "0.12.3" | ||
regex = "1.10.4" | ||
clap = { version = "4.2", features = ["derive"] } | ||
|
||
lz4_flex = "0.11.3" | ||
|
||
[dev-dependencies] | ||
tracing-subscriber = "0.3.16" | ||
solana-logger = "1" | ||
solana-logger = "2" | ||
solana-account-decoder = "~2.0.16" | ||
|
||
[patch.crates-io.curve25519-dalek] | ||
git = "https://github.com/anza-xyz/curve25519-dalek.git" | ||
rev = "b500cdc2a920cd5bff9e2dd974d7b97349d61464" |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
use itertools::Itertools; | ||
use std::fs::File; | ||
use std::io; | ||
use std::io::BufRead; | ||
use std::path::PathBuf; | ||
|
||
pub fn main() { | ||
let accounts_meta_file = | ||
PathBuf::from("/Users/stefan/mango/projects/geyser-misc/ledger-debug-accounts.txt"); | ||
|
||
let file = File::open(accounts_meta_file).expect("file must exist"); | ||
let reader = io::BufReader::new(file); | ||
for blocks in &reader.lines().chunks(9) { | ||
let blocks = blocks.collect_vec(); | ||
let account_pk = blocks[0].as_ref().unwrap().replace(':', ""); | ||
if account_pk.is_empty() { | ||
break; | ||
} | ||
let owner_pk = blocks[2].as_ref().unwrap(); | ||
let ltick = owner_pk.find('\''); | ||
let rtick = owner_pk.rfind('\''); | ||
let owner_pk = &owner_pk[ltick.unwrap() + 1..rtick.unwrap()]; | ||
|
||
let data_len = blocks[6].as_ref().unwrap().replace(" data_len: ", ""); | ||
|
||
println!("{};{};{}", account_pk, owner_pk, data_len); | ||
} | ||
} | ||
|
||
/* | ||
16FMCmgLzCNNz6eTwGanbyN2ZxvTBSLuQ6DZhgeMshg: | ||
balance: 0.00095352 SOL | ||
owner: 'Feature111111111111111111111111111111111111' | ||
executable: false | ||
slot: 0 | ||
rent_epoch: 0 | ||
data_len: 9 | ||
data: 'AQAAAAAAAAAA' | ||
encoding: "base64" | ||
*/ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yellowstone proto is 1.15 not 2.0.0 afaik