You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
And reduce the amount of logging to something reasonable so that it doesn't fill up the disk from all the docker container messages: /etc/systemd/journald.conf:
#!/bin/shset -e
set -u
# NOTE: the latest version doesn't work with dash-cli v20.1.1#g_rel="v1.0.0-pr.1902.1"#g_file="dashmate-v1.0.0-pr.1902.1-f5fc6d074-linux-x64.tar.gz"
g_rel="v1.0.0-dev.9"
g_file="dashmate-v1.0.0-dev.9-d6688bef2-linux-x64.tar.gz"if!test -f "${g_file}";then
curl -L -O 'https://github.com/dashpay/platform/releases/download'/"${g_rel}"/"${g_file}"fiecho"Extracting ${g_file}"
tar xf "${g_file}"
Create a regtest (a.k.a. "local") network ~/bin/dashmate-regtest-init:
#!/bin/shset -e
set -u
(
cd ./dashmate/
./bin/dashmate setup --verbose --node-count=3 --debug-logs --miner-interval=0.5m local
./bin/dashmate group start
./bin/dashmate status core --config=local_seed
./bin/dashmate status core --config=local_1
./bin/dashmate status core --config=local_2
./bin/dashmate status core --config=local_3
)
If you already have a group of configs in
~/.dashmate/, you can destroy the nodes and begin anew with:/etc/systemd/journald.conf:dockeras per Request for Docker Engine/Docker Compose webinstall/webi-installer-requests#28 (comment)with special attention to the sections including:
groupadd docker--groupname=dockernesting=1(if already running within a container, such as docker)dashmateas perdashmate setup localfails withDatabase already existsdashpay/platform#1736 (comment):~/bin/dashmate-install:regtest(a.k.a. "local") network~/bin/dashmate-regtest-init: