Re: Sync too low when using BitCoinJ to create and host own wallet

2017-08-30 Thread Andreas Schildbach
What do you mean by 3rd party API? What does that API do? Bitcoinj is designed to use the Bitcoin P2P protocol. On 08/30/2017 04:12 AM, Alex Yang wrote: > What I need is to create the wallet and just call 3rd party APIs to make > the transactions. > > In this case, Do we need to set up a

Re: Sync too low when using BitCoinJ to create and host own wallet

2017-08-28 Thread Andreas Schildbach
You will need at least one node to sync from, typically Bitcoin Core or some fork of it. PeerGroup automatically discovers peers and connects to a number of them. On 08/28/2017 10:57 AM, Alex Yang wrote: > Thanks Andreas! Do we need to install and run bitcoin-core or we just > need to set up the

Re: Sync too low when using BitCoinJ to create and host own wallet

2017-08-28 Thread Andreas Schildbach
See this document on how set up checkpointing: https://bitcoinj.github.io/speeding-up-chain-sync On 08/27/2017 07:22 PM, Alex Yang wrote: > I need to use BitcoinJ to create and host wallet on my own website. > However, it keeps downloading blocks and the sync seems taking forever. > I need to