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

fix/Notary request tracking #2459

Merged
merged 4 commits into from
Jul 28, 2023

Commits on Jul 28, 2023

  1. morph: Drop useless interfaces

    Public structs that implement public interfaces with constructors that
    return interfaces instead of structs; and all of that is in a one package
    only. Not a part of best practices.
    
    Signed-off-by: Pavel Karpy <[email protected]>
    carpawell committed Jul 28, 2023
    Configuration menu
    Copy the full SHA
    cebd5da View commit details
    Browse the repository at this point in the history
  2. notary_preparator: Allow hashing test TXs

    Missing attribute type does not allow to hash the entire TX.
    
    Signed-off-by: Pavel Karpy <[email protected]>
    carpawell committed Jul 28, 2023
    Configuration menu
    Copy the full SHA
    65474b8 View commit details
    Browse the repository at this point in the history
  3. morph: Add cache for handled notary requests

    Allows skipping any checks if notary request has been received the second
    time (every request always returns back).
    
    Signed-off-by: Pavel Karpy <[email protected]>
    carpawell committed Jul 28, 2023
    Configuration menu
    Copy the full SHA
    ab860dc View commit details
    Browse the repository at this point in the history
  4. preparator: Skip unexpected TXs

    Notary requests can be sent by anybody who has GAS and knows how an Alphabet
    node parses them. Add predefined allowed events on notary request parsing
    level.
    
    Closes nspcc-dev#2315.
    
    Signed-off-by: Pavel Karpy <[email protected]>
    carpawell committed Jul 28, 2023
    Configuration menu
    Copy the full SHA
    4fd9775 View commit details
    Browse the repository at this point in the history