Adding signatures in the engine is an operation performed when the current management node needs another manager to join. There are three ways to sign: pre-signing, post-signing and parallel signing.

  1. Pre-signature: that is, the newly added manager handles the application before the person who initiated the signature.
  2. Post-signing: that is, the newly added handler handles the process after the handler who initiated the signing.
  3. Parallel signing: that is, the newly added manager and the manager who initiated signing are processed at the same time.

       Both pre-signing and post-signing belong to serial signing and should be processed in sequence. The pass rate can still be set during signing. Since signing dynamically generates tasks and nodes, the pass rate of signing also needs to be passed in dynamically. The pass rate and countersignature pass rate of serial signing and parallel signing are set in the same way. The following is a code example.