Skip to content

Commit a9a5ecc

Browse files
committed
lnd-client
1 parent af69d41 commit a9a5ecc

File tree

170 files changed

+129903
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

170 files changed

+129903
-0
lines changed
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
regtest=1
2+
txindex=1
3+
4+
onlynet=ipv4
5+
6+
rpcuser=developer
7+
rpcpassword=developer
8+
9+
zmqpubrawblock=tcp://127.0.0.1:28332
10+
zmqpubrawtx=tcp://127.0.0.1:28333
11+
12+
server=1
13+
rest=1
Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
version: 2.1
2+
3+
configure: &configure
4+
docker:
5+
- image: nixos/nix:2.3.12
6+
resource_class: xlarge
7+
8+
release: &release
9+
run:
10+
name: Create release
11+
command: ./nix/bootstrap.sh && nix-build -v --show-trace
12+
no_output_timeout: 60m
13+
14+
filters: &filters
15+
filters:
16+
branches: {}
17+
18+
jobs:
19+
release:
20+
<<: *configure
21+
environment:
22+
NIX_SSHOPTS: 'source /etc/profile.d/nix.sh;'
23+
steps:
24+
- checkout
25+
- setup_remote_docker
26+
- *release
27+
28+
workflows:
29+
version: 2
30+
nightly:
31+
triggers:
32+
- schedule:
33+
<<: *filters
34+
cron: "0 5 * * *" # 05:00 UTC
35+
jobs:
36+
- release:
37+
<<: *filters
38+
context: global
39+
push:
40+
jobs:
41+
- release:
42+
<<: *filters
43+
context: global

pub/lnd-client/.dockerignore

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
.git
2+
dist-newstyle/
3+
result
4+
result-*

pub/lnd-client/.editorconfig

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
root = true
2+
3+
[*]
4+
indent_style = space
5+
indent_size = 2
6+
end_of_line = lf
7+
charset = utf-8
8+
trim_trailing_whitespace = true
9+
insert_final_newline = true
10+
max_line_length = 100
11+

pub/lnd-client/.envrc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
use_nix

pub/lnd-client/.ghcid

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
--test=":main --fail-fast --color -f failed-examples"
2+
--restart=package.yaml
3+
--restart=cabal.project
4+
--restart=script/export-test-envs.sh
5+
--restart=.ghcid
6+
--command="hpack && (cabal build lnd-client-test --disable-optimization || true) && ((kill -0 `cat ./.bitcoin/regtest/bitcoind.pid` && kill -0 `cat ./.lnd-merchant/lnd.pid` && kill -0 `cat ./.lnd-customer/lnd.pid`) || ((./script/cleanup-test-env.sh || true) && (setsid ./script/prepare-test-env.sh & wait))) && . ./script/export-test-envs.sh && cabal new-repl test:lnd-client-test --repl-options=-fobject-code --repl-options=-fno-break-on-exception --repl-options=-fno-break-on-error --repl-options=-v1 --repl-options=-ferror-spans --repl-options=-j -fghcid"

pub/lnd-client/.gitignore

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
.stack-work/
2+
*~
3+
postgres/
4+
postgres_data/
5+
.bitcoin/*
6+
!.bitcoin/bitcoin.conf
7+
.lnd-*/*
8+
!.lnd-*/lnd.conf
9+
dist*
10+
postgres.log
11+
result
12+
result-*
13+
nohup.out
14+
.DS_Store
15+
.lnd/tls*
16+
lnd-client-prof.aux
17+
lnd-client-prof.hp
18+
lnd-client-prof.prof
19+
lnd-client-prof.ps
20+
lnd-client-prof.svg

pub/lnd-client/.ignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
.stack-work
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
[Bitcoin]
2+
3+
bitcoin.active=1
4+
bitcoin.regtest=1
5+
bitcoin.node=bitcoind
6+
7+
[Bitcoind]
8+
9+
bitcoind.rpchost=localhost
10+
bitcoind.rpcuser=developer
11+
bitcoind.rpcpass=developer
12+
bitcoind.zmqpubrawblock=tcp://127.0.0.1:28332
13+
bitcoind.zmqpubrawtx=tcp://127.0.0.1:28333
14+
15+
[Application Options]
16+
tlsextradomain=localhost
17+
listen=0.0.0.0:9734
18+
rpclisten=127.0.0.1:11009
19+
restlisten=0.0.0.0:8003
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
[Bitcoin]
2+
3+
bitcoin.active=1
4+
bitcoin.regtest=1
5+
bitcoin.node=bitcoind
6+
7+
[Bitcoind]
8+
9+
bitcoind.rpchost=localhost
10+
bitcoind.rpcuser=developer
11+
bitcoind.rpcpass=developer
12+
bitcoind.zmqpubrawblock=tcp://127.0.0.1:28332
13+
bitcoind.zmqpubrawtx=tcp://127.0.0.1:28333
14+
15+
[Application Options]
16+
tlsextradomain=localhost
17+
rpclisten=127.0.0.1:10009
18+
restlisten=0.0.0.0:8080
19+
listen=0.0.0.0:9735

0 commit comments

Comments
 (0)