bruwbird

Results 58 comments of bruwbird

Hello @nepet I am considering a policy of using messages generated from `peerswaprpc` for both implementations. I think there will probably be differences in the struct's json tags. For example,...

No, this change may affect cln plugin behavior.

> All of that being said, as we are close to a release, we might want to wait postpone merging this PR until the transition to the peerswaprc messages is...

> Asking for opinions: Should we have fine grained configuration to allow for setting certain peers a different premium fee rate? I suppose that would complicate things a lot and...

> But allow separate premiums for received swap ins and swap outs, including negative values. This will allow managing liquidity among BTC, LBTC and Lightning. It is possible to configure...

Thanks for the test. Perhaps some of the behavior is a bug. I'll investigate and fix it.

FIXED. > [premium info is missing from the CLN listpeers](https://github.com/ElementsProject/peerswap/pull/264#issuecomment-1912361102) SwapInPremiumRatePPM and SwapInPremiumRatePPM are added to the ListPeers. This is an additional information, we are currently managing the peerswapd and...

> Hello. Do you plan RPC endpoints to configure premium rates? I have no definite plan. There are some opinions that a fine-grained premium setting is needed, so I may...

I fixed it on https://github.com/ElementsProject/peerswap/pull/264/commits/d8b683d478332794947be52c42e84fccd470ee89

I fixed it on https://github.com/ElementsProject/peerswap/pull/264/commits/2b9dfa303d09fba18da9b510e318d1813f45b408 same as swapout