lightninglabs / lightninglabs/pool

account: craft account creation transactions within poold rather than using lnd.SendOutputs

Open
#37 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

accounts coin-selection enhancement
Dominant language
Go
Stars
259
Forks
51
PR merge metrics
No merged PRs in 30d

Description

With lnd 0.11, we're now able to properly execute external coin selection to craft and sign custom transactions. With this feature, we gain more control over the transaction that's ultimately broadcast. Amongst many other things, this would let us detect up -front if we don't have enough funds (including fees) to satisfy a user's new account request.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by tracing account creation in poold and its current use of lnd.SendOutputs. The work is complete when poold can craft, sign, and broadcast the custom transaction while detecting insufficient funds, including fees, before accepting a new account request.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
backend, blockchain
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.