You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently getNetowrk and getVersionInfo endpoint calls /info on core client, which in theory can semi-block the core thread. We need to refactor captive core implementation to expose captive core version so that soroban-rpc does not fetch it using http client. (i.e cache it at core process level)
psheth9
changed the title
Refactor getNetwork and getVersionInfo endpoint to fetch protocol version without making http request to core-client
Refactor getNetwork and getVersionInfo endpoint to fetch captive core version without making http request to core-client
Jun 3, 2024
What problem does your feature solve?
Currently
getNetowrk
andgetVersionInfo
endpoint calls/info
on core client, which in theory can semi-block the core thread. We need to refactor captive core implementation to expose captive core version so that soroban-rpc does not fetch it using http client. (i.e cache it at core process level)More context: #132 (comment)
What would you like to see?
captive_core_backend.go
to expose ProtocolVersion instead of fetching from core clientWhat alternatives are there?
N/A
The text was updated successfully, but these errors were encountered: