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

Feature: garbage collector CLI command #269

Draft
wants to merge 4 commits into
base: dev
Choose a base branch
from

Commits on Sep 26, 2022

  1. Feature: support Micheline-style signatures for Tezos (aleph-im#330)

    Problem: web wallets do not allow signing raw messages. Instead,
    they require binary payloads in a specific format.
    
    Solution: support Micheline-style signatures, i.e. signatures
    supported by wallets like Beacon.
    
    Users can now use Micheline or raw signatures by specifying
    the `signature.signingType` field to "micheline" or "raw".
    By default, "raw" is assumed.
    
    Co-authored-by: Mike Hukiewitz <70762838+MHHukiewitz@users.noreply.github.com>
    odesenfans and MHHukiewitz authored Sep 26, 2022
    Configuration menu
    Copy the full SHA
    e8bc64e View commit details
    Browse the repository at this point in the history

Commits on Oct 4, 2022

  1. Fix: drop invalid pending messages (aleph-im#329)

    Problem: if an invalid message somehow managed to reach
    the pending message collection, the message would be retried
    indefinitely logging exceptions on each run.
    
    Solution: drop invalid messages.
    odesenfans authored Oct 4, 2022
    Configuration menu
    Copy the full SHA
    2af2451 View commit details
    Browse the repository at this point in the history
  2. [CLI] New CLI tool for node operators

    We now provide a CLI tool that integrates all the operations
    commonly performed by node operators. Currently, this CLI
    allows to:
    
    * generate private keys for the node, replacing a functionality
      that was implemented in the CCN main app directly.
    * run migrations, replacing the config updater script.
    odesenfans committed Oct 4, 2022
    Configuration menu
    Copy the full SHA
    cfcff1f View commit details
    Browse the repository at this point in the history
  3. [Storage] Garbage collector CLI

    Added a new command to the CCN operator CLI to run a garbage
    collector on local storage. The new `gc run` command lists
    all the files that are not linked to any message or permanent
    pin and deletes them.
    
    Using the --verbose option, the command will print more details
    on the files it will preserve and delete. The --dry-run option
    allows to run the GC without actually deleting any file.
    odesenfans committed Oct 4, 2022
    Configuration menu
    Copy the full SHA
    ac2ed80 View commit details
    Browse the repository at this point in the history