Documentation ¶
Index ¶
Constants ¶
View Source
const ( // MaxDatagramSize is the largest a packet could be, // it is a little larger but this is easier to calculate. // There is only one listening thread but it needs a buffer this size for // worst case largest block possible. // Note also this is why FEC is used on the packets in case some get lost it // has to puncture 6 of the 9 to fail. // This protocol is connectionless and stateless so if one misses, // the next one probably won't, usually a second or 3 later MaxDatagramSize = blockchain.MaxBlockBaseSize / 3 //UDP6MulticastAddress = "ff02::1" UDP4MulticastAddress = "224.0.0.1:11049" )
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Controller ¶
type Controller struct {
// contains filtered or unexported fields
}
Click to show internal directories.
Click to hide internal directories.