Questions tagged [signature-operations]
11 questions
9
votes
1 answer
How are sigops calculated?
How are sigops calculated on a transaction? For example in the (randomly selected) following transaction:
https://btc.com/bc9384919ad5d08b2c66e31f29e7c63572c398a87631c03a4ce9e94ff1cbe62f
It says there were 5 sigops. What is the rule for calculating…
Edward Kerstein
- 347
- 3
- 8
8
votes
3 answers
How many sigops are in the invalid block 783426?
On April 1st 2023 F2Pool mined block 00000000000000000002ec935e245f8ae70fc68cc828f05bf4cfa002668599e4 (full block) which my node failed with bad-blk-sigops.
Bitcoin Core stops counting as soon as it reaches the 80,000 limit.
I had a hard time…
Sjors Provoost
- 858
- 6
- 16
4
votes
1 answer
What is sigop (signature operation)?
I've seen the term sigop in many places frequently. I've tried to figure out what does it mean by searching, and found that it's abbreviation of signature operation. But it's still not clear to me the meaning. I guess every opcode of scriptSig is…
Amir reza Riahi
- 1,133
- 7
- 22
3
votes
1 answer
Miner transaction selection - how are sigops considered?
There is a limit on how much a block can sigop (set to 80000?). There is also a limit on how much a single transaction can sigop (set to 16000?). It thus seems possible (and if it's not possible, the remaining of this question is void, but then how…
Wapac
- 1,044
- 7
- 16
3
votes
1 answer
What is the O(n^2) signature hashing problem and how does SegWit solves it?
One of the many benefits of SegWit is that it solves the O(n^2) signature hashing problem. What exactly is the O(n^2) hashing problem and how segregating signatures to separate witness field solve it?
Ugam Kamat
- 7,263
- 2
- 13
- 38
3
votes
1 answer
Do sigops count towards the block weight in SegWit?
I was just rereading the SegWit benefits page and noticed that the section Moving towards a single combined block limit contains an example in which sigops count towards the blockweight.
Did this become part of the final version of SegWit? If not,…
Murch
- 71,155
- 33
- 180
- 600
2
votes
1 answer
What does "16: mandatory-script-verify-flag-failed (Non-canonical DER signature)" error mean?
What can this error mean? I've read through the code for it, and several of my transactions have not met the criteria for the error, yet are still rejected. I've tried decoding via several means (none are super detailed though) to no avail in…
Mine
- 1,416
- 2
- 16
- 27
2
votes
0 answers
What is the historical number of sigops?
What is the most convenient way to calculate the total number of signature operations in Bitcoin history?
Burak
- 176
- 6
0
votes
1 answer
Signature digital algorithm in bitcoin, to what will it change in the future?
in follow-up to the question: 85202
There, @Ugam Kamat wrote ""ECDSA is the first thing that can get vulnerable with quantum computer. signature will need to move to post quantum world much before quantum PoW.""
My follow-up to that:
to which…
johnsmiththelird
- 837
- 1
- 6
- 12
0
votes
1 answer
Creating a raw bitcoin transaction and signing it with the private key using php and javascript
I have a full bitcoin core node setup and would like to use it to just "broadcast" my signed transactions. But what is required to make a raw transaction using PHP and Javascript? The variables I have are just the private key, amount i want to send,…
Patoshi パトシ
- 10,956
- 18
- 80
- 151
0
votes
0 answers
Transaction signing and security: Different signing approaches
I am currently studying for an exam and reviewing a past one from the CS 251: Bitcoin and Crypto Currencies course in Stanford with the following question on transaction signing. I have written my answers afterwards and would appreciate it if you…