spesmilo / spesmilo/electrum

Electrum marks mined (coinbase) transactions as confirmed before 100 confirmations

Open
#4,174 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
8.6k
Forks
3.5k
Avg merge
2d 8h
Merged PRs (30d)
61

Description

It's a minor issue with coinbase transactions. They require 100 blocks maturation, yet Electrum treats them as regular ones and marks them with a green tick even though they are not spendable. Spending them results in rejection by full nodes with an error "bad-txns-premature-spend-of-coinbase".

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

No file, test, or entry point is named in the issue. Start by locating Electrum's transaction confirmation and coinbase-maturation handling, then identify the existing status tests. Done means coinbase transactions are not marked confirmed or spendable until 100 confirmations, with coverage for the premature-spend case.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
blockchain
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 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.