handshake-org / handshake-org/hsd
wallet: Make coin locks permanent.
Open
- Dominant language
- JavaScript
- Stars
- 2.1k
- Forks
- 306
- PR merge metrics
- No merged PRs in 30d
Description
`txdb` methods `lockCoin`/`unlockCoin` and related are not stored permanently in the txdb. So every restart you lose the coins you may have locked up. Make these coins permanent in the database on restarts. This is useful if someone wants to lock coins for external signing/creation mentioned in #845.
Contributor guide
Research direction
Start by locating the txdb implementations of lockCoin, unlockCoin, and related methods. Trace how their state is written and restored, then verify that locked coins remain present after restarting the daemon and that unlocking still works.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- database
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100