layout | permalink |
---|---|
post |
/how-to-check-a-ballot-is-valid/ |
A node must validate the ballot with transactions from proposer(Please refer to How the consensus protocol works). This is because only valid ballot must be agreed and confirmed.
When a ballot is made by the proposer, it has valid transactions
.
A ballot is valid if all transactions are passed the validation check by itself.
A transaction is valid if,
- it has valid checkpoint,
- the source account has enough balance to pay for the transaction and
- it's
Operation
s are valid