dominant-strategies / go-quai

Official Go Implementation of the Quai Network
GNU General Public License v3.0
2.37k stars 461 forks source link

[Qi - UTXO] - Enforce that QI Outputs must go to a single location #1840

Closed mibuono closed 3 months ago

mibuono commented 3 months ago

Context: It came up in a conversation with the quais team whether Qi transactions can go from a single shard to many shards with their outputs, and determined that the gas estimation and splitting of gas would be too complex. On the goQuai side, we need to enforce that Qi transactions can only go to a single destination to avert the edge case that qi transactions get lost in the fray when having multiple output desitnations.

jdowning100 commented 3 months ago

@mibuono Why would an ETX get lost in the fray? If that happens it's a bug, but I don't think restricting ETXs to a single location is a solution to that bug Also, why is gas estimation too complex here? There's already an API for it, it's called quai_estimateGas