11 lines
268 B
TypeScript
11 lines
268 B
TypeScript
|
/**
|
||
|
* Maximum over-the-wire size of a Transaction
|
||
|
*
|
||
|
* 1280 is IPv6 minimum MTU
|
||
|
* 40 bytes is the size of the IPv6 header
|
||
|
* 8 bytes is the size of the fragment header
|
||
|
*/
|
||
|
export const PACKET_DATA_SIZE = 1280 - 40 - 8;
|
||
|
|
||
|
export const SIGNATURE_LENGTH_IN_BYTES = 64;
|