wallet-tool dump doesn't show keypair with balance.

2017-10-16 Thread Ferrets in my Socks
I have decrypted my wallet created by 
https://github.com/bitcoin-wallet/bitcoin-wallet and inspected it with 
`wallet-tool dump`. It prints 3 addresses none of which have a balance.

If I inspect it with a different tool 
(https://github.com/lloeki/bitcoinj-wallet-dump) I can see 271 addresses, 3 
of which are the addresses displayed by wallet-tool. One of the other 
addresses contains my current balance.

Can I get wallet-tool to display all the addresses?


-- 
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 bitcoinj+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: help replaying a store/chain, is it possible?

2017-10-16 Thread Andreas Schildbach
Generally, you need to keep all wallets connected while your PeerGroup
is running. As soon as you disconnect a wallet, it will get out of sync.
You can replay out of sync wallets, but you'll need to reset these
wallets and all other connected wallets, plus remove the blockchain so
it can start from genesis (or an appropriate checkpoint if you use
checkpoints).

Bitcoinj doesn't scale to many wallets. The "one PeerGroup per Wallet"
approach has afaik never been tested; it's probably best to run each
such combination in a separate VM.


On 10/15/2017 02:04 AM, alexfieldman...@gmail.com wrote:
> Can somebody please explain if it is possible to start a
> blockchain/store/peergroup, and add a wallet at a later time, disconnect
> it and let the chain run (24/7), then reconnect the wallet and catchup
> with the chain?
> 
> or even just have a BlockChain for every wallet but somehow not need to
> store.reset and startDownload() just to see some blocks? i also couldnt
> leave countless wallets constantly listening on the chain at all times,
> it would be so inefficient.
> 
> 
> I am using fullprunedblockchain and MYSQLFullPrunedBlockStore, i should
> be able to replay the chain to the wallet but its not working.
> 
> I cant have a peer group for every single wallet, connecting and
> downloading a new blockstore for every wallet that is made, that would
> be chaos on a server side environment.
> 
> can anybody tell me what i can do here short of writing in my own
> classes to pull from the blockstore? (id have no idea where to begin for
> this)

-- 
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 bitcoinj+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Listening to current traffic

2017-10-16 Thread Andreas Schildbach
On 10/14/2017 06:27 PM, Edik Edik wrote:
> What listener do I use to pull any new blockchain additions?
> 
> Can't seem to locate anything in the library to be able to pull this 
> information in real-time.

It depends a bit on your usecase. Generally, you create
BlockStore/BlockChain objects and fire up a PeerGroup. You specifically
asked for new blocks so BlockChain.addNewBestBlockListener() might be
interesting to you.

Have a look at the BuildCheckpoints tool for a code example.

-- 
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 bitcoinj+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.