Documentation
¶
Index ¶
Constants ¶
View Source
const ( ProdRegistryAddress = "0xd976d3b4f4e22a238c1A736b6612D22f17b6f64C" StageRegistryAddress = "0xc682C2166E11690B64338e11633Cb8Bb60B0D9c0" DevRegistryAddress = "0xABbfF712977dB51f9f212B85e8A4904c818C2b63" ProdAcdcAddress = "0x1Cd8a543596D499B9b6E7a6eC15ECd2B7857Fd64" StageAcdcAddress = "0x1Cd8a543596D499B9b6E7a6eC15ECd2B7857Fd64" DevAcdcAddress = "0x254dffcd3277C0b1660F6d42EFbB754edaBAbC2B" ProdEthRpc = "https://eth.audius.co" StageEthRpc = "https://eth.staging.audius.co" DevEthRpc = "http://eth-ganache:8545" )
View Source
const ( ProdPersistentPeers = "" /* 488-byte string literal not displayed */ StagePersistentPeers = "" /* 302-byte string literal not displayed */ DevPersistentPeers = "ffad25668e060a357bbe534c8b7e5b4e1274368b@core-discovery-1:26656" )
Variables ¶
View Source
var Version string
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct {
/* Comet Config */
RootDir string
RPCladdr string
P2PLaddr string
PSQLConn string
RetainBlocks uint
PersistentPeers string
Seeds string
ExternalAddress string
AddrBookStrict bool
MaxInboundPeers int
MaxOutboundPeers int
/* Audius Config */
Environment string
WalletAddress string
ProposerAddress string
GRPCladdr string
CoreServerAddr string
NodeEndpoint string
/* Ethereum Config */
EthRPCUrl string
EthRegistryAddress string
/* Console Config */
StandaloneConsole bool
/* System Config */
RunDownMigration bool
/* Derived Config */
GenesisFile *types.GenesisDoc
EthereumKey *ecdsa.PrivateKey
CometKey *ed25519.PrivKey
NodeType NodeType
SlaRollupInterval int
}
func (*Config) RunDownMigrations ¶
type RollupInterval ¶
type RollupInterval struct {
BlockInterval int
}
Click to show internal directories.
Click to hide internal directories.