ain icon indicating copy to clipboard operation
ain copied to clipboard

accounttoutxos should also be listed under `listtransactions` (Discussion)

Open uzyn opened this issue 2 years ago • 2 comments

What would you like to be added:

OP_DEFI_TX_ACCOUNT_TO_UTXOS that generates UTXOs should also show up at listtransactions just like other UTXO transactions.

I would suggest "category": "receive" with a flag, perhaps "accounttoutxos": true that it's from account so it's backward-compatible.

Why is this needed:

This is so that accounttoutxos are treated the same way as most other UTXOs transactions.

This would allow sites and exchanges to support direct accounttoutxos transactions.

Why it shouldn't be done

Also adding a counter view here on why it probably shouldn't be done. If any treatments of UTXOs are non-standard, exchanges might be getting UTXOs that are not movable using conventional methods, thus affecting drop-in integration compatibility of DeFiChain with BItcoin. Exchanges should only be dealing with safe UTXOs, i.e. those that are arleady "minted" and moved using conventional methods.

uzyn avatar Dec 19 '22 07:12 uzyn