Out of sync bitcoin value
Thinking that his computer running Electrum had been compromised, Bob re-formated the hard drive. This cleared the balance from the sending address, the only one Bob was monitoring. Electrum encourages the storage of its word address generation seed in a safe location. Should Bob still have access to the seed, he can re-generate his old wallet and recover the change from the Overstock transaction. Carlos is a saver. One day Carlos noticed a deal on new laptops at Overstock and decided to pay using one of his saved bitcoins.
But Carlos had a problem: After paying Overstock, he exited the program. Carlos was worried about leaving any trace of his private key on his computer, so he securely deleted MultiBit and its data directory. He then returned his paper wallet to its safe location. To his shock, the balance read zero. Nineteen bitcoins were sent to an unfamiliar address on the same day as the Overstock payment. The 19 missing bitcoins were sent to a change address, leaving his paper wallet empty. In securely deleting the MultiBit data directory, Carlos lost any chance of recovering the missing funds.
Dave runs Bitcoin-Qt on two computers, a laptop and a desktop in his garage. Wanting to use both computers to make payments, Dave copied a clean wallet. After making many payments without a problem from both computers, Dave noticed something odd one day. His laptop wallet showed a zero balance, but his desktop wallet showed the correct balance. Instead, his copy of Bitcoin-Qt running on the desktop used the last available pool address held jointly with the laptop.
Back up the wallets on both the laptop and the desktop. Export all private keys from both computers, and sweep them into a new wallet. Frank received a paper wallet containing 2 BTC as a gift at a company event. Not seeing a need to keep the paper wallet, Frank threw it into the recycling bin at his office. Over time, Frank depleted his Bitcoin funds. Shortly thereafter, Frank bought a set of sheets from Overstock for 0.
Although this payment confirmed without issue, Frank noticed something odd. Without his approval, a second withdrawal was made to an unknown address, emptying his wallet of the remaining 1. Although Frank was the victim of theft, the route of attack was not his computer or network. It was the paper wallet he threw into the recycling bin.
Unknown to Frank, the paper wallet was taken from the recycling bin by Eve, a dishonest coworker. Eve added the private key to a custom program that automatically detects deposits into a list of watched addresses, and then withdraws them immediately. MultiBit, working as designed, used the imported paper wallet address to receive 1. Frank cannot recover the funds, nor is he likely to determine the identity of the thief. Although the examples in the previous section resulted in complete loss of funds, the same mechanisms also allow for partial loss.
These conditions were assumed, which may or may not hold at the time a change address problem arises:. For example, a single address that receives multiple payments will contain multiple unspent outputs. Likewise, wallet balances can become distributed across multiple change addresses as the user spends funds. As expected, her wallet balance decreases to 9 BTC.
After installing a new hard drive and restoring her wallet backup, Alice notices something odd. Before the hard drive crash, her wallet balance was 9 BTC. But the balance only read 8 BTC after recovering the backup. Why does 1 BTC seem to be missing? Alice was using a random address pool wallet, in which Address 2 was not contained in her original backup. In a sense, Alice was lucky because she could have lost her entire wallet balance.
On the other hand, without understanding change addresses, Alice would likely be very confused about what happened to the missing 1 BTC. The same mistake could happen again. When used correctly, change addresses help prevent the identities and spending histories of Bitcoin users from being made public.
But with this capability comes the potential for loss and theft. To avoid potentially costly mistakes, familiarize yourself with change addresses and how your wallet software implements them. No games, no spam. When you sign up, I'll keep you posted with emails per week. Unsubscribe at any time. The Debit Card from Hell Imagine paying for groceries with a debit card. Bitcoin is Electronic Cash The similarities between Bitcoin and cash run deep. A Bitcoin address can be thought of as the digital equivalent of a cash envelope.
Alice may not re-spend the 10 BTC. Alice pays Bob 5 BTC. Change Address with Multiple Outputs. Alice pays Bob 8 BTC. Change Address is Sender. Change is returned to the sending address. The intended payee is unambiguous. Change Address is not Sender. Change is returned to a newly-created change address. The intended payee is ambiguous. Wallets and Change Addresses Although change addresses play a key role in improving privacy, wallet developers can implement this feature in a number of ways.
Single-Address Wallets use a single address to receive both payments and change. Additional addresses may added when a receiving address is manually added, or a private key is imported. Random Address Pool Wallets use a fixed-size pool of randomly-generated addresses. Change is sent to the next available empty address, causing the creation of a new empty address to take its place. The best-known example is Bitcoin-Qt.
Deterministic Address Pool Wallets contain a practically infinite pool of deterministically-generated addresses. A subset of this pool contains addresses reserved for receiving change. Examples include Electrum and Armory. Hybrid Wallets use multiple strategies, depending on context. MultiBit, Mycelium , and Electrum are examples. Preventing and Recovering from Change Address Disasters Incorrect use of Bitcoin change addresses account for many cases of loss or theft of funds. Backup Failure Alice uses Bitcoin-Qt.
Count the number of manually-created addresses and spending transactions since your last backup. If this number is greater than about 80, back up again. Thinking that his computer running Electrum had been compromised, Bob re-formated the hard drive. This cleared the balance from the sending address, the only one Bob was monitoring.
Electrum encourages the storage of its word address generation seed in a safe location. Should Bob still have access to the seed, he can re-generate his old wallet and recover the change from the Overstock transaction.
Carlos is a saver. One day Carlos noticed a deal on new laptops at Overstock and decided to pay using one of his saved bitcoins. But Carlos had a problem: After paying Overstock, he exited the program. Carlos was worried about leaving any trace of his private key on his computer, so he securely deleted MultiBit and its data directory. He then returned his paper wallet to its safe location.
To his shock, the balance read zero. Nineteen bitcoins were sent to an unfamiliar address on the same day as the Overstock payment. The 19 missing bitcoins were sent to a change address, leaving his paper wallet empty. In securely deleting the MultiBit data directory, Carlos lost any chance of recovering the missing funds. Dave runs Bitcoin-Qt on two computers, a laptop and a desktop in his garage. Wanting to use both computers to make payments, Dave copied a clean wallet.
After making many payments without a problem from both computers, Dave noticed something odd one day. His laptop wallet showed a zero balance, but his desktop wallet showed the correct balance. Instead, his copy of Bitcoin-Qt running on the desktop used the last available pool address held jointly with the laptop. Back up the wallets on both the laptop and the desktop. Export all private keys from both computers, and sweep them into a new wallet.
Frank received a paper wallet containing 2 BTC as a gift at a company event. Not seeing a need to keep the paper wallet, Frank threw it into the recycling bin at his office. Over time, Frank depleted his Bitcoin funds. Shortly thereafter, Frank bought a set of sheets from Overstock for 0. Although this payment confirmed without issue, Frank noticed something odd. Without his approval, a second withdrawal was made to an unknown address, emptying his wallet of the remaining 1. Although Frank was the victim of theft, the route of attack was not his computer or network.
It was the paper wallet he threw into the recycling bin. Unknown to Frank, the paper wallet was taken from the recycling bin by Eve, a dishonest coworker. Eve added the private key to a custom program that automatically detects deposits into a list of watched addresses, and then withdraws them immediately. MultiBit, working as designed, used the imported paper wallet address to receive 1. Frank cannot recover the funds, nor is he likely to determine the identity of the thief.
Although the examples in the previous section resulted in complete loss of funds, the same mechanisms also allow for partial loss. These conditions were assumed, which may or may not hold at the time a change address problem arises:. For example, a single address that receives multiple payments will contain multiple unspent outputs. Likewise, wallet balances can become distributed across multiple change addresses as the user spends funds.
As expected, her wallet balance decreases to 9 BTC. After installing a new hard drive and restoring her wallet backup, Alice notices something odd. Before the hard drive crash, her wallet balance was 9 BTC. But the balance only read 8 BTC after recovering the backup. Why does 1 BTC seem to be missing? Alice was using a random address pool wallet, in which Address 2 was not contained in her original backup.
In a sense, Alice was lucky because she could have lost her entire wallet balance. On the other hand, without understanding change addresses, Alice would likely be very confused about what happened to the missing 1 BTC. The same mistake could happen again. When used correctly, change addresses help prevent the identities and spending histories of Bitcoin users from being made public. But with this capability comes the potential for loss and theft. To avoid potentially costly mistakes, familiarize yourself with change addresses and how your wallet software implements them.
The Debit Card from Hell Imagine paying for groceries with a debit card. Bitcoin is Electronic Cash The similarities between Bitcoin and cash run deep. A Bitcoin address can be thought of as the digital equivalent of a cash envelope. Alice may not re-spend the 10 BTC. Alice pays Bob 5 BTC. Change Address with Multiple Outputs. Alice pays Bob 8 BTC.
Change Address is Sender. Change is returned to the sending address. The intended payee is unambiguous. Change Address is not Sender. Change is returned to a newly-created change address. The intended payee is ambiguous. Wallets and Change Addresses Although change addresses play a key role in improving privacy, wallet developers can implement this feature in a number of ways.
Single-Address Wallets use a single address to receive both payments and change. Additional addresses may added when a receiving address is manually added, or a private key is imported.
Random Address Pool Wallets use a fixed-size pool of randomly-generated addresses. Change is sent to the next available empty address, causing the creation of a new empty address to take its place. The best-known example is Bitcoin-Qt. Deterministic Address Pool Wallets contain a practically infinite pool of deterministically-generated addresses. A subset of this pool contains addresses reserved for receiving change. Examples include Electrum and Armory. Hybrid Wallets use multiple strategies, depending on context.
MultiBit, Mycelium , and Electrum are examples. Preventing and Recovering from Change Address Disasters Incorrect use of Bitcoin change addresses account for many cases of loss or theft of funds.
Backup Failure Alice uses Bitcoin-Qt. Count the number of manually-created addresses and spending transactions since your last backup. If this number is greater than about 80, back up again. Weekly backups might be enough for most users. Set a very high value e. Switch to a deterministic wallet.