forked from stacks-network/stacks-core
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmainnet-signer.toml
More file actions
48 lines (41 loc) · 1.48 KB
/
Copy pathmainnet-signer.toml
File metadata and controls
48 lines (41 loc) · 1.48 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
# ============================================================
# STACKS SIGNER NODE - MAINNET CONFIGURATION
# ============================================================
#
# This configures the stacks-node to work with a signer on mainnet.
# This is the NODE-SIDE config. For the signer binary config, see
# signer/mainnet-signer-conf.toml.
#
# Key coordination points between this config and the signer binary:
# - [[events_observer]] endpoint must match signer's `endpoint`
# - [connection_options] auth_token must match signer's `auth_password`
[node]
# working_dir = "/dir/to/save/chainstate" # defaults to: /tmp/stacks-node-[0-9]*
rpc_bind = "0.0.0.0:20443"
p2p_bind = "0.0.0.0:20444"
prometheus_bind = "0.0.0.0:9153"
stacker = true
[burnchain]
mode = "mainnet"
peer_host = "127.0.0.1"
# Signer event observer (REQUIRED).
# WARNING: endpoint must match your signer binary's `endpoint` config.
[[events_observer]]
endpoint = "127.0.0.1:30000"
events_keys = ["stackerdb", "block_proposal", "burn_blocks"]
# Optional: API event observer for stacks-blockchain-api service
# [[events_observer]]
# endpoint = "localhost:3700"
# events_keys = ["*"]
# timeout_ms = 60_000
[connection_options]
# WARNING: Must match the signer binary's `auth_password`.
auth_token = ""
# Maximum age of block proposals accepted by this node.
# Default: 600
# Units: seconds
# block_proposal_max_age_secs = 600
# Timeout for block proposal validation.
# Default: 60
# Units: seconds
# block_proposal_validation_timeout_secs = 60