:: Re: [Libbitcoin] Wait, now what's …
Page principale
Supprimer ce message
Répondre à ce message
Auteur: Eric Voskuil
Date:  
À: mlmikael
CC: libbitcoin
Sujet: Re: [Libbitcoin] Wait, now what's the difference between "libbitcoin-node" and "libbitcoin-server"?
On 12/14/2015 04:56 AM, mlmikael wrote:
> Is libbitcoin-node a dependency of libbitcoin-server,


Yes

> or where are the full syncing node logics really?


In node

> So both repos will be maintained, there's no plan to kick out either?


No, server is a relatively thin layer over node, they are cumulative.

> Do the repos duplicate any code between each others?


Nothing significant

> Does libbitcoin-node repo produce library only, no executables?


All of the repos produce libraries and tests. Some produce examples as
well. These three also include command line executables:

libbitcoin-node (bn)
libbitcoin-server (bs)
libbitcoin-explorer (bx)

The node command line is more of a debugging tool. It doesn't expose
it's configuration in a file. Server has robust configuration and can
operate as a node by simply disabling the API endpoints. All three have
signed downloadable/portable binaries as well.

e

> Equally so, does the libbitcoin-server repo produce binary/-ies only, no
> libraries?


The binaries produced generally provide command line parsing and
configuration files. All core functionality is exposed in libraries
(used by the binaries).

> Thanks for the link to bitcoin.it


NP, there's also a lot of current info on the libbitcoin-server and
libbitcoin-explorer (bx) github wikis. BX has extensive documentation.

> If anyone wants to make a custom


?

e

> On 2015-12-14 20:50, Eric Voskuil wrote:
>> libbitcoin-node is a full node, only. libbitcoin-server is
>> libbitcoin-node with a ZeroMQ client-server blockchain API. They are
>> complimentary and are both staying around and are under active
>> development.
>>
>> libbitcoin-client includes the stubs for the API and libbitcoin-explorer
>> (bx) builds on client to expose a significant portion of the API as a
>> command line client for server (among other things).
>>
>> Lots more info here:
>>
>> https://en.bitcoin.it/wiki/Libbitcoin
>>
>> The version2 branch is the stable branch across most repos, but if you
>> want production quality code you should stick with the latest tagged
>> release in version2. Sometimes coordination across repos can cause some
>> disruption when you are working from the head.
>>
>> I generally warn people that node (and therefore server) is currently
>> difficult to get synced. It's an area of significant work right now and
>> I hope to have it fully resolved within a few weeks. Basically reworking
>> the P2P stack, implementing headers first sync, etc.
>>
>> Also, if it's new to you I highly recommend getting comfortable with the
>> install.sh for whatever repo you are interested in. It will pull and
>> build all dependencies, doesn't require sudo, and these are tested
>> regularly in Travis.
>>
>> e
>>
>> On 12/14/2015 04:37 AM, mlmikael wrote:
>>> Wait, now what's the difference between "libbitcoin-node" and
>>> "libbitcoin-server", and which one will be around the longest?
>>>
>>> The "version2" repo contains the "stable" version right?
>>>
>>> Thanks!
>>> Mlmikael
>>>
>>> _______________________________________________
>>> Libbitcoin mailing list
>>> Libbitcoin@???
>>> https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/libbitcoin
>