Heartbeat
Last updated
Last updated
The Heartbeat functionality is designed to check the activity status of nodes responsible for holding wallets within the system.
The process begins when a node triggers the Insaanity Contracts, which in turn releases a message for the nodes to sign. This message serves as a means to verify the activeness of the wallet-holding nodes.
Nodes that hold wallets are required to sign the message using their private keys and subsequently release the generated signatures.
The released signatures are then subjected to verification to ensure their authenticity and validity. This verification process confirms that the signatures were indeed generated by the respective wallet-holding nodes.
Any nodes that are found to have provided malicious or forged signatures are subject to slashing. Additionally, if nodes repeatedly fail to release signatures within a specified timeframe, they are also subjected to slashing. This measure is in place to discourage nodes from intentionally or consistently neglecting their responsibilities.