Skip to content
LearnBitcoin

ResearchBitcoin Dev Archive lightning-dev list

lnd on bitcoind

3 messages, Jan 31, 2018. Started by Benjamin Mord.

Benjamin Mord (2), Olaoluwa Osuntokun

Permalink First message in the Wayback Machine

Benjamin Mord permalink original

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

Olaoluwa Osuntokun in reply to Benjamin Mord permalink original

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
>
Benjamin Mord in reply to Olaoluwa Osuntokun permalink original

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
>>
>