rust-bitcoin / rust-bitcoin/rust-bitcoin

`dust_value` duplicates logic

Open
#2,083 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Rust
Stars
2.7k
Forks
1k
Avg merge
4d 1h
Merged PRs (30d)
88

Description

If #2076 merges we may be able remove the magic number logic and consensus serialization and use the size/weight functions.

May or may not be possible, needs investigation.

Contributor guide

Open the contributing guide

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 reviewing issue #2076, then locate the dust_value implementation and its magic-number logic, consensus serialization, and size/weight functions. Determine whether the existing logic can be replaced by those functions without changing dust-value behavior; completion requires a clear feasibility result and corresponding refactor if possible.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
blockchain
Issue type
Refactor
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.