-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: update custom_rpc, runtime_api and broker api for broker level …
…screening (#5341) * Squashed commit of the following: commit 3166701 Author: Maxim Urschumzew <maxu@chainflip.io> Date: Tue Oct 29 15:27:51 2024 +0100 Add `subscribe_tainted_btc_transaction_events` method to Broker API. It which forwards the node subscription of the same name. commit 010772d Author: Maxim Urschumzew <maxu@chainflip.io> Date: Tue Oct 29 13:56:07 2024 +0100 Add `open_btc_deposit_channels` method to broker api. commit 9ea7e6f Author: Maxim Urschumzew <maxu@chainflip.io> Date: Tue Oct 29 11:19:07 2024 +0100 Add subscription endpoint for tainted transaction events. commit e81028a Author: Maxim Urschumzew <maxu@chainflip.io> Date: Mon Oct 28 15:12:47 2024 +0100 Implement `open_btc_deposit_channels`. commit 439ddd1 Author: Maxim Urschumzew <maxu@chainflip.io> Date: Mon Oct 28 14:51:22 2024 +0100 Add boilerplate for `open_btc_deposit_channels`. commit a3835f1 Author: Maxim Urschumzew <maxu@chainflip.io> Date: Mon Oct 28 10:25:51 2024 +0100 Add endpoint for marking btc tx as tainted. * Apply suggestions from review. * Return all channels for *all* channel actions. We do not filter out `LiquidityProvision` channels anymore. * Create tainted event subscription in broker API instead of forwarding from the node. This is now the same as in the LP API binary. The previous version didn't use finalized blocks and thus might not have been stable. Theoretically it would be nice to be able to forward the subscription from the node, see PRO-1768. * Apply clippy suggestion. * Remove now unused `tainted_transaction_events` subscription. * Apply suggestions from @kylezs's review.
- Loading branch information
Showing
8 changed files
with
246 additions
and
16 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.