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(); }
public WalletManager(NodeServices nodeServices, string walletPath) : base(nodeServices, walletPath) { this.nodeServices = nodeServices; }
public WalletManagerFactory(NodeServices nodeServices) { this.nodeServices = nodeServices; }