Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Message ¶
Message represents a message that can be sent between components in the bitcoin mining distributed system. Messages must be marshalled into a byte slice before being sent over the network.
func NewJoin ¶
func NewJoin() *Message
NewJoin creates a join message. Miners send join messages to the server.
func NewRequest ¶
NewRequest creates a request message. Clients send request messages to the server and the server sends request messages to miners.
Click to show internal directories.
Click to hide internal directories.