Skip to content
This repository has been archived by the owner on Jun 11, 2024. It is now read-only.

Create forger plugin #5215

Closed
shuse2 opened this issue Apr 29, 2020 · 1 comment
Closed

Create forger plugin #5215

shuse2 opened this issue Apr 29, 2020 · 1 comment

Comments

@shuse2
Copy link
Collaborator

shuse2 commented Apr 29, 2020

Description

Create a forging helper plugin that provides and notifies forgers with more detailed information.

Motivation

The HTTP API currently have private endpoints to enable/disable delegates, but those should be separated from the HTTP API and expanded to be more useful.

Tasks

Sprint 23

Sprint 24

Additional Information

  • It should sync with the running framework blockchain information
  • The config should allow one webhook URL, and event to fire. If empty, emit all
  • The port should be configurable
  • It should allow whitelisting IPs, by default, localhost only
  • Add flag to core and register this plugin
--enable-plugin-forger
--plugin-forger-port (LISK_PLUGIN_FORGER_PORT)
  plugin must be enabled
  Specify open port for the forger plugin
@ManuGowda ManuGowda changed the title Create forging helper module/plugin Network Longevity - Create forging helper module/plugin Apr 30, 2020
@ManuGowda ManuGowda changed the title Network Longevity - Create forging helper module/plugin Create forging helper plugin Apr 30, 2020
@shuse2 shuse2 changed the title Create forging helper plugin Create forger plugin May 7, 2020
@sridharmeganathan sridharmeganathan added this to the Sprint 23 milestone Jul 6, 2020
@JesusTheHun
Copy link
Contributor

It would be nice to add a heartbeat endpoint, that can be called to ensure the node is healthy. Criteria are TBD but here are some ideas :

  • contact with at least X node outside of the cluster recently
  • database is reachable (even with embedded db, in the cloud the disk can be disconnected upon network error)
  • TTFB < 200ms (the node is surviving a DDoS attack)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants