We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Currently during persisting, for each transaction we will create a cloned snapshot, which can be time consuming for heavy workload:
neo/src/neo/Ledger/Blockchain.cs
Line 501 in a5cf5b2
The text was updated successfully, but these errors were encountered:
If you don't clone the snapshot, and the transaction FAULT, the state will be persisted.
Sorry, something went wrong.
That's right, so we need to clone once more for such occasions:)
Successfully merging a pull request may close this issue.
Currently during persisting, for each transaction we will create a cloned snapshot, which can be time consuming for heavy workload:
neo/src/neo/Ledger/Blockchain.cs
Line 501 in a5cf5b2
So why not create a snapshot beforehead and reuse it for all transactions? Such functionality would enhance TPS by about 50% in my local env.
The text was updated successfully, but these errors were encountered: