rubixchain / rubixgoplatform

GNU General Public License v3.0
8 stars 17 forks source link

Add feature: Alternate quorum selection #146

Closed Allen-Cherian closed 4 months ago

Allen-Cherian commented 4 months ago

This PR includes the feature for the addition of more than 1 set of quorums in a type 2 transaction. During the transaction the code will check whether the first set of quorums are available, if the first set of quorums are not available then the code will check for the next set of quorums and will resume the transaction. Scenarios which have been tested :

  1. First set of quorum not setup and only the second set setup : Transaction Successful with second set.
  2. First set of quorum setup and the second one not setup : Transaction successful with first set.
  3. Both the sets setup : Transaction successful with first set.