C++ engineer currently working in medical devices
solanarpcclient's Introduction
solanarpcclient's People
solanarpcclient's Issues
Fix websocket connections to Solana rpc cluster
For some reason the Solana rpc cluster rejects my wss connection on port 443 (which works just fine with Helius rpc's), and I can't for the life of me figure it out.
Creating this ticket to reflect the existence of this problem, and for obvious reasons will need to be fixed for MVP.
Improve/Complete the api for TransactionBuilder
I have yet to finalize the api for versioned transactions in TransactionBuilder. I don't necessarily want to mirror the way it's done in web3.js, but I've yet to decide on preferable solution
Offer a threadsafe version of websocket subscription callbacks
Threadsafety for websocket subscription callbacks should be the default to avoid footguns, but still offer an alternative to avoid the performance hit for callback handlers that don't have side effects.
Implement full parsing for GetTransaction response body
Json and JsonParsed response bodies got getTransactions are left in json form because I was being lazy, this obviously needs to be resolved before we can declare MVP
Sporadic poor performance on websocket connections
Read throughput performance on websocket connections is sometimes extremely poor.
Using "onLogs" with the "all" option (which produces hundreds of notifications a second usually) sometimes only ~50 messages will be processed within a 5 second period. The nature and inconsistency of the issue points to a threading/resource contention issue most likely.
This will likely require a high amount of effort to resolve, and only affects high throughput subscriptions so I won't fix it immediately, but creating this ticket to reflect its existence, and to remind myself to fix it later if it persists after the feature is further stabilized.
Add "Confirm Transaction" functionality
Being able to wait on the result of a transaction is a critical piece of functionality. Based on my inspection of the web3.js code. They implement it roughly as follows.
- Open a websocket connection to listen for changes in the signature status
- Send a request to the rpc method in case the transaction has already reached the desired finality and cancel the subscription if so
- Return the result of the operation
Implement transaction error parsing for Signature result
Once again being too lazy to do this immediately, so making a ticket for it.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ๐๐๐
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.