Skip to content
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

Fleet mode #6003

Closed
wants to merge 44 commits into from
Closed

Fleet mode #6003

wants to merge 44 commits into from

Conversation

matkt
Copy link
Contributor

@matkt matkt commented Oct 9, 2023

PR description

Added necessary plugin services and some light modifications to implement a plugin solution for the fleet mode feature.

Add modification in order to have fleet mode

Fixed Issue(s)

@github-actions
Copy link

github-actions bot commented Oct 9, 2023

  • I thought about documentation and added the doc-change-required label to this PR if updates are required.
  • I thought about the changelog and included a changelog update if required.
  • If my PR includes database changes (e.g. KeyValueSegmentIdentifier) I have thought about compatibility and performed forwards and backwards compatibility tests

matkt added 6 commits October 19, 2023 15:49
Signed-off-by: Karim TAAM <[email protected]>
Signed-off-by: Karim TAAM <[email protected]>
This reverts commit 8f5d67b, reversing
changes made to cf5138e.

Signed-off-by: Karim TAAM <[email protected]>
@garyschulte garyschulte force-pushed the feature/fleet-mode branch 4 times, most recently from e201183 to 7c1da83 Compare December 6, 2023 19:49
@garyschulte garyschulte mentioned this pull request Dec 6, 2023
Comment on lines 218 to 221
public void setMiningCoordinator(final MiningCoordinator miningCoordinator) {
this.miningCoordinator = miningCoordinator;
}

Copy link
Contributor

@garyschulte garyschulte Dec 7, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why is this here? future use perhaps?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

seems to be useless I removed it

*/
public BesuConfigurationImpl(final Path dataPath, final Path storagePath) {
this.dataPath = dataPath;
public BesuConfigurationImpl(final Path storagePath, final Path dataPath) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

switching the order of these params can lead to problems the compiler won't highlight. I see 6 usages of this constructor in the codebase, but none of them are changed in this pr...

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

clearly seems to be dangerous and useless, I will revert that

@garyschulte garyschulte force-pushed the feature/fleet-mode branch 3 times, most recently from 6043342 to 033e3c8 Compare December 7, 2023 22:16
delehef and others added 2 commits December 7, 2023 15:16
Signed-off-by: Sally MacFarlane <[email protected]>
Signed-off-by: garyschulte <[email protected]>
fab-10 and others added 3 commits December 7, 2023 15:16
…he correct number of times (hyperledger#6259)

* Test that the BlockAwareOperationTracer are invoked the correct number of times
* Remove redundant calls to traceEndBlock

Signed-off-by: Fabio Di Fabio <[email protected]>
Signed-off-by: garyschulte <[email protected]>
@garyschulte garyschulte force-pushed the feature/fleet-mode branch 2 times, most recently from 8b6aaf1 to 8880cfc Compare December 8, 2023 19:08
Signed-off-by: Karim Taam <[email protected]>
Signed-off-by: Karim Taam <[email protected]>
Signed-off-by: Karim Taam <[email protected]>
Signed-off-by: Karim Taam <[email protected]>
Signed-off-by: Karim Taam <[email protected]>
@matkt matkt marked this pull request as ready for review January 10, 2024 13:07
Signed-off-by: Karim Taam <[email protected]>

boolean setHead(final BlockHeader blockHeader, final BlockBody blockBody);

boolean setHeadUnsafe(BlockHeader blockHeader, BlockBody blockBody);

Check notice

Code scanning / CodeQL

Useless parameter Note

The parameter 'blockBody' is never used.
@matkt matkt requested a review from garyschulte January 10, 2024 14:00
@jframe
Copy link
Contributor

jframe commented Jun 10, 2024

Closing for #6641

@jframe jframe closed this Jun 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants