archethic-foundation / archethic-foundation/archethic-node

Handle chain with a high number of UTXO

Open
#1,599 0 comments 0 reactions 0 assignees View on GitHub
bug mining to-analyze
Dominant language
Elixir
Stars
82
Forks
24
PR merge metrics
No merged PRs in 30d

Description

### Describe the problem you discovered

Currently when the validation of a transaction starts, the validation nodes request the entire list of inputs of the chain.
But it is possible that the chain has a huge number of inputs and this could use too much memory and download to much data to be efficient.

### Describe the solution you'd like

We should handle chain with a lot of UTXO maybe by requesting only the required UTXO or have a limit of the number of UTXO used during the validation

### Epic

_No response_

Contributor guide

Open the contributing guide

Research direction

No files, tests, or entry points are named. Start by tracing transaction validation and how validation nodes retrieve the full chain input list, then determine whether fetching only required UTXOs or imposing a validation limit can meet the memory and download goals.

Written by the indexing model from the issue text.

Assessment

Tech stack
elixir
Domain
blockchain
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.