1
- [
2
- {
3
- " ConfigModule" : " InitConfig" ,
4
- " ConfigItems" : {
5
- " PubSubEnabled" : false,
6
- " JsonRpcEnabled" : true,
7
- " NetworkEnabled" : true,
8
- " DiscoveryEnabled" : true,
9
- " SynchronizationEnabled" : true,
10
- " PeerManagerEnabled" : true,
11
- " ProcessingEnabled" : true,
12
- " IsMining" : true,
13
- " DiscoveryPort" : 30377,
14
- " P2PPort" : 30377,
15
- " HttpHost" : " 127.0.0.1" ,
16
- " HttpPort" : 8577,
17
- " ChainSpecPath" : " chainspec/nethdev.json" ,
18
- " GenesisHash" : " " ,
19
- " BaseDbPath" : " ndm/consumer/mainnet" ,
20
- " LogFileName" : " ndm_consumer.logs.txt" ,
21
- " ObsoletePendingTransactionInterval" : 15,
22
- " RemovePendingTransactionInterval" : 600,
23
- " PeerNotificationThreshold" : 20,
24
- " StoreReceipts" : true
25
- }
1
+ {
2
+ " Init" : {
3
+ " NetworkEnabled" : true,
4
+ " DiscoveryEnabled" : true,
5
+ " SynchronizationEnabled" : true,
6
+ " PeerManagerEnabled" : true,
7
+ " ProcessingEnabled" : true,
8
+ " IsMining" : true,
9
+ " ChainSpecPath" : " chainspec/nethdev.json" ,
10
+ " GenesisHash" : " " ,
11
+ " BaseDbPath" : " ndm/consumer/mainnet" ,
12
+ " LogFileName" : " ndm_consumer.logs.txt" ,
13
+ " ObsoletePendingTransactionInterval" : 15,
14
+ " RemovePendingTransactionInterval" : 600,
15
+ " PeerNotificationThreshold" : 20,
16
+ " StoreReceipts" : true
26
17
},
27
- {
28
- " ConfigModule" : " DbConfig" ,
29
- " ConfigItems" : {
30
- " WriteBufferSize" : 67108864,
31
- " WriteBufferNumber" : 6,
32
- " BlockCacheSize" : 67108864,
33
- " CacheIndexAndFilterBlocks" : true
34
- }
18
+ " JsonRpc" : {
19
+ " Enabled" : true,
20
+ " Host" : " 127.0.0.1" ,
21
+ " Port" : 8577
35
22
},
36
- {
37
- " ConfigModule" : " KafkaConfig" ,
38
- " ConfigItems" : {
39
- " Servers" : " localhost:19092,localhost:29092,localhost:39092" ,
40
- " SecurityProtocol" : " SASL_Plaintext" ,
41
- " SaslEnabled" : true,
42
- " SaslUsername" : " nethermind" ,
43
- " SaslPassword" : " secret" ,
44
- " SslKeyLocation" : " certs/nethermind.pem" ,
45
- " SchemaRegistryUrl" : " http://localhost:8081" ,
46
- " TopicBlocks" : " Nethermind.Blocks" ,
47
- " TopicReceipts" : " Nethermind.Receipts" ,
48
- " TopicTransactions" : " Nethermind.Transactions" ,
49
- " ProduceAvro" : true,
50
- " ProduceJson" : true,
51
- " ProduceUtf8Json" : true
52
- }
23
+ " Network" : {
24
+ " DiscoveryPort" : 30377,
25
+ " P2PPort" : 30377,
53
26
},
54
- {
55
- " ConfigModule" : " NdmConfig" ,
56
- " ConfigItems" : {
57
- " ProviderName" : " Nethermind" ,
58
- " FilesPath" : " ndm/files" ,
59
- " FileMaxSize" : 67108864,
60
- " AccountAddress:" : " 0x2b5ad5c4795c026514f8317c7a215e218dccd6cf" ,
61
- " ContractAddress" : " 0x82c839fa4a41e158f613ec8a1a84be3c816d370f"
62
- }
27
+ " Db" : {
28
+ " WriteBufferSize" : 67108864,
29
+ " WriteBufferNumber" : 6,
30
+ " BlockCacheSize" : 67108864,
31
+ " CacheIndexAndFilterBlocks" : true
32
+ },
33
+ " Kafka" : {
34
+ " Servers" : " localhost:19092,localhost:29092,localhost:39092" ,
35
+ " SecurityProtocol" : " SASL_Plaintext" ,
36
+ " SaslEnabled" : true,
37
+ " SaslUsername" : " nethermind" ,
38
+ " SaslPassword" : " secret" ,
39
+ " SslKeyLocation" : " certs/nethermind.pem" ,
40
+ " SchemaRegistryUrl" : " http://localhost:8081" ,
41
+ " TopicBlocks" : " Nethermind.Blocks" ,
42
+ " TopicReceipts" : " Nethermind.Receipts" ,
43
+ " TopicTransactions" : " Nethermind.Transactions" ,
44
+ " ProduceAvro" : true,
45
+ " ProduceJson" : true,
46
+ " ProduceUtf8Json" : true
47
+ },
48
+ " Ndm" : {
49
+ " ProviderName" : " Nethermind" ,
50
+ " FilesPath" : " ndm/files" ,
51
+ " FileMaxSize" : 67108864,
52
+ " AccountAddress:" : " 0x2b5ad5c4795c026514f8317c7a215e218dccd6cf" ,
53
+ " ContractAddress" : " 0x82c839fa4a41e158f613ec8a1a84be3c816d370f"
63
54
}
64
- ]
55
+ }
0 commit comments