archethic-foundation / archethic-node

Official Archethic Blockchain node, written in Elixir
GNU Affero General Public License v3.0
75 stars 22 forks source link

Handle chain with a high number of UTXO #1599

Open Neylix opened 1 week ago

Neylix commented 1 week ago

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