Skip to content
This repository has been archived by the owner on Jan 13, 2025. It is now read-only.

Lower UDP data size to 64k - 128 bytes #903

Merged
merged 1 commit into from
Aug 8, 2018

Conversation

sakridge
Copy link
Contributor

@sakridge sakridge commented Aug 8, 2018

rust API gives errors for packets larger than ~65500 and
wikipedia says 65507 is the max size, lowering this avoids the errors.

rust API gives errors for packets larger than ~65500 and
wikipedia says 65507 is the max size, lowering this avoids the errors.
@sakridge sakridge merged commit a200ced into solana-labs:master Aug 8, 2018
vkomenda pushed a commit to vkomenda/solana that referenced this pull request Aug 29, 2021
* Add extra check

* Add extra check on init

* Run cargo fmt

* Clippy

* Add token program id check on unpack

* Run cargo fmt

* Add checks for program id ownership on swap account

* Add truncation check during swapping

* Run cargo fmt

* Update truncation to ceiling the value

* Run cargo fmt

* Fix JS test

* Refund back not needed source tokens

* Run cargo fmt

* Add swap_without_fees method to trait

* Fix merge problem

Co-authored-by: Justin Starry <[email protected]>
brooksprumo pushed a commit to brooksprumo/solana that referenced this pull request Apr 19, 2024
* load account lifetime improvements

* restore 2 check_and_
jeffwashington added a commit to jeffwashington/solana that referenced this pull request Apr 19, 2024
* load account lifetime improvements

* restore 2 check_and_
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants