mirror of
https://github.com/Qortal/altcoinj.git
synced 2025-02-07 14:54:15 +00:00
Add warning about randomly generated keys to Wallet constructor.
This commit is contained in:
parent
89c53a8f8e
commit
36850b1d0e
@ -213,8 +213,9 @@ public class Wallet extends BaseTaggableObject implements Serializable, BlockCha
|
|||||||
@Nullable volatile private UTXOProvider vUTXOProvider;
|
@Nullable volatile private UTXOProvider vUTXOProvider;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Creates a new, empty wallet with no keys and no transactions. If you want to restore a wallet from disk instead,
|
* Creates a new, empty wallet with a randomly chosen seed and no transactions. Make sure to provide for sufficient
|
||||||
* see loadFromFile.
|
* backup! Any keys will be derived from the seed. If you want to restore a wallet from disk instead, see
|
||||||
|
* {@link #loadFromFile}.
|
||||||
*/
|
*/
|
||||||
public Wallet(NetworkParameters params) {
|
public Wallet(NetworkParameters params) {
|
||||||
this(params, new KeyChainGroup(params));
|
this(params, new KeyChainGroup(params));
|
||||||
|
Loading…
Reference in New Issue
Block a user