Skip to content

Plugin validation of interactive transactions#3258

Merged
t-bast merged 3 commits intomasterfrom
plugin-validate-interactive-tx-inputs
Mar 3, 2026
Merged

Plugin validation of interactive transactions#3258
t-bast merged 3 commits intomasterfrom
plugin-validate-interactive-tx-inputs

Conversation

@t-bast
Copy link
Member

@t-bast t-bast commented Feb 27, 2026

We add a new ValidateInteractiveTxPlugin trait that can be extended by plugins that want to perform custom validation of remote inputs and outputs added to interactive transactions. This can be used for example to reject transactions that send to specific addresses or use specific UTXOs.

I've created the following plugin to show how this can be used: ACINQ/eclair-plugins#18

@t-bast t-bast force-pushed the plugin-validate-interactive-tx-inputs branch 2 times, most recently from b281232 to 2d2e880 Compare February 27, 2026 14:56
We add a new `ValidateInteractiveTxPlugin` trait that can be extended
by plugins that want to perform custom validation of remote inputs and
outputs added to interactive transactions. This can be used for example
to reject transactions that send to specific addresses or use specific
UTXOs.
@t-bast t-bast force-pushed the plugin-validate-interactive-tx-inputs branch from 2d2e880 to 384cef9 Compare March 2, 2026 09:32
@t-bast t-bast marked this pull request as ready for review March 2, 2026 09:32
@t-bast t-bast requested review from pm47 and sstone March 2, 2026 09:32
pm47
pm47 previously approved these changes Mar 2, 2026
This lets node operators whitelist remote nodes that they trust, or log
node-related data for debugging.
@t-bast t-bast merged commit 28f3545 into master Mar 3, 2026
1 check passed
@t-bast t-bast deleted the plugin-validate-interactive-tx-inputs branch March 3, 2026 10:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants