Commit graph

26 commits

Author SHA1 Message Date
Viktor Torstensson
9e78ad536f
multi: run make rpc 2026-02-12 19:18:19 +01:00
Elle Mouton
6717d9d54b
session+lnrpc: add StateReserved and delete these on start up 2025-02-19 12:09:27 -03:00
Oliver Gugger
65144f2c97
GitHub+docker: update to Go 1.22.6 2024-10-23 11:50:41 +02:00
bitromortac
f5d57f8cf1
rules: add channel open constraints
We add a new channel constraint rule that enforces limits on channel
opening for the OpenChannelSync and BatchOpenChannel end points.

The channel constraint rule takes care about:
* min channel size
* max channel size
* max push amount
* no closing address was used
2024-07-02 18:21:41 +02:00
bitromortac
460dec1779
litrpc: add privacy flags
* to sessions in order to get details when running `autopilot list`
* to the autopilot rpc to be able to register features with privacy
  flags via cli `autopilot add`
2024-04-25 14:49:46 +02:00
dependabot[bot]
8a7fab46a9
build(deps): bump google.golang.org/protobuf in /autopilotserverrpc
Bumps google.golang.org/protobuf from 1.30.0 to 1.33.0.

---
updated-dependencies:
- dependency-name: google.golang.org/protobuf
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-03-15 18:24:50 +01:00
Viktor Tigerström
4a46e41f97
protos: add Subserver custom_status to protos 2024-01-05 03:46:54 +01:00
bitromortac
6e30ecaa69
litcli+rpcserver: session registration with config
We add command line flags to litcli in order to be able to submit
feature configurations when registering a session.
2023-09-01 08:03:21 +02:00
Elle Mouton
e92350254f
litrpc: add session link field to AddAutopilotSessionRequest
Update the Autopilot service AddAutopilotSessionRequest message to
include a new `group_id` field. Users may set this field to the ID of a
sessino group in order to link the new session to the older ones. The
Session message is also updated with new `group_id` field which will be
populated by the group a session.
2023-08-30 12:34:26 +02:00
Elle Mouton
0428731c67
litrpc+autopilotserverrpc: run make protos
Regenerate the protos after the recent bump of the protobuf dependency.
2023-06-20 08:06:17 +02:00
Elle Mouton
e698d709be
itest: test LiTd REST endpoints 2023-03-20 20:45:25 +02:00
Elle Mouton
e22f9e7b83
litrpc: add Litd REST annotations 2023-03-20 20:45:24 +02:00
Elle Mouton
16a9c7f744
litrpc: add comments and lncli directives to Sessions service 2023-03-20 13:25:25 +02:00
Elle Mouton
a8b4ef1d48
litrpc+autopilotrpc: bump docker go version to 1.19.4-buster 2023-03-19 17:16:59 +02:00
Elle Mouton
160977d668
autopilotserver: add an autopilot server client
Add a client for the autopilot server along with a mock server that can
be used in tests.
2023-01-27 06:47:13 +02:00
Elle Mouton
69516ec675
litrpc: add lit-autopilot protos
In this commit we add all the proto methods and messages that we will
need for the initial autopilot implementation.
2023-01-27 06:47:11 +02:00
Elle Mouton
78c996a7a1
multi: add Session ID to struct
This commit adds an ID to the Session struct. The ID is not persisted
but is instead derived from the macaroon used for the session.
2023-01-27 06:47:10 +02:00
Elle Mouton
1f78f29e8e
litrpc: let revoked_at use type 16
Update the proto message field number for revoked_at to be 16 and
reserve 14 and 15 for future use.
2023-01-11 09:34:46 +02:00
Elle Mouton
5ffa428a8e
litrpc: add revoked_at field to Session proto 2023-01-10 10:43:26 +02:00
Elle Mouton
0311de1cb7
multi: change account session type and reserve type 4
In this commit, the Account session type is changed to be type 5 in
both the session proto and in the persisted Session. This is done so
that type 4 can be reserved for future use.
2022-12-06 12:50:27 +02:00
Oliver Gugger
fc4f4a4cca
multi: add account based LNC sessions 2022-12-02 10:10:02 +01:00
Elle Mouton
22a0aac8bf
litrpc: update MacaroonPermissions comments
The proto comments are updated to reflect the special case behaviour of
the entity-action pairs.
2022-12-01 12:52:17 +02:00
Elle Mouton
1736857760
litrpc: add custom macaroon perms to AddSession response 2022-10-26 09:26:09 +02:00
Elle Mouton
d23073f8b0
litrpc+session: add CreatedAt member to Session 2022-08-18 18:37:44 +02:00
Oliver Gugger
f6568ab8e8
session: add session package 2021-11-24 13:44:25 -05:00
Oliver Gugger
81e893f7b5
multi: add litrpc package 2021-11-24 13:44:25 -05:00