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

Availability module integration #192

Merged

Conversation

matejpavlovic
Copy link
Contributor

This branch uses the availability module instead of directly submitting requests to ISS.
The availability module still uses a static configuration though, so reconfiguration is not yet supported on this branch.

@matejpavlovic matejpavlovic changed the title [WIP] Availability module [WIP] Availability module integration Aug 18, 2022
Copy link
Contributor

@dnkolegov dnkolegov left a comment

Choose a reason for hiding this comment

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

LGTM!

Two points:

  • Maybe you should rename availability layer-specific events and methods in the chat app (e.g. chat.ApplyDeliver to chat.ApplyDeliverAvailabilityCertificate) because it will not be obvious for a new user reading this for the first time

  • Let's save the initial straightforward chat-app without any new Mir mechanisms (reconfig, multisig). Without it, there will be hard to see the Mir arsenal and evolution.

samples/chat-demo/app.go Outdated Show resolved Hide resolved
samples/chat-demo/app.go Show resolved Hide resolved
@matejpavlovic matejpavlovic force-pushed the availability-rebased branch 2 times, most recently from 5901bbb to ace0efa Compare August 22, 2022 12:03
@matejpavlovic matejpavlovic changed the title [WIP] Availability module integration Availability module integration Aug 22, 2022
Copy link
Contributor

@dnkolegov dnkolegov left a comment

Choose a reason for hiding this comment

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

LGTM!

Signed-off-by: Matej Pavlovic <[email protected]>
A special logger useful for testing.
Its log entries can later be checked against a reference.

Signed-off-by: Matej Pavlovic <[email protected]>
This is an intermediate commit, the system does not work in this state.

Signed-off-by: Matej Pavlovic <[email protected]>
Nil certificates are produced by the PBFT view change for padding.

Signed-off-by: Matej Pavlovic <[email protected]>
Signed-off-by: Matej Pavlovic <[email protected]>
The buffer size introduced in the params will be used later
for buffering early messages.

Signed-off-by: Matej Pavlovic <[email protected]>
pkg/factorymodule/protobuf.go Outdated Show resolved Hide resolved
protos/factorymodulepb/factorymodulepb.proto Outdated Show resolved Hide resolved
protos/eventpb/eventpb.proto Outdated Show resolved Hide resolved
pkg/factorymodule/protobuf.go Outdated Show resolved Hide resolved
pkg/factorymodule/factory.go Outdated Show resolved Hide resolved
pkg/factorymodule/factory.go Outdated Show resolved Hide resolved
pkg/factorymodule/factory.go Outdated Show resolved Hide resolved
pkg/factorymodule/factory.go Show resolved Hide resolved
pkg/util/testlogger/testlogger.go Show resolved Hide resolved
pkg/util/testlogger/testlogger.go Outdated Show resolved Hide resolved
pkg/util/testlogger/testlogger.go Outdated Show resolved Hide resolved
pkg/iss/iss.go Outdated Show resolved Hide resolved
pkg/iss/iss.go Outdated Show resolved Hide resolved
@matejpavlovic matejpavlovic merged commit e108d38 into consensus-shipyard:main Aug 23, 2022
@matejpavlovic matejpavlovic deleted the availability-rebased branch August 25, 2022 08:30
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.

3 participants