Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

multi: acceptdiscountctIsEnabled check in setup #348

Merged
merged 1 commit into from
Feb 4, 2025

Conversation

YusukeShimizu
Copy link
Contributor

@YusukeShimizu YusukeShimizu commented Jan 31, 2025

In the process of launching peerswap, when elementsd is used, a check for acceptdiscountctIsEnabled is added.
The acceptdiscountctIsEnabled checks whether the acceptdiscountct feature is enabled by decoding a hard-coded transaction example and verifying if the decoded transaction contains the DiscountVirtualSize field.

Depends on ElementsProject/glightning#22

acceptdiscountctIsEnabled checks if the acceptdiscountct feature
is enabled by decoding a hardcoded example transaction
and checking for the presence
of the DiscountVirtualSize field in the decoded transaction.
@YusukeShimizu YusukeShimizu force-pushed the acceptdiscountctIsEnabled branch from 9ef8cea to bbfe93e Compare January 31, 2025 05:58
@YusukeShimizu YusukeShimizu marked this pull request as ready for review January 31, 2025 06:38
@grubles
Copy link
Collaborator

grubles commented Feb 4, 2025

Tested ACK bbfe93e

@grubles grubles merged commit 5f0304e into master Feb 4, 2025
8 checks passed
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.

2 participants