BitShares Forum
Other => Graveyard => DAC PLAY => Topic started by: monsterer on October 19, 2014, 10:03:43 am
-
How do you handle payouts from the house fund in, say a dice DAC where players losses form the fund?
At some point a private key must get revealed in order to sign the transaction paying the winner, so how do you prevent a malicious actor from just making his own transaction paying himself the entire fund?
-
The fund would not be simple address from which funds could be spent using a private key.
I think the fund would be more like a global counter that is updated in every block according to strict rules. If someone tried to violate the rules by paying out funds to themselves, other delegates would notice and reject that block.
-
The fund would not be simple address from which funds could be spent using a private key.
I think the fund would be more like a global counter that is updated in every block according to strict rules. If someone tried to violate the rules by paying out funds to themselves, other delegates would notice and reject that block.
Like a coinbase transaction in bitcoin? Presumably, then lost funds would simply be 'burned' to be in line with the 'created from nothing' aspect of a coinbase transaction?
-
The fund would not be simple address from which funds could be spent using a private key.
I think the fund would be more like a global counter that is updated in every block according to strict rules. If someone tried to violate the rules by paying out funds to themselves, other delegates would notice and reject that block.
Like a coinbase transaction in bitcoin? Presumably, then lost funds would simply be 'burned' to be in line with the 'created from nothing' aspect of a coinbase transaction?
Similar, yes. Except that a winning payout would not be 'created from nothing' - instead of having input txs it would deduct the sum from the global counter.
-
The fund would not be simple address from which funds could be spent using a private key.
I think the fund would be more like a global counter that is updated in every block according to strict rules. If someone tried to violate the rules by paying out funds to themselves, other delegates would notice and reject that block.
Like a coinbase transaction in bitcoin? Presumably, then lost funds would simply be 'burned' to be in line with the 'created from nothing' aspect of a coinbase transaction?
True