C# Class Stratis.Bitcoin.Builder.Feature.FullNodeFeature

A feature is used to extend functionality into the full node. It can manage its life time or use the full node disposable resources.

If a feature adds an option of a certain functionality to be available to be used by the node (it may be disabled/enabled by the configuration) the naming convention is Add[Feature](). Conversely, when a feature is inclined to be used if included, the naming convention should be Use[Feature]().

Inheritance: IFullNodeFeature
Show file Open project: x42-Archive/X42-FullNode-Old

Public Methods

Method Description
Dispose ( ) : void
InitializeAsync ( ) : Task
ValidateDependencies ( IFullNodeServiceProvider services ) : void

Method Details

Dispose() public method

public Dispose ( ) : void
return void

InitializeAsync() public abstract method

public abstract InitializeAsync ( ) : Task
return Task

ValidateDependencies() public method

public ValidateDependencies ( IFullNodeServiceProvider services ) : void
services IFullNodeServiceProvider
return void