Commit Graph

83 Commits

Author SHA1 Message Date
kiwiidb
cd2456ec34 merge in event stream 2022-03-21 13:06:40 +01:00
kiwiidb
61ea259f2e Merge branch 'unauthorized-invoice-endpoint' 2022-03-21 13:05:46 +01:00
kiwiidb
ce80647a23 fix conflicts 2022-03-21 11:57:16 +01:00
kiwiidb
8e2606a2e6 fix: graceful shutdown 2022-03-21 11:42:59 +01:00
kiwiidb
93ad471dac feature: settled invoice stream 2022-03-20 13:17:38 +01: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
b05b6d89d3 no auth for decoding 2022-02-27 09:09:00 +01:00
kiwiidb
a1b4e895c4 fix merge conflicts 2022-02-15 17:48:07 +01:00
kiwiidb
20610aef06 remove btcec dependency 2022-02-15 17:24:57 +01:00
kiwiidb
4d5c8c12d1 pay command working 2022-02-10 10:30:13 +01:00
kiwiidb
94fd1fe82e fetch invoice 2022-02-09 12:47:02 +01:00
kiwiidb
514d33a0d1 feature: bolt12 2022-02-04 13:31:16 +01:00
kiwiidb
ad13bb22fc more work on invoice subscription 2022-02-03 17:42:35 +01:00
kiwiidb
40e41ab879 implement more methods 2022-02-03 17:22:00 +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