lbryio / lbryio/lbrycrd

RPC calls ignore locktime transactions

Open
#370 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
C++
Stars
2.5k
Forks
173
PR merge metrics
No merged PRs in 30d

Description

Enable address decode and "is mine" for transactions containing the OP_CHECKLOCKTIMEVERIFY and OP_CHECKSEQUENCEVERIFY prefixes.

I'm not sure if should report something as spendable when the timelock has not yet elapsed, but we should afterward. Right now the "watch only" flag is required to see these.

Contributor guide

Open the contributing guide

Research direction

Start with the RPC paths for address decoding and the "is mine" check, then trace how transactions with OP_CHECKLOCKTIMEVERIFY and OP_CHECKSEQUENCEVERIFY prefixes are handled versus watch-only transactions. Done means these transactions are recognized without the watch-only flag and are reported as spendable once their timelock has elapsed.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
api, blockchain
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.