hackfisher / bitshares_snapshot

Libraries and Utilities for building DACs
The Unlicense
0 stars 1 forks source link

Do deterministic transactions need fees/votes and related validation? #30

Open hackfisher opened 10 years ago

hackfisher commented 10 years ago

deterministic transactions are not create by anyone nor wallets, and do not need the delegates... so there should be no votes nor fees.

Would it be better if the part of fee validation and votes validation can be virtual for derived chain?

Currently are do two hacking to workaround this, pay attention that tick->jackpot trx are not validated now.

https://github.com/HackFisher/bitshares_toolkit/blob/lotto_experi/libraries/lotto/lotto_transaction_validator.cpp#L68

https://github.com/HackFisher/bitshares_toolkit/blob/lotto_experi/libraries/lotto/lotto_transaction_validator.cpp#L79