Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 0 additions & 2 deletions contrib/pyln-client/pyln/__init__.py

This file was deleted.

4 changes: 0 additions & 4 deletions contrib/pyln-client/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,3 @@ packages = ["pyln"]
[build-system]
requires = ["hatchling>=1.0.0"]
build-backend = "hatchling.build"

[tool.uv.sources]
pyln-proto = { workspace = true }
pyln-bolt7 = { workspace = true }
2 changes: 0 additions & 2 deletions contrib/pyln-grpc-proto/pyln/__init__.py

This file was deleted.

2 changes: 0 additions & 2 deletions contrib/pyln-proto/pyln/__init__.py

This file was deleted.

2 changes: 0 additions & 2 deletions contrib/pyln-spec/bolt1/pyln/__init__.py

This file was deleted.

2 changes: 0 additions & 2 deletions contrib/pyln-spec/bolt1/pyln/spec/__init__.py

This file was deleted.

3 changes: 0 additions & 3 deletions contrib/pyln-spec/bolt1/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,3 @@ packages = ["pyln"]
[build-system]
requires = ["hatchling>=1.0.0"]
build-backend = "hatchling.build"

[tool.uv.sources]
pyln-proto = { workspace = true }
2 changes: 0 additions & 2 deletions contrib/pyln-spec/bolt2/pyln/__init__.py

This file was deleted.

2 changes: 0 additions & 2 deletions contrib/pyln-spec/bolt2/pyln/spec/__init__.py

This file was deleted.

3 changes: 0 additions & 3 deletions contrib/pyln-spec/bolt2/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,3 @@ packages = ["pyln"]
[build-system]
requires = ["hatchling>=1.0.0"]
build-backend = "hatchling.build"

[tool.uv.sources]
pyln-proto = { workspace = true }
2 changes: 0 additions & 2 deletions contrib/pyln-spec/bolt4/pyln/__init__.py

This file was deleted.

2 changes: 0 additions & 2 deletions contrib/pyln-spec/bolt4/pyln/spec/__init__.py

This file was deleted.

3 changes: 0 additions & 3 deletions contrib/pyln-spec/bolt4/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,3 @@ packages = ["pyln"]
[build-system]
requires = ["hatchling>=1.0.0"]
build-backend = "hatchling.build"

[tool.uv.sources]
pyln-proto = { workspace = true }
2 changes: 0 additions & 2 deletions contrib/pyln-spec/bolt7/pyln/__init__.py

This file was deleted.

2 changes: 0 additions & 2 deletions contrib/pyln-spec/bolt7/pyln/spec/__init__.py

This file was deleted.

3 changes: 0 additions & 3 deletions contrib/pyln-spec/bolt7/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,3 @@ packages = ["pyln"]
[build-system]
requires = ["hatchling>=1.0.0"]
build-backend = "hatchling.build"

[tool.uv.sources]
pyln-proto = { workspace = true }
2 changes: 0 additions & 2 deletions contrib/pyln-testing/pyln/__init__.py

This file was deleted.

4 changes: 0 additions & 4 deletions contrib/pyln-testing/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,3 @@ packages = ["pyln"]
[build-system]
requires = ["hatchling>=1.0.0"]
build-backend = "hatchling.build"

[tool.uv.sources]
pyln-client = { workspace = true }
pyln-grpc-proto = { workspace = true }
40 changes: 20 additions & 20 deletions doc/getting-started/getting-started/installation.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ If you're on a different distribution or OS, you can compile the source by follo

# Docker

To install the Docker image for the latest stable release:
To install the Docker image for the latest stable release:

```shell
docker pull elementsproject/lightningd:latest
Expand Down Expand Up @@ -123,8 +123,8 @@ If you want to build the Rust plugins (cln-grpc, clnrest, cln-bip353 and wss-pro
sudo apt-get install -y cargo rustfmt protobuf-compiler
```

> 📘
>
> 📘
>
> If your build fails because of your Rust version, you might want to check out [rustup](https://rustup.rs/) to install a newer version


Expand All @@ -133,20 +133,20 @@ There are two ways to build core lightning, and this depends on how you want use
To build CLN for production:

```shell
uv sync --all-extras --all-groups
uv sync --all-extras --all-groups --frozen
./configure
RUST_PROFILE=release uv run make
sudo RUST_PROFILE=release make install
```

> 📘
>
> 📘
>
> If you want to disable Rust because you don’t need it or its plugins (cln-grpc, clnrest, cln-bip353 or wss-proxy), you can use `./configure --disable-rust`.

To build CLN for development:

```shell
uv sync --all-extras --all-groups
uv sync --all-extras --all-groups --frozen
./configure
uv run make
uv run make check VALGRIND=0
Expand Down Expand Up @@ -256,15 +256,15 @@ If you want to compile locally and fiddle with compile time options:

See `/usr/ports/net-p2p/c-lightning/Makefile` for instructions on how to build from an arbitrary git commit, instead of the latest release tag.

> 📘
>
> 📘
>
> Make sure you've set an utf-8 locale, e.g. `export LC_CTYPE=en_US.UTF-8`, otherwise manpage installation may fail.

Running lightning:

Configure bitcoind, if not already: add `rpcuser=<foo>` and `rpcpassword=<bar>` to `/usr/local/etc/bitcoin.conf`, maybe also `testnet=1`.

Configure lightningd: copy `/usr/local/etc/lightningd-bitcoin.conf.sample` to
Configure lightningd: copy `/usr/local/etc/lightningd-bitcoin.conf.sample` to
`/usr/local/etc/lightningd-bitcoin.conf` and edit according to your needs.

```shell
Expand Down Expand Up @@ -379,15 +379,15 @@ git checkout v24.05
Build lightning:

```shell
uv sync --all-extras --all-groups
uv sync --all-extras --all-groups --frozen
./configure
uv run make
```

Running lightning:

> 📘
>
> 📘
>
> Edit your `~/Library/Application\ Support/Bitcoin/bitcoin.conf`to include `rpcuser=<foo>` and `rpcpassword=<bar>` first, you may also need to include `testnet=1`.

```shell
Expand Down Expand Up @@ -440,7 +440,7 @@ Launch Core Lightning:

## To cross-compile for Android

Make a standalone toolchain as per <https://developer.android.com/ndk/guides/standalone_toolchain.html>.
Make a standalone toolchain as per <https://developer.android.com/ndk/guides/standalone_toolchain.html>.
For Core Lightning you must target an API level of 24 or higher.

Depending on your toolchain location and target arch, source env variables such as:
Expand All @@ -465,8 +465,8 @@ make clean -C ccan/ccan/cdump/tools \
&& make CC=clang -C ccan/ccan/cdump/tools
```

Install the `qemu-user` package.
This will allow you to properly configure the build for the target device environment.
Install the `qemu-user` package.
This will allow you to properly configure the build for the target device environment.
Build with:

```shell
Expand All @@ -493,8 +493,8 @@ export LD=$target_host-ld
export STRIP=$target_host-strip
```

Install the `qemu-user` package. This will allow you to properly configure the
build for the target device environment.
Install the `qemu-user` package. This will allow you to properly configure the
build for the target device environment.
Config the arm elf interpreter prefix:

```shell
Expand Down Expand Up @@ -538,7 +538,7 @@ For all the other Pi devices out there, consider using [Armbian](https://www.arm

You can compile in `customize-image.sh` using the instructions for Ubuntu.

A working example that compiles both bitcoind and Core Lightning for Armbian can
A working example that compiles both bitcoind and Core Lightning for Armbian can
be found [here](https://github.com/Sjors/armbian-bitcoin-core).

## To compile for Alpine
Expand Down Expand Up @@ -582,6 +582,6 @@ apk add libgcc libsodium sqlite-libs zlib

## Python plugins

Python plugins will be installed with the `poetry install` step mentioned above fron development setup.
Python plugins will be installed with the `poetry install` step mentioned above fron development setup.

Other users will need some Python packages if python plugins are used. Unfortunately there are some Python packages which are not packaged in Ubuntu, and so force installation will be needed (Flag `--user` is recommended which will install them in user's own .local directory, so at least the risk of breaking Python globally can be avoided!).
Loading