archethic-node
archethic-node copied to clipboard
Refactor VersionedUnspentOutput / Inputs
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