Documentation ¶
Index ¶
Constants ¶
View Source
const DefaultPostgresDBURL = "postgres://postgres@localhost:5432/postgres?sslmode=disable"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type VentConfig ¶
type VentConfig struct { DBAdapter string DBURL string DBSchema string ChainAddress string HTTPListenAddress string BlockConsumerConfig chain.BlockConsumerConfig // Global contracts to watch specified as hex WatchAddresses []crypto.Address MinimumHeight uint64 SpecFileOrDirs []string AbiFileOrDirs []string SpecOpt sqlsol.SpecOpt // Announce status every AnnouncePeriod AnnounceEvery time.Duration }
VentConfig is a set of configuration parameters
func DefaultVentConfig ¶
func DefaultVentConfig() *VentConfig
DefaultFlags returns a configuration with default values
Click to show internal directories.
Click to hide internal directories.