There's something I don't understand. It looks like the analysis assumes only one color is represented in the tx, but if the tx is an atomic trade of several colors with different padding parameters, won't this mess up the allocation of intervals?
--
You received this message because you are subscribed to a topic in the Google Groups "Colored coins (BitcoinX)" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/bitcoinX/-13VWOrkncA/unsubscribe.
To unsubscribe from this group and all its topics, send an email to bitcoinX+u...@googlegroups.com.
To post to this group, send email to bitc...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
Suppose a stock is divisible enough that 1 satoshi-share isn't worth much. I want to buy 1 share. The seller can't send me a share, he can send a coin that represents a share but can also be melted for 10K plain satoshis. So it's worth more than a share and I'll have to pay accordingly. And it's hard to figure out how much exactly, as it's either/or, so the value depends on the probability distribution of the share worth.
A proper way to handle multiple padding parameters (I'm not sure I follow your last suggestion)
could mitigate this, as we could reduce the parameters to keep the metal value negligible. (There's still a problem with old colors).
I'm implementing the padded order based color definition. I'd like to know if all of the following examples are possible:padding = 10000 (in all examples)
Example 1input = [10001, 10005, 10001]in_color = [None, "gold", None]output = [10001,10003,10002,10001]out_color = [None, "gold", "gold", None]fee = 10000
Example 2input = [10001,10003,10002,10001]in_color = [None, 3x"gold", 2x"gold", None]output = [10001,10005,30001]out_color = [None, 5x"gold", None]fee = 10000
- Does the last input always have be colorless?
- I think it would help a lot in order to fix tx fee and padding when more inputs than outputs.
- Can you combine one color together like I did here?
Example 3input = [10001,10003,10002,10001]in_color = [None, "gold", "soap", None]output = [10001,10005,30001]out_color = [None, None, None]fee = 10000
- Or do the units get destroyed = never available again?
- Or should we mark this as an invalid color tx, so that the colors don't leave the input addresses.
if colored:colored = (in_colorstates[inp_index] != None)...if colored:out_colorstates.append((o.value, ''))else:out_colorstates.append(None)
- This is how this transaction will be evaluated if it is seen in the blockchain.
- Your colored coin client should not allow this / clearly warn the user of the result.
Where do you determine output color?