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

feat: configure dashd devnet quorums #647

Merged
merged 15 commits into from
Jul 21, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions ansible/group_vars/all
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,11 @@ dashd_zmq_port: 29998
dashd_powtargetspacing: 150
dashd_minimumdifficultyblocks: 4032

dashd_devnet_llmq_chain_locks: llmq_devnet
dashd_devnet_llmq_instant_send: llmq_devnet_dip0024
dashd_devnet_llmq_platform: llmq_devnet_platform
dashd_devnet_llmq_mnhf: llmq_devnet

# Example spork address/privkey. Please provide your own spork key in network config:
# dashd_sporkaddr:
# dashd_sporkkey:
Expand Down
8 changes: 4 additions & 4 deletions ansible/roles/dashd/templates/dash.conf.j2
Original file line number Diff line number Diff line change
Expand Up @@ -92,10 +92,10 @@ sporkkey={{ dashd_sporkkey }}
{% elif dash_network == 'testnet' %}
[test]
{% elif dash_network == 'devnet' %}
llmqchainlocks=llmq_devnet
llmqinstantsend=llmq_devnet
llmqinstantsenddip0024=llmq_devnet_dip0024
llmqplatform=llmq_devnet_platform
llmqchainlocks={{ dashd_devnet_llmq_chain_locks }}
llmqinstantsenddip0024={{ dashd_devnet_llmq_instant_send }}
llmqplatform={{ dashd_devnet_llmq_platform }}
llmqmnhf={{ dashd_devnet_llmq_mnhf }}

[devnet]
minimumdifficultyblocks={{ dashd_minimumdifficultyblocks }}
Expand Down
8 changes: 7 additions & 1 deletion ansible/roles/dashmate/templates/dashmate.json.j2
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,13 @@
"devnet": {
"name": {% if dash_network == 'devnet' %}"{{ dash_devnet_name }}"{% else %}null{% endif %},
"minimumDifficultyBlocks": {{ dashd_minimumdifficultyblocks }},
"powTargetSpacing": {{ dashd_powtargetspacing }}
"powTargetSpacing": {{ dashd_powtargetspacing }},
"llmq": {
"chainLocks": "{{ dashd_devnet_llmq_chain_locks }}",
"instantSend": "{{ dashd_devnet_llmq_instant_send }}",
"platform": "{{ dashd_devnet_llmq_platform }}",
"mnhf": "{{ dashd_devnet_llmq_mnhf }}"
}
},
"logIps": 0,
"indexes": true,
Expand Down
Loading