Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(core): remove loopd configs and dependencies #3917

Merged
merged 1 commit into from
Jan 31, 2024
Merged
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
10 changes: 0 additions & 10 deletions .env
Original file line number Diff line number Diff line change
Expand Up @@ -19,16 +19,6 @@ export MACAROONOUTSIDE1="AgEDbG5kAvgBAwoQeE+5exgz7/0ExCn7H6AJlBIBMBoWCgdhZGRyZXN
# dev/lnd/regtest/lnd-outside-2.admin.macaroon.base64
export MACAROONOUTSIDE2="AgEDbG5kAvgBAwoQfKO82/iPT2zIwWYPrOXvABIBMBoWCgdhZGRyZXNzEgRyZWFkEgV3cml0ZRoTCgRpbmZvEgRyZWFkEgV3cml0ZRoXCghpbnZvaWNlcxIEcmVhZBIFd3JpdGUaIQoIbWFjYXJvb24SCGdlbmVyYXRlEgRyZWFkEgV3cml0ZRoWCgdtZXNzYWdlEgRyZWFkEgV3cml0ZRoXCghvZmZjaGFpbhIEcmVhZBIFd3JpdGUaFgoHb25jaGFpbhIEcmVhZBIFd3JpdGUaFAoFcGVlcnMSBHJlYWQSBXdyaXRlGhgKBnNpZ25lchIIZ2VuZXJhdGUSBHJlYWQAAAYg2XkV+4Z4inbfXGZivRoY+r7KHNZhgxkCEdKByxbeb/Q="

# dev/lnd/loop/regtest/loopd1-1.loop.macaroon.base64
export LND1_LOOP_MACAROON="AgEEbG9vcAJ3AwoQRGymK6/vfF3wwuVmaTj3RhIBMBoMCgRhdXRoEgRyZWFkGg8KBGxvb3ASAmluEgNvdXQaGgoLc3VnZ2VzdGlvbnMSBHJlYWQSBXdyaXRlGhUKBHN3YXASB2V4ZWN1dGUSBHJlYWQaDQoFdGVyb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QWdLa01CTUdBMVVkSlFRTU1Bb0dDQ3NHQVFVRkJ3TUJNQThHQTFVZEV3RUIKL3dRRk1BTUJBZjh3SFFZRFZSME9CQllFRkZOM2E3WkY5Y2FSUGJnNDJXYitOYnVYM2hTYU1Gc0dBMVVkRVFSVQpNRktDREdVeFlqUTRabUpsTkRZMk00SUpiRzlqWVd4b2IzTjBnZ1IxYm1sNGdncDFibWw0Y0dGamEyVjBnZ2RpCmRXWmpiMjV1aHdSL0FBQUJoeEFBQUFBQUFBQUFBQUFBQUFBQUFBQUJod1NzR3dBUU1Bb0dDQ3FHU000OUJBTUMKQTBnQU1FVUNJUURUcUpnVitReks2N3lSN1lGcWtyQkN6aEQ2OExZcjBBM1JMWFF1ckM2d21BSWdZNGdESjA1eQpRTjJCY2YvaEl6VHJwb1ZlK3Y0blBRREg3bXBFQXRyOE96MD0KLS0tLS1FTkQgQ0VSVElGSUNBVEUtLS0tLQo="

# dev/lnd/regtest/lnd1.pubkey
export LND1_PUBKEY="03ca1907342d5d37744cb7038375e1867c24a87564c293157c95b2a9d38dcfb4c2"
# dev/lnd/regtest/lnd2.pubkey
Expand Down
4 changes: 0 additions & 4 deletions .env.ci
Original file line number Diff line number Diff line change
Expand Up @@ -49,10 +49,6 @@ TWILIO_VERIFY_SERVICE_ID=${TWILIO_VERIFY_SERVICE_ID}
COMMITHASH=${COMMITHASH}
HELMREVISION=${HELMREVISION}
PRICE_SERVER_HOST=stablesats
LND1_LOOP_MACAROON=${LND1_LOOP_MACAROON}
LND2_LOOP_MACAROON=${LND2_LOOP_MACAROON}
LND1_LOOP_TLS=${LND1_LOOP_TLS}
LND2_LOOP_TLS=${LND2_LOOP_TLS}
KRATOS_MASTER_USER_PASSWORD=${KRATOS_MASTER_USER_PASSWORD}
KRATOS_CALLBACK_API_KEY=${KRATOS_CALLBACK_API_KEY}
KRATOS_PUBLIC_API=http://kratos:4433
Expand Down
10 changes: 0 additions & 10 deletions core/api/.env
Original file line number Diff line number Diff line change
Expand Up @@ -19,16 +19,6 @@ export MACAROONOUTSIDE1="AgEDbG5kAvgBAwoQeE+5exgz7/0ExCn7H6AJlBIBMBoWCgdhZGRyZXN
# dev/lnd/regtest/lnd-outside-2.admin.macaroon.base64
export MACAROONOUTSIDE2="AgEDbG5kAvgBAwoQfKO82/iPT2zIwWYPrOXvABIBMBoWCgdhZGRyZXNzEgRyZWFkEgV3cml0ZRoTCgRpbmZvEgRyZWFkEgV3cml0ZRoXCghpbnZvaWNlcxIEcmVhZBIFd3JpdGUaIQoIbWFjYXJvb24SCGdlbmVyYXRlEgRyZWFkEgV3cml0ZRoWCgdtZXNzYWdlEgRyZWFkEgV3cml0ZRoXCghvZmZjaGFpbhIEcmVhZBIFd3JpdGUaFgoHb25jaGFpbhIEcmVhZBIFd3JpdGUaFAoFcGVlcnMSBHJlYWQSBXdyaXRlGhgKBnNpZ25lchIIZ2VuZXJhdGUSBHJlYWQAAAYg2XkV+4Z4inbfXGZivRoY+r7KHNZhgxkCEdKByxbeb/Q="

# dev/lnd/loop/regtest/loopd1-1.loop.macaroon.base64
export LND1_LOOP_MACAROON="AgEEbG9vcAJ3AwoQRGymK6/vfF3wwuVmaTj3RhIBMBoMCgRhdXRoEgRyZWFkGg8KBGxvb3ASAmluEgNvdXQaGgoLc3VnZ2VzdGlvbnMSBHJlYWQSBXdyaXRlGhUKBHN3YXASB2V4ZWN1dGUSBHJlYWQaDQoFdGVybXMSBHJlYWQAAAYgAFS/qTZItZ3ZKksQkfXAKFnsb0JS5Ok3Oi5fAgCaE/k="
# dev/lnd/loop/regtest/loopd2-1.loop.macaroon.base64
export LND2_LOOP_MACAROON="AgEEbG9vcAJ3AwoQ6Ntr7+DpuicdMgmVPKvDVxIBMBoMCgRhdXRoEgRyZWFkGg8KBGxvb3ASAmluEgNvdXQaGgoLc3VnZ2VzdGlvbnMSBHJlYWQSBXdyaXRlGhUKBHN3YXASB2V4ZWN1dGUSBHJlYWQaDQoFdGVybXMSBHJlYWQAAAYgU6bTJC50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bb0dDQ3FHU000OUJBTUMKQTBnQU1FVUNJUURUcUpnVitReks2N3lSN1lGcWtyQkN6aEQ2OExZcjBBM1JMWFF1ckM2d21BSWdZNGdESjA1eQpRTjJCY2YvaEl6VHJwb1ZlK3Y0blBRREg3bXBFQXRyOE96MD0KLS0tLS1FTkQgQ0VSVElGSUNBVEUtLS0tLQo="

# dev/lnd/regtest/lnd1.pubkey
export LND1_PUBKEY="03ca1907342d5d37744cb7038375e1867c24a87564c293157c95b2a9d38dcfb4c2"
# dev/lnd/regtest/lnd2.pubkey
Expand Down
4 changes: 0 additions & 4 deletions core/api/.env.ci
Original file line number Diff line number Diff line change
Expand Up @@ -49,10 +49,6 @@ TWILIO_VERIFY_SERVICE_ID=${TWILIO_VERIFY_SERVICE_ID}
COMMITHASH=${COMMITHASH}
HELMREVISION=${HELMREVISION}
PRICE_SERVER_HOST=stablesats
LND1_LOOP_MACAROON=${LND1_LOOP_MACAROON}
LND2_LOOP_MACAROON=${LND2_LOOP_MACAROON}
LND1_LOOP_TLS=${LND1_LOOP_TLS}
LND2_LOOP_TLS=${LND2_LOOP_TLS}
KRATOS_MASTER_USER_PASSWORD=${KRATOS_MASTER_USER_PASSWORD}
KRATOS_CALLBACK_API_KEY=${KRATOS_CALLBACK_API_KEY}
KRATOS_PUBLIC_API=http://kratos:4433
Expand Down
3 changes: 0 additions & 3 deletions core/api/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,6 @@ start-ws:
. ./.env && pnpm tsnd --respawn --files -r tsconfig-paths/register -r src/services/tracing.ts \
src/servers/ws-server.ts | pnpm pino-pretty -c -l

start-loopd:
./dev/bin/start-loopd.sh

start: start-deps
make start-main & make start-trigger & make start-ws

Expand Down
1 change: 0 additions & 1 deletion core/api/dev/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
*.db
# ignore all folders with lnd data
/dev/lnd/*
lnd/loopserver/*
# except regtest
!/dev/lnd/regtest/*

Expand Down
45 changes: 0 additions & 45 deletions core/api/dev/bin/save-loop-data.sh

This file was deleted.

54 changes: 0 additions & 54 deletions core/api/dev/bin/start-loopd.sh

This file was deleted.

Binary file removed core/api/dev/lnd/loop/regtest/loopd1-1.loop.db
Binary file not shown.
Binary file removed core/api/dev/lnd/loop/regtest/loopd1-1.loop.macaroon
Binary file not shown.

This file was deleted.

Binary file not shown.
14 changes: 0 additions & 14 deletions core/api/dev/lnd/loop/regtest/loopd1-1.tls.cert

This file was deleted.

1 change: 0 additions & 1 deletion core/api/dev/lnd/loop/regtest/loopd1-1.tls.cert.base64

This file was deleted.

5 changes: 0 additions & 5 deletions core/api/dev/lnd/loop/regtest/loopd1-1.tls.key

This file was deleted.

Binary file removed core/api/dev/lnd/loop/regtest/loopd2-1.loop.db
Binary file not shown.
Binary file removed core/api/dev/lnd/loop/regtest/loopd2-1.loop.macaroon
Binary file not shown.

This file was deleted.

Binary file not shown.
14 changes: 0 additions & 14 deletions core/api/dev/lnd/loop/regtest/loopd2-1.tls.cert

This file was deleted.

1 change: 0 additions & 1 deletion core/api/dev/lnd/loop/regtest/loopd2-1.tls.cert.base64

This file was deleted.

5 changes: 0 additions & 5 deletions core/api/dev/lnd/loop/regtest/loopd2-1.tls.key

This file was deleted.

Binary file removed core/api/dev/lnd/loop/server/regtest/admin.macaroon
Binary file not shown.
Binary file not shown.
Binary file removed core/api/dev/lnd/loop/server/regtest/invoices.macaroon
Binary file not shown.
Binary file removed core/api/dev/lnd/loop/server/regtest/readonly.macaroon
Binary file not shown.
Binary file removed core/api/dev/lnd/loop/server/regtest/router.macaroon
Binary file not shown.
Binary file removed core/api/dev/lnd/loop/server/regtest/signer.macaroon
Binary file not shown.
Binary file removed core/api/dev/lnd/loop/server/regtest/walletkit.macaroon
Binary file not shown.
Loading
Loading