133 Commits

Author SHA1 Message Date
Lakshya Singh
e4159120f9
bitcoind: healthcheck fix regtest
- if wallet file is present we can't create new wallet, we load it
- set -ex wasn't enabled which didn't fail the healthcheck
Signed-off-by: Lakshya Singh <lakshay.singh1108@gmail.com>
2024-02-21 20:17:09 +05:30
Lakshya Singh
22b2c1b63a Merge branch '2024-02-vls-git-hash' into 'main'
use VLS_GIT_HASH in both dockerfiles

See merge request lightning-signer/vls-container!21
2024-02-21 14:46:24 +00:00
Devrandom
07e561b828 use VLS_GIT_HASH in both dockerfiles 2024-02-21 12:49:43 +01:00
dev random
5962a36ae9 Merge branch 'txoo_health_fix' into 'main'
txoo: healthcheck fix latest file retrieval

See merge request lightning-signer/vls-container!19
2024-01-31 10:19:08 +00:00
Lakshya Singh
c88dd5fd27
txoo: healthcheck fix latest file retrieval
ls -r1t doesn't get latest time sorted file
r with t reverses things to get oldest one instead
use just r as time of file generation might not be sequential
Signed-off-by: Lakshya Singh <lakshay.singh1108@gmail.com>
2024-01-30 00:32:32 +05:30
dev random
2b597bb3c6 Merge branch 'vls_healthcheck' into 'main'
VLS Healthcheck and commit update

See merge request lightning-signer/vls-container!18
2024-01-27 10:26:15 +00:00
Lakshya Singh
8aa940abf1
Dockerfile: healthcheck dont use sh
- interpreter already set in the scripts not need to use /bin/sh -c
Signed-off-by: Lakshya Singh <lakshay.singh1108@gmail.com>
2024-01-27 00:16:43 +05:30
Lakshya Singh
94d4178b9e
lightningd: change commit and repo
- change repo to ElementsProject/lightning
- v23.11.2
Signed-off-by: Lakshya Singh <lakshay.singh1108@gmail.com>
2024-01-26 20:56:48 +05:30
Lakshya Singh
19d7776bfd
scripts: cleanup regtest script
- destroy containers
- delete all regtest volumes
Signed-off-by: Lakshya Singh <lakshay.singh1108@gmail.com>
2024-01-25 09:52:37 +05:30
Lakshya Singh
4f05b35881
docs: update future works
Signed-off-by: Lakshya Singh <lakshay.singh1108@gmail.com>
2024-01-25 09:51:29 +05:30
Lakshya Singh
af57edb828
vls: add healthcheck
- use rpc server info command
Signed-off-by: Lakshya Singh <lakshay.singh1108@gmail.com>
2024-01-25 09:51:28 +05:30
Lakshya Singh
558cdd18bb
dockerfile: update commit hash
- clboss main
- c-lightning vls-hsmd
- plugins main
- vls vls-hsmd
Signed-off-by: Lakshya Singh <lakshay.singh1108@gmail.com>
2024-01-25 09:51:24 +05:30
dev random
3caf86bed8 Merge branch 'cln_stdout' into 'main'
lightningd: update param

See merge request lightning-signer/vls-container!17
2024-01-24 17:31:12 +00:00
Lakshya Singh
e2fa335726
lightningd: enable experimental anchors
Signed-off-by: Lakshya Singh <lakshay.singh1108@gmail.com>
2024-01-22 22:26:23 +05:30
Lakshya Singh
102ebdcb66
compose: cln log file set param
- stdout and lightning.log file for persistence
Signed-off-by: Lakshya Singh <lakshay.singh1108@gmail.com>
2024-01-22 08:41:10 +05:30
dev random
c2e1c07bb3 Merge branch 'txoo_health' into 'main'
txoo: healthcheck

See merge request lightning-signer/vls-container!14
2023-12-14 18:44:33 +00:00
Lakshya Singh
08c8fb7e5f
docs: no vlsd image to pull
Signed-off-by: Lakshya Singh <lakshay.singh1108@gmail.com>
2023-12-14 23:21:15 +05:30
Lakshya Singh
4f468d958b
ci: use regtest for testing instead of testnet
Signed-off-by: Lakshya Singh <lakshay.singh1108@gmail.com>
2023-12-14 23:21:15 +05:30
Lakshya Singh
e3161eea59
bitcoind: generate blocks on healthcheck in regtest
Signed-off-by: Lakshya Singh <lakshay.singh1108@gmail.com>
2023-12-14 23:21:01 +05:30
Lakshya Singh
eb4926b203
txoo: healthcheck based on latest block
- fail if latest attestation is more than a block behind
Signed-off-by: Lakshya Singh <lakshay.singh1108@gmail.com>
2023-12-14 23:21:00 +05:30
Lakshya Singh
f9de5cfa30
txoo: entrypoint update use BITCOIN_RPC_URL
- common env var
Signed-off-by: Lakshya Singh <lakshay.singh1108@gmail.com>
2023-12-14 23:21:00 +05:30
Lakshya Singh
4ae7afa4a5
dockerignore: add scripts folder and gitlab-ci
Signed-off-by: Lakshya Singh <lakshay.singh1108@gmail.com>
2023-12-12 20:29:11 +05:30
Lakshya Singh
664fd8a119 Merge branch '2023-12-misc' into 'main'
use different volumes for regtest and some nits

See merge request lightning-signer/vls-container!16
2023-12-11 17:00:45 +00:00
Lakshya Singh
5711d17caf
compose: rename txoo container to txood-chain
Signed-off-by: Lakshya Singh <lakshay.singh1108@gmail.com>
2023-12-11 22:27:16 +05:30
Devrandom
ddb2b4ef30 regtest volumes and expose vls port 2023-12-11 16:23:32 +01:00
dev random
05bde9e6f9 Merge branch 'touchup' into 'main'
improvements: dockerfile and ci

Closes #10, #9, #7, #6, and #5

See merge request lightning-signer/vls-container!12
2023-12-06 08:51:22 +00:00
Lakshya Singh
e926f4aacc
ci: add gitlab ci for docker compose
- split into multiple jobs
- specify tags for runner large
- use buildx and add separate builder default has no cache
- build image from cache and push to registry
- compose use tag and pull
- use cache tag for reuse
- https://github.com/moby/buildkit/issues/1981
- https://github.com/moby/buildkit/issues/3730
- use cache-to and cache-from with registry/cache
- add dockerignore to prevent rebuild on git changes
- use individual builders
- add step for docker compose up
- update readme
- update dockerignore
- add gitignore
- use script reduce duplicate code
- cache from and to in build, compose use cache
- dont push images just use cache
- build in compose step from cache
Signed-off-by: Lakshya Singh <lakshay.singh1108@gmail.com>
2023-12-06 07:57:31 +05:30
Lakshya Singh
e24d968f27
dockerfile: update vls & txoo git hash
- fix for latest rust vls
- txoo fix block_iterator update
Signed-off-by: Lakshya Singh <lakshay.singh1108@gmail.com>
2023-12-05 22:26:12 +05:30
Lakshya Singh
eeaac24d54
dockerfile: optimize on size and network call
- merge multiple steps to reduce number of layers
- run make clean to reduce layer size
- run cargo clean
- merge multiple ARG into single step
Signed-off-by: Lakshya Singh <lakshay.singh1108@gmail.com>
2023-12-05 22:26:12 +05:30
Lakshya Singh
7e5d66f55d
compose: change network name
- not releasing binaries
Signed-off-by: Lakshya Singh <lakshay.singh1108@gmail.com>
2023-12-05 22:26:12 +05:30
Lakshya Singh
014042f409
txoo: separate repo download and build
- add arg for txoo_data dir
Signed-off-by: Lakshya Singh <lakshay.singh1108@gmail.com>
2023-12-05 22:26:12 +05:30
Lakshya Singh
35da6dafe0
vls: separate repo download and build
- flexbile build option with network caching
- build only vlsd2 not all
- improve build speed
Signed-off-by: Lakshya Singh <lakshay.singh1108@gmail.com>
2023-12-05 22:26:12 +05:30
Lakshya Singh
6e7178a4c4
cln: remove quotes from env vars
- only build remote_hsmd_socket
- multiple layers for build caching
- download git repo in separate command to prevent redownload
- fix COPY of symlink not possible
- copy the bitcoin.conf file
- add git hook to ensure no difference
Signed-off-by: Lakshya Singh <lakshay.singh1108@gmail.com>
2023-12-05 22:25:50 +05:30
Lakshya Singh
f4c13e1a15
dockerfile: reduce interval and env config
- bitcoind and cln reduce healthcheck time interval
- cln healthcheck no need to use switch case instead use VLS_NETWORK
Signed-off-by: Lakshya Singh <lakshay.singh1108@gmail.com>
2023-11-25 12:01:33 +05:30
dev random
5f587ac475 Merge branch 'standalone_vls' into 'main'
standalone docker image

See merge request lightning-signer/vls-container!13
2023-11-21 08:52:57 +00:00
Lakshya Singh
cdd28817e2
compose: enable profile vls for vls service
- allow running all services without vls on same node
Signed-off-by: Lakshya Singh <lakshay.singh1108@gmail.com>
2023-11-19 01:26:13 +05:30
Lakshya Singh
a851c5c0d4
dockerfile: all services standalone
- bitcoind
- lightnind
- txood
- vlsd: already
- update future work
Signed-off-by: Lakshya Singh <lakshay.singh1108@gmail.com>
2023-11-16 21:45:01 +05:30
Lakshya Singh
3de4e116c9
readme: vls and compose setup
- for running standalone vls
- fix heading size and grammar
- improve description
- add command highlighting

Signed-off-by: Lakshya Singh <lakshay.singh1108@gmail.com>
2023-11-16 21:45:00 +05:30
Lakshya Singh
bac309d758
vls: standalone docker compose
Signed-off-by: Lakshya Singh <lakshay.singh1108@gmail.com>
2023-11-16 21:05:43 +05:30
Lakshya Singh
2d8f4c94eb
vls: standalone docker image for separate build
Signed-off-by: Lakshya Singh <lakshay.singh1108@gmail.com>
2023-11-12 12:09:36 +05:30
dev random
4b2370535a Merge branch 'vls' into 'main'
vls: docker image, compose service, assets and entrypoint

Closes validating-lightning-signer#375

See merge request lightning-signer/vls-container!8
2023-11-07 09:55:10 +00:00
Lakshya Singh
2880ba87eb
vls: service added in compose stack
- update readme
Signed-off-by: Lakshya Singh <lakshay.singh1108@gmail.com>
2023-11-05 16:55:58 +05:30
Lakshya Singh
4abc404246
vls: docker image, asssets and entrypoint
Signed-off-by: Lakshya Singh <lakshay.singh1108@gmail.com>
2023-11-05 16:55:51 +05:30
Lakshya Singh
cd2a0f653f
compose: standardize volume names
- $SERVICE_data name for volumes
- update readme
Signed-off-by: Lakshya Singh <lakshay.singh1108@gmail.com>
2023-11-05 16:24:11 +05:30
Lakshya Singh
b02b64ece1
txoo: compose env var set network not chain
- no need of using switch in entrypoint
- directly set the network instead of chain
Signed-off-by: Lakshya Singh <lakshay.singh1108@gmail.com>
2023-11-05 16:24:11 +05:30
Lakshya Singh
9cb9062ce8
lightning: remote_hsmd_socket & remove env files
- build vls and copy binary in final layer
- update configs
- add vls port, network, rust log and rpc url in env
- compose: set env variable in compose only
- dont separate env files, ease of access on env vars with compose
- common across networks set in dockerfile
Signed-off-by: Lakshya Singh <lakshay.singh1108@gmail.com>
2023-11-05 16:24:05 +05:30
Lakshya Singh
1731716944 Merge branch '2023-11-testnet-command-examples' into 'main'
doc: Added sample testnet CLN + CLBOSS commands

See merge request lightning-signer/vls-container!10
2023-11-03 17:06:41 +00:00
Lakshya Singh
29e69bc7e9 Merge branch '2023-11-update-clboss' into 'main'
clboss: Update CLBOSS for network-specific min_nodes_to_process

See merge request lightning-signer/vls-container!11
2023-11-02 16:50:26 +00:00
Ken Sedgwick
b07ea96643
clboss: Update CLBOSS for network-specific min_nodes_to_process 2023-11-01 18:21:25 -07:00
Ken Sedgwick
05b8f55269 Merge branch 'summary' into 'main'
lightningd: summary plugin addition

Closes #4

See merge request lightning-signer/vls-container!9
2023-11-01 20:55:50 +00:00