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

feat(transfer): add manual channel with external node #2246

Merged
merged 1 commit into from
Sep 26, 2024

Conversation

pwltr
Copy link
Collaborator

@pwltr pwltr commented Sep 25, 2024

Description

Adds locally funded channel opening with external node.

Known Issues

  • Transfer to spending pending time doesn't update until channel is opened
  • Channel closes always end in force close because of fee consensus, test mainnet (ProcessingError)

Linked Issues/Tasks

Closes #1972

Type of change

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • Refactoring (improving code without creating new functionality)

Tests

  • Detox test
  • Unit test
  • No test

Screenshot / Video

Simulator.Screen.Recording.-.iPhone.15.-.2024-09-25.at.12.38.59.mp4

QA Notes

With an onchain balance, open the scanner and paste a node connection URI. For regtest can use the Blocktank node: 03b9a456fb45d5ac98c02040d39aec77fa3eeb41fd22cf40b862b393bcfc43473a@35.233.47.252:9400

Copy link

socket-security bot commented Sep 25, 2024

New and removed dependencies detected. Learn more about Socket for GitHub ↗︎

Package New capabilities Transitives Size Publisher
npm/@synonymdev/react-native-ldk@0.0.153 None 0 0 B

🚮 Removed packages: npm/@synonymdev/react-native-ldk@0.0.152

View full report↗︎

// TODO: mine single blocks and check updated transfer time

// wait for channel to be opened
await sleep(5000);
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe use lnd api here? should be more stable.

@pwltr pwltr merged commit 50c37b9 into master Sep 26, 2024
6 of 7 checks passed
@pwltr pwltr deleted the feat/external-channel branch September 26, 2024 08:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants