-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathconfig.toml.example
81 lines (70 loc) · 2.07 KB
/
config.toml.example
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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
# fork-observer configuration file
# Database path of the key value store. Will be created if non-existing.
database_path = "example_db_dir"
# path to the location of the static www files
www_path = "./www"
# Interval in seconds for checking for new blocks
query_interval = 15
# Webserver listen address
address = "127.0.0.1:2323"
# RSS feeds need a URL of the site. This is optional. If unset,
# the RSS feeds might not be valid according to the RSS 2.0 specification.
# Some RSS readers might complain.
rss_base_url = "https://fork-observer.example.com/"
# Custom footer for the site.
footer_html = """
<div class="my-2">
<div>
<span class="text-muted">This site is hosted by</span>
<br>
<!-- uncomment this -->
<!-- span>YOUR NAME / PSEUDONYM</span-->
<!--remove this-->
<span class="badge bg-danger">FIXME: PLACEHOLDER in config.toml</span>
</div>
</div>
"""
[[networks]]
id = 1
name = "Mainnet"
description = "An example mainnet node."
min_fork_height = 0
max_interesting_heights = 100
[networks.pool_identification]
enable = true
network = "Mainnet"
[[networks.nodes]]
id = 0
name = "Node A"
description = "A node with a signet-miner that is always mining blocks"
# rpc_cookie_file = "~/.bitcoin/.cookie"
rpc_host = "127.0.0.1"
rpc_port = 38342
rpc_user = "forkobserver"
rpc_password = ""
[[networks.nodes]]
id = 1
name = "Node B"
description = "R node with a signet-miner that is always mining blocks"
# rpc_cookie_file = "~/.bitcoin/.cookie"
rpc_host = "127.0.0.1"
rpc_port = 38332
rpc_user = "forkobserver"
rpc_password = ""
[[networks]]
id = 0xFFFFFFFE
name = "FFFFFFFE testnetwork"
description = "example"
min_fork_height = 5
max_interesting_heights = 200
[pool_identification]
enable = false
[[networks.nodes]]
id = 0
name = "Node A"
description = "A node. Just A node."
# rpc_cookie_file = "~/.bitcoin/.cookie"
rpc_host = "127.0.0.1"
rpc_port = 38342
rpc_user = "forkobserver"
rpc_password = ""