archethic-node icon indicating copy to clipboard operation
archethic-node copied to clipboard

Refactor VersionedUnspentOutput / Inputs

Open Neylix opened this issue 11 months ago • 0 comments

Is your feature request related to a problem?

Currently the structs VersionedUnspentOutput contains the unspent output and the protocol version:

%VersionedUnspentOutput{
  protocol_version: v,
  unspent_output: %UnspentOutput{]}
}

But this is makes the code more complex to write and understand

Describe the solution you'd like

It could be more easy to keep the UnspentOutput struct and add the protocol version in it directly.

Additional context

No response

Epic

No response

Neylix avatar Mar 08 '24 09:03 Neylix