UTXO set reference implementation