kiwiidb
2be263186f
add log line
2022-03-31 11:45:35 +02:00
kiwiidb
07b93fc574
add prometheus on seperate port
2022-03-31 11:40:32 +02:00
Stefan Kostic
2d34317acb
Add and register invoice endpoint
2022-03-18 18:03:46 +01:00
Stefan Kostic
0a34f58b87
PR comments
2022-03-15 12:39:39 +01:00
Stefan Kostic
ef90a77ed7
Move create limiter to func
2022-03-10 23:46:48 +01:00
Stefan Kostic
6febafdf9d
Add and use cache client
2022-03-10 23:38:51 +01:00
Stefan Kostic
f3a5ab7d10
Add rate limiters
2022-03-10 23:36:27 +01:00
Stefan Kostic
2548de40a5
Change keysend endpoint method to POST
2022-03-08 12:30:43 +01:00
Stefan Kostic
b82deb3835
Register endpoint
2022-03-08 01:08:57 +01:00
kiwiidb
20610aef06
remove btcec dependency
2022-02-15 17:24:57 +01:00
kiwiidb
675d5e6b4d
address bumi's PR comments
2022-01-28 13:00:09 +01:00
kiwiidb
242e1438a6
embed static files
2022-01-28 09:57:51 +01:00
kiwiidb
d947b4fb6b
use a single homecontroller
2022-01-28 09:10:08 +01:00
kiwiidb
5c1b27398b
add index page
2022-01-27 16:04:03 +01:00
Michael Bumann
d10701ad2f
Custom HTTP error handler and send sentry notifications
2022-01-24 23:37:03 +01:00
Michael Bumann
95a979a05f
Merge branch 'main' into feature/configurable-port
2022-01-23 19:42:52 +02:00
Michael Bumann
f6559a6a0c
Make port configurable
2022-01-22 23:11:13 +01:00
Michael Bumann
a4e597ccfc
Comments
2022-01-22 13:30:13 +01:00
Michael Bumann
12dbb48c8d
First draft to subscribe for LND invoice update
2022-01-21 20:57:41 +01:00
Michael Bumann
90a686677f
Save invoice destination
...
And save the node pubkey in the service to make it usable
2022-01-20 15:41:50 +01:00
Michael Bumann
31570b8adf
Add blank routes required for bluewallet
2022-01-20 14:02:32 +01:00
Michael Bumann
c06a749b8d
Merge pull request #51 from getAlby/no-panic
...
Panic less
2022-01-20 14:52:31 +02:00
kiwiidb
7c51383feb
replace all panics with log.Fatal
2022-01-20 13:44:59 +01:00
kiwiidb
d3466aa0cc
remove pointer to interface
2022-01-20 13:24:59 +01:00
Michael Bumann
56a3f79506
Cleanup
2022-01-19 21:42:42 +01:00
Michael Bumann
237d0153bd
Merge pull request #49 from getAlby/getbtc
...
Add /getbtc endpoint
2022-01-19 22:40:28 +02:00
Michael Bumann
c47e5ef7a6
Format
2022-01-19 18:45:01 +01:00
Michael Bumann
eeb9d3cf24
Panic less
2022-01-19 18:18:19 +01:00
Michael Bumann
c6600c36ed
Comments
2022-01-19 18:12:28 +01:00
Michael Bumann
65fe75d7ce
Introduce a Blank controller for unsported endpoints
2022-01-19 17:56:33 +01:00
Michael Bumann
5c5f600147
Add /getinfo endpoint
...
For now we simple return the getinfo response from LND.
In the future we should limit the response and exactly define the response value.
Also we should add some caching here to not always needing to hit the lightning node
2022-01-19 17:40:06 +01:00
Michael Bumann
585a8504e5
Add /getbtc endpoint
...
We do not support on chain transactions but for backwards compatibility we still implement these endpoints.
Here we return an empty array.
This is consumed by: a28a2b96bc/class/wallets/lightning-custodian-wallet.js (L327)
2022-01-19 17:18:50 +01:00
kiwiidb
8eef14fccc
move service functions to service package
2022-01-19 16:10:55 +01:00
kiwiidb
b8fb826ea5
move config to lib
2022-01-19 14:40:27 +01:00
kiwiidb
a83fbc6067
add constructor funcs for controllers
2022-01-19 14:35:46 +01:00
kiwiidb
5c3e3b2a30
throw away useless context
2022-01-19 14:01:32 +01:00
kiwiidb
e22ab6ce49
rename context to service
2022-01-19 13:53:40 +01:00
Viktor Patchev
919affa2db
Update package name to new repo
2022-01-18 10:42:53 +01:00
Michael Bumann
7c007791ec
Setup LND connection
2022-01-17 22:37:40 +01:00
Michael Bumann
aabbfc33b5
Merge master and use correct lnd version
2022-01-17 18:45:47 +01:00
Viktor Patchev
5cf32d83b0
lnd options from env
2022-01-17 14:56:14 +01:00
Viktor Patchev
2b1de4ba92
fix
2022-01-17 13:53:16 +01:00
Viktor Patchev
2bf39e0f97
Setup lnd grpc client
2022-01-17 12:53:47 +01:00
Michael Bumann
855cb236ba
Cleanup
2022-01-17 11:51:47 +01:00
Michael Bumann
d7f57a9dd7
Panic if configs are missing
2022-01-17 11:25:54 +01:00
Michael Bumann
316cc77324
Add configs to env example file
2022-01-17 11:12:50 +01:00
Michael Bumann
6478c6e0db
Make JWT expiry configurable and require to set a JWT secret
2022-01-17 11:11:28 +01:00
Michael Bumann
866be7bd91
Hide echo banner
2022-01-17 10:26:29 +01:00
Michael Bumann
4cec10a999
Cleanup filename
2022-01-17 10:24:42 +01:00
Michael Bumann
698323a8d9
Echo logging
2022-01-17 10:19:17 +01:00