fix: increase PACKET_DATA_SIZE to match Solana v0.15.0
This commit is contained in:
@ -18,8 +18,12 @@ export type TransactionSignature = string;
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Maximum over-the-wire size of a Transaction
|
* 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 = 512;
|
export const PACKET_DATA_SIZE = 1280 - 40 - 8;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* List of TransactionInstruction object fields that may be initialized at construction
|
* List of TransactionInstruction object fields that may be initialized at construction
|
||||||
|
Reference in New Issue
Block a user