2022 Developer Survey is open! Take survey.

New answers tagged

4 votes
Accepted

Segwit includes the input amount in the SignatureHash. What possible attack can this prevent?

Consider a transaction that has 2 inputs and 1 output. Let's say that the inputs are both 1 BTC and the output is 1.5 BTC. This would mean that the transaction pays a 0.5 BTC fee, which is ridiculous. ...
user avatar
  • 60.6k
1 vote
Accepted

What is maxsigcachesize?

Bitcoin Core caches the outcome of script and signature validations, so that when they are reoccur, they don't need to be repeated. A common case for this reoccurrence is the fact that typical ...
user avatar
0 votes

How to calculate the public key, compute point P and create signature using ECDSA?

The double and add method uses each number's binary representation to perform the computation. Taking a big-endian representation of a number, from left to right, if the n-th bit is 1, then you double ...
user avatar
0 votes

Cryptographic digital signatures

the signature is nothing more than the combination of the public key and the private key Here's an example of a digital signature process Source The signature process in Bitcoin is different but it ...
user avatar

Top 50 recent answers are included