The Stack Overflow podcast is back! Listen to an interview with our new CEO.
24

from: https://github.com/schildbach/bitcoin-wallet/tree/master/wallet The backup file is encrypted using your chosen password. You can use OpenSSL to decrypt: openssl enc -d -aes-256-cbc -a -in <filename>


10

Hot and cold in this case refer to if the private key is stored on a system connected to the internet or not. Hot wallets are stored on system connected directly to the internet. This can be on the client machine or on a centralized server. A cold wallet can be a HW wallet, an offline wallet or a paper wallet. You kind of create an air-gap that drastically ...


9

Bech32 is an address format that was only recently proposed. While its design had input from multiple wallet authors, it is way too early to say anything about adoption. It is important to realize that there is no hurry about this. Every usable address type is available through embedding in P2SH, which is compatible with every wallet created the past few ...


9

Can I get short a explanation about cryptocurrency cold/hot wallets? Hot wallets These are any kind of wallet that has a network connection and so is vulnerable to attack and is relatively unsafe. Many people prefer to keep their savings in a cold-wallet and only transfer money to a hot-wallet when they need to spend the money. You need a hot-wallet to ...


8

If you don't have the private key, there is no way to access those coins. Period. The security of Bitcoin as a currency relies on that fact. Either recover the private key somehow, or consider the coins gone.


6

Since "when you're a developer it's easy" is probably not sufficient for most people, here is the full step-by-step from a Android Bitcoin Wallet to importing the private keys in Electrum which (finally...) worked for me. This solution uses bitcoinj. The approach using the .proto definition file and opening the wallet in Python was also tested, but seems ...


5

Addresses are not magically tied to the hardware you use. If you delete the file that contains the private keys for your addresses, you will lose them and thus lose access to your Bitcoin. Since it seems that you formatted your hard drive without making a backup of your wallet file, your private keys and thus your Bitcoin are lost. You may be able to ...


4

Bitcoin Wallet for Android supports backing up your private keys to external storage (e.g. SD Card). Just select "Export/Import private keys" from the action bar overflow menu.


4

The first byte, 1D, is the length. The next three bytes are the high bytes of the hash. So we have 00ffff, then we add ff bytes onto the end to get to 29 bytes. Then we're done. We wind up with 3 bytes of leading zeroes because 32-29 is 3. And we get one byte of zeroes from the second byte of the compact bits. So the final result is 00,00,00,00,ff,ff,ff...


4

Your wallet keeps all private and public keys it ever used indefinitely. You do not lose coins on old private keys when you give out new addresses. It is just a privacy measure to give out new addresses for each transaction. It prevents your business partners from knowing about other transactions you have received and sent. All addresses can be used ...


4

TL;DR: It seems that Bitcoin Wallet for Android incorrectly labels nLockTime transactions as OptInRBF due to a bug in bitcoinj. The issue has been reported. You don't need to do anything. Apparently, Bitcoin Wallet for Android recognized your transaction as OptInRBF (as pointed out by the code you found). The warning you are seeing was only added to the ...


4

Yes, use Send Coins > Options > Fee to select one of three fee levels. The actual fee is dynamic and depends on the byte size of your payment. Use Priority if a payment is urgent Normal if you want confirmation roughly within the next hour Economic if you don't care about confirmation times (mostly if you're sending to another wallet of yours)


4

I am sorry to say but your understanding is wrong. When you send x btc to Bluewallet you don't open a channel. You just give them your Bitcoin. Bluewallet and other custodial wallets run one (or possibly several) lightning nodes and allow you to use it with up to the amount of btc you have sent to them before. So as long as Bluewallet users send each other ...


3

I don't know why your wallet didn't include a fee, and it would probably require a fair amount of debugging to figure out what went wrong. Here are my suggestions for following up on this problem: Make sure your transaction really didn't include a fee. Open your wallet, find the transaction is the list of outgoing transactions, and press-and-hold on it to ...


3

You are trying to use addresses for accounting, but they aren't designed for that. What you actually want is the accounts feature of bitcoind, though I doubt any mobile wallet implements such a thing. If you say explicitly why do you think you need to do that, someone might have an answer. Meanwhile, just use the whole balance, and create a new address for ...


3

I don't have an account, but just popping in to clear this up. F-Droid repos sign all of the published apps with a separate, private key. For obvious reasons, that key is not the same as the one used by upstream. Why don't we use the same key as upstream? Because we compile the apps ourselves, and because we can't expect upstream devs to always sign our ...


3

From this discussion: How to create a checkpoint file Run mvn exec:java -Dexec.mainClass=com.google.bitcoin.tools.BuildCheckpoints in the tools/ directory from the bitcoinj repository. BuildCheckpoints expects you to have a fully synced local Bitcoin-Qt/bitcoind instance running.


3

Yes you will be able to access the same coins with both devices. You can think about it like if you make a copy of a key to your home, and give it to someone; both people will be able to open the same door.


3

Private keys are not for using previous transactions, they are for using previous transaction outputs. A single transaction may have many outputs, and many different people may hold the keys to those outputs. When you send a transaction, you need to reference one or more unspent transaction outputs (UTXOs) to use as inputs of your new transaction. The sum ...


2

As with any backup solution you must test it yourself through the whole cycle first in a zero risk scenario. Mycelium has an excellent backup solution which outputs a seed phrase for a HD wallet You can then store this any way you wish, for example on paper in a physically secure location.


2

That wallet is using bitcoinj as its client which implements a "simplified payment verification" mode. Here's what the client does in this implementation: Connects to a trusted node. Downloads only the block headers. Validates the headers. Do they chain back to genesis block? Is difficulty high enough? Do I trust this node enough? Downloads only the ...


2

If you want to move Bitcoins in the sense of a wallet command it would require some more technical integration. However, the easiest thing is to scan the QR-code of your Android mobile wallet with your webcam. I use QuickMark for the scanning. Then you can simply copy paste the Bitcoin address to your desktop wallet and send Bitcoins to your phone via the ...


2

There is no option in Bitcoin to control which address transactions are sent "from". The Bitcoin client will use one (or more) of your addresses which have previously been sent sufficient funds to cover your new transaction. To make this clearer, consider an example. Somebody (person A) sends you (person Y) some coins. A -> Y1 [2 coins] Now somebody ...


2

I tried to dump private keys but i couldn't. Using wallet-tool, I obtain a text file with public keys, addresses, some other information, and the words: "Seed is encripted". So I use this phyton script to obtain seed, and it apparentely worked. Then I use this standalone page: https://raw.githubusercontent.com/iancoleman/bip39/master/bip39-standalone.html ...


2

Since January 14 on my Galaxy Nexus, Bitcoin Wallet for Android has used 120 bytes of mobile data. It's used approximately 160 MB of data on WiFi in the same period. One month cycle earlier, it used 463 KB of mobile data, and approximately 113 MB on WiFi. I plug it in every night and whenever I'm in my car. I can't answer for the amount of data necessary ...


2

If you didn't see the error message bad decrypt, and if the garbage you saw had the string org.bitcoin.production, then the decryption worked. In recent versions of Bitcoin Wallet, as explained in the README, the wallet backup is no longer encrypted plain text but a custom protobuf format. You can write the decrypted wallet to a file using the -out option ...


2

The main issue seems to be a misunderstanding of this message: "Synchronizing with network, 6 weeks behind." This indicates that your wallet will be processing transaction data of the last six weeks to ascertain whether any of it is relevant to your wallet. As apparently the Langerhans Dogecoin Wallet is a fork from Bitcoin Wallet for Android, this ...


2

The green dot in Bitcoin Wallet for Android represents the number of confirmations an incoming transaction has. Once the first slice appears, the transaction has its first confirmation; i.e. it was included in the blockchain. Additional slices will appear when succeeding blocks are found, AFAIR marking up to six confirmations. There should not be any issue ...


2

It appears that Bitcoin Wallet for Android uses the DefaultCoinSelector from bitcoinj. The DefaultCoinSelector sorts the available UTXO by diminishing age and value: value [satoshi] * age [confirmations] Should two UTXO compare as equal, larger value is preferred. The CoinSelection then picks from the front until the target is reached. Still trying to ...


2

The best way to restore a backup file is always to use the same app used for creating the backup. In other words, install the app again, then use Options > Safety > Restore wallet.


Only top voted, non community-wiki answers of a minimum length are eligible