This repository was archived by the owner on Nov 11, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 35
Optimize encoded-size of SignedCommitment
#186
Closed
Closed
Changes from 13 commits
Commits
Show all changes
21 commits
Select commit
Hold shift + click to select a range
1488196
Refactor representation of Vec<Option<Signature>> as Vec<u128> and Ve…
de-sh d80be92
Add compression logic
de-sh 8d888d9
Refactor imported name and trait impl
de-sh 49c8a5c
Fix compilation.
tomusdrw fc6db82
Fix and finish implementing new encoder for `SignedCommitment`
de-sh b7cddb5
Merge branch 'master' into bitfield
de-sh 3e122b5
Add `From<Temp...>` and `codec::Decode` for `SignedCommitment<...>`
de-sh 681b594
Remove extra bounds. (#2)
tomusdrw fc0a36f
Fix use of bitwise operation in decompression of `Signatures`
de-sh 07cacba
Fix hex tested against encoding of compressed `SignedCommitment`
de-sh 112adb7
Fix variable names for generic block size use
de-sh 68c047e
Clippy suggestions
de-sh e7eddbe
Update beefy-primitives/src/commitment.rs
de-sh fafd5b6
Add simple struct documentation and rename variables
de-sh a2fa0fc
Refactor out the use of `From`
de-sh d5d4b88
Add test for large Singnatures where (1024*2+2)/3 `Some`s exist
de-sh 922103d
Simplify decoding
de-sh 49aacfc
Fix for edge cases
de-sh cbe4f7d
Remove unecessary trait bounds and simply `pack()` & `unpack()`
de-sh 1139296
Move to using encoder side fix to simplify decoder
de-sh 7211ca2
Merge remote-tracking branch 'paritytech/master' into bitfield
de-sh File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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.
Uh oh!
There was an error while loading. Please reload this page.