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
# Config generated by `ckb init --chain dev` # {{
# see => resource/src/template.rs
# mainnet => # Config generated by `ckb init --chain mainnet`
# testnet => # Config generated by `ckb init --chain testnet`
# preview => # Config generated by `ckb init --chain preview`
# staging => # Config generated by `ckb init --chain staging`
# }}
= "data"
[]
# Choose the kind of chains to run, possible values:
# - { file = "specs/dev.toml" }
# - { bundled = "specs/testnet.toml" }
# - { bundled = "specs/mainnet.toml" }
= { = "specs/dev.toml" } # {{
# testnet => spec = { {spec_source} = "specs/testnet.toml" }
# mainnet => spec = { {spec_source} = "specs/mainnet.toml" }
# staging => spec = { {spec_source} = "specs/staging.toml" }
# preview => spec = { {spec_source} = "specs/preview.toml" }
# integration => spec = { file = "specs/integration.toml" }
# }}
[]
= "info"
= true
= true # {{
# _ => log_to_file = {log_to_file}
# }}
= true # {{
# _ => log_to_stdout = {log_to_stdout}
# }}
[]
# set to blank to disable sentry error collection
= "" # {{
# testnet => dsn = "https://dda4f353e15f4b62800d273a2afe70c2@sentry.nervos.org/4"
# preview => dsn = "https://dda4f353e15f4b62800d273a2afe70c2@sentry.nervos.org/4"
# staging => dsn = "https://dda4f353e15f4b62800d273a2afe70c2@sentry.nervos.org/4"
# }}
# if you are willing to help us to improve,
# please leave a way to contact you when we have troubles to reproduce the errors.
# org_contact = ""
# # **Experimental** Monitor memory changes.
# [memory_tracker]
# # Seconds between checking the process, 0 is disable, default is 0.
# interval = 600
[]
= "http://127.0.0.1:8114/" # {{
# _ => rpc_url = "http://127.0.0.1:{rpc_port}/"
# }}
= true
# block template polling interval in milliseconds
= 1000
# enable listen notify mode
# listen = "127.0.0.1:8888"
[[]]
= "EaglesongSimple" # {{
# dev => worker_type = "Dummy"
# }}
= 1 # {{
# dev => delay_type = "Constant"\nvalue = 5000
# testnet => threads = 1\nextra_hash_function = "Blake2b"
# }}