dimxy / komodo

Komodo
https://komodoplatform.com/
Other
7 stars 4 forks source link

nSPV protocol needs an app correlation ID to allow to make several concurrent requests from the same client app #81

Closed dimxy closed 2 years ago

dimxy commented 2 years ago

when an nSPV app issues several requests asynchronously or in several threads there is no way (in nSPV until 0.0.4 including) how to bind responses to requests inside the app. an application id is needed which is returned back at each nSPV request.

dimxy commented 2 years ago

fixed in nSPV 0.0.5: a requestId 4b added which is returned back in the nSPV response. The caller app can use it to correlate several concurrent responses with their source requests https://github.com/dimxy/komodo/commit/e43ac9ea21eba2babaa63a065702b4f7af0ac268. (tokel branch)