-
Notifications
You must be signed in to change notification settings - Fork 22
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
Expose the RPC litrpc.Proxy.GetInfo via LNC wasm #83
Comments
I'm wondering if it would make more sense to include version numbers in the subserver RPC instead of exposing It looks like If the subserver status server returned version information for all subservers it would be a lot more useful for feature detection for loop, pool, etc. not just lit |
The issue is on the LiT side. Currently we dont expose |
I think these are already queryable directly though? Pool, Loop and Taproot-assets all have a |
Thanks for the additional context here @ellemouton. I also agree that |
In Terminal Web, we'd like to get able to get the version of
litd
that the WASM is connected to. This information is available via thelitrpc.Proxy.GetInfo
. Unfortunately, when I attempt to call this RPC usingmake example-server
, no response is returned. The WASM doesn't even log that the method is called in the browser console.I have tried to fix this by adding
litrpc.RegisterProxyJSONCallbacks
to jsoncallbacks.go but this results in the errorIt looks like this sub-server is being blocked by
litd
in rpc_proxy.go. I'm not sure what code need to change to unblock just thisGetInfo
RPC.The text was updated successfully, but these errors were encountered: