Skip to content

Commit

Permalink
feat(cannon): Disable blockprint deriver by default (#228)
Browse files Browse the repository at this point in the history
* feat(cannon): Disable blockprint deriver by default

* feat: add blockClassification deriver
  • Loading branch information
samcm authored Oct 5, 2023
1 parent 38a15fe commit 3c0a14c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 8 deletions.
9 changes: 2 additions & 7 deletions example_cannon.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,25 +33,20 @@ ethereum:
# derivers:
# attesterSlashing:
# enabled: true
# headSlotLag: 5
# blsToExecutionChange:
# enabled: true
# headSlotLag: 5
# deposit:
# enabled: true
# headSlotLag: 5
# withdrawal:
# enabled: true
# headSlotLag: 5
# executionTransaction:
# enabled: true
# headSlotLag: 5
# proposerSlashing:
# enabled: true
# headSlotLag: 5
# voluntaryExit:
# enabled: true
# headSlotLag: 5
# blockClassification:
# enabled: false

outputs:
- name: http-sink
Expand Down
2 changes: 1 addition & 1 deletion pkg/cannon/deriver/blockprint/block_classification.go
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ const (
)

type BlockClassificationDeriverConfig struct {
Enabled bool `yaml:"enabled" default:"true"`
Enabled bool `yaml:"enabled" default:"false"`
Endpoint string `yaml:"endpoint" default:"http://localhost:8080"`
Headers map[string]string `yaml:"headers"`
BatchSize int `yaml:"batchSize" default:"50"`
Expand Down

0 comments on commit 3c0a14c

Please sign in to comment.