Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove unnecessary asserts #103

Merged
merged 3 commits into from
Jan 22, 2019
Merged

Remove unnecessary asserts #103

merged 3 commits into from
Jan 22, 2019

Conversation

jmjatlanta
Copy link

This is part of issue bitshares/bitshares-core#995

Originally, it was proposed to be a bit more granular in calculating maximum allocations sizes for array-like containers. Such a change must be careful to not break consensus.

A subsequent change (see #100) protects nodes from large transactions entering from the network, thereby minimizing or eliminating the need for checks in those unpacking routines.

This pull removes those checks.

Related: #55

include/fc/io/raw.hpp Outdated Show resolved Hide resolved
Copy link

@pmconrad pmconrad left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

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