:: Re: [Libbitcoin] Service stops
Αρχική Σελίδα
Delete this message
Reply to this message
Συντάκτης: Amir Taaki
Ημερομηνία:  
Προς: libbitcoin
Αντικείμενο: Re: [Libbitcoin] Service stops
This does seem to be a problem. Sometimes the 'protocol' service loses
all connections and stops connecting, and/or does a bad job at
maintaining connections.

I want to rewrite this libbitcoin service since I think it's poorly
implemented, and also with more options to specify specific connections
and connection policy (accept/disable incoming connections,
enable/disable outgoing connections).

On 06/12/13 03:23, Glenn Tarbox, PhD wrote:
>
>
>
> On Thu, Dec 5, 2013 at 2:26 PM, Amir Taaki <genjix@???
> <mailto:genjix@riseup.net>> wrote:
>
>     type 'stop' and press enter to stop the worker. you can stop the
>     balancer with ctrl-c although that shouldn't be needed. are you behind a
>     NAT? I recommend setting an IP for your box so you can accept
>     connections.

>
>
> That's typically what I do. Today that wasn't an option although ctrl-c
> didn't cause any problem and relaunching did fine.
>
> IMHO some method of throwing away whatever was corrupt and re-initiating
> comms is needed. For now, automatically exiting the process and
> restarting might be best. I'll take a look.
>
> The cause could be the occasional network glitch or node passing invalid
> data. Its happened enough that I think its a general problem which
> could benefit from some automated recovery solution.
>
> -glenn
>
>
>     On 05/12/13 17:13, Glenn Tarbox, PhD wrote:

>
>
>
>
> --
> Glenn H. Tarbox, PhD