package
0.79.0-preview.4
Repository: https://github.com/vegaprotocol/vega.git
Documentation: pkg.go.dev
# README
Network limits
This package allow the configuration of network wide limits / restriction. This restriction are set as part of the genesis block and will be valid for the whole duration of the network. The only way to update them would be to start a brand new network with a new set of these settings.
Here's the list of the settings available:
propose_market_enabled
: type=boolean, are markets proposal allowedpropose_asset_enabled
: type=boolean, are assets proposal allowedpropose_market_enabled_from
: type=date, optional, from when markets proposal allowedpropose_asset_enabled_from
: type=date, optional, from when assets proposal allowed
All dates are to be specified in the RFC3339 format, any invalid date would cause the genesis state to be invalid therefore the network would stop straight away.
For each setting, the boolean value have the priority to the date, this means that if both a boolean value and date are specified but also the boolean value is false, then the given setting will never be enabled.
Example settings:
{
"app_state": {
"network_limits": {
"propose_market_enabled": true, // market proposal enabled
"popose_asset_enabled": false, // asset proposal disabled forever
"propose_market_enabled_from": "2021-12-31T23:59:59Z" // this is in UTC timezone, market proposal will be enabled at this date
// propose_asset_enabled_from is omitted
}
}
}
# Packages
Package mocks is a generated GoMock package.
# Functions
No description provided by the author
No description provided by the author
No description provided by the author
NewDefaultConfig creates an instance of the package specific configuration.
# Variables
No description provided by the author
# Structs
No description provided by the author
No description provided by the author
No description provided by the author
# Interfaces
No description provided by the author
TimeService provide the time of the vega node using the tm time.