Bitcoin Forum
May 07, 2024, 10:39:20 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: removing bitcoin addresses  (Read 13762 times)
SheriffWoody (OP)
Newbie
*
Offline Offline

Activity: 5
Merit: 0


View Profile
April 08, 2010, 02:56:25 PM
 #1

Is there any way to remove bitcoin addresses that you have generated for yourself? What about if you have received payments to those addresses? Are they needed to show ownership for the coins after they have been transferred?
1715078360
Hero Member
*
Offline Offline

Posts: 1715078360

View Profile Personal Message (Offline)

Ignore
1715078360
Reply with quote  #2

1715078360
Report to moderator
1715078360
Hero Member
*
Offline Offline

Posts: 1715078360

View Profile Personal Message (Offline)

Ignore
1715078360
Reply with quote  #2

1715078360
Report to moderator
There are several different types of Bitcoin clients. The most secure are full nodes like Bitcoin Core, which will follow the rules of the network no matter what miners do. Even if every miner decided to create 1000 bitcoins per block, full nodes would stick to the rules and reject those blocks.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1715078360
Hero Member
*
Offline Offline

Posts: 1715078360

View Profile Personal Message (Offline)

Ignore
1715078360
Reply with quote  #2

1715078360
Report to moderator
1715078360
Hero Member
*
Offline Offline

Posts: 1715078360

View Profile Personal Message (Offline)

Ignore
1715078360
Reply with quote  #2

1715078360
Report to moderator
sirius
Bitcoiner
Sr. Member
****
Offline Offline

Activity: 429
Merit: 974



View Profile
April 10, 2010, 06:12:31 AM
 #2

A question to Satoshi: have you tested the program with thousands of own addresses in the wallet? If I make a new address for each automated transaction, it's going to be a big amount. Or maybe I could reuse the addresses, given a big enough pool.

Iris — for better social networks
I'm not a forum admin - please contact theymos instead.
satoshi
Founder
Sr. Member
*
Offline Offline

Activity: 364
Merit: 6723


View Profile
May 16, 2010, 11:34:40 PM
Last edit: May 17, 2010, 12:26:28 AM by satoshi
Merited by Foxpup (4)
 #3

SheriffWoody:
Bitcoin addresses you generate are kept forever.  A bitcoin address must be kept to show ownership of anything sent to it.  If you were able to delete a bitcoin address and someone sent to it, the money would be lost.  They're only about 500 bytes.

sirius-m:
Thousands of own addresses should not be any problem at all.  If you've generated 50000 BTC, then you already have 1000 own addresses, one for each 50 generated.  Those are hidden, they're not shown in the UI.

It would be a good idea to add a little code that keeps giving the same address to the same IP.  Here's what I did in C++ to keep giving the same key (aka bitcoin address) until they use it:

    // Keep giving the same key to the same ip until they use it
    if (!mapReuseKey.count(pfrom->addr.ip))
        mapReuseKey[pfrom->addr.ip] = GenerateNewKey();
    
    ...sends the key mapReuseKey[pfrom->addr.ip]

...later...

    // Received something with this key
    mapReuseKey.erase(pfrom->addr.ip);

If it's not convenient to know when you've received, just clear the cached keys every 20 minutes.

I want to add a parameter to getnewaddress for number of days to expire if nothing is received with the address.
tsr
Newbie
*
Offline Offline

Activity: 5
Merit: 0


View Profile
February 10, 2011, 11:02:49 AM
 #4

Hi,

since i haven't found a similar thread to my problem i think maybe my problem has something to do with the "autogenerated not shown addresses" Satoshi mentioned before.

Well, for some time i noticed that sometimes an autogenerated receiving-address is added to my addressbook with no description at all.
Today just after noticing the (already second one of this) i closed the addressbook and reopened it again and suddenly there was a new one. Now i have three of those.  Huh

I'm not sure if it was because i got bitcoin in the timeframe or there is just a bug in the GUI of the addressbook window.

Anyone else experienced this bug, or maybe this is a "normal" behaviour which i haven't found in the docs yet?
theymos
Administrator
Legendary
*
Offline Offline

Activity: 5194
Merit: 12974


View Profile
February 10, 2011, 01:18:10 PM
 #5

I'm not sure if it was because i got bitcoin in the timeframe or there is just a bug in the GUI of the addressbook window.

Anyone else experienced this bug, or maybe this is a "normal" behaviour which i haven't found in the docs yet?

It is expected behavior, though probably those addresses should be labeled more descriptively. Bitcoin automatically generates one of these no-label addresses whenever you receive BTC at the address listed in the "your Bitcoin address" area. The new address replaces the old address in "your Bitcoin address" to encourage you not to re-use addresses.

1NXYoJ5xU91Jp83XfVMHwwTUyZFK64BoAD
tsr
Newbie
*
Offline Offline

Activity: 5
Merit: 0


View Profile
February 10, 2011, 05:59:06 PM
 #6

It is expected behavior, though probably those addresses should be labeled more descriptively. Bitcoin automatically generates one of these no-label addresses whenever you receive BTC at the address listed in the "your Bitcoin address" area. The new address replaces the old address in "your Bitcoin address" to encourage you not to re-use addresses.

Ohh ok, thanks! Was already worried that maybe my wallet file was broken.
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!