Пример #1
0
        protected WalletCore(NodeServices nodeServices, string walletPath)
        {
            this.nodeServices = nodeServices;

            this.WalletPath               = walletPath;
            this.x1WalletFile             = WalletHelper.LoadX1WalletFile(walletPath);
            this.x1WalletFile.CurrentPath = walletPath;
            this.WalletName               = this.x1WalletFile.WalletName;
            this.metadataPath             = this.x1WalletFile.WalletName.GetX1WalletMetaDataFilepath(C.Network, nodeServices.DataFolder);
            this.metadata = WalletHelper.LoadOrCreateX1WalletMetadataFile(this.metadataPath, this.x1WalletFile, C.Network.GenesisHash);

            ScheduleSyncing();
        }
Пример #2
0
 public WalletManager(NodeServices nodeServices, string walletPath) : base(nodeServices, walletPath)
 {
     this.nodeServices = nodeServices;
 }
Пример #3
0
 public WalletManagerFactory(NodeServices nodeServices)
 {
     this.nodeServices = nodeServices;
 }