Merge pull request #2202 from nspcc-dev/validatorscount
rpc: add validatorscount to getversion response
This commit is contained in:
commit
b4e24bef14
3 changed files with 3 additions and 0 deletions
|
@ -537,6 +537,7 @@ func (s *Server) getVersion(_ request.Params) (interface{}, *response.Error) {
|
|||
MaxValidUntilBlockIncrement: cfg.MaxValidUntilBlockIncrement,
|
||||
MaxTransactionsPerBlock: cfg.MaxTransactionsPerBlock,
|
||||
MemoryPoolMaxTransactions: cfg.MemPoolSize,
|
||||
ValidatorsCount: byte(cfg.ValidatorsCount),
|
||||
InitialGasDistribution: cfg.InitialGASSupply,
|
||||
StateRootInHeader: cfg.StateRootInHeader,
|
||||
},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue