michaelhly / solana-py

Solana Python SDK
https://michaelhly.github.io/solana-py
MIT License
977 stars 252 forks source link

Websocket: Logs Subscribe #387

Open kasahh opened 8 months ago

kasahh commented 8 months ago

Are some transaction signatures excluded from log subscribe? I noticed "logs_subscribe" does not output all transactions occurring on the solana blockchain. For example, I started the log_subscribe websocket and passed the incoming stream to a text file, then I created a pool on raydium and afterwards retrieved the transaction signature for that pool creation event. When I searched for the signature in the text file, it got no match even though there are thousands of transactions recorded during that time. But on solscan, the signature search returned the pool creation details as expected

So my question is, are some transactions excluded from logs subscribe and if yes, how can i get all transaction events via websocket?

mhd-sdk commented 1 month ago

i'm having the same issue, but with a simple rpc connection (i'm using golang)

and i can reproduce with postman, looks like this is a problem from solana rpc

michaelhly commented 1 month ago

I believe this is dependent on the RPC provider you use. Please raise this issue with your RPC provider.