Bitcoin Forum
May 28, 2024, 03:08:14 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Can please someone explain this in detail?  (Read 928 times)
1PFYcabWEwZFm2Ez5LGTx3ftz (OP)
Full Member
***
Offline Offline

Activity: 120
Merit: 100


View Profile
April 09, 2013, 06:15:18 PM
 #1

I had 1.017 BTC in my address (1PFY). I tried sending myself 0.016 BTC. My balance (in bitcoin client) remained unchanged, I only got deducted 0,0005 fee.
When I checked the transaction on blockchain https://blockchain.info/tx/17eb405848335fd0868cef07355c736d65e51a66923c16a6421e3aa230a4bd3c
I expected to see a payment from my address (1PFY) to the same address (1PFY). However a strange thing has happened - there was a second address created (13yv) on the moment of transaction, and 0.016 BTC got stored in my old address (1PFY), and the rest (1.017 - 0.016 = 0.98381766 BTC) in the new (13yv) address.

Can anyone explain what exactly has happened and why?
AsymmetricInformation
Member
**
Offline Offline

Activity: 115
Merit: 10


View Profile WWW
April 09, 2013, 06:49:52 PM
 #2

Client auto-creates new addresses (called "change addresses") for every transaction to avoid re-using address and help you maintain anonymity.

Each address has its own private key required to spend the address' funds!!
Make sure you are using deterministic wallets!
Or backup wallet.dat frequently!
Otherwise you may lose money!

Support Decentralized Bitcoin Prediction Markets: 1M5tVTtynuqiS7Goq8hbh5UBcxLaa5XQb8
https://github.com/psztorc/Truthcoin
1PFYcabWEwZFm2Ez5LGTx3ftz (OP)
Full Member
***
Offline Offline

Activity: 120
Merit: 100


View Profile
April 09, 2013, 07:02:33 PM
Last edit: April 09, 2013, 07:19:29 PM by 1PFYcabWEwZFm2Ez5LGTx3ftz
 #3

Client auto-creates new addresses (called "change addresses") for every transaction to avoid re-using address and help you maintain anonymity.

Each address has its own private key required to spend the address' funds!!
Make sure you are using deterministic wallets!
Or backup wallet.dat frequently!
Otherwise you may lose money!

Thank you for answer! So this would invalidate a paper wallet? Or I would have to do 99 more transactions for paper wallet to become invalid?
AsymmetricInformation
Member
**
Offline Offline

Activity: 115
Merit: 10


View Profile WWW
April 09, 2013, 07:21:05 PM
Last edit: April 10, 2013, 04:33:52 PM by AsymmetricInformation
 #4

Client auto-creates new addresses (called "change addresses") for every transaction to avoid re-using address and help you maintain anonymity.

Each address has its own private key required to spend the address' funds!!
Make sure you are using deterministic wallets!
Or backup wallet.dat frequently!
Otherwise you may lose money!

Thank you for answer! So this would invalidate a paper wallet?

No problem.  Armory and Electrum use a "seed", which might look like a private key, but is actually a number used to deterministically generate a sequence of private keys.

So Armory's paper wallets are perfectly fine, as would be an Electrum brainwallet (you could write down the 12 word phrase to make a brainwallet a paper wallet).

https://en.bitcoin.it/wiki/Electrum/Documentation#What_is_a_.22Deterministic_Wallet.22_in_Electrum.3F

Support Decentralized Bitcoin Prediction Markets: 1M5tVTtynuqiS7Goq8hbh5UBcxLaa5XQb8
https://github.com/psztorc/Truthcoin
1PFYcabWEwZFm2Ez5LGTx3ftz (OP)
Full Member
***
Offline Offline

Activity: 120
Merit: 100


View Profile
April 09, 2013, 07:31:06 PM
 #5

And what if I use bitcoin-QT wallet? Would a paper backup of such wallet become invalid instantly, or only after 99 more transactions?
grue
Legendary
*
Offline Offline

Activity: 2058
Merit: 1431



View Profile
April 09, 2013, 07:45:19 PM
 #6

And what if I use bitcoin-QT wallet? Would a paper backup of such wallet become invalid instantly, or only after 99 more transactions?
your key pool is at 100 keys. once you run out of new keys, an additional 100 keys is added to the key pool. it's not currently possible to tell how many keys are left in the pool, but you can refill the pool buy using rpc commands.

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

Adblock for annoying signature ads | Enhanced Merit UI
dserrano5
Legendary
*
Offline Offline

Activity: 1974
Merit: 1029



View Profile
April 09, 2013, 10:10:31 PM
 #7

And what if I use bitcoin-QT wallet? Would a paper backup of such wallet become invalid instantly, or only after 99 more transactions?

You paper wallet contains (or may contain) one private key, corresponding to address A. If you send the funds at that address to another address B, and the change is sent to address C, then the paper wallet is rendered useless. If you send the funds at that address to another address B, and the change is sent to address A, then you keep the rest of the funds.
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!