Commit graph

612 commits

Author SHA1 Message Date
Oliver Gugger
71bb06f6f7
multi: fix linter issues, run imports 2022-11-21 17:12:17 +01:00
Oliver Gugger
58bb9e469e
make+github+tools: dockerize linter 2022-11-21 17:12:05 +01:00
Oliver Gugger
b2ce30b3c8
faraday: bump lnd min version to v0.15.4-beta 2022-11-21 16:28:32 +01:00
Oliver Gugger
f2fbbb34a1
multi: bump lnd version to v0.15.4-beta 2022-11-21 16:27:26 +01:00
Oliver Gugger
a0f4e129dd
multi: bump golang version to v1.18.8 2022-11-21 14:06:32 +01:00
Oliver Gugger
e7483eea9a
make+frdrpc: remove GO111MODULE env var 2022-11-21 14:01:12 +01:00
Oliver Gugger
fea194ffb0
Merge pull request #150 from lightninglabs/protos-remove-js-build-tag
frdrpc/gen_protos.sh: remove js build tag
2022-09-09 12:50:59 +02:00
Evan Kaloudis
a508f3f428
frdrpc/gen_protos.sh: remove js build tag 2022-09-08 10:28:10 -04:00
Oliver Gugger
ddd3cd123e
Merge pull request #148 from lightninglabs/subserver-start-macaroon-service
frdrpcserver: also create macaroon service in subserver mode
2022-06-24 16:17:23 +02:00
Oliver Gugger
04021ca1db
mod: bump lnd and lndclient to v0.15.0-beta 2022-06-24 14:11:59 +02:00
Oliver Gugger
42329df815
frdrpcserver: also create macaroon service in subserver mode
This fixes a small oversight in #140 where we forgot to also _create_
the macaroon service in the StartAsSubserver() method.
2022-06-24 13:28:03 +02:00
Oliver Gugger
2b33087d03
Merge pull request #140 from ellemouton/macaroonService
multi: use lndclient MacaroonService
2022-06-23 17:43:16 +02:00
Elle Mouton
00a8a39aa8
frdrpc/rpcserver: rename createDefaultMacaroonFile
Rename createDefaultMacaroonFile to withMacaroonService since this is
now a more appropriate name.
2022-06-23 17:26:41 +02:00
Elle Mouton
8a59081473
multi: use lndclient MacaroonService
Since the code for creating and using a macaroon service is the same for
multiple projects (pool, loop, faraday & litd), the code has been
unified in lndclient. So this commit removes the macaroon service code
and instead uses the lndclient code.

Since the default key for the macaroon db is now a shared secret with
LND, faraday requires LND's admin macaroon so that this secret can be
derived. So this commit also updates all references of LND's `readme`
macaroon to the `admin` macaroon.
2022-06-23 17:26:41 +02:00
Oliver Gugger
dd4329d258
Merge pull request #147 from lightninglabs/faraday-0-2-8
Use GitHub auto-generated release notes for next release, bump version to v0.2.8-alpha
2022-06-23 17:17:28 +02:00
Oliver Gugger
89e0a058b2
Merge pull request #143 from lightninglabs/alexbosworth-patch-2
docs: fix harmony link to point at standard
2022-06-23 10:45:45 +02:00
Oliver Gugger
f74eaf6f8c
version: bump to version 0.2.8-alpha 2022-06-23 10:40:53 +02:00
Oliver Gugger
2df9885e35
GitHub+release_notes: switch over to auto-generated release notes 2022-06-23 10:40:29 +02:00
Oliver Gugger
0f76143080
Merge pull request #146 from ellemouton/movePermsToOwnDir
frdrpcserver: move RequiredPermissions to dedicated dir
2022-06-14 15:59:54 +02:00
Elle Mouton
21cc003ce1
frdrpcserver: move RequiredPermissions to dedicated dir
This commit moves the RequiredPermissions map to its own directory so
that projects importing the permissions list dont need to import all the
dependencies of the frdrpcserver package.
2022-06-14 15:48:02 +02:00
Oliver Gugger
cd1e56982f
Merge pull request #145 from guggero/json-stubs
frdrpc: add JSON/WASM client stubs for LNC, move server code into own package
2022-05-03 16:44:21 +02:00
Oliver Gugger
eb75383869
release_notes: add notes about JSON/WASM stubs 2022-05-02 12:24:44 +02:00
Oliver Gugger
6f4c01d0f6
frdrpc+frdrpcserver: move RPC server into own package
To avoid the frdrpc package having dependencies to other libraries and
making using the JSON/WASM stubs hard, we extract all the business logic
and RPC server code into its own package called frdrpcserver.
2022-05-02 12:24:44 +02:00
Oliver Gugger
0c086710e7
GitHub+make: compile JSON/WASM stubs 2022-04-29 14:20:47 +02:00
Oliver Gugger
0de47187c4
frdrpc: generate JSON/WASM client stubs 2022-04-29 14:20:46 +02:00
Oliver Gugger
d602082a71
Merge pull request #144 from lightninglabs/btcec-v2-upgrade
multi: bump btcec/v2 and btcutil to new versions
2022-03-28 08:40:33 +02:00
positiveblue
d24b4e2557
multi: bump btcec/v2 and btcutil to new versions 2022-03-25 16:55:04 +01:00
Alex Bosworth
c98220a611
docs: fix harmony link to point at standard
Change the harmony format link to point at the new repository
2022-01-20 16:57:06 -08:00
Oliver Gugger
c46f395ad3
Merge pull request #142 from guggero/lnd-cert-path-expansion
config: clean and expand lnd tls cert path
2022-01-19 15:15:02 +01:00
Oliver Gugger
83dee8bfe8
config: clean and expand lnd tls cert path
The lncfg.CleanAndExpandPath() call was missing for the lnd TLS
certificate path.
2022-01-19 09:52:28 +01:00
Carla Kirk-Cohen
95acc4e4de
Merge pull request #139 from lightninglabs/alexbosworth-patch-1
docs: fix broken harmony link
2022-01-13 08:28:32 +02:00
Alex Bosworth
4b8237aeed
docs: fix broken harmony link
Fixes #138
2022-01-12 21:09:17 -08:00
Oliver Gugger
12b66ac753
Merge pull request #136 from guggero/lnd-14-final
multi: bump lnd to v0.14.0-beta final, release v0.2.7-alpha
2021-11-18 14:01:57 +01:00
Oliver Gugger
bc23e3aacb
multi: bump lnd to v0.14.0-beta final, release v0.2.7-alpha 2021-11-18 13:49:15 +01:00
Oliver Gugger
a68cb47ee2
Merge pull request #134 from lightninglabs/macaroon-stateless
Macaroon stateless
2021-11-05 10:47:27 +01:00
Oliver Gugger
8c1f25dae3
rpcserver: stop macaroon service correctly 2021-11-04 14:09:15 +01:00
Turtle
e3c2c14bd1
frdrpc: conditionally create default macaroon file
In some cases we don't want the default macaroon file to be created on
disk, so we allow passing in a boolean that toggles the macaroon
creation.
2021-11-04 14:09:14 +01:00
Oliver Gugger
f8a995369c
Merge pull request #133 from lightninglabs/lnd-14
multi: bump lnd compile time dependency to v0.14.0-beta.rc1
2021-11-04 11:32:47 +01:00
Oliver Gugger
9f9e8a832e
multi: bump lnd compile time dependency to v0.14.0-beta.rc1 2021-11-03 19:24:23 +01:00
Carla Kirk-Cohen
f4dd97a0fd
Merge pull request #130 from carlaKC/mod-update
multi: bump lndclient version
2021-09-15 09:07:58 +02:00
carla
5180779806
multi: bump lndclient version 2021-09-14 08:49:48 +02:00
Carla Kirk-Cohen
8c48fc9cbe
Merge pull request #129 from carlaKC/fiat-coingecko
fiat: add coingecko source
2021-09-01 09:13:42 +02:00
carla
0979587eeb
release_notes: add coin gecko and default source update 2021-09-01 09:07:37 +02:00
carla
3a515ae086
frcli: add coingecko option 2021-09-01 09:07:36 +02:00
carla
99769f63a9
multi: surface coingecko on rpc 2021-09-01 09:07:35 +02:00
carla
ed8dc3c98d
fiat: add coingecko query and parsing 2021-09-01 09:07:34 +02:00
carla
199b144216
multi: move rpc fiat parsing into single helper and switch default to coindesk
Coincap are deprecating their API, in this commit we switch the default
backend for when there is no backend set to coindesk, and do some
refactoring to simplify our rpc parsing a bit.
2021-09-01 09:07:33 +02:00
Carla Kirk-Cohen
f953eeaa9e
Merge pull request #122 from ellemouton/customPrices
multi: custom fiat prices
2021-08-30 09:39:12 +02:00
Elle Mouton
07ec73e23f
frdrpc: validate custom pricepoints
This commit adds a server side check that ensures that at least one
price point is provided that has a timestamp preceding the start time.
2021-08-27 17:00:01 +02:00
Elle Mouton
e478853361
frcli: filter custom prices by timestamp
This commit filters the custom price points provided using the given
start and end timestamps. This is done so that only the necessary time
stamps are sent to the server.
2021-08-27 16:59:44 +02:00