How to recover my bitcoin

I copied and sent bitcoin to the address I found on my blockchain wallet to find out that it is not mine. So can i get my bitcoin back?

future proof – About bitcoin mining

Will bitcoin be able to self-maintain, especially the mining process, if there is not enough incentive to invite the miners needed to Bitcoin mining to speed up transactions?

Is the team always innovating and finding more ways to improve transaction speed and / or ways to keep bitcoin more rewarding enough to continue exploiting miners?

Create and launch your Altcoin like Bitcoin within 72 hours! – Cryptocurrencies corner

TopGold Forum is rapidly becoming the number one online finance destination for the Internet.

We are a leading authority and forum destination for professional investors, forex traders, affiliates and individuals who want to make a living online or make more money.

If this is your first visit, be sure to check out the FAQ by clicking on the link above. You must register before you can post: click on the registration link above to continue.

.

transactions – Generate P2SH-P2WPKH – Bitcoin Stack Exchange

I want to reproduce the same scenario of bitcoin-cli getnewaddress "" "p2sh-segwit"To reach my goal, I follow this guide

My Wif is:

cPc4kNYhmuEym2VuskuLbhvPnJwXZGKcR6eRQL4Rv3KCJKUsatmQ

then my compressed public key is:

024aa21263ae0cb132cb0db16096bb4c9c475f53d476c8e83ec3a5586898a1a781

Generate my redemption script. Add 00 (OP_0) and create keyhash (ripemd160 (sha256 (public key))

00146672614baf71a8d9e06e11e22562e8f16fad60fa

ScriptPubKey is ripemd160 (sha256 (use script))

3f07def7d741bed449f76068422691c9cf2e2ec1

And create my address (regtest)

C43f07def7d741bed449f76068422691c9cf2e2ec1 | xxd -p -r | base58 -c

result:2MxzVzFg34B2i3Guub7y3kLAKgdoaYQfMCD

Now I want to spend bitcoin from this address. He has 50 bitcoins
Create my transaction data

TX_DATA=$(bitcoin-cli createrawtransaction '({"txid":"'$TXID'","vout":'$VOUT'})' '({"'$ADDR_DEST'":'$AMOUNT'})')

then create signrawtransactionwithkey

REDEEMSCRIPT=00146672614baf71a8d9e06e11e22562e8f16fad60fa
SCRIPTPUBKEY=a9143f07def7d741bed449f76068422691c9cf2e2ec187
WITNESS_SCRIPT=6672614baf71a8d9e06e11e22562e8f16fad60fa (it's sha256 and ripemd160 of public key)

bitcoin-cli signrawtransactionwithkey $TX_DATA '("'$PK'")' '({"txid":"'$TXID'","vout":'$VOUT',"redeemScript":"'$REDEEMSCRIPT'","scriptPubKey":"'$SCRIPTPUBKEY'","witnessScript":"0014'$WITNESS_SCRIPT'","amount":"'$TOTAL_UTXO_AMOUNT'"})' 

I get this error:

{
  "hex": "0200000001ea237a61a6250e40a1461f1599e2a7b2c80e30ce6f3951ee0679d4d237ee431800000000171600146672614baf71a8d9e06e11e22562e8f16fad60faffffffff016036f8290100000017a914309a334914af79f24a5f10c9845d01e518c801488700000000",
  "complete": false,
  "errors": (
    {
      "txid": "1843ee37d2d47906ee51396fce300ec8b2a7e299151f46a1400e25a6617a23ea",
      "vout": 0,
      "witness": (
      ),
      "scriptSig": "1600146672614baf71a8d9e06e11e22562e8f16fad60fa",
      "sequence": 4294967295,
      "error": "Witness program hash mismatch"
    }
  )
}

I don't understand what the cookie program is and I don't know why I'm getting this error.
If I use bitcoin-cli getnewaddress "" "p2sh-segwit" and create a transaction, I can see that:
asm contain the sha256 and ripemd160 of public key and the field txinwitness with signature and public key.

Thank you

How to maximize your profit in Bitcoin trading? – Advertising, Offers

TopGold Forum is rapidly becoming the number one online finance destination for the Internet.

We are a leading authority and forum destination for professional investors, forex traders, affiliates and individuals who want to make a living online or make more money.

If this is your first visit, be sure to check out the FAQ by clicking on the link above. You must register before you can post: click on the registration link above to continue.

.

How Do You Explain Bitcoin To Elders | NewProxyLists

Bitcoin is actually a program, a scrypt, which solves complex mathematical calculations (mining) and gives coins as a reward ,,,, for solving the calculations.
Mathematical calculations are very complex and performed by certain computer machines called ASIC. Solving the calculations takes time and energy, so the reward, the coins, will have real money value so that people (miners) can pay the electricity bills of these machines.
Collectors, traders, etc. buy bitcoin with real money. Demand and political regulations are the main factors influencing the value of this digital property.
The difficulty of these calculations is constantly increasing and approximately every 4 years, if I am not mistaken, the reward in bitcoins will be reduced by half, therefore less coins will be received by miners.

It is like playing a game and bitcoins are the coins won in the game by playing this game as a "miner". But what's good is that the ASIC computer-machine plays the game for you.

It's like making food or clothes, you have the machine / factory to produce them, but in the end you have to sell the clothes to get real money for your needs.
Or like gold diggers, they get raw gold by digging, but they have to sell gold to get real money for their needs, such as paying bills , buying a car, buying a house, etc.

How can you earn bitcoin? It is very simple. Just like stamps.
Collect or / and sell.
Stamps can be stored over time in a collection and wait for their value to increase or simply sell them (buy cheap sell expensive)

Sportsbook and Online Casino with Bitcoin Welcome, Weekly and Daily Deposit Bonus – Cryptocurrencies Corner

TopGold Forum is rapidly becoming the number one online finance destination for the Internet.

We are a leading authority and forum destination for professional investors, forex traders, affiliates and individuals who want to make a living online or make more money.

If this is your first visit, be sure to check out the FAQ by clicking on the link above. You must register before you can post: click on the registration link above to continue.

Bitcoin core – block decoding failure (-22) solo data mining error when submitting block

The first problem is that the output of your script has an odd number of characters which means that it is not a valid hex. I guess you forgot a 0 when you copy and paste it. So, adding a 0 to the beginning of the data, there are still several things wrong.

If this is supposed to be a Bitcoin block, you are missing one of these fields in the block header: hour, bits or nonce (I can't say which one because the three are 4 bytes).

Then you incorrectly serialized the compact unsigned integer for the number of transactions. First of all, it looks like you are missing a byte for this; you have 0xfd which indicates that the number must be two bytes. However, the number you put in is only 1 byte. Second, this integer is in the wrong order. Serialization itself should have 0xfd first, then the number that follows in small endian.

Then in your coinbase transaction, it looks like you missed the segwit marker byte.

These are the things I don't see well with the start of your block; something else may be wrong further down the block.


Of course, I can be completely wrong if the format of your block is not the same as that of Bitcoin.

bitcoin core – Recover Blockchaininfo wallet from Electrum wallet

I have my wallet in blockchaininfo and I have saved my 12 words (SEED).

I would like to open this wallet in Electrum, I notice that Electrum allows you to retrieve a wallet using a SEED from another wallet (seed BIP39).

When I type my seed and choose the BIP39 option, I can click on the next step where I have to choose the type of addresses on my wallet: legacy (p2pkh); p2psh-segwit (p2wpkh-p2sh); native segwit (p2wpkh). I'm not sure what these options mean, so I just choose the default option (native segwit). After this step, I just need to configure a password.

But when I do all these steps, I don't see any Bitcoin in my Electrum wallet, am I doing something wrong in the steps or is it impossible to recover the blockchaininfo wallet from the Electrum wallet?

How can you generate a Bitcoin public key from an existing private key using openssl?

I know you can generate a new pair of keys with an order like.

openssl ecparam -genkey -name secp256k1

And the resulting output will contain a New private key with the public key encoded.

Is it possible for openssl to generate the public key directly from an existing private key only?

Just to be clear, I mean the Bitcoin public key and not the public address