fix: increase PACKET_DATA_SIZE to match Solana v0.15.0
This commit is contained in:
parent
9f8fc5b260
commit
d000485f7c
|
@ -18,8 +18,12 @@ export type TransactionSignature = string;
|
|||
|
||||
/**
|
||||
* 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
|
||||
|
|
Loading…
Reference in New Issue