示例#1
0
        protected override void OnInitialize()
        {
            DatabaseService.InitializedHandle.WaitOne();

            state = LedgerService.State.CreateListener();
            RegisterWaitHandle(state.CancelEvent, HandleLedgerStateChanged, true);
        }
        protected override void OnInitialize()
        {
            PrepareTransactionManager = Injector.Inject(new PrepareTransactionManager());

            state = LedgerService.State.CreateListener();
            RegisterWaitHandle(state.CancelEvent, HandleLedgerStateChanged, true);
            // load keys from file
        }