Documentation ¶
Index ¶
- func CreatePreparedProofBuilderFromPreparedMessages(preparedMessages *preparedmessages.PreparedMessages) *protocol.PreparedProofBuilder
- type MessageFactory
- func (f *MessageFactory) CreateCommitMessage(blockHeight primitives.BlockHeight, view primitives.View, ...) *interfaces.CommitMessage
- func (f *MessageFactory) CreateNewViewMessage(blockHeight primitives.BlockHeight, view primitives.View, ...) *interfaces.NewViewMessage
- func (f *MessageFactory) CreateNewViewMessageContentBuilder(blockHeight primitives.BlockHeight, view primitives.View, ...) *protocol.NewViewMessageContentBuilder
- func (f *MessageFactory) CreatePrepareMessage(blockHeight primitives.BlockHeight, view primitives.View, ...) *interfaces.PrepareMessage
- func (f *MessageFactory) CreatePreprepareMessage(blockHeight primitives.BlockHeight, view primitives.View, ...) *interfaces.PreprepareMessage
- func (f *MessageFactory) CreatePreprepareMessageContentBuilder(blockHeight primitives.BlockHeight, view primitives.View, ...) *protocol.PreprepareContentBuilder
- func (f *MessageFactory) CreatePreprepareMessageFromContentBuilder(ppmc *protocol.PreprepareContentBuilder, block interfaces.Block) *interfaces.PreprepareMessage
- func (f *MessageFactory) CreateViewChangeMessage(blockHeight primitives.BlockHeight, view primitives.View, ...) *interfaces.ViewChangeMessage
- func (f *MessageFactory) CreateViewChangeMessageContentBuilder(blockHeight primitives.BlockHeight, view primitives.View, ...) *protocol.ViewChangeMessageContentBuilder
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreatePreparedProofBuilderFromPreparedMessages ¶
func CreatePreparedProofBuilderFromPreparedMessages(preparedMessages *preparedmessages.PreparedMessages) *protocol.PreparedProofBuilder
Types ¶
type MessageFactory ¶
type MessageFactory struct {
// contains filtered or unexported fields
}
func NewMessageFactory ¶
func NewMessageFactory(instanceId primitives.InstanceId, keyManager interfaces.KeyManager, memberId primitives.MemberId, randomSeed uint64) *MessageFactory
func (*MessageFactory) CreateCommitMessage ¶
func (f *MessageFactory) CreateCommitMessage( blockHeight primitives.BlockHeight, view primitives.View, blockHash primitives.BlockHash) *interfaces.CommitMessage
func (*MessageFactory) CreateNewViewMessage ¶
func (f *MessageFactory) CreateNewViewMessage( blockHeight primitives.BlockHeight, view primitives.View, ppContentBuilder *protocol.PreprepareContentBuilder, confirmations []*protocol.ViewChangeMessageContentBuilder, block interfaces.Block) *interfaces.NewViewMessage
func (*MessageFactory) CreateNewViewMessageContentBuilder ¶
func (f *MessageFactory) CreateNewViewMessageContentBuilder( blockHeight primitives.BlockHeight, view primitives.View, ppContentBuilder *protocol.PreprepareContentBuilder, confirmations []*protocol.ViewChangeMessageContentBuilder) *protocol.NewViewMessageContentBuilder
func (*MessageFactory) CreatePrepareMessage ¶
func (f *MessageFactory) CreatePrepareMessage( blockHeight primitives.BlockHeight, view primitives.View, blockHash primitives.BlockHash) *interfaces.PrepareMessage
func (*MessageFactory) CreatePreprepareMessage ¶
func (f *MessageFactory) CreatePreprepareMessage( blockHeight primitives.BlockHeight, view primitives.View, block interfaces.Block, blockHash primitives.BlockHash) *interfaces.PreprepareMessage
func (*MessageFactory) CreatePreprepareMessageContentBuilder ¶
func (f *MessageFactory) CreatePreprepareMessageContentBuilder( blockHeight primitives.BlockHeight, view primitives.View, block interfaces.Block, blockHash primitives.BlockHash) *protocol.PreprepareContentBuilder
func (*MessageFactory) CreatePreprepareMessageFromContentBuilder ¶
func (f *MessageFactory) CreatePreprepareMessageFromContentBuilder(ppmc *protocol.PreprepareContentBuilder, block interfaces.Block) *interfaces.PreprepareMessage
func (*MessageFactory) CreateViewChangeMessage ¶
func (f *MessageFactory) CreateViewChangeMessage( blockHeight primitives.BlockHeight, view primitives.View, preparedMessages *preparedmessages.PreparedMessages) *interfaces.ViewChangeMessage
func (*MessageFactory) CreateViewChangeMessageContentBuilder ¶
func (f *MessageFactory) CreateViewChangeMessageContentBuilder( blockHeight primitives.BlockHeight, view primitives.View, preparedMessages *preparedmessages.PreparedMessages) *protocol.ViewChangeMessageContentBuilder
Click to show internal directories.
Click to hide internal directories.