Esempio n. 1
0
        protected override void InitializeInner()
        {
            IBlocksHandler transactionalStorageBlocksHandler = _blocksHandlersFactory.GetInstance(TransactionalStorageHandler.NAME);

            _blocksHandlersFactory.RegisterInstance(transactionalStorageBlocksHandler);
            transactionalStorageBlocksHandler.Initialize(_cancellationToken);
            IBlocksHandler utxoConfidentialStorageBlocksHandler = _blocksHandlersFactory.GetInstance(UtxoConfidentialStorageHandler.NAME);

            _blocksHandlersFactory.RegisterInstance(utxoConfidentialStorageBlocksHandler);
            utxoConfidentialStorageBlocksHandler.Initialize(_cancellationToken);
        }
Esempio n. 2
0
        protected override void InitializeInner()
        {
            _synchronizationGroupParticipationService.Initialize();

            IBlocksHandler blocksHandler  = _blocksHandlersFactory.GetInstance(TransactionsRegistrySyncHandler.NAME);
            IBlocksHandler blocksHandler1 = _blocksHandlersFactory.GetInstance(SynchronizationBlocksHandler.NAME);

            _blocksHandlersFactory.RegisterInstance(blocksHandler);
            _blocksHandlersFactory.RegisterInstance(blocksHandler1);
            blocksHandler.Initialize(_cancellationToken);
            blocksHandler1.Initialize(_cancellationToken);
        }
Esempio n. 3
0
        protected override void InitializeInner()
        {
            IBlocksHandler blocksHandler = _blocksHandlersFactory.GetInstance(SynchronizationReceivingHandler.NAME);

            _blocksHandlersFactory.RegisterInstance(blocksHandler);
            blocksHandler.Initialize(_cancellationToken);

            _shardsManager.Initialize(_cancellationToken);
        }
Esempio n. 4
0
        protected override void InitializeInner()
        {
            IBlocksHandler blocksHandler = _blocksHandlersFactory.GetInstance(TransactionsRegistryHandler.NAME);

            _blocksHandlersFactory.RegisterInstance(blocksHandler);
            blocksHandler.Initialize(_cancellationToken);

            _transactionsRegistryService.Initialize();
        }