Proto commits in ElementsProject/peerswap

These 30 commits are when the Protocol Buffers files have changed:

Commit:e658ee5
Author:bruwbird
Committer:bruwbird

multi: added short channel id for PeerSwapPeerChannel A short channel id is more intuitive and "human readable". Added short channel id for rpc, and set the value both short channel id and channel id for cln.

The documentation is generated from this commit.

Commit:4d37f4d
Author:bruwbird

multi: rename premium default to global Replace 'SetDefaultPremiumRate' with 'UpdateGlobalPremiumRate' Replace 'GetDefaultPremiumRate' with 'GetGlobalPremiumRate' Adjust commands in usage and docs.

Commit:b26c621
Author:bruwbird

multi: Implement peer premium rate deletion Add a new RPC and CLI command to delete peer-specific premium rates. Ensure default rate usage once the per-peer rate is removed.

Commit:c84e53a
Author:bruwbird

multi: use PPM rate-based premium limit This change interprets premium_limit as a PPM rate Prevents confusion about total premium amounts

Commit:d450652
Author:YusukeShimizu
Committer:bruwbird

swap: adds premium options for commands This commit adds premium options. Also, the sample settings and document have been updated accordingly.

Commit:683af5e
Author:bruwbird
Committer:bruwbird

policy: show premium rate when reloadpolicy When the reload policy was done, the configuration values were updated, but they were not displayed. Definitions are being added so that they are displayed.

Commit:74a4530
Author:bruwbird
Committer:bruwbird

multi: enable per-peer premium configuration Allow setting different premium values for BTC and LBTC. This change also enables users to configure individual premiums for each peer, providing more granular control over pricing and liquidity. - Added separate premium fields for BTC and LBTC. - Implemented logic to apply peer-specific premiums.

Commit:77a9db7
Author:bruwbird
Committer:bruwbird

premium: enable flexible settings with bbolt db Remove policy.conf management and switch to bbolt db for managing premium settings. Provide APIs for cln and lnd to interact with premium. - Implement Observer for premium updates - Poller detects updates and performs polling

Commit:f0283be
Author:bruwbird
Committer:bruwbird

peerswaprpc: buf format -w

Commit:952fb5a
Author:shelter2759
Committer:shelter2759

multi: Modify buf.yaml for Buf lint and formatting with buf format -w

Commit:f495a7f
Author:grubles

remove local_percentages from listpeers

Commit:058d85f
Author:Peter Neuroth
Committer:Peter Neuroth

proto: Add lnds specific chan_id to the listswaps response

Commit:99da20e
Author:Peter Neuroth

proto/lnd: Remove unused listnodes command

Commit:834148f
Author:Peter Neuroth
Committer:Peter Neuroth

proto: Change response message of AllowSwapRequests to Policy

Commit:cb39137
Author:Peter Neuroth
Committer:Peter Neuroth

proto: Remove unnecessary wraper around policy messages

Commit:5fd9f99
Author:Peter Neuroth
Committer:Peter Neuroth

proto: Add allow_new_swaps field to policy message and refactor

Commit:216cd75
Author:Peter Neuroth
Committer:Peter Neuroth

proto/lnd/cln: Set allowswaprequests in policy instead of swap service

Commit:d211fab
Author:Peter Neuroth

proto: Change created_at field to int64 unix timestamp

Commit:50b4b64
Author:Peter Neuroth
Committer:Peter Neuroth

api: Use the same swap list in return for lnd and cln We want to return the same data for the listswap calls on both peerswapd for lnd and the cln peerswap plugin. We use the protos and the generated stubs to ensure the same return values on the listswaps, listactiveswaps, swapin and swapout commands.

Commit:4342cb9
Author:Peter Neuroth

protos: Add min msat swap amount to policy message

Commit:2b30875
Author:Peter Neuroth

lnd: Add force flag to swap in and out services. We want a force flag to skip the check if the peer has sent its poll info to the node.

Commit:fcf1545
Author:Peter Neuroth
Committer:Peter Neuroth

lnd-plugin: Add RemoveSusPeer to the grpc server With this command we can manually remove suspicious peers from the policy file.

Commit:dae7e4c
Author:Peter Neuroth
Committer:Peter Neuroth

lnd-plugin: Add AddSusPeer to the grpc server With this command we can manually add suspicious peers to the policy file.

Commit:6a76141
Author:sputn1ck
Committer:sputn1ck

Rename rejectswaps For clarity reasons rejectsswaps is now named allowswaprequests. This command enabled or disables new swaps entirely.

Commit:5dd44ff
Author:sputn1ck

rename 'balance' to 'localpercentage'

Commit:41d9b35
Author:sputn1ck

rename module

Commit:540e497
Author:kon

policy: add pscli commands

Commit:0e64891
Author:kon
Committer:kon

add rejectswaps rpc

Commit:a02ba9d
Author:kon
Committer:kon

add listactive swaps rpc

Commit:78d2db4
Author:kon
Committer:pn

implement lnd