1234567891011121314151617181920212223242526272829303132333435363738394041424344454647 |
- package common
- type Db struct {
- Addr string
- DbName string
- ID string
- Password string
- }
- type BlockConfig struct {
- Enalbe bool `json:"enabled"`
- Db Db `json:"db"`
- MainNet bool `json:"mainNet"`
- CollectionAmount int64
- DebugStartNo int64
- DebugEndNo int64
- ImmatureDepth int64
- NodeUrl string
- Interval string `json:"interval"`
- LatestInterval string `json:"latestinterval"`
- TxInternalRange uint64
- GenesisAlloc string
- }
- type XrpConfig struct {
- Enalbe bool `json:"enabled"`
- Db struct {
- Addr string
- DbName string
- ID string
- Password string
- }
- }
- type Config struct {
- SyncBlock BlockConfig `json:"snycBlock"`
- XrpUpdate XrpConfig `json:"xrpUpdate"`
- }
- type ConfigRipple struct {
- Db struct {
- Addr string
- DbName string
- ID string
- Password string
- }
- }
|