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

Dao serverside regtest #2447

Merged

Conversation

ManfredKarrer
Copy link
Contributor

As testnet is un-usable ;-( I have setup a regtest network for DAO testing.

1 master node which Bitcoind only. A script creates all 9-11 minutes a new block
4 seed nodes connecting only to that the node.
1 explorer node (https://explorer.bisq.network/testnet/) connecting only to the master node.

I added a new basecurrency enum DAO_TESTNET which is technically a regtest but uses the IP of the master node for the bitcoin connection.

It is important that nobody creates blocks and connects to the master node to avoid disruption. By controlling block creation with a script on only one node we can easier test reorg scenarios.
We are aware that this regtest set up is less realistic as mainnet, but the alternative to create a real testnet with mining nodes would have been much more effort and involve compiling of bitcoind.

I am still testing all so please don't merge yet but welcome to review and help testing.
The user can select the DAO TESTNET in settings same as with TESTNET.
I will send by email to the main testers a data directory with full wallets (BTC and BSQ) ;-).

Testnet will not work anymore as no seed nodes are running anymore.

- As teh network is used for filtering asset types BSQ has 3 asset
types, one per network we need to use REGTEST as network. The methods
for checking which BaseCurrencyNetwork are using name() now instead of
network as we have 2 times REGTEST.

- Fix bug with not calling showFeeInfoAndPublishMyProposal for bonded
role proposals.
@ManfredKarrer
Copy link
Contributor Author

Tested more now. So I think it is ready for merge after review.

@ManfredKarrer ManfredKarrer changed the title [WIP] Dao serverside regtest Dao serverside regtest Feb 21, 2019
Copy link
Member

@devinbileck devinbileck left a comment

Choose a reason for hiding this comment

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

ACK
Code looks good and I have tested it.

@ManfredKarrer ManfredKarrer merged commit d47fec2 into bisq-network:master Feb 21, 2019
@ripcurlx
Copy link
Contributor

ACK - even it is already merged 😉

@oscarguindzberg
Copy link
Contributor

utACK

@ManfredKarrer ManfredKarrer deleted the dao-serverside-regtest branch February 21, 2019 14:47
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.

4 participants