-
Notifications
You must be signed in to change notification settings - Fork 1k
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
Pass ApplicationExecutionResult to IPersistencePlugin #480
Comments
@RavenXce, this is an useful thing, it would be nice to have this notification tool inside neo-cli as @localhuman suggested #352. Now, considering this EDIT: |
@vncoelho since |
I got, it, the external supervisor reboot is the part I thought to be more complex, anyway... But why a notification plugin should avoid a block to persist if all verification's passed until that moment, would not it be a selective |
Because it may be that something went wrong, and we don't want to miss this block and resynchronize. |
Can we add pass
execution_results
to theIPersistencePlugin
s as well here?neo/neo/Ledger/Blockchain.cs
Line 505 in 77ae335
neo/neo/Ledger/Blockchain.cs
Line 608 in 77ae335
We want to persist the notifications that happened, and don't want to use the async version in
IActorRef
s as we need guaranteed writes (we want to abort persist if our plugin fails).Alternatively, having a blocking version of the Actor plugins would work too.
The text was updated successfully, but these errors were encountered: