Research/Bitcoin Dev Archive / lightning-dev list
Can I try Lightning without running a fully-fledged bitcoin block chain?
8 messages, Mar 17 to 30, 2018. Started by Yubin Ruan.
ZmnSCPxj (2), Yubin Ruan, Federico Tenga, Aleksej, Segue, Mahesh Govind, Christian Decker
I just don't have so much space for a storing the whole blockchain on my laptop.
Yubin
You can try pruning, you will still have to validate the whole chain so it takes time, but you won't need to store all the blockchain on your disk.
On 17 March 2018 at 10:02, Yubin Ruan <ablacktshirt at gmail.com> wrote:
Quoted text (11 lines)
> I just don't have so much space for a storing the whole blockchain on my > laptop. > > Yubin > > _______________________________________________ > Lightning-dev mailing list > Lightning-dev at lists.linuxfoundation.org > https://www.learnbitcoin.com/archive/lists/lightning-dev > >
I don't see why running a pruning node wouldn't work. You might want to try that.
Aleksej
On Sat, 2018-03-17 at 17:02 +0800, Yubin Ruan wrote:
Quoted text (9 lines)
> I just don't have so much space for a storing the whole blockchain on > my > laptop. > > Yubin > _______________________________________________ > Lightning-dev mailing list > Lightning-dev at lists.linuxfoundation.org > https://www.learnbitcoin.com/archive/lists/lightning-dev
Good morning Aleksej and Yubin,
C-lightning is currently known to NOT work with a pruning bitcoind.
lnd has a neutrino mode which is a SPV mode, but neutrino protocol to my knowledge is not in official bitcoind yet (but I have not checked, possibly I am wrong), so you will need to peer with neutrino-supporting bitcoin peer.
Regards, ZmnSCPxj
Sent with ProtonMail Secure Email.
‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐
On March 17, 2018 8:59 PM, Aleksej <aleksej at spidermail.tk> wrote:
Quoted text (27 lines)
> I don't see why running a pruning node wouldn't work. > > You might want to try that. > > Aleksej > > On Sat, 2018-03-17 at 17:02 +0800, Yubin Ruan wrote: > > > I just don't have so much space for a storing the whole blockchain on > > > > my > > > > laptop. > > > > Yubin > > > > Lightning-dev mailing list > > > > Lightning-dev at lists.linuxfoundation.org > > > > https://www.learnbitcoin.com/archive/lists/lightning-dev > > Lightning-dev mailing list > > Lightning-dev at lists.linuxfoundation.org > > https://www.learnbitcoin.com/archive/lists/lightning-dev
Developers,
On THIS note and slightly off-topic but relevant, why can't chunks of blockchain peel off the backend periodically and be archived, say on minimum of 150 computers across 7 continents?
It seems crazy to continue adding on to an increasingly long chain to infinity if the old chapters (i.e. more than, say, 2 years old) could be stored in an evenly distributed manner across the planet. The same 150 computers would not need to store every chapter either, just the index would need to be widely distributed in order to reconnect with a chapter if needed.
Then maybe it is no longer a limitation in the future for people like Yubin.
Segue
On 3/26/18 6:12 PM, lightning-dev-request at lists.linuxfoundation.org wrote:
Quoted text (27 lines)
> Message: 2 > Date: Sat, 17 Mar 2018 11:56:05 +0100 > From: Federico Tenga<federicotenga at gmail.com> > To: Yubin Ruan<ablacktshirt at gmail.com> > Cc:lightning-dev at lists.linuxfoundation.org > Subject: Re: [Lightning-dev] Can I try Lightning without running a > fully-fledged bitcoin block chain? > Message-ID: > <CAP=-fx4APtKw-x08kQ_+y7bEh-EbGfPmSCGQDBrZn0Fh-NNjAQ at mail.gmail.com> > Content-Type: text/plain; charset="utf-8" > > You can try pruning, you will still have to validate the whole chain so it > takes time, but you won't need to store all the blockchain on your disk. > > On 17 March 2018 at 10:02, Yubin Ruan<ablacktshirt at gmail.com> wrote: > >> I just don't have so much space for a storing the whole blockchain on my >> laptop. >> >> Yubin >> >> _______________________________________________ >> Lightning-dev mailing list >> Lightning-dev at lists.linuxfoundation.org >> https://www.learnbitcoin.com/archive/lists/lightning-dev >> >>
Good morning Segue,
Please consider creating an implementation of this idea for bitcoind and share it on bitcoin-dev. Then please make a pull request on github.com/bitcoin/bitcoin for this.
Regards, ZmnSCPxj
Sent with [ProtonMail](https://protonmail.com) Secure Email.
‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐ On March 27, 2018 11:26 AM, Segue <012mistery at frankentrikes.com> wrote:
Quoted text (43 lines)
> Developers, > > On THIS note and slightly off-topic but relevant, why can't chunks of blockchain peel off the backend periodically and be archived, say on minimum of 150 computers across 7 continents? > > It seems crazy to continue adding on to an increasingly long chain to infinity if the old chapters (i.e. more than, say, 2 years old) could be stored in an evenly distributed manner across the planet. The same 150 computers would not need to store every chapter either, just the index would need to be widely distributed in order to reconnect with a chapter if needed. > > Then maybe it is no longer a limitation in the future for people like Yubin. > > Segue > > On 3/26/18 6:12 PM, lightning-dev-request at lists.linuxfoundation.org wrote: > >> Message: 2 >> Date: Sat, 17 Mar 2018 11:56:05 +0100 >> From: Federico Tenga >> [<federicotenga at gmail.com>](mailto:federicotenga at gmail.com) >> To: Yubin Ruan >> [<ablacktshirt at gmail.com>](mailto:ablacktshirt at gmail.com) >> Cc: >> lightning-dev at lists.linuxfoundation.org >> Subject: Re: [Lightning-dev] Can I try Lightning without running a >> fully-fledged bitcoin block chain? >> Message-ID: >> [<CAP=-fx4APtKw-x08kQ_+y7bEh-EbGfPmSCGQDBrZn0Fh-NNjAQ at mail.gmail.com>](mailto:CAP=-fx4APtKw-x08kQ_+y7bEh-EbGfPmSCGQDBrZn0Fh-NNjAQ at mail.gmail.com) >> Content-Type: text/plain; charset="utf-8" >> >> You can try pruning, you will still have to validate the whole chain so it >> takes time, but you won't need to store all the blockchain on your disk. >> >> On 17 March 2018 at 10:02, Yubin Ruan >> [<ablacktshirt at gmail.com>](mailto:ablacktshirt at gmail.com) >> wrote: >> >>> I just don't have so much space for a storing the whole blockchain on my >>> laptop. >>> >>> Yubin >>> >>> _______________________________________________ >>> Lightning-dev mailing list >>> Lightning-dev at lists.linuxfoundation.org >>> >>> https://www.learnbitcoin.com/archive/lists/lightning-dev
Could we use similar technique used in hyperledger to prune the chain . Pruning based on consensus ? -mahesh
On Wed, Mar 28, 2018 at 10:30 AM, ZmnSCPxj via Lightning-dev < lightning-dev at lists.linuxfoundation.org> wrote:
Quoted text (72 lines)
> Good morning Segue, > > Please consider creating an implementation of this idea for bitcoind and > share it on bitcoin-dev. Then please make a pull request on > github.com/bitcoin/bitcoin for this. > > Regards, > ZmnSCPxj > > > Sent with ProtonMail <https://protonmail.com> Secure Email. > > ‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐ > On March 27, 2018 11:26 AM, Segue <012mistery at frankentrikes.com> wrote: > > Developers, > > > On THIS note and slightly off-topic but relevant, why can't chunks of > blockchain peel off the backend periodically and be archived, say on > minimum of 150 computers across 7 continents? > > It seems crazy to continue adding on to an increasingly long chain to > infinity if the old chapters (i.e. more than, say, 2 years old) could be > stored in an evenly distributed manner across the planet. The same 150 > computers would not need to store every chapter either, just the index > would need to be widely distributed in order to reconnect with a chapter if > needed. > > Then maybe it is no longer a limitation in the future for people like > Yubin. > > Segue > > > > On 3/26/18 6:12 PM, lightning-dev-request at lists.linuxfoundation.org wrote: > > Message: 2 > Date: Sat, 17 Mar 2018 11:56:05 +0100 > From: Federico Tenga <federicotenga at gmail.com> <federicotenga at gmail.com> > To: Yubin Ruan <ablacktshirt at gmail.com> <ablacktshirt at gmail.com> > Cc: lightning-dev at lists.linuxfoundation.org > Subject: Re: [Lightning-dev] Can I try Lightning without running a > fully-fledged bitcoin block chain? > Message-ID: > <CAP=-fx4APtKw-x08kQ_+y7bEh-EbGfPmSCGQDBrZn0Fh-NNjAQ at mail.gmail.com> <CAP=-fx4APtKw-x08kQ_+y7bEh-EbGfPmSCGQDBrZn0Fh-NNjAQ at mail.gmail.com> > Content-Type: text/plain; charset="utf-8" > > You can try pruning, you will still have to validate the whole chain so it > takes time, but you won't need to store all the blockchain on your disk. > > On 17 March 2018 at 10:02, Yubin Ruan <ablacktshirt at gmail.com> <ablacktshirt at gmail.com> wrote: > > > I just don't have so much space for a storing the whole blockchain on my > laptop. > > Yubin > > _______________________________________________ > Lightning-dev mailing listLightning-dev at lists.linuxfoundation.orghttps://www.learnbitcoin.com/archive/lists/lightning-dev > > > > > _______________________________________________ > Lightning-dev mailing list > Lightning-dev at lists.linuxfoundation.org > https://www.learnbitcoin.com/archive/lists/lightning-dev > >
Dear Mahesh,
as interesting as the discussion of alternative blockchain storage it, it is probably off-topic for the Lightning mailing list. So I'd suggest taking this discussion to either the bitcoin-dev or bitcoin-core-dev mailing lists.
Cheers, Christian
Mahesh Govind <mahesh at digiledge.com> writes:
Quoted text (83 lines)
> Could we use similar technique used in hyperledger to prune the chain . > Pruning based on consensus ? > -mahesh > > On Wed, Mar 28, 2018 at 10:30 AM, ZmnSCPxj via Lightning-dev < > lightning-dev at lists.linuxfoundation.org> wrote: > >> Good morning Segue, >> >> Please consider creating an implementation of this idea for bitcoind and >> share it on bitcoin-dev. Then please make a pull request on >> github.com/bitcoin/bitcoin for this. >> >> Regards, >> ZmnSCPxj >> >> >> Sent with ProtonMail <https://protonmail.com> Secure Email. >> >> ‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐ >> On March 27, 2018 11:26 AM, Segue <012mistery at frankentrikes.com> wrote: >> >> Developers, >> >> >> On THIS note and slightly off-topic but relevant, why can't chunks of >> blockchain peel off the backend periodically and be archived, say on >> minimum of 150 computers across 7 continents? >> >> It seems crazy to continue adding on to an increasingly long chain to >> infinity if the old chapters (i.e. more than, say, 2 years old) could be >> stored in an evenly distributed manner across the planet. The same 150 >> computers would not need to store every chapter either, just the index >> would need to be widely distributed in order to reconnect with a chapter if >> needed. >> >> Then maybe it is no longer a limitation in the future for people like >> Yubin. >> >> Segue >> >> >> >> On 3/26/18 6:12 PM, lightning-dev-request at lists.linuxfoundation.org wrote: >> >> Message: 2 >> Date: Sat, 17 Mar 2018 11:56:05 +0100 >> From: Federico Tenga <federicotenga at gmail.com> <federicotenga at gmail.com> >> To: Yubin Ruan <ablacktshirt at gmail.com> <ablacktshirt at gmail.com> >> Cc: lightning-dev at lists.linuxfoundation.org >> Subject: Re: [Lightning-dev] Can I try Lightning without running a >> fully-fledged bitcoin block chain? >> Message-ID: >> <CAP=-fx4APtKw-x08kQ_+y7bEh-EbGfPmSCGQDBrZn0Fh-NNjAQ at mail.gmail.com> <CAP=-fx4APtKw-x08kQ_+y7bEh-EbGfPmSCGQDBrZn0Fh-NNjAQ at mail.gmail.com> >> Content-Type: text/plain; charset="utf-8" >> >> You can try pruning, you will still have to validate the whole chain so it >> takes time, but you won't need to store all the blockchain on your disk. >> >> On 17 March 2018 at 10:02, Yubin Ruan <ablacktshirt at gmail.com> <ablacktshirt at gmail.com> wrote: >> >> >> I just don't have so much space for a storing the whole blockchain on my >> laptop. >> >> Yubin >> >> _______________________________________________ >> Lightning-dev mailing listLightning-dev at lists.linuxfoundation.orghttps://www.learnbitcoin.com/archive/lists/lightning-dev >> >> >> >> >> _______________________________________________ >> Lightning-dev mailing list >> Lightning-dev at lists.linuxfoundation.org >> https://www.learnbitcoin.com/archive/lists/lightning-dev >> >> > _______________________________________________ > Lightning-dev mailing list > Lightning-dev at lists.linuxfoundation.org > https://www.learnbitcoin.com/archive/lists/lightning-dev