Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[R4R]: vigilante.yml is wrong, should change database-config to dbconfig #29

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

guoshijiang
Copy link

@guoshijiang guoshijiang commented Dec 9, 2024

type SubmitterConfig struct {
	// NetParams defines the BTC network params, which should be mainnet|testnet|simnet|signet
	NetParams string `mapstructure:"netparams"`
	// BufferSize defines the number of raw checkpoints stored in the buffer
	BufferSize uint `mapstructure:"buffer-size"`
	// ResubmitFeeMultiplier is used to multiply the estimated bumped fee in resubmission
	ResubmitFeeMultiplier float64 `mapstructure:"resubmit-fee-multiplier"`
	// PollingIntervalSeconds defines the intervals (in seconds) between each polling of Babylon checkpoints
	PollingIntervalSeconds int64 `mapstructure:"polling-interval-seconds"`
	// ResendIntervalSeconds defines the time (in seconds) which the submitter awaits
	// before resubmitting checkpoints to BTC
	ResendIntervalSeconds uint `mapstructure:"resend-interval-seconds"`
	// DatabaseConfig stores last submitted txn
	DatabaseConfig *DBConfig `mapstructure:"dbconfig"`
}

DatabaseConfig's mapstructure is dbconfig, not database-config, So change vigilante.yml database-config to dbconfig, If you don't do this, vigilante will panic because it can't get the configuration value.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant