blockchain_toml

package module
v0.20.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 18, 2024 License: BSD-2-Clause Imports: 4 Imported by: 1

README

blockchain-toml

This plugin supports developer can make blockchain config toml easily.

Supported chains

  • namada
    • v0.31.1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type API

type API struct {
	Enable             *bool   `json:"enable" toml:"enable"`
	Swagger            *bool   `json:"swagger" toml:"swagger"`
	Address            *string `json:"address" toml:"address"`
	MaxOpenConnections *int32  `json:"maxOpenConnections" toml:"max-open-connections"`
	RPCReadTimeout     *int    `json:"rpcReadTimeout" toml:"rpc-read-timeout"`
	RPCWriteTimeout    *int    `json:"rpcWriteTimeout" toml:"rpc-write-timeout"`
	RPCMaxBodyBytes    *int    `json:"rpcMaxBodyBytes" toml:"rpc-max-body-bytes"`
	EnabledUnsafeCors  *bool   `json:"enabledUnsafeCors" toml:"enabled-unsafe-cors"`
}

type CometBFTFile added in v0.0.9

type CometBFTFile interface {
	MergeWithDefault() error
	ExportMergeWithDefault() ([]byte, error)
	MergeWithConfig(o *CometBFTFile) error
	ExportMergeWithConfig(o *CometBFTFile) ([]byte, error)
}

type CosmosAppFile

type CosmosAppFile struct {
	MinimumGasPrices    *string        `json:"minimumGasPrices" toml:"minimum-gas-prices"`
	Pruning             *string        `json:"pruning" toml:"pruning"`
	PruningKeepRecent   *string        `json:"pruningKeepRecent" toml:"pruning-keep-recent"`
	PruningKeepEvery    *string        `json:"pruningKeepEvery" toml:"pruning-keep-every"`
	PruningInterval     *string        `json:"pruningInterval" toml:"pruning-interval"`
	HaltHeight          *uint64        `json:"haltHeight" toml:"halt-height"`
	HaltTime            *uint64        `json:"haltTime" toml:"halt-time"`
	MinRetainBlocks     *int           `json:"minRetainBlocks" toml:"min-retain-blocks"`
	InterBlockCache     *bool          `json:"interBlockCache" toml:"inter-block-cache"`
	IndexEvents         []*interface{} `json:"indexEvents" toml:"index-events"`
	IavlCacheSize       *int           `json:"iavlCacheSize" toml:"iavl-cache-size"`
	IavlDisableFastnode *bool          `json:"iavlDisableFastnode" toml:"iavl-disable-fastnode"`
	Telemetry           Telemetry      `json:"telemetry" toml:"telemetry"`
	API                 API            `json:"api" toml:"api"`
	Rosetta             Rosetta        `json:"rosetta" toml:"rosetta"`
	Grpc                Grpc           `json:"grpc" toml:"grpc"`
	GrpcWeb             GrpcWeb        `json:"grpcWeb" toml:"grpc-web"`
	StateSync           StateSync      `json:"stateSync" toml:"state-sync"`
}

func (*CosmosAppFile) ExportMergeWithConfig

func (c *CosmosAppFile) ExportMergeWithConfig(o *CosmosAppFile) ([]byte, error)

func (*CosmosAppFile) ExportMergeWithDefault

func (c *CosmosAppFile) ExportMergeWithDefault() ([]byte, error)

func (*CosmosAppFile) ExportMergeWithTomlOverrides added in v0.0.11

func (c *CosmosAppFile) ExportMergeWithTomlOverrides(overrides []byte) ([]byte, error)

func (*CosmosAppFile) MergeWithConfig

func (c *CosmosAppFile) MergeWithConfig(o *CosmosAppFile) error

func (*CosmosAppFile) MergeWithDefault added in v0.0.7

func (c *CosmosAppFile) MergeWithDefault() error

type CosmosBlocksync

type CosmosBlocksync struct {
	Version *string `json:"version" toml:"version"`
}

type CosmosConfigFile

type CosmosConfigFile struct {
	ProxyApp               *string               `json:"proxyApp" toml:"proxy_app"`
	Moniker                *string               `json:"moniker" toml:"moniker"`
	BoolBlockSync          *bool                 `json:"boolBlockSync" toml:"block_sync"`
	DbBackend              *string               `json:"dbBackend" toml:"db_backend"`
	DbDir                  *string               `json:"dbDir" toml:"db_dir"`
	LogLevel               *string               `json:"logLevel" toml:"log_level"`
	LogFormat              *string               `json:"logFormat" toml:"log_format"`
	GenesisFile            *string               `json:"genesisFile" toml:"genesis_file"`
	PrivValidatorKeyFile   *string               `json:"privValidatorKeyFile" toml:"priv_validator_key_file"`
	PrivValidatorStateFile *string               `json:"privValidatorStateFile" toml:"priv_validator_state_file"`
	PrivValidatorLaddr     *string               `json:"privValidatorLaddr" toml:"priv_validator_laddr"`
	NodeKeyFile            *string               `json:"nodeKeyFile" toml:"node_key_file"`
	Abci                   *string               `json:"abci" toml:"abci"`
	FilterPeers            *bool                 `json:"filterPeers" toml:"filter_peers"`
	RPC                    CosmosRPC             `json:"rpc" toml:"rpc"`
	P2P                    CosmosP2P             `json:"p2p" toml:"p2p"`
	Mempool                CosmosMempool         `json:"mempool" toml:"mempool"`
	Statesync              CosmosStatesync       `json:"statesync" toml:"statesync"`
	Blocksync              CosmosBlocksync       `json:"blocksync" toml:"blocksync"`
	Consensus              CosmosConsensus       `json:"consensus" toml:"consensus"`
	Storage                CosmosStorage         `json:"storage" toml:"storage"`
	TxIndex                CosmosTxIndex         `json:"txIndex" toml:"tx_index"`
	Instrumentation        CosmosInstrumentation `json:"instrumentation" toml:"instrumentation"`
}

func (*CosmosConfigFile) ExportMergeWithConfig

func (c *CosmosConfigFile) ExportMergeWithConfig(o CosmosConfigFile) ([]byte, error)

func (*CosmosConfigFile) ExportMergeWithDefault

func (c *CosmosConfigFile) ExportMergeWithDefault() ([]byte, error)

func (*CosmosConfigFile) ExportMergeWithTomlOverrides added in v0.0.11

func (c *CosmosConfigFile) ExportMergeWithTomlOverrides(overrides []byte) ([]byte, error)

func (*CosmosConfigFile) MergeWithConfig

func (c *CosmosConfigFile) MergeWithConfig(o CosmosConfigFile) error

func (*CosmosConfigFile) MergeWithDefault

func (c *CosmosConfigFile) MergeWithDefault() error

type CosmosConsensus

type CosmosConsensus struct {
	WalFile                     *string `json:"walFile" toml:"wal_file"`
	TimeoutPropose              *string `json:"timeoutPropose" toml:"timeout_propose"`
	TimeoutProposeDelta         *string `json:"timeoutProposeDelta" toml:"timeout_propose_delta"`
	TimeoutPrevote              *string `json:"timeoutPrevote" toml:"timeout_prevote"`
	TimeoutPrevoteDelta         *string `json:"timeoutPrevoteDelta" toml:"timeout_prevote_delta"`
	TimeoutPrecommit            *string `json:"timeoutPrecommit" toml:"timeout_precommit"`
	TimeoutPrecommitDelta       *string `json:"timeoutPrecommitDelta" toml:"timeout_precommit_delta"`
	TimeoutCommit               *string `json:"timeoutCommit" toml:"timeout_commit"`
	DoubleSignCheckHeight       *uint64 `json:"doubleSignCheckHeight" toml:"double_sign_check_height"`
	SkipTimeoutCommit           *bool   `json:"skipTimeoutCommit" toml:"skip_timeout_commit"`
	CreateEmptyBlocks           *bool   `json:"createEmptyBlocks" toml:"create_empty_blocks"`
	CreateEmptyBlocksInterval   *string `json:"createEmptyBlocksInterval" toml:"create_empty_blocks_interval"`
	PeerGossipSleepDuration     *string `json:"peerGossipSleepDuration" toml:"peer_gossip_sleep_duration"`
	PeerQueryMaj23SleepDuration *string `json:"peerQueryMaj23SleepDuration" toml:"peer_query_maj23_sleep_duration"`
}

type CosmosInstrumentation

type CosmosInstrumentation struct {
	Prometheus           *bool   `json:"prometheus" toml:"prometheus"`
	PrometheusListenAddr *string `json:"prometheusListenAddr" toml:"prometheus_listen_addr"`
	MaxOpenConnections   *int    `json:"maxOpenConnections" toml:"max_open_connections"`
	Namespace            *string `json:"namespace" toml:"namespace"`
}

type CosmosMempool

type CosmosMempool struct {
	Version               *string `json:"version" toml:"version"`
	Recheck               *bool   `json:"recheck" toml:"recheck"`
	Broadcast             *bool   `json:"broadcast" toml:"broadcast"`
	WalDir                *string `json:"walDir" toml:"wal_dir"`
	Size                  *int    `json:"size" toml:"size"`
	MaxTxsBytes           *int    `json:"maxTxsBytes" toml:"max_txs_bytes"`
	CacheSize             *int    `json:"cacheSize" toml:"cache_size"`
	KeepInvalidTxsInCache *bool   `json:"keepInvalidTxsInCache" toml:"keep-invalid-txs-in-cache"`
	MaxTxBytes            *int    `json:"maxTxBytes" toml:"max_tx_bytes"`
	MaxBatchBytes         *int    `json:"maxBatchBytes" toml:"max_batch_bytes"`
	TTLDuration           *string `json:"ttlDuration" toml:"ttl-duration"`
	TTLNumBlocks          *int    `json:"ttlNumBlocks" toml:"ttl-num-blocks"`
}

type CosmosP2P

type CosmosP2P struct {
	Laddr                        *string `json:"laddr" toml:"laddr"`
	ExternalAddress              *string `json:"externalAddress" toml:"external_address"`
	Seeds                        *string `json:"seeds" toml:"seeds"`
	PersistentPeers              *string `json:"persistentPeers" toml:"persistent_peers"`
	Upnp                         *bool   `json:"upnp" toml:"upnp"`
	AddrBookFile                 *string `json:"addrBookFile" toml:"addr_book_file"`
	AddrBookStrict               *bool   `json:"addrBookStrict" toml:"addr_book_strict"`
	MaxNumInboundPeers           *int32  `json:"maxNumInboundPeers" toml:"max_num_inbound_peers"`
	MaxNumOutboundPeers          *int32  `json:"maxNumOutboundPeers" toml:"max_num_outbound_peers"`
	UnconditionalPeerIds         *string `json:"unconditionalPeerIds" toml:"unconditional_peer_ids"`
	PersistentPeersMaxDialPeriod *string `json:"persistentPeersMaxDialPeriod" toml:"persistent_peers_max_dial_period"`
	FlushThrottleTimeout         *string `json:"flushThrottleTimeout" toml:"flush_throttle_timeout"`
	MaxPacketMsgPayloadSize      *int    `json:"maxPacketMsgPayloadSize" toml:"max_packet_msg_payload_size"`
	SendRate                     *int    `json:"sendRate" toml:"send_rate"`
	RecvRate                     *int    `json:"recvRate" toml:"recv_rate"`
	Pex                          *bool   `json:"pex" toml:"pex"`
	SeedMode                     *bool   `json:"seedMode" toml:"seed_mode"`
	PrivatePeerIds               *string `json:"privatePeerIds" toml:"private_peer_ids"`
	AllowDuplicateIP             *bool   `json:"allowDuplicateIP" toml:"allow_duplicate_ip"`
	HandshakeTimeout             *string `json:"handshakeTimeout" toml:"handshake_timeout"`
	DialTimeout                  *string `json:"dialTimeout" toml:"dial_timeout"`
}

type CosmosRPC

type CosmosRPC struct {
	Laddr                                *string   `json:"laddr" toml:"laddr"`
	CorsAllowedOrigins                   *[]string `json:"corsAllowedOrigins" toml:"cors_allowed_origins"`
	CorsAllowedMethods                   *[]string `json:"corsAllowedMethods" toml:"cors_allowed_methods"`
	CorsAllowedHeaders                   *[]string `json:"corsAllowedHeaders" toml:"cors_allowed_headers"`
	GrpcLaddr                            *string   `json:"grpcLaddr" toml:"grpc_laddr"`
	GrpcMaxOpenConnections               *int      `json:"grpcMaxOpenConnections" toml:"grpc_max_open_connections"`
	Unsafe                               *bool     `json:"unsafe" toml:"unsafe"`
	MaxOpenConnections                   *int32    `json:"maxOpenConnections" toml:"max_open_connections"`
	MaxSubscriptionClients               *int      `json:"maxSubscriptionClients" toml:"max_subscription_clients"`
	MaxSubscriptionsPerClient            *int      `json:"maxSubscriptionsPerClient" toml:"max_subscriptions_per_client"`
	ExperimentalSubscriptionBufferSize   *int      `json:"experimentalSubscriptionBufferSize" toml:"experimental_subscription_buffer_size"`
	ExperimentalWebsocketWriteBufferSize *int      `json:"experimentalWebsocketWriteBufferSize" toml:"experimental_websocket_write_buffer_size"`
	ExperimentalCloseOnSlowClient        *bool     `json:"experimentalCloseOnSlowClient" toml:"experimental_close_on_slow_client"`
	TimeoutBroadcastTxCommit             *string   `json:"timeoutBroadcastTxCommit" toml:"timeout_broadcast_tx_commit"`
	MaxBodyBytes                         *int      `json:"maxBodyBytes" toml:"max_body_bytes"`
	MaxHeaderBytes                       *int      `json:"maxHeaderBytes" toml:"max_header_bytes"`
	TLSCertFile                          *string   `json:"tlsCertFile" toml:"tls_cert_file"`
	TLSKeyFile                           *string   `json:"tlsKeyFile" toml:"tls_key_file"`
	PprofLaddr                           *string   `json:"pprofLaddr" toml:"pprof_laddr"`
}

type CosmosStatesync

type CosmosStatesync struct {
	Enable              *bool   `json:"enable" toml:"enable"`
	RPCServers          *string `json:"rpcServers" toml:"rpc_servers"`
	TrustHeight         *uint64 `json:"trustHeight" toml:"trust_height"`
	TrustHash           *string `json:"trustHash" toml:"trust_hash"`
	TrustPeriod         *string `json:"trustPeriod" toml:"trust_period"`
	DiscoveryTime       *string `json:"discoveryTime" toml:"discovery_time"`
	TempDir             *string `json:"tempDir" toml:"temp_dir"`
	ChunkRequestTimeout *string `json:"chunkRequestTimeout" toml:"chunk_request_timeout"`
	ChunkFetchers       *string `json:"chunkFetchers" toml:"chunk_fetchers"`
}

type CosmosStorage

type CosmosStorage struct {
	DiscardAbciResponses *bool `json:"discardAbciResponses" toml:"discard_abci_responses"`
}

type CosmosTxIndex

type CosmosTxIndex struct {
	Indexer  *string `json:"indexer" toml:"indexer"`
	PsqlConn *string `json:"psqlConn" toml:"psql-conn"`
}

type Grpc

type Grpc struct {
	Enable  *bool   `json:"enable" toml:"enable"`
	Address *string `json:"address" toml:"address"`
}

type GrpcWeb

type GrpcWeb struct {
	Enable           *bool   `json:"enable" toml:"enable"`
	Address          *string `json:"address" toml:"address"`
	EnableUnsafeCors *bool   `json:"enableUnsafeCors" toml:"enable-unsafe-cors"`
}

type NamadaCometbft

type NamadaCometbft struct {
	ProxyApp               *string               `json:"proxyApp" toml:"proxy_app"`
	Moniker                *string               `json:"moniker" toml:"moniker"`
	FastSync               *bool                 `json:"fastSync" toml:"fast_sync"`
	DbBackend              *string               `json:"dbBackend" toml:"db_backend"`
	DbDir                  *string               `json:"dbDir" toml:"db_dir"`
	LogLevel               *string               `json:"logLevel" toml:"log_level"`
	LogFormat              *string               `json:"logFormat" toml:"log_format"`
	GenesisFile            *string               `json:"genesisFile" toml:"genesis_file"`
	PrivValidatorKeyFile   *string               `json:"privValidatorKeyFile" toml:"priv_validator_key_file"`
	PrivValidatorStateFile *string               `json:"privValidatorStateFile" toml:"priv_validator_state_file"`
	PrivValidatorLaddr     *string               `json:"privValidatorLaddr" toml:"priv_validator_laddr"`
	NodeKeyFile            *string               `json:"nodeKeyFile" toml:"node_key_file"`
	Abci                   *string               `json:"abci" toml:"abci"`
	FilterPeers            *bool                 `json:"filterPeers" toml:"filter_peers"`
	RPC                    NamadaRPC             `json:"rpc" toml:"rpc"`
	P2P                    NamadaP2P             `json:"p2p" toml:"p2p"`
	Mempool                NamadaMempool         `json:"mempool" toml:"mempool"`
	Consensus              NamadaConsensus       `json:"consensus" toml:"consensus"`
	Storage                NamadaStorage         `json:"storage" toml:"storage"`
	TxIndex                NamadaTxIndex         `json:"txIndex" toml:"tx_index"`
	Instrumentation        NamadaInstrumentation `json:"instrumentation" toml:"instrumentation"`
	Statesync              NamadaStatesync       `json:"statesync" toml:"statesync"`
	Fastsync               NamadaFastsync        `json:"fastsync" toml:"fastsync"`
}

type NamadaConfigFile

type NamadaConfigFile struct {
	WasmDir *string      `json:"wasmDir" toml:"wasm_dir"`
	Ledger  NamadaLedger `json:"ledger" toml:"ledger"`
}

func (*NamadaConfigFile) ExportMergeWithConfig

func (c *NamadaConfigFile) ExportMergeWithConfig(o *NamadaConfigFile) ([]byte, error)

func (*NamadaConfigFile) ExportMergeWithDefault

func (c *NamadaConfigFile) ExportMergeWithDefault() ([]byte, error)

func (*NamadaConfigFile) ExportMergeWithTomlOverrides added in v0.0.11

func (c *NamadaConfigFile) ExportMergeWithTomlOverrides(overrides []byte) ([]byte, error)

func (*NamadaConfigFile) MergeWithConfig

func (c *NamadaConfigFile) MergeWithConfig(o *NamadaConfigFile) error

func (*NamadaConfigFile) MergeWithDefault

func (c *NamadaConfigFile) MergeWithDefault() error

type NamadaConsensus

type NamadaConsensus struct {
	WalFile                     *string `json:"walFile" toml:"wal_file"`
	TimeoutPropose              *string `json:"timeoutPropose" toml:"timeout_propose"`
	TimeoutProposeDelta         *string `json:"timeoutProposeDelta" toml:"timeout_propose_delta"`
	TimeoutPrevote              *string `json:"timeoutPrevote" toml:"timeout_prevote"`
	TimeoutPrevoteDelta         *string `json:"timeoutPrevoteDelta" toml:"timeout_prevote_delta"`
	TimeoutPrecommit            *string `json:"timeoutPrecommit" toml:"timeout_precommit"`
	TimeoutPrecommitDelta       *string `json:"timeoutPrecommitDelta" toml:"timeout_precommit_delta"`
	TimeoutCommit               *string `json:"timeoutCommit" toml:"timeout_commit"`
	DoubleSignCheckHeight       *uint64 `json:"doubleSignCheckHeight" toml:"double_sign_check_height"`
	SkipTimeoutCommit           *bool   `json:"skipTimeoutCommit" toml:"skip_timeout_commit"`
	CreateEmptyBlocks           *bool   `json:"createEmptyBlocks" toml:"create_empty_blocks"`
	CreateEmptyBlocksInterval   *string `json:"createEmptyBlocksInterval" toml:"create_empty_blocks_interval"`
	PeerGossipSleepDuration     *string `json:"peerGossipSleepDuration" toml:"peer_gossip_sleep_duration"`
	PeerQueryMaj23SleepDuration *string `json:"peerQueryMaj23SleepDuration" toml:"peer_query_maj23_sleep_duration"`
}

type NamadaEthereumBridge

type NamadaEthereumBridge struct {
	Mode              *string `json:"mode" toml:"mode"`
	OracleRPCEndpoint *string `json:"oracleRpcEndpoint" toml:"oracle_rpc_endpoint"`
	ChannelBufferSize *int    `json:"channelBufferSize" toml:"channel_buffer_size"`
}

type NamadaFastsync

type NamadaFastsync struct {
	Version *string `json:"version" toml:"version"`
}

type NamadaInstrumentation

type NamadaInstrumentation struct {
	Prometheus           *bool   `json:"prometheus" toml:"prometheus"`
	PrometheusListenAddr *string `json:"prometheusListenAddr" toml:"prometheus_listen_addr"`
	MaxOpenConnections   *int    `json:"maxOpenConnections" toml:"max_open_connections"`
	Namespace            *string `json:"namespace" toml:"namespace"`
}

type NamadaLedger

type NamadaLedger struct {
	GenesisTime    *string              `json:"genesisTime" toml:"genesis_time"`
	ChainID        string               `json:"chainID" toml:"chain_id"`
	Shell          NamadaShell          `json:"shell" toml:"shell"`
	Cometbft       NamadaCometbft       `json:"cometbft" toml:"cometbft"`
	EthereumBridge NamadaEthereumBridge `json:"ethereumBridge" toml:"ethereum_bridge"`
}

type NamadaMempool

type NamadaMempool struct {
	Recheck               *bool   `json:"recheck" toml:"recheck"`
	Broadcast             *bool   `json:"broadcast" toml:"broadcast"`
	WalDir                *string `json:"walDir" toml:"wal_dir"`
	Size                  *int    `json:"size" toml:"size"`
	MaxTxsBytes           *int    `json:"maxTxsBytes" toml:"max_txs_bytes"`
	CacheSize             *int    `json:"cacheSize" toml:"cache_size"`
	KeepInvalidTxsInCache *bool   `json:"keepInvalidTxsInCache" toml:"keep-invalid-txs-in-cache"`
	MaxTxBytes            *int    `json:"maxTxBytes" toml:"max_tx_bytes"`
	MaxBatchBytes         *int    `json:"maxBatchBytes" toml:"max_batch_bytes"`
}

type NamadaP2P

type NamadaP2P struct {
	Laddr                        *string `json:"laddr" toml:"laddr"`
	ExternalAddress              *string `json:"externalAddress" toml:"external_address"`
	Seeds                        *string `json:"seeds" toml:"seeds"`
	PersistentPeers              *string `json:"persistentPeers" toml:"persistent_peers"`
	Upnp                         *bool   `json:"upnp" toml:"upnp"`
	AddrBookFile                 *string `json:"addrBookFile" toml:"addr_book_file"`
	AddrBookStrict               *bool   `json:"addrBookStrict" toml:"addr_book_strict"`
	MaxNumInboundPeers           *int32  `json:"maxNumInboundPeers" toml:"max_num_inbound_peers"`
	MaxNumOutboundPeers          *int32  `json:"maxNumOutboundPeers" toml:"max_num_outbound_peers"`
	UnconditionalPeerIds         *string `json:"unconditionalPeerIds" toml:"unconditional_peer_ids"`
	PersistentPeersMaxDialPeriod *string `json:"persistentPeersMaxDialPeriod" toml:"persistent_peers_max_dial_period"`
	FlushThrottleTimeout         *string `json:"flushThrottleTimeout" toml:"flush_throttle_timeout"`
	MaxPacketMsgPayloadSize      *int    `json:"maxPacketMsgPayloadSize" toml:"max_packet_msg_payload_size"`
	SendRate                     *int    `json:"sendRate" toml:"send_rate"`
	RecvRate                     *int    `json:"recvRate" toml:"recv_rate"`
	Pex                          *bool   `json:"pex" toml:"pex"`
	SeedMode                     *bool   `json:"seedMode" toml:"seed_mode"`
	PrivatePeerIds               *string `json:"privatePeerIds" toml:"private_peer_ids"`
	AllowDuplicateIP             *bool   `json:"allowDuplicateIP" toml:"allow_duplicate_ip"`
	HandshakeTimeout             *string `json:"handshakeTimeout" toml:"handshake_timeout"`
	DialTimeout                  *string `json:"dialTimeout" toml:"dial_timeout"`
}

type NamadaRPC

type NamadaRPC struct {
	Laddr                     *string   `json:"laddr" toml:"laddr"`
	CorsAllowedOrigins        *[]string `json:"corsAllowedOrigins" toml:"cors_allowed_origins"`
	CorsAllowedMethods        *[]string `json:"corsAllowedMethods" toml:"cors_allowed_methods"`
	CorsAllowedHeaders        *[]string `json:"corsAllowedHeaders" toml:"cors_allowed_headers"`
	GrpcLaddr                 *string   `json:"grpcLaddr" toml:"grpc_laddr"`
	GrpcMaxOpenConnections    *int32    `json:"grpcMaxOpenConnections" toml:"grpc_max_open_connections"`
	Unsafe                    *bool     `json:"unsafe" toml:"unsafe"`
	MaxOpenConnections        *int32    `json:"maxOpenConnections" toml:"max_open_connections"`
	MaxSubscriptionClients    *int32    `json:"maxSubscriptionClients" toml:"max_subscription_clients"`
	MaxSubscriptionsPerClient *int32    `json:"maxSubscriptionsPerClient" toml:"max_subscriptions_per_client"`
	TimeoutBroadcastTxCommit  *string   `json:"timeoutBroadcastTxCommit" toml:"timeout_broadcast_tx_commit"`
	MaxBodyBytes              *int      `json:"maxBodyBytes" toml:"max_body_bytes"`
	MaxHeaderBytes            *int      `json:"maxHeaderBytes" toml:"max_header_bytes"`
	TLSCertFile               *string   `json:"tlsCertFile" toml:"tls_cert_file"`
	TLSKeyFile                *string   `json:"tlsKeyFile" toml:"tls_key_file"`
	PprofLaddr                *string   `json:"pprofLaddr" toml:"pprof_laddr"`
}

type NamadaShell

type NamadaShell struct {
	BaseDir                    string  `json:"baseDir" toml:"base_dir"`
	StorageReadPastHeightLimit *uint64 `json:"storageReadPastHeightLimit" toml:"storage_read_past_height_limit"`
	DbDir                      *string `json:"dbDir" toml:"db_dir"`
	CometbftDir                *string `json:"cometbftDir" toml:"cometbft_dir"`
	TendermintMode             *string `json:"tendermintMode" toml:"tendermint_mode"`
}

type NamadaStatesync

type NamadaStatesync struct {
	Enable        *bool   `json:"enable" toml:"enable"`
	RPCServers    *string `json:"rpcServers" toml:"rpc_servers"`
	TrustHeight   *uint64 `json:"trustHeight" toml:"trust_height"`
	TrustHash     *string `json:"trustHash" toml:"trust_hash"`
	TrustPeriod   *string `json:"trustPeriod" toml:"trust_period"`
	DiscoveryTime *string `json:"discoveryTime" toml:"discovery_time"`
	TempDir       *string `json:"tempDir" toml:"temp_dir"`
}

type NamadaStorage

type NamadaStorage struct {
	DiscardAbciResponses *bool `json:"discardAbciResponses" toml:"discard_abci_responses"`
}

type NamadaTxIndex

type NamadaTxIndex struct {
	Indexer *string `json:"indexer" toml:"indexer"`
}

type Rosetta

type Rosetta struct {
	Enable     *bool   `json:"enable" toml:"enable"`
	Address    *string `json:"address" toml:"address"`
	Blockchain *string `json:"blockchain" toml:"blockchain"`
	Network    *string `json:"network" toml:"network"`
	Retries    *int    `json:"retries" toml:"retries"`
	Offline    *bool   `json:"offline" toml:"offline"`
}

type StateSync

type StateSync struct {
	SnapshotInterval   *int `json:"snapshotInterval" toml:"snapshot-Interval"`
	SnapshotKeepRecent *int `json:"snapshotKeepRecent" toml:"snapshot-keep-recent"`
}

type Telemetry

type Telemetry struct {
	ServiceName             *string     `json:"serviceName" toml:"service-name"`
	Enabled                 *bool       `json:"enabled" toml:"enabled"`
	EnableHostname          *bool       `json:"enableHostname" toml:"enable-hostname"`
	EnableHostnameLabel     *bool       `json:"enableHostnameLabel" toml:"enable-hostname-label"`
	EnableServiceLabel      *bool       `json:"enableServiceLabel" toml:"enable-service-label"`
	PrometheusRetentionTime *int        `json:"prometheusRetentionTime" toml:"prometheus-retention-time"`
	GlobalLabels            *[][]string `json:"globalLabels" toml:"global-labels"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL