Bitcoin Forum
December 03, 2023, 01:29:40 AM *
News: Latest Bitcoin Core release: 25.0 [Torrent]
   Home   Help Search Login Register More  
Pages: [1]
Author Topic: Import large number of addresses into wallet  (Read 645 times)
clownius (OP)
Sr. Member
Offline Offline

Activity: 448
Merit: 254

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

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.

Hero Member
Offline Offline

Posts: 1701566980

View Profile Personal Message (Offline)

Reply with quote  #2

Report to moderator
It is a common myth that Bitcoin is ruled by a majority of miners. This is not true. Bitcoin miners "vote" on the ordering of transactions, but that's all they do. They can't vote to change the network rules.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
Offline Offline

Activity: 16
Merit: 0

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

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

Activity: 2058
Merit: 1431

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

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]
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!