Allow conditions on challenges, and early hint deadline

This commit is contained in:
WeebDataHoarder
2025-04-08 11:40:16 +02:00
parent b0ab78ef65
commit baf9df9f0a
7 changed files with 197 additions and 115 deletions

View File

@@ -1,9 +1,10 @@
package policy
type Challenge struct {
Mode string `yaml:"mode"`
Asset *string `yaml:"asset,omitempty"`
Url *string `yaml:"url,omitempty"`
Conditions []string `yaml:"conditions"`
Mode string `yaml:"mode"`
Asset *string `yaml:"asset,omitempty"`
Url *string `yaml:"url,omitempty"`
Parameters map[string]string `json:"parameters,omitempty"`
Runtime struct {