/
appsettings-fwd.json
50 lines (50 loc) · 1.36 KB
/
appsettings-fwd.json
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
{
"AcceptStaleRequests" : true,
"AllowedOrigins": "*",
"ApiPrefix": "api",
"Connections": 8,
"DateInputFormat": "yyyy-MM-dd",
"EstimateFeeDefault": "0.00001000",
"ForwardUrl": "%FORWARD_URL%",
"InitializeNode": false,
"LongResponseCacheDurationInSeconds": 86400,
"MaxBlockSummarySize": 500,
"MaxCacheSize": 50000,
"NodeConfigFile": "/bitprim/conf/bitprim-restapi.cfg",
"NodeType": "bitprim node",
"PoolsFile": "pools.json",
"ProtocolVersion": "70015",
"Proxy": "",
"RelayFee": "0.00001",
"ShortResponseCacheDurationInSeconds": 30,
"TimeOffset": "0",
"TransactionsByAddressPageSize": 10,
"Version": "0.10",
"WebSocketTimeoutInSeconds" : 5,
"HttpClientTimeoutInSeconds" : 5,
"SocketPublishRetryIntervalInSeconds": 1,
"MaxSocketPublishRetries": 3,
"Serilog":
{
"Using": ["Serilog.Sinks.Console", "Serilog.Sinks.File"],
"MinimumLevel":
{
"Default": "Information",
"Override":
{
"Microsoft": "Warning"
}
},
"WriteTo":
[
{
"Name": "Console",
"Args":
{
"outputTemplate" : "[{Timestamp:yyyy-MM-dd HH:mm:ss} {TimeZone}] {Level:u3} {SourceIP} {RequestId} {HttpMethod} {RequestPath} {HttpProtocol} {HttpResponseStatusCode} {HttpResponseLength} {ElapsedMs} {Message:lj}{NewLine}{Exception}"
}
}
],
"Enrich": ["FromLogContext"]
}
}