-
Notifications
You must be signed in to change notification settings - Fork 16
/
Copy pathconfig.toml
118 lines (97 loc) · 2.82 KB
/
config.toml
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
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
config = "../config.toml"
datadir = "./"
genkey = true
log_line_number = true
max_mined_hash = "0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF"
max_tx_hash = "0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF"
mode = "archive"
multifile_by_level = false
multifile_by_module = false
title = "OG configuration"
[annsensus]
campaign = false
consensus_path = "consensus0.json"
disable = true
disable_term_change = true
genesis_pk = "0x0104c544565e015346da7c29b1161a8369bf58da2adb3a6fc6a806386de2a7965c7fe2990574156d9e5103e0ef2daf081dd0ffce7b434710b908c4b61083322b2b2c;0x0104ed90b29606e51dc050d56b205d5001e1aa8472c9bf10882a9af49d250e735e46cf8164e1174cd35ef5273269fbcced7f72e4f8ecf660dc79ea27e152c16a8475;0x01044e83369a8bacaae5492089904dfaa49e19635cf29c7e6d2697a6f3be63a08cec6f356d506c42fbcda5dffaaca05f8486a3576db53121fbd275f192a95b3b3bee;0x01044ad86a816fd62ec410a3f49bfcfa171929b1b1ddffaced8c5d5ac35b35e6ced61f5b1f30c4d1f9aa8d24944a9e13f6413646f88ffaaf79ff44fd67de01ae12d5"
partner_number = 4
sequencertime = 2000
term_change_interval = 10
threshold = 4
[auto_client]
nonce_self_discipline = false
[auto_client.archive]
enabled = false
interval_us = 500000
[auto_client.sequencer]
enabled = true
interval_us = 5000000
[auto_client.tx]
account_ids = [0,1]
enabled = false
interval_mode = "random"
interval_us = 500000
test_dag_push = false
test_insert_pool = false
[crypto]
algorithm = "secp256k1"
[dag]
genesis_path = "genesis.json"
[db]
name = "leveldb"
[debug]
node_id = 1
[hub]
disable_encrypt_gossip = false
incoming_buffer_size = 100
message_cache_expiration_seconds = 60
message_cache_max_size = 30000
outgoing_buffer_size = 100
sync_cycle_ms = 10000
[leveldb]
cache = 16
handles = 16
path = "rw/datadir_0"
[log]
level = "trace"
log_dir = "log"
[node]
version = "OGFull-v1.0.1"
[p2p]
bootstrap_node = true
bootstrap_nodes = "onode://0fef07b9c716bd49c8ec53a3aac399e935bb5a6c286392dce1f0b633fb5fe4d78f60db41dfb7d37490501b209eb0aa43414538f0c5f1350ea0fe2d30d3ff3bec@127.0.0.1:8001"
enable_sync = true
enabled = true
max_peers = 50
network_id = "2"
no_encryption = false
node_key = "e68df8b3d162b25f4519cd39060cfd70c4db375952e2cf2f0d66d7b00a9586a2"
port = 8001
[profiling]
port = 8003
[report]
address = "172.28.152.102:32033"
enable = true
[rpc]
enabled = true
port = 8000
[statedb]
beat_expire_time_s = 300
flush_timer_s = 5
purge_timer_s = 10
[tx_buffer]
new_tx_queue_size = 1
no_verify_signature = false
[txpool]
queue_size = 100
reset_duration = 10
timeout_confirmation_ms = 10000
timeout_latest_seq_ms = 10000
timeout_pool_queue_ms = 10000
timeout_subscriber_ms = 10000
tips_size = 1000
tx_valid_time = 100
tx_verify_time = 2
[websocket]
enabled = true
port = 8002