8000 Migrate to regtest · Issue #7 · vnprc/hashpool · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Migrate to regtest #7

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
vnprc opened this issue Feb 9, 2025 · 3 comments
Open

Migrate to regtest #7

vnprc opened this issue Feb 9, 2025 · 3 comments
Labels
enhancement New feature or request

Comments

@vnprc
Copy link
Owner
vnprc commented Feb 9, 2025

Currently, Hashpool mines to testnet4. There are two issues with testnet4:

  1. New installs have to sync up the blockchain before minting any ehash tokens. Testnet4 is a relatively new blockchain so this only takes a few minutes but it adds friction to spinning up the dev environment and the sync time will continue to increase in time as the blockchain grows longer.
  2. In order to test ehash redemptions we will need the ability to mine blocks. We need to get off of a proof of work blockchain in order to mine blocks on demand.
@vnprc vnprc mentioned this issue Feb 9, 2025
@vnprc vnprc changed the title Migrate to regtest so we can mint blocks Migrate to regtest so we can mine blocks Feb 9, 2025
@vnprc vnprc changed the title Migrate to regtest so we can mine blocks Migrate to regtest Feb 9, 2025
@EthnTuttle
Copy link
Collaborator
EthnTuttle commented Feb 11, 2025

imho, regtest is suitable for unit/integration testing/CI/CD type of workflow.
Currently we're using testnet4?

Another option is mutinynet, which has 30sec block times.

@vnprc vnprc moved this to Backlog in Hashpool Kanban Feb 11, 2025
@vnprc
Copy link
Owner Author
vnprc commented Feb 12, 2025

Yes, currently Hashpool points at testnet4. There are two issues with testnet4:

  1. New installs have to sync up the blockchain before minting any ehash tokens. Testnet4 is a relatively new blockchain so this only takes a few minutes but it adds friction to spinning up the dev environment and the sync time will continue to grow.
  2. In order to test ehash redemptions we will need the ability to mine blocks. We need to get off of a proof of work blockchain in order to mine blocks on demand.

I will add these points to the top level description for this issue.

@EthnTuttle
Copy link
Collaborator

I understand and agree.

For dev/test - regtest
For alpha deploy - testnet4
Beta deploy would likely be mainnet.

Thoughts?

@vnprc vnprc moved this from Backlog to Ready in Hashpool Kanban Feb 18, 2025
@vnprc vnprc added the enhancement New feature or request label Apr 14, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Status: Ready
Development

No branches or pull requests

2 participants
0