-
Notifications
You must be signed in to change notification settings - Fork 279
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: