mirror of
https://github.com/bitcoinbook/bitcoinbook
synced 2025-06-20 06:58:48 +00:00
Edited ch06.asciidoc with Atlas code editor
This commit is contained in:
parent
70854df04b
commit
ab8057e41a
@ -543,7 +543,7 @@ where:
|
|||||||
|
|
||||||
More details on the mathematics of ECDSA can be found in <<ecdsa_math>>.
|
More details on the mathematics of ECDSA can be found in <<ecdsa_math>>.
|
||||||
|
|
||||||
The function F~_sig_~ produces a signature +Sig+ that is composed of two values, commonly referred to as +R+ and +S+:
|
The function _F_~_sig_~ produces a signature +Sig+ that is composed of two values, commonly referred to as +R+ and +S+:
|
||||||
|
|
||||||
----
|
----
|
||||||
Sig = (R, S)
|
Sig = (R, S)
|
||||||
@ -594,6 +594,7 @@ There are three +SIGHASH+ flags: +ALL+, +NONE+, and +SINGLE+, as shown in <<sigh
|
|||||||
|
|
||||||
[[sighash_types_and_their]]
|
[[sighash_types_and_their]]
|
||||||
.SIGHASH types and their meanings
|
.SIGHASH types and their meanings
|
||||||
|
[options="header"]
|
||||||
|=======================
|
|=======================
|
||||||
|+SIGHASH+ flag| Value | Description
|
|+SIGHASH+ flag| Value | Description
|
||||||
| +ALL+ | 0x01 | Signature applies to all inputs and outputs
|
| +ALL+ | 0x01 | Signature applies to all inputs and outputs
|
||||||
@ -605,6 +606,7 @@ In addition, there is a modifier flag +SIGHASH_ANYONECANPAY+, which can be combi
|
|||||||
|
|
||||||
[[sighash_types_with_modifiers]]
|
[[sighash_types_with_modifiers]]
|
||||||
.SIGHASH types with modifiers and their meanings
|
.SIGHASH types with modifiers and their meanings
|
||||||
|
[options="header"]
|
||||||
|=======================
|
|=======================
|
||||||
|SIGHASH flag| Value | Description
|
|SIGHASH flag| Value | Description
|
||||||
| ALL\|ANYONECANPAY | 0x81 | Signature applies to one inputs and all outputs
|
| ALL\|ANYONECANPAY | 0x81 | Signature applies to one inputs and all outputs
|
||||||
|
Loading…
Reference in New Issue
Block a user