BitSharper.Wallet.Wallet C# (CSharp) Méthode

Wallet() public méthode

Creates a new, empty wallet with no keys and no transactions. If you want to restore a wallet from disk instead, see loadFromFile.
public Wallet ( NetworkParameters @params ) : System
@params NetworkParameters
Résultat System
        public Wallet(NetworkParameters @params)
        {
            _params = @params;
            Keychain = new List<EcKey>();
            Unspent = new Dictionary<Sha256Hash, Transaction>();
            Spent = new Dictionary<Sha256Hash, Transaction>();
            _inactive = new Dictionary<Sha256Hash, Transaction>();
            Pending = new Dictionary<Sha256Hash, Transaction>();
            _dead = new Dictionary<Sha256Hash, Transaction>();
        }