[ad_1]
I’m making an attempt to realize a extra advanced job, as an use-case the place an organization holds a highly regarded bitcoin handle that has many tons of of inputs (UTXOs) in associated to shares it issued.
Now, the intention is to construct a transaction that each one the inventory homeowners can broadcast if and once they determine to. However they shouldn’t be in a position to spend greater than their rightful quantity. Can SIGHASH_SINGLE
be used on this case?
Instance:
input0, input1, input2, input3, input4 complete = 5.001 btc
output0 = 4 btc, output1 = 1 btc, charge = 0.001 btc
the place output0 is the whole quantity going again to the identical handle
charge is the charge
and output1 is the handle of the holder that’s entitled to withdraw not more than 1 btc.
The aim is to have a transaction that somebody can use to withdraw not more than a specific amount and be legitimate for any inputs of a given handle. Additionally, if totally different folks have the identical transaction however with totally different output1 and output1 quantity, would there be any conflicts?
[ad_2]
Supply hyperlink
Leave a Reply