Bitcoin Forum
April 25, 2024, 03:57:03 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Import large number of addresses into wallet  (Read 647 times)
clownius (OP)
Sr. Member
****
Offline Offline

Activity: 448
Merit: 254


View Profile
April 06, 2013, 02:32:02 PM
 #1

Ok guys im one of the team running a torrent tracker.  Due to massive PP issues a long time back we stopped being able to receive donations.  Mainly because PP seems to get to keep them more often than we did no matter what we tried (even selling legit stuff).

So we looked to bitcoin as an option after we had a server oopsie and had to fork out large amounts of ash on new gear.

The site coders have managed to set up the site end.  Now we can import a large number of public keys and the site gives them out when a user requests to make a donation.

The problem we have run into is importing those keys into a wallet.

Im running bitcoin-qt v0.8.1.0-g34d62a8-beta on a Kubuntu 12.04 system.

After much research i tried pywallet.  Which reports making changes to the wallet but doesn’t appear to actually do anything to it.

After more research we modified a script of bitcoind like this

tr -d '"' < /location/of/csv/file | tr , ' ' | while read number address privkey; do echo importing $address; bitcoin-qt importprivkey $privkey $address false; done

and then ran a single manual import to finish it off.

The addresses appeared in the address book but when test donations are made they dont register until i add the address manually using Debug window one by one.

So i need a way to either generate the addresses in the wallet directly or import a large number.  One by one is just an impossible workload.

I know there has to be a way otherwise anyone in e-commerce couldnt reasonably run using bitcoin.  People do.  So im missing something that a good week on and off wandering through wikis, forums and google hasnt found for me.

1714060623
Hero Member
*
Offline Offline

Posts: 1714060623

View Profile Personal Message (Offline)

Ignore
1714060623
Reply with quote  #2

1714060623
Report to moderator
No Gods or Kings. Only Bitcoin
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1714060623
Hero Member
*
Offline Offline

Posts: 1714060623

View Profile Personal Message (Offline)

Ignore
1714060623
Reply with quote  #2

1714060623
Report to moderator
1714060623
Hero Member
*
Offline Offline

Posts: 1714060623

View Profile Personal Message (Offline)

Ignore
1714060623
Reply with quote  #2

1714060623
Report to moderator
1714060623
Hero Member
*
Offline Offline

Posts: 1714060623

View Profile Personal Message (Offline)

Ignore
1714060623
Reply with quote  #2

1714060623
Report to moderator
richie88
Newbie
*
Offline Offline

Activity: 16
Merit: 0



View Profile
May 02, 2013, 10:11:14 PM
 #2

Did you find a solution to this? I've looked around but can find nothing on mass creating/importing addresses for e-commerce.
grue
Legendary
*
Offline Offline

Activity: 2058
Merit: 1431



View Profile
May 02, 2013, 10:14:27 PM
 #3

you need to rescan the wallet. either start bitcoind with --rescan after you have imported they keys, or set the rescan parameter for the last imported key to "true".

It is pitch black. You are likely to be eaten by a grue.

Adblock for annoying signature ads | Enhanced Merit UI
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!