Skip to content

wire: Always use accurate SerializeSize. - #3755

Merged
davecgh merged 1 commit into
decred:masterfrom
jholdstock:use-serialize-size
Jul 28, 2026
Merged

wire: Always use accurate SerializeSize.#3755
davecgh merged 1 commit into
decred:masterfrom
jholdstock:use-serialize-size

Conversation

@jholdstock

Copy link
Copy Markdown
Member

Since SerializeSize was implemented for every wire message there is no longer any case where the size is not known, so the fallback to 64 bytes is not necessary.

Since SerializeSize was implemented for every wire message there is no
longer any case where the size is not known, so the fallback to 64 bytes
is not necessary.
@davecgh davecgh added this to the 2.2.0 milestone Jul 28, 2026
@davecgh
davecgh merged commit 29f1789 into decred:master Jul 28, 2026
32 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants