<p>I'm the developer of the spruned Bitcoin client, thank you for posting that.</p>

<p>I always told that spruned is highly experimental. At the moment, however, I'm confident to advice the latest 0.0.5 release as stable enough to keep a c-lightning mainnet instance in sync.</p>

<p>The latest release on pypi includes an electrum based fee estimation quorum and a robust P2P connection pool with a 100% blocks hitrate.</p>

<p>Today, the bandwidth usage is still high and cannot be used on metered connections. </p>

<p><a href="https://pypi.org/project/spruned/" rel="nofollow noreferrer">https://pypi.org/project/spruned/</a></p>

CC BY-SA 4.0
2019-03-10T10:18:08.253Z
2019-03-10T10:18:08.253Z
Guido
<p>One lightweight alternative that I use quite often when setting up a Lightning node is <a href="https://github.com/gdassori/spruned" rel="nofollow noreferrer">spruned</a>. The following will get you up and running:</p>

<p>Install some dependencies:</p>

<pre><code>apt-get install -y git python3 \
                       libleveldb-dev \
                       python3-dev \
                       git \
                       gcc \
                       g++ \
                       python3-pip
</code></pre>

<p>Get spruned and its dependencies:</p>

<pre><code>git clone https://github.com/gdassori/spruned.git spruned
cd spruned
git checkout 43e197693278fd551b165c6cfa5de78f853ef554 
pip install -r requirements.txt
</code></pre>

<p>The third line is currently needed since the <code>master</code> commit is currently broken.</p>

<p>Next you can start the lightweight node with the following:</p>

<pre><code>python3 spruned.py --network bitcoin.mainnet --datadir data --debug --rpcuser=rpcuser --rpcpassword=rpcpassword
</code></pre>

<p>Once the node is running you can start c-lightning like this:</p>

<pre><code>lightningd --log-level=debug --network=bitcoin \
           --bitcoin-rpcuser=rpcuser \
           --bitcoin-rpcpassword=rpcpassword
</code></pre>

CC BY-SA 4.0
2018-07-03T17:07:09.813Z
2018-07-03T17:07:09.813Z
cdecker
<p>I am trying to take advantage of the new release of c-lightning 0.6 that provide the ability to setup a lightweight node (i.e. No Local <code>bitcoind</code> instance running). But did not found any documentation how to do that yet. </p>

<p>What should I do in order to have a lightning node running a lightweight node? Is there a specific flag to use? or it is just a call from bitcoin-cli with a remote connexion flag setup on it? </p>

<p>Current setup:</p>

<ul>
<li>Ubuntu 18.04 server</li>
<li>c-lightning 0.6</li>
</ul>

<lightning-network><thin-clients><core-lightning>
c-lightning & Lightweight nodes (no local bitcoind)
Hugo Doyon
# c-lightning & Lightweight nodes (no local bitcoind)

(Asked by: username_0 on 2018-07-03)

I am trying to take advantage of the new release of c-lightning 0.6 that provide the ability to setup a lightweight node (i.e. No Local `bitcoind` instance running). But did not found any documentation how to do that yet.

What should I do in order to have a lightning node running a lightweight node? Is there a specific flag to use? or it is just a call from bitcoin-cli with a remote connexion flag setup on it?

Current setup:

* Ubuntu 18.04 server
* c-lightning 0.6

**Tags:** lightning-network, thin-clients, core-lightning


---

## 2 answers

### Answer by username_2 on 2018-07-03. Score: 4 | Accepted answer

One lightweight alternative that I use quite often when setting up a Lightning node is [spruned](https://github.com/gdassori/spruned). The following will get you up and running:

Install some dependencies:

```
apt-get install -y git python3 \
                       libleveldb-dev \
                       python3-dev \
                       git \
                       gcc \
                       g++ \
                       python3-pip

```

Get spruned and its dependencies:

```
git clone https://github.com/gdassori/spruned.git spruned
cd spruned
git checkout 43e197693278fd551b165c6cfa5de78f853ef554 
pip install -r requirements.txt

```

The third line is currently needed since the `master` commit is currently broken.

Next you can start the lightweight node with the following:

```
python3 spruned.py --network bitcoin.mainnet --datadir data --debug --rpcuser=rpcuser --rpcpassword=rpcpassword

```

Once the node is running you can start c-lightning like this:

```
lightningd --log-level=debug --network=bitcoin \
           --bitcoin-rpcuser=rpcuser \
           --bitcoin-rpcpassword=rpcpassword

```


---

### Answer by username_1 on 2019-03-10. Score: 0

I'm the developer of the spruned Bitcoin client, thank you for posting that.

I always told that spruned is highly experimental. At the moment, however, I'm confident to advice the latest 0.0.5 release as stable enough to keep a c-lightning mainnet instance in sync.

The latest release on pypi includes an electrum based fee estimation quorum and a robust P2P connection pool with a 100% blocks hitrate.

Today, the bandwidth usage is still high and cannot be used on metered connections.

<https://pypi.org/project/spruned/>


---

