To be honest, you are trying to use wrong tool for the Job. Bitcoinj doesn't scale well with multi wallet setup.
On Tuesday, 30 June 2020 21:17:24 UTC+10, Kwabena Aning wrote: > > I am trying to create a service that allows users to create HDWallets and > transact with them. I understand that the server will need to set up a peer > group and build up it's block store (using FullPrunnedDatabaseStore btw) > and so on... > > However, is it possible for users arriving later (after the store is built > up) to then create a new wallet and progress with the store as it continues > to build up... I know when I create a new wallet I need to stop the peer > group and readd all addresses I have thus far to a new instance of a peer > group. > > So here are the steps so far as I can think of > > - Server starts > - Blockchain, and Store configured > - Any wallets that already exist are loaded > - utxoprovider specified on all wallets with blockstore... that may > already be at chain height > - Peer group configured > - Peer group starts > - Weeks later new user = new wallet > - Wallet created > - utxoprovider specified on new wallet with blockstore... that may already > be at chain height > - Peer group stops > - All wallets reloaded > - UTXOProvider specified for all loaded wallets > - Peer group starts > > Is this a valid approach? > -- 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]. To view this discussion on the web visit https://groups.google.com/d/msgid/bitcoinj/c1a4cbe4-ac5b-4889-93ba-7addb18646b4o%40googlegroups.com.
