Research/Bitcoin Dev Archive / lightning-dev list
lnd on bitcoind
3 messages, Jan 31, 2018. Started by Benjamin Mord.
Benjamin Mord (2), Olaoluwa Osuntokun
Hi,
I'm not finding evidence of segwit in btcd, yet choice of golang is appealing to me. Can one run lnd on bitcoind?
More generally speaking, is there a plan for the layer 2 / layer 1 protocol binding to be abstracted away from the implementation on either side, via SPI or such?
Thanks, Ben
Segwit has been merged into btcd for for sometime now. It's also possible to run with bitcoind. I encourage you to check out the documentation: https://github.com/lightningnetwork/lnd/blob/master/docs/INSTALL.md
In lnd, the chain backend has already been abstracted[1]. This is what allows it to run with any of the three supported chain backends (btcd, bitcoind, neutrino). I invite you to continue this conversation on #lnd on Freenode.
[1]: https://github.com/lightningnetwork/lnd/blob/master/lnwallet/interface.go
On Wed, Jan 31, 2018 at 12:23 PM Benjamin Mord <ben at mord.io> wrote:
Quoted text (16 lines)
> Hi, > > I'm not finding evidence of segwit in btcd, yet choice of golang is > appealing to me. Can one run lnd on bitcoind? > > More generally speaking, is there a plan for the layer 2 / layer 1 > protocol binding to be abstracted away from the implementation on either > side, via SPI or such? > > Thanks, > Ben > _______________________________________________ > Lightning-dev mailing list > Lightning-dev at lists.linuxfoundation.org > https://www.learnbitcoin.com/archive/lists/lightning-dev >
Thanks - the installation instructions you linked to say otherwise (the reason I asked), but perhaps they just need to be updated.
*"Installing btcd* *lnd currently requires btcd with segwit support, which is not yet merged into the master branch. Instead, roasbeef maintains a fork with his segwit implementation applied. To install, run the following commands:"*
On Wed, Jan 31, 2018 at 3:43 PM, Olaoluwa Osuntokun <laolu32 at gmail.com> wrote:
Quoted text (32 lines)
> Segwit has been merged into btcd for for sometime now. It's also possible > to > run with bitcoind. I encourage you to check out the documentation: > https://github.com/lightningnetwork/lnd/blob/master/docs/INSTALL.md > > In lnd, the chain backend has already been abstracted[1]. This is what > allows > it to run with any of the three supported chain backends (btcd, bitcoind, > neutrino). I invite you to continue this conversation on #lnd on Freenode. > > [1]: https://github.com/lightningnetwork/lnd/blob/ > master/lnwallet/interface.go > > On Wed, Jan 31, 2018 at 12:23 PM Benjamin Mord <ben at mord.io> wrote: > >> Hi, >> >> I'm not finding evidence of segwit in btcd, yet choice of golang is >> appealing to me. Can one run lnd on bitcoind? >> >> More generally speaking, is there a plan for the layer 2 / layer 1 >> protocol binding to be abstracted away from the implementation on either >> side, via SPI or such? >> >> Thanks, >> Ben >> _______________________________________________ >> Lightning-dev mailing list >> Lightning-dev at lists.linuxfoundation.org >> https://www.learnbitcoin.com/archive/lists/lightning-dev >> >