ltc-mweb / ltc-mweb/libmw

Refine BuildNextBlock transaction selection logic

Open
#16 0 comments 0 reactions 0 assignees View on GitHub
bug help wanted
Dominant language
C++
Stars
22
Forks
7
PR merge metrics
No merged PRs in 30d

Description

Currently, BuildNextBlock just adds every transaction to the block, which will be problematic when it's passed any conflicting transactions. We need to instead apply transactions based on feerate, weight, and pegin fees.

Contributor guide

No contributing guide indexed for this repository

Research direction

Locate the BuildNextBlock implementation and inspect how it currently adds transactions to a block. Trace the transaction and block-validation tests or entry points that cover conflicting transactions, feerate, weight, and pegin fees. Done means conflicting transactions are selected according to those criteria rather than all being added indiscriminately.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
blockchain
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.