Skip to content

multi: acceptdiscountctIsEnabled check in setup#348

Merged
grubles merged 1 commit intomasterfrom
acceptdiscountctIsEnabled
Feb 4, 2025
Merged

multi: acceptdiscountctIsEnabled check in setup#348
grubles merged 1 commit intomasterfrom
acceptdiscountctIsEnabled

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