How do I get my public address in Bitcoin Core?

In a world of pain at the moment. I downloaded Bitcoin Core, and before I realised I’d need the complete downloaded Blockchain, my friend transferred some coins to my address.

I did some research and am trying to import my Bitcoin core private keys to Blockchain, therefore having access to my coins. My problem is, I can’t get my public address. I have tried using several commands in the console window, and are able to unlock and lock. I’ve used ‘listaddressgroupings’ – which works, but the return is “[” and then “]” directly below?

I’ve also used getaccountaddress and getaddressesbyaccount “Your Address” with no luck.

Many thanks

bitcoind sendfrom with minconf=0

Is it possible using bitcoind JSON-RPC API to receive funds from someone and send it immediately to another third-party address? I do not want to wait for 1 confirmation.

getbalance with minconf=0 shows I have 0.01 BTC, but when I do sentfrom with minconf=0, I get Insufficient funds error.

What contributions have Blockstream developers made to the Bitcoin project?

I’m spending a lot of time debating people about Bitcoin online these days. One issue that I encounter regularly is that my opposite colloquists are unaware of the contributions the Blockstream developers have added to the Bitcoin project since the company was founded.

My aim is twofold: I’d like to be able to simply link this question next time I read “Blockstream produces only vapour, and contributes nothing”, and I think that the answer to this question deserves more visibility.

Please list what measurable contributions Blockstream developers have made to the Bitcoin project?

Segregated witness soft fork: how is the funding Tx made “ANYONECANSPEND”

Reading the BIP:

I see that the scriptPubKey in a transaction that funds a segwit redemption is the same as a normal P2PKH but merely prepended with OP_0.

Is this opcode what tells older clients that the Tx is “anyone can spend” meaning that there will be no signature data in the redemption Tx?

Of course upgraded nodes will know to look for the actual scriptSig in the witness data to verify the Tx. But how does this OP_0 fool old nodes into ignoring the scriptSig on the redemption Tx?

Proving collisions on Bitcoin addresses without discovery of the private key?

If there is a private key that leads to a collision on an address, it is possible to show that the private key is not the one used previously, even though they have a collision on the address?

Specifically, if there was a collision on one of the Satoshi-owned early blocks, could it be challenged, to show that the person who got it didn’t have the initial private key? Specifically, if they signed the same script that was used originally, wouldn’t it generate a different signature, while the original owner would be able to reproduce the original signature?


What do pruning nodes contribute to the network?

Pruning nodes are described in the sourcecode thusly:

-prune=<n>: Reduce storage requirements by pruning (deleting) old blocks. This mode is incompatible with -txindex and -rescan.

I’ve watched that my node has been consistently uploading less than it has been downloading since I set it to run in pruning mode.

  • What services do pruning nodes still perform?
  • Do they upload blocks and transactions?
  • Can they service thin clients?
  • What can a pruning node not do, that a non-pruning node does?

bitcoin testnet daemon stuck

I am running bitcoin testnet daemon for development, but lately I have trouble with starting the daemon. Blockchain is downloaded and it seems that everything runs fine till

init message: Verifying blocks…

Verifying last 288 blocks at level 3

then it seems stuck or takes hours before doing anything. Interesting is that restarting the daemon helped me couple times and daemon started in several minutes as usual. In this time i cant obviously use RPC commands.
I dont have trouble starting mainnet daemon. Anybody has any idea what might cause and how to fix this overly long verification?

bitcoin-cli very slow to respond to RPC calls (Raspberry Pi)

Running Bitcoin 0.11 on Raspberry Pi 2 (Quad core 900MHz 1GB RAM, 128GB Flash Drive for blockchain, 8GB SD Card for OS and software).

Blockchain is fully synced, 13 connections.
In htop, I see I’m around 700/862MB RAM, 1/99MB Swap. 1 processor is up around 90% but the other 3 are down in the <5% range.

I SSH into the pi (running bitcoind, no GUI) and some commands take forever to get a response. Sometimes getinfo or getpeerinfo will take 30-60 seconds to print out. gettxoutsetinfo takes way longer: almost ten minutes!! I don’t see any resources being maxed out in htop during this time.

I know this is a low-power machine, maybe the UTXO set hash in the gettxoutsetingo command is what’s specifically taking so long in that case.

Can I adjust any settings either in the RPi OS or bitcoin.conf to get snappier performance? Ideally I would like to run a few python scripts that use RPC, triggered by bitcoin’s blocknotify=...

I Restored My Phone Wallet and Now All My Coins Vanished

After creating a backup, I added a pin to my “Langerhans” Dogecoin wallet for android. Now, the pin doesn’t get accepted (or I forgot it). Finally, I used the “Restore Backup” function and got:

“You have successfully restored your wallet. Now determining the value of your wallet will take some time.”
“Synchronizing with network, 6 weeks behind.”

Did I lose my money? Do I have to wait six weeks to find out? I also have the backup on my computer, but it is in an “unrecognized format”. How would I use it?

This question regards the “Langerhans” Dogecoin wallet for android phones, which is effectively the same style and configuration of wallet as the “Langerhans” Bitcoin wallet for Bitcoins. Both of these wallets are, of course, available for download through Google Play.

I had amassed a total of over 10-million Dogecoins into the android phone wallet (or about $1,500 USD) over the course of approximately one week. I did this by first purchasing Bitcoin from a Bitcoin ATM and then exchanging the Bitcoin for Dogecoin through the SHAPESHIFT.IO exchange system. These exchanges were conducted in the form of 15 separate transactions of equivalent $100 each per transaction.

I then backed up the wallet a final time through the wallet itself, which created an external backup file that is accessible not only through my Gmail account, but is also apparently accessible through the Bitcoin wallet on the phone itself. Then (unfortunately) following that final transaction, I created a so-called “Spending PIN,” which would need to be entered any time I wanted to spend the coins.

Well, it seems I either forgot my Spending PIN, or something else went wrong with the system; because when I attempted to transfer the coins out of the wallet, the application indicated that I had used an “INVALID PIN.”

No, I did not write down the PIN, which was numerical and eight (8) digits in length, but it was also a common combination of two separate 4-digit pins that I use all the time anyway; so I didn’t think I would forget it. I did attempt several different combinations of any potential PIN numbers that I would have used, but nothing worked. (I also read another testimonial of this same exact thing happening with another user of the Langerhans android wallet, whereby he was certain that he didn’t forget his PIN.)

In not being able to access the funds in the wallet, I then used the “RESTORE WALLET” function of the wallet itself, which required me to enter another password; but in that case, I did have the password written down. Apparently the process of restoring the wallet was successful at least in the sense that the system accepted my password entered into it.

HOWEVER, in the first place, the system offered a warning that any coins in the wallet would be lost following the restoration process UNLESS I had otherwise created a backup of those. The statement in this regard was very general, and in that sense it seemed vague. While I didn’t fully understand why it would be telling me that I was going to lose coins if they were not backed up, since I was using the most recent backup file that I had created in the first place, I still assumed that because I had the backup file stored on my Gmail account it would allow me to recover the coins from the external file itself.

THEN, in the second place, it was after conducting the “RESTORE WALLET” function where a message appeared on the screen stating to the effect that — “You have successfully restored your wallet. Now determining the value of your wallet will take some time.”

Okay, so it didn’t tell me HOW MUCH TIME that would take, but when I went into my phone wallet, it is showing a balance of ZERO coins. The other notation showing on the wallet is where it states the following: “Synchronizing with network, 6 weeks behind.”

SIX WEEKS BEHIND? Good grief! What the hell does that mean? Does it mean that I can expect to be waiting for at least SIX (6) weeks before my coins miraculously appear back inside my wallet? Or is it more likely to mean that I have lost my ass on this whole thing?

Well, the only other thing I still have at this point is the actual externally saved so-called “BACKUP” file that was sent to my Gmail address as an apparently “UNKNOWN” file type. I did open the file through the Windows NOTEPAD program, it shows up as an considerably long string of random characters, which are inclusive of both numbers, letters, as well as the plus (+) sign symbol and the forward slash (/) symbol. There are no other special characters.

At least generally, I am strongly presuming (or hoping anyway) that this long string of characters amounts to a valid copy of my suggested backup file that would allow me to recover my coins. If it would allow me to recover my coins, then I don’t know how to use it. My only thought for using the file would be the need to turn it into a QR CODE, but the amount of characters in the ledger is too long to be supported by any known online QR CODE generators.

Does anyone know what I can use this backup file of code for in attempting to recover my coins? Naturally, I don’t want to wait for SIX WEEKS or more to have the coins back; but I’m also not convinced that I will get them back anyway in that case.

Thanks for any help. (sigh)