-
Notifications
You must be signed in to change notification settings - Fork 278
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 |
…n for bytes values that are not changing Signed-off-by: Nikita Strygin <dcnick3@users.noreply.github.com>
…n for bytes values that are not changing Signed-off-by: Nikita Strygin <dcnick3@users.noreply.github.com>
… ffi function args Signed-off-by: Nikita Strygin <dcnick3@users.noreply.github.com>
… Attrs naming Signed-off-by: Nikita Strygin <dcnick3@users.noreply.github.com>
…parsing attributes to lib.rs Signed-off-by: Nikita Strygin <dcnick3@users.noreply.github.com>
Signed-off-by: Nikita Strygin <dcnick3@users.noreply.github.com>
…ives in proc macros Signed-off-by: Nikita Strygin <dcnick3@users.noreply.github.com>
…n for bytes values that are not changing Signed-off-by: Nikita Strygin <dcnick3@users.noreply.github.com>
…n for bytes values that are not changing Signed-off-by: Nikita Strygin <dcnick3@users.noreply.github.com>
…n for bytes values that are not changing Signed-off-by: Nikita Strygin <dcnick3@users.noreply.github.com>
…n for bytes values that are not changing Signed-off-by: Nikita Strygin <dcnick3@users.noreply.github.com>
…n for bytes values that are not changing Signed-off-by: Nikita Strygin <dcnick3@users.noreply.github.com>
… ffi function args Signed-off-by: Nikita Strygin <dcnick3@users.noreply.github.com>
… Attrs naming Signed-off-by: Nikita Strygin <dcnick3@users.noreply.github.com>
…parsing attributes to lib.rs Signed-off-by: Nikita Strygin <dcnick3@users.noreply.github.com>
Signed-off-by: Nikita Strygin <dcnick3@users.noreply.github.com>
…ives in proc macros Signed-off-by: Nikita Strygin <dcnick3@users.noreply.github.com>
…n for bytes values that are not changing Signed-off-by: Nikita Strygin <dcnick3@users.noreply.github.com>
…n for bytes values that are not changing Signed-off-by: Nikita Strygin <dcnick3@users.noreply.github.com>
… ffi function args Signed-off-by: Nikita Strygin <dcnick3@users.noreply.github.com>
… Attrs naming Signed-off-by: Nikita Strygin <dcnick3@users.noreply.github.com>
…parsing attributes to lib.rs Signed-off-by: Nikita Strygin <dcnick3@users.noreply.github.com>
Signed-off-by: Nikita Strygin <dcnick3@users.noreply.github.com>
…ives in 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>
…Vec that holds any const sequence Signed-off-by: Nikita Strygin <dcnick3@users.noreply.github.com>
…Vec that holds any const sequence Signed-off-by: Nikita Strygin <dcnick3@users.noreply.github.com>
…n for bytes values that are not changing Signed-off-by: Nikita Strygin <dcnick3@users.noreply.github.com>
…Vec that holds any const sequence Signed-off-by: Nikita Strygin <dcnick3@users.noreply.github.com>
…n for bytes values that are not changing Signed-off-by: Nikita Strygin <dcnick3@users.noreply.github.com>
…Vec that 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: