Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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
Set max block size #953
Set max block size #953
Changes from all commits
dfa6dc6
d1616d8
89fe5b0
0ddf1e9
5d97f71
f622e57
618d2d9
4a111bc
a013394
94a29dc
dba9733
b38c9a7
643af4d
b05fc39
2d54874
3c35703
63d64c8
9419e4a
138a342
5d4ebe8
aa6cbee
bad503f
a942fc5
6821ee5
f9dcbeb
5ad4500
33b68c9
7209503
165fe96
94b8fc9
7a26d2e
2ef7c2f
1847366
7a799db
13ccd2a
1dca8d5
dbda619
8d385a8
754541a
accbf72
b8e80b0
44de151
fa5b743
a5b1eb3
f98a40a
9aa49b4
dc9fd12
e134881
a9282c0
c7a063e
863611c
396bd1a
7b5ebc1
f42a7c9
File filter
Filter by extension
Conversations
Jump to
There are no files selected for viewing
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is specially bad if we dont drop it, after cleaning next context, and eventually.number of nodes increases (but we keep same previous _witnessSize, and block may break). It's better if we attain to a simple const: Witness.GetMaxSize() or Witness.MaxSize (or even better, we just limit BlockHeader size + tx)