-
Notifications
You must be signed in to change notification settings - Fork 841
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
Allow a transaction selection plugin to specify custom selection results #6190
Conversation
|
0e80f70
to
a1230fc
Compare
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>
a1230fc
to
a82a507
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
@@ -1189,4 +1192,48 @@ protected MiningParameters createMiningParameters( | |||
.build()) | |||
.build(); | |||
} | |||
|
|||
private static class PluginTrasactionSelectionResult extends TransactionSelectionResult { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
typo here -> PluginTraNsactionSelectionResult
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
good catch, fixed
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>
…lts (hyperledger#6190) Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net> Signed-off-by: Justin Florentine <justin+github@florentine.us>
…lts (hyperledger#6190) Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>
…lts (hyperledger#6190) Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net> Signed-off-by: Justin Florentine <justin+github@florentine.us>
…lts (hyperledger#6190) Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net> Signed-off-by: Gabriel Fukushima <gabrielfukushima@gmail.com>
PR description
With this PR a transaction selection plugin can extend TransactionSelectionResult to implement its custom return values.
Plus a couple of log fixes.