Assessment reports>Session Token>Threat Model>Function: initiateRemoveBLSPublicKey()

Function: initiateRemoveBLSPublicKey()

The function initiates a request for a service node to leave the network by its service node ID, notifying the network of the node's intention to exit.

Inputs

  • serviceNodeID

    • Validation: The leaveRequestTimestamp of _serviceNodes corresponding to the serviceNodeID must be zero. This means initiateRemoveBLSPublicKey cannot be called more than once for the same serviceNodeID.

    • Impact: Retrieve the _serviceNodes corresponding to the service ID.

Branches and code coverage (including function calls)

Intended branches

Negative behavior

Function call analysis

N/A.

Zellic © 2024Back to top ↑