mirror of
https://github.com/aljazceru/lightning.git
synced 2025-12-20 07:34:24 +01:00
Change lightning-rfc to bolts post repo move
This commit is contained in:
committed by
Rusty Russell
parent
535fdc0690
commit
b15cf312e8
4
.github/scripts/build.sh
vendored
4
.github/scripts/build.sh
vendored
@@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
echo "Running in $(pwd)"
|
echo "Running in $(pwd)"
|
||||||
export ARCH=${ARCH:-64}
|
export ARCH=${ARCH:-64}
|
||||||
export BOLTDIR=lightning-rfc
|
export BOLTDIR=bolts
|
||||||
export CC=${COMPILER:-gcc}
|
export CC=${COMPILER:-gcc}
|
||||||
export COMPAT=${COMPAT:-1}
|
export COMPAT=${COMPAT:-1}
|
||||||
export TEST_CHECK_DBSTMTS=${TEST_CHECK_DBSTMTS:-0}
|
export TEST_CHECK_DBSTMTS=${TEST_CHECK_DBSTMTS:-0}
|
||||||
@@ -25,7 +25,7 @@ pip3 install --user poetry
|
|||||||
poetry config virtualenvs.create false --local
|
poetry config virtualenvs.create false --local
|
||||||
poetry install
|
poetry install
|
||||||
|
|
||||||
git clone https://github.com/lightningnetwork/lightning-rfc.git ../lightning-rfc
|
git clone https://github.com/lightning/bolts.git ../${BOLTDIR}
|
||||||
git submodule update --init --recursive
|
git submodule update --init --recursive
|
||||||
|
|
||||||
./configure CC="$CC"
|
./configure CC="$CC"
|
||||||
|
|||||||
2
Makefile
2
Makefile
@@ -20,7 +20,7 @@ PKGNAME = c-lightning
|
|||||||
CCANDIR := ccan
|
CCANDIR := ccan
|
||||||
|
|
||||||
# Where we keep the BOLT RFCs
|
# Where we keep the BOLT RFCs
|
||||||
BOLTDIR := ../lightning-rfc/
|
BOLTDIR := ../bolts/
|
||||||
DEFAULT_BOLTVERSION := e60d594abf436e768116684080997a8d4f960263
|
DEFAULT_BOLTVERSION := e60d594abf436e768116684080997a8d4f960263
|
||||||
# Can be overridden on cmdline.
|
# Can be overridden on cmdline.
|
||||||
BOLTVERSION := $(DEFAULT_BOLTVERSION)
|
BOLTVERSION := $(DEFAULT_BOLTVERSION)
|
||||||
|
|||||||
@@ -318,7 +318,7 @@ wire/extracted_onion_wire_csv). You can regenerate these by
|
|||||||
first deleting the local copy(if any) at directory .tmp.lightning-rfc,
|
first deleting the local copy(if any) at directory .tmp.lightning-rfc,
|
||||||
setting `BOLTDIR` and `BOLTVERSION` appropriately, and finally running `make
|
setting `BOLTDIR` and `BOLTVERSION` appropriately, and finally running `make
|
||||||
extract-bolt-csv`. By default the bolts will be retrieved from the
|
extract-bolt-csv`. By default the bolts will be retrieved from the
|
||||||
directory `../lightning-rfc` and a recent git version.
|
directory `../bolts` and a recent git version.
|
||||||
|
|
||||||
e.g., `make extract-bolt-csv BOLTDIR=../bolts BOLTVERSION=ee76043271f79f45b3392e629fd35e47f1268dc8`
|
e.g., `make extract-bolt-csv BOLTDIR=../bolts BOLTVERSION=ee76043271f79f45b3392e629fd35e47f1268dc8`
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user