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 = "220.127.116.11:11049" )
This section is empty.