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

Fix vsize estimation of psbt #191

Merged
merged 6 commits into from
Jun 5, 2023
Merged

Fix vsize estimation of psbt #191

merged 6 commits into from
Jun 5, 2023

Conversation

Jossec101
Copy link
Contributor

feat(LightningService.cs): add error handling for PSBT virtual size estimation
feat(LightningService.cs): add validation for changeless channel operation request with single output
refactor(LightningService.cs): improve outputVirtualSize calculation by using estimatedVsize and changelessVSize

…nd MAX_TX_FEE_RATIO for fee rate validation

feat(LightningService.cs): implement fee rate validation for finalized PSBT using new constants to ensure fees are within acceptable range
…stimation

feat(LightningService.cs): add validation for changeless channel operation request with single output
refactor(LightningService.cs): improve outputVirtualSize calculation by using estimatedVsize and changelessVSize
# Conflicts:
#	src/Services/LightningService.cs
…eration request to check for any outputs instead of count not equal to 1
… operation request to clarify the issue with outputs at this stage
@Jossec101 Jossec101 merged commit ac6f3f3 into main Jun 5, 2023
@Jossec101 Jossec101 deleted the sat-vb-check branch June 5, 2023 16:24
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.

1 participant