Pages:
Author

Topic: Why can't output values be set by scripts? - page 2. (Read 1801 times)

administrator
Activity: 5222
Merit: 13032
August 07, 2011, 02:11:31 PM
#4
It could maybe be safely allowable, but a huge amount of Bitcoin code would have to be rewritten, as it is assumed throughout the code that output values are fixed. Transaction checking would also be greatly complicated because you'd need to calculate the remaining balance of a transaction before you allow any of the other outputs to be spent. This would also cause new forms of transaction conflicts. There may be other problems, as well.
legendary
Activity: 1526
Merit: 1134
August 07, 2011, 02:09:08 PM
#3
Transaction validity has to be independent of all external state, otherwise you can't decide whether to include/relay it or not. Allowing output scripts to choose output values would make tx validity impossible to determine, as the outputs might sum to more than the inputs.
legendary
Activity: 1050
Merit: 1000
You are WRONG!
August 07, 2011, 02:02:11 PM
#2
because there is no need for it!
sr. member
Activity: 461
Merit: 251
August 07, 2011, 01:47:00 PM
#1
Are there any cases where it might be acceptable?
Pages:
Jump to: