예제 #1
0
        public void Initialize(byte[] secretKey, CancellationToken ct)
        {
            if (secretKey == null)
            {
                throw new ArgumentNullException(nameof(secretKey));
            }

            _cryptoService.Initialize(secretKey);
            _accountState.Initialize();
            _nodeContext.Initialize();

            InitializeCommunicationLayer();

            ObtainConfiguredModules();

            InitializeModules(ct);
        }