Skip to content

Commit f356211

Browse files
committed
adding some sample configs for signer event_observer
1 parent 1a08c13 commit f356211

File tree

4 files changed

+120
-1
lines changed

4 files changed

+120
-1
lines changed

testnet/stacks-node/conf/mainnet-follower-conf.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,5 +11,5 @@ peer_host = "127.0.0.1"
1111
# Used for sending events to a local stacks-blockchain-api service
1212
# [[events_observer]]
1313
# endpoint = "localhost:3700"
14-
# retry_count = 255
1514
# events_keys = ["*"]
15+
# timeout_ms = 60_000
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
[node]
2+
# working_dir = "/dir/to/save/chainstate" # defaults to: /tmp/stacks-node-[0-9]*
3+
rpc_bind = "0.0.0.0:20443"
4+
p2p_bind = "0.0.0.0:20444"
5+
prometheus_bind = "0.0.0.0:9153"
6+
7+
[burnchain]
8+
mode = "mainnet"
9+
peer_host = "127.0.0.1"
10+
11+
# Used for sending events to a local stacks-blockchain-api service
12+
# [[events_observer]]
13+
# endpoint = "localhost:3700"
14+
# events_keys = ["*"]
15+
# timeout_ms = 60_000
16+
17+
# Used if running a local stacks-signer service
18+
# [[events_observer]]
19+
# endpoint = "127.0.0.1:30000"
20+
# events_keys = ["stackerdb", "block_proposal", "burn_blocks"]
21+
22+
# Used if running a local stacks-signer service
23+
# [connection_options]
24+
# auth_token = "" # fill with a unique password

testnet/stacks-node/conf/testnet-follower-conf.toml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,21 @@ peer_port = 18444
1212
pox_prepare_length = 100
1313
pox_reward_length = 900
1414

15+
# Used for sending events to a local stacks-blockchain-api service
16+
# [[events_observer]]
17+
# endpoint = "localhost:3700"
18+
# events_keys = ["*"]
19+
# timeout_ms = 60_000
20+
21+
# Used if running a local stacks-signer service
22+
# [[events_observer]]
23+
# endpoint = "127.0.0.1:30000"
24+
# events_keys = ["stackerdb", "block_proposal", "burn_blocks"]
25+
26+
# Used if running a local stacks-signer service
27+
# [connection_options]
28+
# auth_token = "" # fill with a unique password
29+
1530
[[ustx_balance]]
1631
address = "ST2QKZ4FKHAH1NQKYKYAYZPY440FEPK7GZ1R5HBP2"
1732
amount = 10000000000000000
Lines changed: 80 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,80 @@
1+
[node]
2+
# working_dir = "/dir/to/save/chainstate" # defaults to: /tmp/stacks-node-[0-9]*
3+
rpc_bind = "0.0.0.0:20443"
4+
p2p_bind = "0.0.0.0:20444"
5+
bootstrap_node = "029266faff4c8e0ca4f934f34996a96af481df94a89b0c9bd515f3536a95682ddc@seed.testnet.hiro.so:30444"
6+
prometheus_bind = "0.0.0.0:9153"
7+
8+
[burnchain]
9+
mode = "krypton"
10+
peer_host = "bitcoin.regtest.hiro.so"
11+
peer_port = 18444
12+
pox_prepare_length = 100
13+
pox_reward_length = 900
14+
15+
# Used for sending events to a local stacks-blockchain-api service
16+
# [[events_observer]]
17+
# endpoint = "localhost:3700"
18+
# events_keys = ["*"]
19+
# timeout_ms = 60_000
20+
21+
# Used if running a local stacks-signer service
22+
# [[events_observer]]
23+
# endpoint = "127.0.0.1:30000"
24+
# events_keys = ["stackerdb", "block_proposal", "burn_blocks"]
25+
26+
# Used if running a local stacks-signer service
27+
# [connection_options]
28+
# auth_token = "" # fill with a unique password
29+
30+
[[ustx_balance]]
31+
address = "ST2QKZ4FKHAH1NQKYKYAYZPY440FEPK7GZ1R5HBP2"
32+
amount = 10000000000000000
33+
34+
[[ustx_balance]]
35+
address = "ST319CF5WV77KYR1H3GT0GZ7B8Q4AQPY42ETP1VPF"
36+
amount = 10000000000000000
37+
38+
[[ustx_balance]]
39+
address = "ST221Z6TDTC5E0BYR2V624Q2ST6R0Q71T78WTAX6H"
40+
amount = 10000000000000000
41+
42+
[[ustx_balance]]
43+
address = "ST2TFVBMRPS5SSNP98DQKQ5JNB2B6NZM91C4K3P7B"
44+
amount = 10000000000000000
45+
46+
[[burnchain.epochs]]
47+
epoch_name = "1.0"
48+
start_height = 0
49+
50+
[[burnchain.epochs]]
51+
epoch_name = "2.0"
52+
start_height = 0
53+
54+
[[burnchain.epochs]]
55+
epoch_name = "2.05"
56+
start_height = 1
57+
58+
[[burnchain.epochs]]
59+
epoch_name = "2.1"
60+
start_height = 2
61+
62+
[[burnchain.epochs]]
63+
epoch_name = "2.2"
64+
start_height = 3
65+
66+
[[burnchain.epochs]]
67+
epoch_name = "2.3"
68+
start_height = 4
69+
70+
[[burnchain.epochs]]
71+
epoch_name = "2.4"
72+
start_height = 5
73+
74+
[[burnchain.epochs]]
75+
epoch_name = "2.5"
76+
start_height = 6
77+
78+
[[burnchain.epochs]]
79+
epoch_name = "3.0"
80+
start_height = 56_457

0 commit comments

Comments
 (0)