[][src]Module koibumi_core::message

Message types defined in the Bitmessage protocol.

Structs

Addr

An "addr" message that consists of a list of NetAddr.

Error

An "error" message that is issued when some error occurred in a communication.

ErrorText

A text of an error message.

Fatal

A fatality level of an error message.

Getdata

A "getdata" message that is issued when a node want to retrieve objects.

Inv

An "inv" message that is used by a node to advertise what objects it has.

InvHash

A hash value of an object message, used to specify the object message.

NetAddr

Represents a network address and other infomation of the node, which is shared among the Bitmessage network.

NodeNonce

A random value specific to a node, which is used by the node to detect if connecting to itself.

Object

An "object" message that consists of a object such as a public key or an one-to-one message.

Ping

A "ping" message that is used to keep a network connection alive.

Pong

A "pong" message that is sent as a reply to a ping message.

ProtocolVersion

A Bitmessage protocol version number used in a version message.

Services

Bit flags that indicate what features a node serves.

StreamNumber

A stream number, which is the identification number of the Bitmessage network cluster.

StreamNumbers

A list of stream numbers.

TooLongError

This error indicates that the provided length exceeded the maximum.

UserAgent

A user agent string of a Bitmessage node.

Verack

A "verack" message that is sent as a reply to a version message, which indicates the connection is accepted.

Version

A "version" message that is exchanged between nodes when connected, which informs what type of node it is.

Traits

Message

Indicates that this object is a Bitmessage message and informs what type of message it is.

Pack

Provides a method that creates a Bitmessage packet from the Bitmessage message.