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

[REF] Add regtest support #1054

Merged
merged 6 commits into from Apr 30, 2024
Merged

Conversation

kajoseph
Copy link
Contributor

@kajoseph kajoseph commented Feb 14, 2024

This PR:

  • Adds hidden regtest support in the wallet. Long press on the testnet advanced option when creating a wallet and it'll turn to regtest. This is particularly helpful when testing operations locally as several chains will fail address validation unless several manual changes are made after wallet creation (e.g. BCH & segwit addresses)
  • Adds a fallback for getting rates
  • Allows a longer wallet/key name (40 chars instead of 15. This only applies when editing a wallet/key name. Creating does not restrict to 15 chars)

This is PR related to and depends on bitpay/bitcore#3696. One must set allowRegtest in their BWS config to allow the creation of regtest wallets.

WIP: I've set this as a draft PR until the above bitcore PR is merged since this depends on it.

@kajoseph kajoseph marked this pull request as draft February 14, 2024 16:34
@kajoseph kajoseph marked this pull request as ready for review March 6, 2024 22:26
@JohnathanWhite JohnathanWhite merged commit 46fe4d6 into bitpay:master Apr 30, 2024
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.

None yet

3 participants