[DAC II] Add DAC profiles to the DAC node
DAC node should be able to run in either Coordinator, Dac_member, Observer, and Legacy mode
Each mode of operation has a different configuration and node context. Upon running the Dac node, public and secret keys of dac members should be retrieved according to the mode of operation:
- Legacy mode:
- List of dac members in configuration, public and Secret keys of DAC members of DAC members retrieved upon launch.
- Threshold in configuration: check that enough secret keys are imported to reach the threshold
- Coordinator:
- List of dac members in configuration, public keys only of DAC members retrieved upon launch.
- Dac_member :
-
- Threshold in configuration: check that enough public keys are imported to reach the threshold
- One DAC member address in configuration
- Secret keys of address is imported
-
- Observer:
- No address specified in configuration
Order of MRs:
Edited by Andrea Cerone