We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1e663c2 commit ec54ef8Copy full SHA for ec54ef8
bip-0374/secp256k1.py
@@ -164,10 +164,10 @@ class GE:
164
* infinity: True
165
"""
166
167
- # Order of the group (number of points on the curve, plus 1 for infinity)
+ # Order of the group (number of points on the curve, including infinity)
168
ORDER = 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEBAAEDCE6AF48A03BBFD25E8CD0364141
169
170
- # Number of valid distinct x coordinates on the curve.
+ # Half the order, used for ECDSA low-S normalization
171
ORDER_HALF = ORDER // 2
172
173
def __init__(self, x=None, y=None):
0 commit comments