New answers tagged

0

If you just want to sign the raw transaction as it's shown in the tutorial, please use signrawtransactionwithwallet instead. It would be like below. $ signedtx2=$(bitcoin-cli -named signrawtransactionwithwallet hexstring=$rawtxhex2 | jq -r '.hex') $ bitcoin-cli -named sendrawtransaction hexstring=$signedtx2 ...


1

I get their purpose and that they need a strong password, etc. But what I don't understand in particular is how they relate to transactions and wallets. The purpose of the private key is to decrypt. An example in asymmetric cryptography a.k.a. public key cryptography, you have a shared(public) key, and the private key that can decrypt some scrambled data, ...


1

But what I don't understand in particular is how they relate to transactions and wallets. This requires a long answer. Here's a nice intro which should answer this. I am actually not sure what the point is for adding the key to the wallet. Does it somehow relate to transactions? Why do I need to add a private key to my wallet? If you read the above ...


0

By comparing all variables with this tool, I've found that the mistake is in this line: print b58(extend.decode('hex') + sha2[:8]) Remember that sha2 is a byte array and not a hex string. You can replace the 8 with a 4 to make your code work. You can also simplify the code even further to: def b58(hex): return base58.b58encode_check(hex) def sha256(...


1

Yes, QA + QB = (dA + dB) × G, but this isn't used in ECDH as QA + QB can be calculated by third parties. You can read about this property here.


3

Quantum computing isn't simply faster. It is entirely different. Some computations are massively faster on a quantum computer, and other are not faster at all. What has been demonstrated is meaningless: the "program" that was executed was in fact a randomly generated one, designed to be specifically hard on traditional computers, but easy on that specific ...


2

There are a few reasons why a user can lose funds in the lightning network. But to understand why that happens let us look at some of the basic constructs of Lightning Network. Lightning Basics When two parties open a channel in Lightning Network what they essentially do is send some bitcoins to a 2-of-2 multi-sig that they both control (in current specs ...


3

The main difference is that Bitcoin in lightning network channels are in 2of2 multisig wallets. You own a key and your channel peer owns the second key. Your funds are "safe" because you have pre-signed transactions that spend from that multisig wallet (similar to an offline signing of a transaction). As soon as you keep those pre-signed transactions, your ...


2

Private Key is a 32 bytes data Apply ECDSA or Elliptic Curve Digital Signature Algorithm to the private key. The above step dervies the public key,. (Legacy)Now append 0x04 to the start of the public key. (Current Practise) Take X from derived public key. Now add byte 0x03 if the last byte of Y is odd or 0x02 if the last byte is even. Now, apply SHA-256 to ...


0

Try this Android App. This saves a private key or any text message into an image in an encrypted state. https://lnkd.in/ew7Vjzi


4

The method described in the post has nothing to to with OP_RETURN, but is concerned with the SIGOP limits in a block. Each block has a limit on the number of SIGOPs that can be present in transactions in that block. Signature validation is a CPU intensive operation, and the limit exists to ensure that no block gets too big to validate on regular hardware. ...


1

Segwit does not use a different signature algorithm nor does it change any of the properties of a ECDSA signature. Thus if you find transactions that involve the same public keys and the same R value, then yes, the private key for that public key is revealed. However, what you are looking at is not the R value. In fact, you are not even looking at the ...


4

This is most likely a scam! there have been a similar question recently Why do I have to deposit BTC as missing turnover There is no need to send bitcoin or money to receive a private key or unlock a bitcoin wallet, be careful.


3

who store the private key adresses of these seed phrases, The private-keys are generated from the seed-phrase by a mathematical function. There is no need to store a list of seed-phrases and corresponding private-keys. I suppose it is the wallet software provider No, you should be the only person to know or store your seed-phrase. Ideally it should not ...


3

The private keys are not stored, they are deterministically generated from the seed data. The seed encodes up to 256 bits of random entropy in a human readable form with a checksum attached to it. These details are outlined in BIP39 This entropy is then passed through the PBKDF2 hash function in order to produce a master private key and a chaining key, ...


Top 50 recent answers are included