Skip to content
This repository has been archived by the owner on Feb 1, 2024. It is now read-only.

Block Publisher FFI Cleanup #1888

Merged

Conversation

aludvik
Copy link

@aludvik aludvik commented Oct 2, 2018

This is the first of (I hope) a few PRs to cleanup some of the FFI and concurrency code in the BlockPublisher and validator in general.

Adam Ludvik added 3 commits October 3, 2018 08:04
This is more consistent with how these objects are used and cleans up the
constructor functions.

Signed-off-by: Adam Ludvik <ludvik@bitwise.io>
The type of argument to new() should support non-python executors.

Signed-off-by: Adam Ludvik <ludvik@bitwise.io>
The type of argument should support non-python executors.

Note that this change requires moving batch observers into state so they can be
cloned, since you cannot require `Clone` on a trait object.

Signed-off-by: Adam Ludvik <ludvik@bitwise.io>
@aludvik aludvik force-pushed the block-publisher-cleanup-1 branch from d9a7fd2 to d5b2bfe Compare October 3, 2018 15:05
@aludvik aludvik merged commit ca0e8e1 into hyperledger-archives:master Oct 4, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

Successfully merging this pull request may close these issues.

3 participants