protected override void OnStart()
        {
            LiveService.StartedHandle.WaitOne();

            SignedTransactionManager.Initialize();
            var needSetInitial = InitializeLedgerManager();

            State.SetAndWait(LedgerStatus.Updated); // TODO initialize

            if (needSetInitial)
            {
                LedgerService.LedgerManager.SetNextLedger(LedgerManager.GetSignedLedger(), null);
            }
        }
 public TransactionRequestToOfflineSignedTransactionInterceptor(string account, string privateKey, Web3 web3)
 {
     this.account = account;
     signer       = new SignedTransactionManager(web3.Client, privateKey, account);
 }
Example #3
0
 protected virtual void InitialiseDefaultTransactionManager()
 {
     TransactionManager = new SignedTransactionManager(_privateKey, Address);
 }