Bitcoin Forum
December 09, 2016, 03:30:40 PM *
News: To be able to use the next phase of the beta forum software, please ensure that your email address is correct/functional.
 
   Home   Help Search Donate Login Register  
Pages: [1]
  Print  
Author Topic: Address used for receiving the generated Bitcoin?  (Read 1607 times)
Stephen Gornick
Legendary
*
Offline Offline

Activity: 2002



View Profile
November 21, 2010, 06:31:21 AM
 #1

I plan to run the Bitcoin client on an underutilized server at an off-site location.  I cannot remote into it and won't be back to that location for at least a couple of months from now. Thus I won't know if it generated any Bitcoin, nor would I be able to transfer it before my next visit.

Should any Bitcoin be generated for it, will the address that the Bitcoin is sent to be the address that was initially generated for the client?

If so, then as long as I record that address, I can then periodically check the status here:
  http://theymos.ath.cx:64150/bbe/address/xxxxxxx  [xxxx = address]

Additionally, if I created a backup of the wallet and have it with me, I should be able to fire up another client here, restore the wallet and be able to transfer the Bitcoin away, correct?

1481297440
Hero Member
*
Offline Offline

Posts: 1481297440

View Profile Personal Message (Offline)

Ignore
1481297440
Reply with quote  #2

1481297440
Report to moderator
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
theymos
Administrator
Legendary
*
Offline Offline

Activity: 2506


View Profile
November 21, 2010, 06:35:35 AM
 #2

Should any Bitcoin be generated for it, will the address that the Bitcoin is sent to be the address that was initially generated for the client?

No. Each generation has a unique address created for it. This address is not shown in any Bitcoin interface.

You could make a script that sends all generated coins to some address, such as this one:
http://bitcointalk.org/index.php?topic=1431.0

1NXYoJ5xU91Jp83XfVMHwwTUyZFK64BoAD
nanotube
Hero Member
*****
Offline Offline

Activity: 485


View Profile WWW
November 21, 2010, 06:37:39 AM
 #3

I plan to run the Bitcoin client on an underutilized server at an off-site location.  I cannot remote into it and won't be back to that location for at least a couple of months from now. Thus I won't know if it generated any Bitcoin, nor would I be able to transfer it before my next visit.

Should any Bitcoin be generated for it, will the address that the Bitcoin is sent to be the address that was initially generated for the client?

If so, then as long as I record that address, I can then periodically check the status here:
  http://theymos.ath.cx:64150/bbe/address/xxxxxxx  [xxxx = address]

Additionally, if I created a backup of the wallet and have it with me, I should be able to fire up another client here, restore the wallet and be able to transfer the Bitcoin away, correct?


no, each block generation bounty gets credited to a new address, so monitoring the 'first address' will not be of use.

the bitcoin client now pre-generates a 'pool' of keys, sized 100 by default. i /think/ (but am not sure) that the addresses used for generation are also taken from this pool. if that is the case, then if you make a backup of the wallet and look at it on your local machine periodically, you'll be able to see the generation credits in your wallet backup (at least until you run out of the 100 pool addresses - depending on how fast your remote machine is generating, it may happen very fast or quite slowly).

but since i'm not sure if the pool addresses are used for generation, you should get confirmation on that from someone who knows what's up. Smiley

Join #bitcoin-market on freenode for real-time market updates.
Join #bitcoin-otc - an over-the-counter trading market. http://bitcoin-otc.com
OTC web of trust: http://bitcoin-otc.com/trust.php
My trust rating: http://bitcoin-otc.com/viewratingdetail.php?nick=nanotube
nanotube
Hero Member
*****
Offline Offline

Activity: 485


View Profile WWW
November 21, 2010, 06:38:23 AM
 #4

Should any Bitcoin be generated for it, will the address that the Bitcoin is sent to be the address that was initially generated for the client?

No. Each generation has a unique address created for it. This address is not shown in any Bitcoin interface.

You could make a script that sends all generated coins to some address, such as this one:
http://bitcointalk.org/index.php?topic=1431.0

ah, theymos, you're here - so what about the key pool? will the 'looking at wallet backup' thing work?

Join #bitcoin-market on freenode for real-time market updates.
Join #bitcoin-otc - an over-the-counter trading market. http://bitcoin-otc.com
OTC web of trust: http://bitcoin-otc.com/trust.php
My trust rating: http://bitcoin-otc.com/viewratingdetail.php?nick=nanotube
theymos
Administrator
Legendary
*
Offline Offline

Activity: 2506


View Profile
November 21, 2010, 06:42:28 AM
 #5

ah, theymos, you're here - so what about the key pool? will the 'looking at wallet backup' thing work?

Yes. It's good for 100 generations (and you can use the -keypool switch to increase this). I think an auto-send script would be easier, though.

Also, I think there may be some cases where a keypool address would be thrown away without a generation (like if Bitcoin crashes, or maybe even when it shuts down).

1NXYoJ5xU91Jp83XfVMHwwTUyZFK64BoAD
nanotube
Hero Member
*****
Offline Offline

Activity: 485


View Profile WWW
November 21, 2010, 06:56:01 AM
 #6

ah, theymos, you're here - so what about the key pool? will the 'looking at wallet backup' thing work?

Yes. It's good for 100 generations (and you can use the -keypool switch to increase this). I think an auto-send script would be easier, though.

Also, I think there may be some cases where a keypool address would be thrown away without a generation (like if Bitcoin crashes, or maybe even when it shuts down).

well, if he's generating on a CPU rather than GPU, 100 addresses for several months should be way more than enough. Smiley

that said, indeed autosend script should be pretty easy to write as well. check balance, if >0, send balance to $myaddress. crontab it, and you're done.

Join #bitcoin-market on freenode for real-time market updates.
Join #bitcoin-otc - an over-the-counter trading market. http://bitcoin-otc.com
OTC web of trust: http://bitcoin-otc.com/trust.php
My trust rating: http://bitcoin-otc.com/viewratingdetail.php?nick=nanotube
Gavin Andresen
Legendary
*
Offline Offline

Activity: 1652


Chief Scientist


View Profile WWW
November 21, 2010, 02:04:25 PM
 #7

Also, I think there may be some cases where a keypool address would be thrown away without a generation (like if Bitcoin crashes, or maybe even when it shuts down).
The keypool IS used for coin-generation transactions.

And the way it is implemented, it should never throw away keys.  If I recall correctly, there is a very small chance if you lose power or bitcoin crashes a key from the keypool could be used twice.  But that has no bad effects, it is just very unusual.

How often do you get the chance to work on a potentially world-changing project?
Pages: [1]
  Print  
 
Jump to:  

Sponsored by , a Bitcoin-accepting VPN.
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!