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

block: use commit sig size instead of vote size #5490

Merged
merged 26 commits into from
Oct 13, 2020

Conversation

cmwaters
Copy link
Contributor

Description

Closes: #5448

@codecov
Copy link

codecov bot commented Oct 12, 2020

Codecov Report

Merging #5490 into master will increase coverage by 1.13%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##           master    #5490      +/-   ##
==========================================
+ Coverage   59.90%   61.04%   +1.13%     
==========================================
  Files         210      261      +51     
  Lines       18273    23617    +5344     
==========================================
+ Hits        10947    14416    +3469     
- Misses       6231     7731    +1500     
- Partials     1095     1470     +375     
Impacted Files Coverage Δ
types/vote.go 89.10% <ø> (ø)
types/block.go 73.69% <100.00%> (+0.09%) ⬆️
libs/events/events.go 92.94% <0.00%> (-5.89%) ⬇️
consensus/reactor.go 74.08% <0.00%> (-2.52%) ⬇️
blockchain/v0/reactor.go 60.59% <0.00%> (-0.99%) ⬇️
consensus/state.go 68.44% <0.00%> (-0.29%) ⬇️
privval/signer_server.go 94.73% <0.00%> (ø)
mempool/clist_mempool.go 83.83% <0.00%> (ø)
node/id.go 0.00% <0.00%> (ø)
privval/file.go 68.68% <0.00%> (ø)
... and 48 more

@cmwaters cmwaters marked this pull request as ready for review October 13, 2020 12:28
types/block_test.go Outdated Show resolved Hide resolved
types/block.go Show resolved Hide resolved
types/block.go Outdated Show resolved Hide resolved
@cmwaters cmwaters merged commit 55e8cca into master Oct 13, 2020
@cmwaters cmwaters deleted the callum/more-sizing-stuff branch October 13, 2020 15:21
cmwaters pushed a commit that referenced this pull request Oct 13, 2020
* mempool: length prefix txs when getting them from mempool (#5483)

* correctly calculate evidence data size (#5482)

* block: use commit sig size instead of vote size (#5490)

* tx: reduce function to one parameter (#5493)
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.

use commit instead of votes when calculating maximum bytes
4 participants