:: Re: [Libbitcoin] trying offline obe…
トップ ページ
このメッセージを削除
このメッセージに返信
著者: Grazcoin
日付:  
To: Thomas Hartman
CC: libbitcoin
新しいトピック: Re: [Libbitcoin] trying offline obelisk
題目: Re: [Libbitcoin] trying offline obelisk
I tried it on the latest ubuntu...

On 2014-01-31 20:34, Thomas Hartman wrote:
> I don't know the answer to your question, but what distro are you running?
>
> It ran out of the box for me on debian 7.1 but not on latest ubuntu.
> On Jan 31, 2014, at 6:05 AM, Grazcoin wrote:
>
>> I was trying to test the functioning of obelisk offline:
>>
>> 1. started with a normal working online updated setup.
>> 2. stopped the obworker and obbalancer.
>> 3. updated /usr/local/etc/obelisk/worker.cfg with outgoing-connections = 0 and listener_enabled = false
>> 4. tried to start obworker, and got a crash. No extra info on the error.log
>>
>> What is the correct config to make this work?
>>
>> git is in sync.
>>
>> [jan-31 14:57:29] dev@dev-laptop:~/worker1$ obworker
>> Using config file: /usr/local/etc/obelisk/worker.cfg
>> Press CTRL-C to shut down.
>> DEBUG [worker]: Connecting: tcp://localhost:9092
>> INFO [worker]: worker ready
>> ERROR [protocol]: Failed to start handshake service: Bad stream
>> ERROR: Unable to start session: Bad stream
>> terminate called without an active exception
>> Aborted (core dumped)
>> [jan-31 14:57:39] dev@dev-laptop:~/worker1$ cat /usr/local/etc/obelisk/worker.cfg
>> # Debug messages output file.
>> output-file = "debug.log"
>> # Error messages output file.
>> error-file = "error.log"
>> # Path to blockchain directory.
>> blockchain-path = "./blockchain/"
>> # List of hosts (loaded on startup, saved on exit).
>> # If non-existant or empty then Obelisk/libbitcoin will
>> # fall back to trying seed nodes instead.
>> hosts-file = "hosts"
>> # Next 2 values ignored if publisher is disabled
>> publisher_enabled = false
>> block-publish = "tcp://*:9093"
>> tx-publish = "tcp://*:9094"
>> # Connection to the balancer.
>> # Which port to connect to the load balancer on.
>> service = "tcp://localhost:9092"
>>
>> # Advanced features:
>> # Uncomment to give this worker a named UUID. Must be unique.
>> #name = "ada"
>> # Number of outgoing network connections to p2p network.
>> outgoing-connections = 0
>> # Listening for incoming connections.
>> listener_enabled = false
>> # Add manual outgoing nodes below.
>> #nodes = (
>> # ("localhost", 8333)
>> #)
>> # Show Obelisk requests in the log file for debugging or security.
>> # Slows down Obelisk speed. Disabled by default.
>> #log_requests = true
>>
>>
>> _______________________________________________
>> Libbitcoin mailing list
>> Libbitcoin@???
>> https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/libbitcoin