Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { PriEthCfg EthCfg `json:"pri_eth,omitempty"` RouterInfo RouterInfo `json:"router_info,omitempty"` LevelDbPath string `json:"level_db_path,omitempty"` SinkAddress string `json:"sink_address,omitempty"` ServerCert string `json:"server_cert,omitempty"` ServerKey string `json:"server_key,omitempty"` ClientCert string `json:"client_cert,omitempty"` ClientKey string `json:"client_key,omitempty"` GrpcSerHost string `json:"grpc_ser_host,omitempty"` GrpcSerPort string `json:"grpc_ser_port,omitempty"` AccountUrl string `json:"account_url,omitempty"` DepositUrl string `json:"deposit_url,omitempty"` WithDrawUrl string `json:"withdraw_url,omitempty"` WithDrawTxUrl string `json:"withdraw_tx_url,omitempty"` }
type EthCfg ¶
type EthCfg struct { CashierSetter string `json:"cashier_setter"` // CashierSetter 统一设置合约的转账地址 Creator string `json:"creator"` // Creator 创建者的地址 CreatorPassphrase string `json:"creator_passphrase"` // Creator 创建者的keystore密钥 CreatorKeystorePath string `json:"creator_keystore_path"` // Creator 创建者keystore 路径 GethAPI string `json:"geth_api"` // GethAPI 以太坊接口地址,要支持websocket CheckBlockBefore int64 `json:"check_block_before"` // CheckBlockBefore 设置当前块向前推若干个块做校验 CursorFilePath string `json:"cursor_file_path"` // CursorFilePath 设置当前块处理游标 NonceFilePath string `json:"nonce_file_path,omitempty"` //NonceFilePath记录当前块处理nonce GasLimit int64 `json:"gas_limit"` //执行方法gaslimit GasPrice int64 `json:"gas_price"` //执行gasprice WalletGas int `json:"wallet_gas"` // 部署wallet所需gas FactoryGas int `json:"factory_gas"` // 部署wallet factory 所需gas }
type HttpServer ¶
type RouterInfo ¶
Click to show internal directories.
Click to hide internal directories.