<div dir="ltr">Apologies for a noob question.<div><br></div><div>But if I understand correctly, lightning nodes need to check if a counterparty is broadcasting an old channel state and in response broadcast a penalty/justice transaction. Does that mean lightning nodes only need to watch for transactions that come after the funding transaction? Is that the only reason lightning needs to run bitcoind with txindex?<div><br></div><div>If that is the case, and a lightning node only needs to query transactions broadcast after the funding transaction, then a pruned bitcoind instance with txindex might be a bit handy.</div><div><br></div><div>Also from [1] it seems that indexing pruned nodes is not supported because it doesn&#39;t make sense, not that it was infeasible. Now with the lightning requirements, does an indexed pruned node start to make sense?</div><div><br></div><div>Once again, please forgive my naive understanding of some of the issues involved and thanks for your patience.</div><div><br></div><div>Regards</div><div>Kulpreet</div><div><br></div><div>[1] <a href="https://bitcoin.stackexchange.com/questions/52889/bitcoin-core-txindex-vs-default-mode-vs-pruned-mode-in-depth#52894">https://bitcoin.stackexchange.com/questions/52889/bitcoin-core-txindex-vs-default-mode-vs-pruned-mode-in-depth#52894</a></div><div><br><br><div class="gmail_quote"><div dir="ltr">On Thu, 10 May 2018, 14:47 Patrick Shirkey via bitcoin-dev, &lt;<a href="mailto:bitcoin-dev@lists.linuxfoundation.org" target="_blank">bitcoin-dev@lists.linuxfoundation.org</a>&gt; wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br>
&gt; On 3/17/18, someone posted on the Lightning-dev list, &quot;Can I try<br>
&gt; Lightning without running a fully-fledged bitcoin block chain? (Yubin<br>
&gt; Ruan).&quot;  The inquirer was asking because he didn&#39;t have much space to<br>
&gt; store the entire blockchain on his laptop.<br>
&gt;<br>
&gt; I replied:<br>
&gt;<br>
&gt; &quot;Developers,<br>
&gt;<br>
&gt; On THIS note and slightly off-topic but relevant, why can&#39;t chunks of<br>
&gt; blockchain peel off the backend periodically and be archived, say on<br>
&gt; minimum of 150 computers across 7 continents?<br>
&gt;<br>
&gt; It seems crazy to continue adding on to an increasingly long chain to<br>
&gt; infinity if the old chapters (i.e. more than, say, 2 years old) could be<br>
&gt; stored in an evenly distributed manner across the planet. The same 150<br>
&gt; computers would not need to store every chapter either, just the index<br>
&gt; would need to be widely distributed in order to reconnect with a chapter<br>
&gt; if needed. Then maybe it is no longer a limitation in the future for<br>
&gt; people like Yubin. &quot;<br>
&gt;<br>
&gt; It was suggested by a couple of lightning developers that I post this<br>
&gt; idea on the bitcoin-dev list.  So, here I post :).<br>
&gt;<br>
<br>
You can already use the &quot;prune&quot; flag to get a snapshot of the blockchain<br>
but it is incompatible with &quot;txindex&quot; and &quot;rescan&quot; so maybe that is and<br>
issue for lightning nodes?<br>
<br>
<br>
<br>
<br>
-- <br>
Patrick Shirkey<br>
Boost Hardware<br>
<br>
_______________________________________________<br>
bitcoin-dev mailing list<br>
<a href="mailto:bitcoin-dev@lists.linuxfoundation.org" target="_blank">bitcoin-dev@lists.linuxfoundation.org</a><br>
<a href="https://lists.linuxfoundation.org/mailman/listinfo/bitcoin-dev" rel="noreferrer" target="_blank">https://lists.linuxfoundation.org/mailman/listinfo/bitcoin-dev</a><br>
</blockquote></div></div></div></div>