:: Re: [Libbitcoin] Subscriptions with…
Etusivu
Poista viesti
Vastaa
Lähettäjä: Eric Voskuil
Päiväys:  
Vastaanottaja: caedes, libbitcoin@lists.dyne.org
Aihe: Re: [Libbitcoin] Subscriptions with the new protocol
Hi Pablo, great to hear from you!

Thanks for the feedback on the protocol.

I understand your scenario regarding subscription. The main reason it
was not included was that our specific scenarios didn't require it and
we understood it to be a priority that the server be stateless.

However it can certainly be included. I need to take a little time to
properly formulate some of the questions I think we'll need to resolve.

e

On 09/26/2014 01:53 PM, caedes wrote:
> Hi!
>
> Regarding the new protocol at
> https://github.com/pmienk/libbitcoin_protocol.
>
> I can say it looks really great, I'm (as a wallet developer) just
> missing the capability to subscribe for changes so I can get instant
> notification. I see that this mechanism was removed.
>
> I see how this is requiring a state in the server about a connection,
> but I think polling is not a good solution, it makes things awkward and
> slow to react, since instead of getting new information as it comes I
> have to be making the same query over and over, with some compromise
> between latency and bandwidth that I don't see very optimal.
>
> As a light client user of the protocol, I would like to have a way to
> keep any of the actions subscribed so I'm getting new information as it
> comes. Otherwise I see it as possible to have a server side component
> actually managing this part, on top of polling the server, but seems
> like unecessary overhead
>
> Cheers and thanks a lot for all the work put into this!
>
> Pablo
> _______________________________________________
> Libbitcoin mailing list
> Libbitcoin@???
> https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/libbitcoin
>