-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
block proposals with invalid transactions lead to 0-tx-Blocks #58
Comments
verify claim: high nonce transactions (Transactions with missing nonce, are kept in the main pool |
propably we just need to take the pending transactions directly from the queue, Here is a code snippet:
|
Potential fix for 0-tx blocks. I could confirm that this potential fix really solves the error. #58
If there are transactions that transfer more funds than the account has - the transaction is not processed because there is not enough balance.
So far so good.
The problem is, that hbbft see's the transaction as valid, and want's to start a block with it.
But the transaction can't get included, since it is not valid.
One Block later, the transaction is still here, and the loop starts again.
This loop generates an empty block all 5 seconds.
example:
Before Block 77568 we had a 0-tx block every 5 (~ min block time) seconds.
this could be solved by funding one account that had not enough funds to execute a transaction:
http://explorer.uniq.diamonds/blocks/77568
One block later, other transactions made by this account were included as well.
http://explorer.uniq.diamonds/blocks/77569.
Then the blockchain proceeded as normal.
The text was updated successfully, but these errors were encountered: