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/GAS consumption by SN #2777

Merged
merged 5 commits into from
Mar 20, 2024
Merged

Fix/GAS consumption by SN #2777

merged 5 commits into from
Mar 20, 2024

Commits on Mar 20, 2024

  1. morph/netmap: Drop "IR" suffix for the Alphabet nodes

    They are not called by the Alphabet anymore, the original methods are used and
    resigned.
    
    Signed-off-by: Pavel Karpy <carpawell@nspcc.ru>
    carpawell committed Mar 20, 2024
    Configuration menu
    Copy the full SHA
    da7c800 View commit details
    Browse the repository at this point in the history
  2. node/main: Move netmap wrapper initialization to the netmap step

    It is safe to be here (not used before `initNetmapService` is called) and it was
    not clear why `initMorphComponents` inits anything outside the `cfgMorph`
    struct.
    
    Signed-off-by: Pavel Karpy <carpawell@nspcc.ru>
    carpawell committed Mar 20, 2024
    Configuration menu
    Copy the full SHA
    859539a View commit details
    Browse the repository at this point in the history
  3. ir: Add GAS emission debug logs

    Know about GAS distribution if something bad happens.
    
    Signed-off-by: Pavel Karpy <carpawell@nspcc.ru>
    carpawell committed Mar 20, 2024
    Configuration menu
    Copy the full SHA
    3fb116e View commit details
    Browse the repository at this point in the history
  4. ir/netmap: Delete non-existing event const

    Signed-off-by: Pavel Karpy <carpawell@nspcc.ru>
    carpawell committed Mar 20, 2024
    Configuration menu
    Copy the full SHA
    646c89a View commit details
    Browse the repository at this point in the history
  5. ir: Distribute GAS b/w nodes every epoch

    Do not wait for a configurable number of blocks, make it every epoch instead.
    Most of the processes are bound to epochs, also `newEpoch` event may be
    triggered by an external TX sender, so GAS consumption may increase while GAS
    distribution is the same.
    
    Signed-off-by: Pavel Karpy <carpawell@nspcc.ru>
    carpawell committed Mar 20, 2024
    Configuration menu
    Copy the full SHA
    0a35431 View commit details
    Browse the repository at this point in the history