Skip to content

added github workflow and improvement #6

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

Open
wants to merge 7 commits into
base: main
Choose a base branch
from

Conversation

0x-pankaj
Copy link

@0x-pankaj 0x-pankaj commented Mar 22, 2025

Pull Request Summary

Changes Implemented

1. Website Distribution Enhancement

  • Currently, website distribution for validation is implemented using a round-robin approach.
  • Future enhancement: Implement distribution based on geographical proximity using longitude and latitude.

2. New API Endpoints

  • Get all pending payouts: Retrieves the total pending amount to be paid to all validators.
  • Get pending payout for a specific validator: Fetches pending payments for an individual validator.

3. Payout Transaction Handling

  • Completed the payout ToDo endpoint.
  • Implemented transactions to ensure atomicity in payout operations.

4. Dockerization

  • Added Dockerfiles for all :
    • Frontend
    • API
    • Hub
    • Validator
  • Fully functional and containerized deployment setup.

5. GitHub Workflow Automation

  • Implemented CI/CD pipeline to:
    • Build and push images to Docker Hub.
    • Automatically update images on the EC2 server.

6. SSL Configuration with Caddy

  • Added Caddyfile for easier SSL management and HTTPS setup.

7. added monitoring with Prometheus all three counter, gauze and histogram

8. added isOnline to the validator schema

Next Steps

  • Implement validator distribution based on geographic location.
  • Further optimize payout processing for efficiency.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant