Hierarchy

  • BasePlugin<ReportMisbehaviorPluginConfig>
    • ReportMisbehaviorPlugin

Constructors

Properties

_clearBlockHeadersIntervalId: undefined | Timer
_pluginDB: Database
_state: State = ...
configSchema: {
    $id: string;
    default: {
        clearBlockHeadersInterval: number;
        defaultPassword: string;
        encryptedPrivateKey: string;
        fee: number;
    };
    properties: {
        clearBlockHeadersInterval: {
            description: string;
            type: string;
        };
        defaultPassword: {
            type: string;
        };
        encryptedPrivateKey: {
            description: string;
            type: string;
        };
        fee: {
            description: string;
            type: string;
        };
    };
    required: never[];
    type: string;
} = configSchema

Type declaration

  • $id: string
  • default: {
        clearBlockHeadersInterval: number;
        defaultPassword: string;
        encryptedPrivateKey: string;
        fee: number;
    }
    • clearBlockHeadersInterval: number
    • defaultPassword: string
    • encryptedPrivateKey: string
    • fee: number
  • properties: {
        clearBlockHeadersInterval: {
            description: string;
            type: string;
        };
        defaultPassword: {
            type: string;
        };
        encryptedPrivateKey: {
            description: string;
            type: string;
        };
        fee: {
            description: string;
            type: string;
        };
    }
    • clearBlockHeadersInterval: {
          description: string;
          type: string;
      }
      • description: string
      • type: string
    • defaultPassword: {
          type: string;
      }
      • type: string
    • encryptedPrivateKey: {
          description: string;
          type: string;
      }
      • description: string
      • type: string
    • fee: {
          description: string;
          type: string;
      }
      • description: string
      • type: string
  • required: never[]
  • type: string
endpoint: Endpoint = ...
logger: Logger

Accessors

  • get apiClient(): APIClient
  • Returns APIClient

  • get appConfig(): ApplicationConfigForPlugin
  • Returns ApplicationConfigForPlugin

  • get config(): T
  • Returns T

  • get dataPath(): string
  • Returns string

  • get events(): string[]
  • Returns string[]

  • get name(): string
  • Returns string

Methods

Generated using TypeDoc