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

dex/testing: add script for two-wallet testing #2535

Merged
merged 2 commits into from
Sep 29, 2023

Conversation

buck54321
Copy link
Member

This is a tmux script for a 2-wallet pair that developers can use to perform manual testing on mainnet and testnet. The script aims to solve a number of problems.

  1. Testing by self-trading with a single wallet has historically failed to detect some bugs.
  2. Keeping your personal mainnet wallet on a release branch is advisable, so we don't want to use our primary wallet for testing.
  3. For testing on mainnet, we want to use a testing server that has ultra-low lot limits and bond size, and we only want to run the nodes/markets that we're interested in testing. It wouldn't be a server suitable for public use.

Copy link
Member

@JoeGruffins JoeGruffins left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could add a flag for network?

Could write a small readme? It could just have whats in this pr description.

This is very helpful.

@buck54321
Copy link
Member Author

Could add a flag for network?

Flags are passed through to both dexc instances.

@buck54321 buck54321 merged commit 8d7e37e into decred:master Sep 29, 2023
5 checks passed
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.

2 participants