eqlabs / polkadot-light-client

Polkadot light client
2 stars 1 forks source link

Json rpc server #77

Open kylegranger opened 1 year ago

kylegranger commented 1 year ago

Ok, I'm about as far as I can go with this, feature-wise (there's not a whole lot to it as it is right now). Obviously, feedback for any features I'm missing is most welcome. This object will probably also evolve as we start using it. Some notes.

kylegranger commented 1 year ago

Thinking about the connect(), and really, that should always succeed. If it fails setting up server on localhost, we should log an error and exit() with failure.

kylegranger commented 1 year ago

two more notes:

kylegranger commented 1 year ago

converted to draft pending linux-clang build fixes.

kylegranger commented 1 year ago

Opening again for review. New changes:

kylegranger commented 1 year ago

This is status of the server when I stopped development:

Implementing the JSON-RPC messaging is just a matter of: