assetTx: the transaction tx that was generated when asset was created
Asset metadata json
ownership_change: optional if ownership address is changed. Owneraddress needs to contribute a Vin to the fee for the transaction.
payment address: optional to pay for new asset fee. If not provided use unspent wallet inputs.
Outputs:
Updated Asset metadata json with original assetTx as one of the fields as well as the transaction id of this transaction.
Requirements:
The transaction created needs to have fields for all of the above mentioned points
Ensure full backwards and forwards compatibility post changes. Including syncs from scratch and continuation post both graceful shutdowns and ungraceful shutdowns!
Create appropriate unit and possibly fuzz or other tests to ensure compliance and avoid unforeseen issues.
Create assetTx update rpc call:
Inputs:
assetTx: the transaction tx that was generated when asset was created
Asset metadata json
ownership_change: optional if ownership address is changed. Owneraddress needs to contribute a Vin to the fee for the transaction.
payment address: optional to pay for new asset fee. If not provided use unspent wallet inputs.
Outputs:
Requirements:
The transaction created needs to have fields for all of the above mentioned points
Ensure full backwards and forwards compatibility post changes. Including syncs from scratch and continuation post both graceful shutdowns and ungraceful shutdowns!
Create appropriate unit and possibly fuzz or other tests to ensure compliance and avoid unforeseen issues.