Bitcoin Forum
November 14, 2024, 03:58:19 PM *
News: Latest Bitcoin Core release: 28.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic:    (Read 2180 times)
flibbr (OP)
Newbie
*
Offline Offline

Activity: 25
Merit: 250



View Profile
⇾  
May 05, 2013, 11:01:51 AM
Last edit: December 10, 2018, 09:16:22 AM by flibbr
 #1

 
CIYAM
Legendary
*
Offline Offline

Activity: 1890
Merit: 1086


Ian Knowles - CIYAM Lead Developer


View Profile WWW
May 05, 2013, 11:07:40 AM
 #2

One drawback with creating more and more addresses is the size of your wallet.dat file (which is probably not much of a concern in reality) - the other one would be if there are any performance issues that will arise from a bigger and bigger wallet (due to a lack of indexing say).

I do recall reading a thread about the latter (with a huge wallet) so you might want to do a bit more research about that (it may be an old problem that was already solved).

With CIYAM anyone can create 100% generated C++ web applications in literally minutes.

GPG Public Key | 1ciyam3htJit1feGa26p2wQ4aw6KFTejU
bukaj
Newbie
*
Offline Offline

Activity: 28
Merit: 0


View Profile
May 05, 2013, 04:20:42 PM
 #3

I think you can "vacuum" the wallet once in a while:

1. Create brand new wallet with new address.
2. Transfer all funds from old wallet to new address.
3. Export relevant private keys of addressees you need active in new wallet.
4. Archive rest of the addressess.
5. Import priv keys of relevant addressess to new wallet.

Bticoin gurus: correct me if I'm wrong.
CIYAM
Legendary
*
Offline Offline

Activity: 1890
Merit: 1086


Ian Knowles - CIYAM Lead Developer


View Profile WWW
May 06, 2013, 02:09:12 AM
 #4

5. Import priv keys of relevant addressess to new wallet.

Just make sure when doing this one to use the new argument to prevent a complete rescan from happening with each address (i.e. just do the rescan once at the end).

With CIYAM anyone can create 100% generated C++ web applications in literally minutes.

GPG Public Key | 1ciyam3htJit1feGa26p2wQ4aw6KFTejU
jackjack
Legendary
*
Offline Offline

Activity: 1176
Merit: 1280


May Bitcoin be touched by his Noodly Appendage


View Profile
May 06, 2013, 07:16:51 AM
 #5

You can delete keys with pywallet

Own address: 19QkqAza7BHFTuoz9N8UQkryP4E9jHo4N3 - Pywallet support: 1AQDfx22pKGgXnUZFL1e4UKos3QqvRzNh5 - Bitcointalk++ script support: 1Pxeccscj1ygseTdSV1qUqQCanp2B2NMM2
Pywallet: instructions. Encrypted wallet support, export/import keys/addresses, backup wallets, export/import CSV data from/into wallet, merge wallets, delete/import addresses and transactions, recover altcoins sent to bitcoin addresses, sign/verify messages and files with Bitcoin addresses, recover deleted wallets, etc.
kjj
Legendary
*
Offline Offline

Activity: 1302
Merit: 1026



View Profile
May 08, 2013, 05:51:54 PM
 #6

Keys aren't very big.  There isn't much cost to keeping them around forever.

On the other hand, if you delete one, and then the person pays, the coins for that payment are lost, not just to you, but to the entire world until the end of time.

17Np17BSrpnHCZ2pgtiMNnhjnsWJ2TMqq8
I routinely ignore posters with paid advertising in their sigs.  You should too.
tiktoc
Full Member
***
Offline Offline

Activity: 176
Merit: 100


View Profile
May 08, 2013, 06:01:06 PM
 #7

The above post is right on the BTC Smiley If someone pays you late or accidently to a old address and you have deleted it no getting it back. Unless you use a deterministic wallet ? Like Armory?

You could always just archive them by dumping the addresses out and putting them into a encrypted file, with a identifier for each one so you know which customer its linked to.
kjj
Legendary
*
Offline Offline

Activity: 1302
Merit: 1026



View Profile
May 08, 2013, 06:10:04 PM
 #8

This sort of question keeps coming up though.  I may create a key disposal service to meet the need.

17Np17BSrpnHCZ2pgtiMNnhjnsWJ2TMqq8
I routinely ignore posters with paid advertising in their sigs.  You should too.
tiktoc
Full Member
***
Offline Offline

Activity: 176
Merit: 100


View Profile
May 08, 2013, 06:19:03 PM
 #9

hmmm, You mean create key for user receive payment, transfer payment or let them sweep the key then destroy it.  Or user has account which is a gpg key/encrypted seed key or something similar uses it to create a address which they receive payment then transfer sweep then archive it for them? and they can recover it by using the key made it with?

If it is something similar, interesting idea, could be used for anonymous payments maybe if it was sitting on tor, or semi anon if not.
Abdussamad
Legendary
*
Offline Offline

Activity: 3682
Merit: 1580



View Profile
May 08, 2013, 07:43:55 PM
 #10


I plan on using an individual BTC address per order... but my question is that if I create a new address in bitcoind, and say give the customer 24 hours to pay for this order.... is it possible for me to then delete / archive this address if the customer never pays?

I'm just thinking over time, there could build up a massive amount of addresses ... which will never be used..etc is this even an issue ?


Addresses are cheap in every way imaginable. That is why it is recommended to generate a new one for every single transaction. So don't worry about it.

FYI if you deleted the private key associated with the address you might save a few bytes of disk space but would loose any coins sent to the address. So don't do it.
Terk
Hero Member
*****
Offline Offline

Activity: 616
Merit: 522



View Profile
May 08, 2013, 08:04:01 PM
 #11

I would never delete any private key of any address that I handed to a customer (or anyone really). Just in case someone discovers it one year later and make a payment. E.g. repeated customer who lost his current payment address but somehow has saved the address from his last years' transaction.

But this is an interesting topic of bitcoind performance. Have you heard of any bitcoind problems related to too big wallet? At what size they might start happening? If they're not happening, how big wallets have you seen that were running smoothly? Was it hundreds of thousands addresses? Millions? Dozens of millions?

Do sites like MtGox, which are handling (or are prepared to handle) hundreds of thousands user accounts, have their bitcoin deposit/withdraw features built on top of bitcoind wallet? Or rather they create and manage addresses in other way and use bitcoind only to sign raw transactions (and as block explorer API, but they parse incoming transactions and manage keys and unspent outputs in their own software)? What's the practice in here? Is bitcoind suited for and working well with such a large scale?

bukaj
Newbie
*
Offline Offline

Activity: 28
Merit: 0


View Profile
May 08, 2013, 10:09:20 PM
 #12

I've heard about bitcurex - polish BTC exchange. They had major performance problems caused by too big wallet (>700MB). They were using bitcoind client.
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!