lightninglabs / lightninglabs/pool

Allow new deposits/withdraws to expired accounts

Open
#343 0 comments 1 reaction 0 assignees View on GitHub
Dominant language
Go
Stars
259
Forks
51
PR merge metrics
No merged PRs in 30d

Description

**Is your feature request related to a problem? Please describe.**
Clients have currently the option to change the expiry account while they are depositing/withdrawing funds as long as the account is open. It would be nice to be able to "revive" old accounts at the same time that we commit/subtract funds from it.

**Describe the solution you'd like**
The idea is allow deposit/withdraws to expire accounts in the same tx they are being renewed.

**Describe alternatives you've considered**
Currently this needs two transactions: renew account + deposit/withdraw.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by tracing the existing deposit, withdrawal, and account-renewal transaction handling described in the issue. Determine how those operations currently reject expired accounts and how renewal is committed; done means a deposit or withdrawal can renew an expired account within the same transaction without requiring a separate renewal transaction.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
backend
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.