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

POC - Mithril signature diffusion with a "fake Cardano network layer" #1902

Closed
wants to merge 30 commits into from

Commits on Oct 24, 2024

  1. Configuration menu
    Copy the full SHA
    17e38c2 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    ed45898 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    9542e3c View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    20570bd View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    54bac70 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    a047dbd View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    6d85c6d View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    1739c8d View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    0941d62 View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    7c5d81c View commit details
    Browse the repository at this point in the history
  11. Add MessageListener

    Alenar committed Oct 24, 2024
    Configuration menu
    Copy the full SHA
    a14fa65 View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    fec0860 View commit details
    Browse the repository at this point in the history
  13. Fake node now listen for message in its input folder

    And push register signature message to the available sig queue.
    Alenar committed Oct 24, 2024
    Configuration menu
    Copy the full SHA
    903a43d View commit details
    Browse the repository at this point in the history
  14. Configuration menu
    Copy the full SHA
    f8d1944 View commit details
    Browse the repository at this point in the history
  15. Configuration menu
    Copy the full SHA
    44f64ce View commit details
    Browse the repository at this point in the history
  16. Scaffold MessageSender

    Alenar committed Oct 24, 2024
    Configuration menu
    Copy the full SHA
    fe2c6a0 View commit details
    Browse the repository at this point in the history
  17. Configuration menu
    Copy the full SHA
    c577fb5 View commit details
    Browse the repository at this point in the history
  18. Configuration menu
    Copy the full SHA
    2d76880 View commit details
    Browse the repository at this point in the history
  19. Make fake node forward message to peers

    By wiring the messageSender in the application.
    Alenar committed Oct 24, 2024
    Configuration menu
    Copy the full SHA
    b5eefac View commit details
    Browse the repository at this point in the history
  20. Fix DirectoryObserver: deserialize the crate Message type instead of …

    …a subtype
    
    Since it's the `Message`type that's written to peers by the `MessageSender`, not a `RegisterSignatureMessage`.
    Alenar committed Oct 24, 2024
    Configuration menu
    Copy the full SHA
    ce9a7c3 View commit details
    Browse the repository at this point in the history
  21. Configuration menu
    Copy the full SHA
    903ef89 View commit details
    Browse the repository at this point in the history
  22. Better path handling in fake node:

    - Always remove given socket file even if it exist
    - Create input dir if it doesn't exist even when an argument is provided
    Alenar committed Oct 24, 2024
    Configuration menu
    Copy the full SHA
    a385014 View commit details
    Browse the repository at this point in the history
  23. Move signatures publication abstraction in signer

    To a dedicated module.
    Alenar committed Oct 24, 2024
    Configuration menu
    Copy the full SHA
    363d115 View commit details
    Browse the repository at this point in the history
  24. Configuration menu
    Copy the full SHA
    bd564de View commit details
    Browse the repository at this point in the history
  25. Add SignatureConsumer to aggregator

    It listen to incoming signatures registered in a
    `signatures-network-node` by calling its `pull_signatures`
    endpoint regularly.
    Alenar committed Oct 24, 2024
    Configuration menu
    Copy the full SHA
    65b24e3 View commit details
    Browse the repository at this point in the history
  26. Configuration menu
    Copy the full SHA
    d1437b5 View commit details
    Browse the repository at this point in the history
  27. Configuration menu
    Copy the full SHA
    d62675b View commit details
    Browse the repository at this point in the history
  28. Configuration menu
    Copy the full SHA
    c064983 View commit details
    Browse the repository at this point in the history
  29. Demo Adjustments:

    * Make the first `mithril-signer` use 'old' http endpoint to send single
      signatures
    * Adjusts aggregator logs to make the process more apparent
    * Slow down aggregator signature pulling interval so more signatures are
      pulled in batch
    * Adjust explorer `Certificates` tab list to show in card the full signed
      entity type instead of the immutable file number
    * Fix an error in aggregator when pulling signatures from the simulated
      network
    Alenar committed Oct 24, 2024
    Configuration menu
    Copy the full SHA
    01f7c5d View commit details
    Browse the repository at this point in the history
  30. Configuration menu
    Copy the full SHA
    8c3cdcd View commit details
    Browse the repository at this point in the history