Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/anthdm/hbbft
/ types & classes
Types & classes
43 in github.com/anthdm/hbbft
⨍
Functions
165
◇
Types & classes
43
Struct
ACS
ACS implements the Asynchronous Common Subset protocol. ACS assumes a network of N nodes that send signed messages to each other. There can be f fault
acs.go:32
Struct
ACSMessage
ACSMessage represents a message sent between nodes in the ACS protocol.
acs.go:8
Struct
AgreementMessage
AgreementMessage holds the epoch and the message sent in the BBA protocol.
bba.go:11
Struct
AuxRequest
AuxRequest holds the output value.
bba.go:32
Struct
BBA
BBA is the Binary Byzantine Agreement build from a common coin protocol.
bba.go:37
Struct
BroadcastMessage
BroadcastMessage holds the payload sent between nodes in the rbc protocol. Its basically just a wrapper to let top-level protocols distinguish incomin
rbc.go:16
Struct
BvalRequest
BvalRequest holds the input value of the binary input.
bba.go:27
Struct
Config
Config holds the configuration of the top level HoneyBadger protocol as for its sub-protocols.
honey_badger.go:22
Struct
EchoRequest
EchoRequest represents the echoed version of the proof.
rbc.go:30
Struct
HBMessage
HBMessage is the top level message. It holds the epoch where the message was created and the actual payload.
honey_badger.go:15
Struct
HoneyBadger
HoneyBadger represents the top-level protocol of the hbbft consensus.
honey_badger.go:36
Struct
LocalTransport
LocalTransport implements a local Transport. This is used to test hbbft without going over the network.
local_transport.go:10
Struct
MessageTuple
MessageTuple holds the payload of the message along with the identifier of the receiver node.
message_que.go:9
Struct
ProofRequest
ProofRequest holds the RootHash along with the Shard of the erasure encoded payload.
rbc.go:22
Struct
RBC
RBC represents the instance of the "Reliable Broadcast Algorithm".
rbc.go:47
Struct
RPC
RPC holds the payload send between participants in the consensus.
transport.go:4
Struct
ReadyRequest
ReadyRequest holds the RootHash of the received proof and should be sent after receiving and validating enough proof chunks.
rbc.go:36
Struct
Server
Server represents the local node.
simulation/main.go:73
Interface
Transaction
Transaction is an interface that abstract the underlying data of the actual transaction. This allows package hbbft to be easily adopted by other appli
transaction.go:6
Struct
Transaction
Transaction represents a transacion -\_(^_^)_/-.
simulation/main.go:210
Interface
Transport
Transport is an interface that allows the abstraction of network transports.
transport.go:13
Struct
acsInputResponse
Control flow structure for internal channel communication. Allowing us to avoid the use of mutexes and eliminates race conditions.
acs.go:66
Struct
acsInputTuple
Control flow structure for internal channel communication. Allowing us to avoid the use of mutexes and eliminates race conditions.
acs.go:72
Struct
acsMessageTuple
Control flow structure for internal channel communication. Allowing us to avoid the use of mutexes and eliminates race conditions.
acs.go:60
Struct
acsResult
acs_test.go:23
Struct
bbaInputTuple
Control flow structure for internal channel communication. Allowing us to avoid the use of mutexes and eliminates race conditions.
bba.go:101
Struct
bbaMessageTuple
Control flow structure for internal channel communication. Allowing us to avoid the use of mutexes and eliminates race conditions.
bba.go:95
Struct
bcResult
rbc_test.go:158
Struct
buffer
buffer holds an uncommited pool of arbitrary data. In blockchain parlance this would be the unbound transaction list.
buffer.go:11
Struct
delayedMessage
Control flow structure for internal channel communication. Allowing us to avoid the use of mutexes and eliminates race conditions.
bba.go:106
Struct
message
bench/main.go:20
Struct
message
simulation/main.go:21
Struct
messageQue
message_que.go:14
TypeAlias
proofs
rbc.go:40
Struct
rbcInputResponse
rbc.go:83
Struct
rbcInputTuple
rbc.go:88
Struct
rbcMessageTuple
rbc.go:77
Struct
testAgreementMessage
bba_test.go:187
Struct
testMsg
acs_test.go:109
Struct
testNode
honey_badger_test.go:25
Struct
testRBCEngine
simple engine to test RBC independently.
rbc_test.go:164
Struct
tx
buffer_test.go:69
Struct
tx
bench/main.go:93