Skip to main content

tempo_main_with

Function tempo_main_with 

Source
pub fn tempo_main_with(overrides: TempoOverrides) -> Result<()>
Expand description

Runs the Tempo node CLI with programmatic startup overrides.

This is the embedding entrypoint for binaries that want the standard Tempo CLI behavior plus programmatic hooks for behavior that cannot be expressed through command-line arguments. tempo_main is equivalent to calling this function with TempoOverrides::default.

Overrides are applied after CLI parsing and before the execution node is launched. See TempoOverrides for the currently supported hooks and an example that injects additional transaction pool validation.