You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# How long the information about peer stays in database after the last communication with it
49
49
peers-data-residence-time = 1d
@@ -110,8 +110,8 @@ vsys {
110
110
# Min buffer size. Fast rollback is possible up to this value.
111
111
minimum-in-memory-diff-blocks = 3600
112
112
113
-
# Blockchain type. Could be TESTNET | MAINNET | CUSTOM. Default value is TESTNET.
114
-
type = TESTNET
113
+
# Blockchain type. Could be TESTNET | MAINNET | CUSTOM. Default value is MAINNET.
114
+
type = MAINNET
115
115
116
116
# 'custom' section present only if CUSTOM blockchain type is set. It's impossible to overwrite predefined 'testnet' and 'mainnet' configurations.
117
117
# custom {
@@ -159,7 +159,8 @@ vsys {
159
159
# !IMPORTANT if you change the settings below in state, rebuilding of state is required, which means you need to clean the data and resync the block at current version
160
160
state {
161
161
# turn on/off the state of transactions grouped by address and transaction type
@@ -31,7 +29,10 @@ case class BlocksApiRoute(settings: RestAPISettings, checkpointsSettings: Checkp
31
29
}
32
30
33
31
@Path("/address/{address}/{from}/{to}")
34
-
@ApiOperation(value ="Address", notes ="Get list of blocks generated by specified address", httpMethod ="GET")
32
+
@ApiOperation(value ="Address", notes ="Get a block list generated by a specified `address` and a block height range (`from`/`to`)", httpMethod ="GET")
33
+
@ApiResponses(Array(
34
+
newApiResponse(code =200, message ="Json response of the block list or error")
@@ -65,7 +69,7 @@ case class BlocksApiRoute(settings: RestAPISettings, checkpointsSettings: Checkp
65
69
66
70
@Path("/delay/{signature}/{blockNum}")
67
71
@ApiOperation(value ="Average delay",
68
-
notes ="Average delay in milliseconds between last `blockNum` blocks starting from block with `signature`", httpMethod ="GET")
72
+
notes ="Get the average delay in milliseconds between last `blockNum` blocks starting from block with `signature`", httpMethod ="GET", response =classOf[Long])
0 commit comments