-
Notifications
You must be signed in to change notification settings - Fork 277
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
Immutable payload in iroha_crypto
#2573
Comments
Probably we can somehow generalize this to no to repeate the code for |
This is a different situation. In case of Keys are all stored in |
…bytes values that are not changing Signed-off-by: Nikita Strygin <dcnick3@users.noreply.github.com>
…bytes values that are not changing Signed-off-by: Nikita Strygin <dcnick3@users.noreply.github.com>
…unction args Signed-off-by: Nikita Strygin <dcnick3@users.noreply.github.com>
… naming Signed-off-by: Nikita Strygin <dcnick3@users.noreply.github.com>
…g attributes to lib.rs Signed-off-by: Nikita Strygin <dcnick3@users.noreply.github.com>
Signed-off-by: Nikita Strygin <dcnick3@users.noreply.github.com>
…n proc macros Signed-off-by: Nikita Strygin <dcnick3@users.noreply.github.com>
…bytes values that are not changing Signed-off-by: Nikita Strygin <dcnick3@users.noreply.github.com>
…bytes values that are not changing Signed-off-by: Nikita Strygin <dcnick3@users.noreply.github.com>
…bytes values that are not changing Signed-off-by: Nikita Strygin <dcnick3@users.noreply.github.com>
…bytes values that are not changing Signed-off-by: Nikita Strygin <dcnick3@users.noreply.github.com>
…bytes values that are not changing Signed-off-by: Nikita Strygin <dcnick3@users.noreply.github.com>
…unction args Signed-off-by: Nikita Strygin <dcnick3@users.noreply.github.com>
… naming Signed-off-by: Nikita Strygin <dcnick3@users.noreply.github.com>
…g attributes to lib.rs Signed-off-by: Nikita Strygin <dcnick3@users.noreply.github.com>
Signed-off-by: Nikita Strygin <dcnick3@users.noreply.github.com>
…n proc macros Signed-off-by: Nikita Strygin <dcnick3@users.noreply.github.com>
…bytes values that are not changing Signed-off-by: Nikita Strygin <dcnick3@users.noreply.github.com>
…bytes values that are not changing Signed-off-by: Nikita Strygin <dcnick3@users.noreply.github.com>
…unction args Signed-off-by: Nikita Strygin <dcnick3@users.noreply.github.com>
… naming Signed-off-by: Nikita Strygin <dcnick3@users.noreply.github.com>
…g attributes to lib.rs Signed-off-by: Nikita Strygin <dcnick3@users.noreply.github.com>
Signed-off-by: Nikita Strygin <dcnick3@users.noreply.github.com>
…n proc macros Signed-off-by: Nikita Strygin <dcnick3@users.noreply.github.com>
Signed-off-by: Nikita Strygin <dcnick3@users.noreply.github.com>
Signed-off-by: Nikita Strygin <dcnick3@users.noreply.github.com>
…s to lib.rs Signed-off-by: Nikita Strygin <dcnick3@users.noreply.github.com>
Signed-off-by: Nikita Strygin <dcnick3@users.noreply.github.com>
Signed-off-by: Nikita Strygin <dcnick3@users.noreply.github.com>
…at holds any const sequence Signed-off-by: Nikita Strygin <dcnick3@users.noreply.github.com>
…at holds any const sequence Signed-off-by: Nikita Strygin <dcnick3@users.noreply.github.com>
…bytes values that are not changing Signed-off-by: Nikita Strygin <dcnick3@users.noreply.github.com>
…at holds any const sequence Signed-off-by: Nikita Strygin <dcnick3@users.noreply.github.com>
…bytes values that are not changing Signed-off-by: Nikita Strygin <dcnick3@users.noreply.github.com>
…at holds any const sequence Signed-off-by: Nikita Strygin <dcnick3@users.noreply.github.com>
…s that are not changing Signed-off-by: Nikita Strygin <dcnick3@users.noreply.github.com>
…y const sequence Signed-off-by: Nikita Strygin <dcnick3@users.noreply.github.com>
Signed-off-by: Nikita Strygin <dcnick3@users.noreply.github.com>
Signed-off-by: Nikita Strygin <dcnick3@users.noreply.github.com>
…s to lib.rs Signed-off-by: Nikita Strygin <dcnick3@users.noreply.github.com>
Signed-off-by: Nikita Strygin <dcnick3@users.noreply.github.com>
Signed-off-by: Nikita Strygin <dcnick3@users.noreply.github.com>
…s that are not changing Signed-off-by: Nikita Strygin <dcnick3@users.noreply.github.com>
…y const sequence Signed-off-by: Nikita Strygin <dcnick3@users.noreply.github.com>
Check this comment. Payload (currently a
Vec<u8>
) in structures likePublicKey
,PrivateKey
andSignature
is immutable for the lifetime of the wrapping type. This means that capacity field of theVec
is redundant and could be removed to reduce the size. A similar thing was done in #1985The text was updated successfully, but these errors were encountered: