ziggie
23a134b28e
add private routing hints for invoices
2023-01-23 10:08:26 +01:00
yanas
9ceea9e6bf
Add configuration property for allowed length of LNURL-pay comments
2022-08-11 08:45:19 +02:00
bumi
ae9f643fbf
go fmt
2022-05-07 12:50:15 +02:00
bumi
5d2c9cd639
Fix: use correct header to get the original request host
...
Proxy servers can set the X-Forwarded-Host and X-Forwarded-Proto headers to pass on the original host and protocol.
We should also support the Forwarded header (which combines this in one header described in RFC7239 - but seems echo does not support parsing that one?)
2022-05-06 20:30:35 +02:00
bumi
488eef551f
Flag for the LND hex strings
2022-04-14 20:57:51 -04:00
Aaron Dewes
f8f8525b01
Actually fix the bug
2022-02-01 20:57:28 +01:00
Aaron Dewes
1ea6ce082b
Bug fix
2022-02-01 20:23:42 +01:00
Aaron Dewes
31c8b4d080
Remove useless conversion to string
2022-01-31 08:35:08 +01:00
Aaron Dewes
77d21734c3
Drop go rice and switch to go 1.17
2022-01-30 13:41:25 +01:00
bumi
d1be2e20aa
Generate lightning address host either from the x-forwarded-for header or from the request host
...
When LnMe runs behind a proxy and the X-Forwarded-For HTTP header is set we want to use that value to generate the lightning address and not the local/internal host
2021-11-05 13:21:02 +01:00
bumi
324d5b3b43
Make Tor executable configurable
...
It seems the `tor` executable is not in the $PATH on heroku and thus needs to be configurable.
2021-10-28 15:11:10 +02:00
bumi
9ae6153d47
Nicer LNURLp URLs
...
this also registers a shorter lnurlp that can be used additionally to the lightning address
2021-10-24 11:44:05 +02:00
bumi
3b7ac31615
Better error logging for the LNURL endpoint
...
This checks for errors when creating the invoice and logs the error and returns an LNURL error response.
Before it would return a blank pr.
2021-10-24 11:32:00 +02:00
Gregor Pogačnik
3200622b97
Possibility to specify listening IP ( #17 )
2021-09-30 18:07:43 +02:00
bumi
4fb8fa9a73
Provide LNURL metadata hash as description_hash in the lightning pr
2021-09-03 01:39:06 +02:00
bumi
1515765c3f
Fix LNURL metadata
2021-08-28 22:28:03 +02:00
bumi
6e4af5610f
Add Lightning Address support
...
This handles the LNURL-pay flow to enable Lightning Address support.
It accepts any lightning address name on your domain.
e.g. yourname@yourdomain.com
2021-08-28 22:11:24 +02:00
bumi
518a834066
Formatting
2021-08-27 11:24:51 +02:00
bumi
f79fb1747f
Respect PORT environment variable
...
this makes it easier to run on PaaS as heroku
2020-10-25 23:44:40 +01:00
bumi
1e40a617f9
Simplify configuration and remove nesting
...
We do not have that many config options. Nesting is not needed right now
and makes it only more complicated
2020-10-25 22:48:00 +01:00
bumi
77a96bdd83
Sorry go fmt
2020-10-25 22:16:05 +01:00
bumi
dcaa4f6cc4
Add Support for macaroon and cert as HEX strings
...
This also changes the configuration options.
Now multiple config sources are supported:
1. cli flags
2. environment variables
3. config toml file
2020-10-25 22:16:05 +01:00
bumi
9afa340725
Formatting
2020-10-24 11:38:44 +02:00
bumi
05fa7500b0
Comments and documentation
2020-10-23 20:38:18 +02:00
bumi
456ae2eb50
Add endpoint to get ne onchain BTC address
2020-10-22 20:15:34 +02:00
bumi
9862c53016
Missed dependency updates
2020-10-18 22:29:18 +02:00
bumi
5115fbb1ab
Rename to lnme
2020-10-18 02:33:22 +02:00