понедельник, 13 августа 2018 г., 0:32:45 UTC+5 пользователь Andreas 
Schildbach написал:
>
> I cannot reproduce this. Can you share a complete test case? And also, 
> always state what bitcoin version or commit you're using. 
>
>
> On 08/10/2018 02:50 PM, Diyor Rustamov wrote: 
> > public void createWallet(NetworkParameters parameters){ 
> >     Wallet wallet1 = new Wallet(parameters); 
> > DeterministicSeed deterministicSeed1 = wallet1.getKeyChainSeed(); 
> > List<String> list1 = deterministicSeed1.getMnemonicCode(); 
> > } 
> > 
> > 
> > with this method I get 2 equal seed for 2 createWallet calls. 
> > 
> >  How can I generate for example 10 different wallets in loop? 
> > 
> > -- 
> > You received this message because you are subscribed to the Google 
> > Groups "bitcoinj" group. 
> > To unsubscribe from this group and stop receiving emails from it, send 
> > an email to [email protected] <javascript:> 
> > <mailto:[email protected] <javascript:>>. 
> > For more options, visit https://groups.google.com/d/optout. 
>
> public List<String> createWallet(){
>     NetworkParameters parameters1 = MainNetParams.get();
>     Wallet wallet1 = new Wallet(parameters1);
>     DeterministicSeed deterministicSeed1 = wallet1.getKeyChainSeed();
>     List<String> listOfSeed = deterministicSeed1.getMnemonicCode();
>     //System.out.println("listOfSeed: " + listOfSeed);
>     return listOfSeed;
> }
>
>
> the problem by me was that from one NetworkParameters  I can create only 
one new Wallet, the second created by the NetworkParameters  returns 
thesame seed == wallet
<version>0.14.7</version>
but when I create for every new wallet in the function new 
NetworkParameters  then I get new seeds

-- 
You received this message because you are subscribed to the Google Groups 
"bitcoinj" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to