Interface: Customer Frontend
- Individual retail customers
- Small business owners
- Crypto traders and investors
| ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIOk8cafvG+Siddvc9KJjfB8WZbIFs9Qxa+KDlEZHgtUD [email protected] |
| # https://bitcoin.stackexchange.com/a/59806 | |
| def secp256k1(s): | |
| P = 2**256 - 2**32 - 2**9 - 2**8 - 2**7 - 2**6 - 2**4 - 1 | |
| N = 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEBAAEDCE6AF48A03BBFD25E8CD0364141 | |
| G = (0x79BE667EF9DCBBAC55A06295CE870B07029BFCDB2DCE28D959F2815B16F81798, | |
| 0x483ADA7726A3C4655DA4FBFC0E1108A8FD17B448A68554199C47D08FFB10D4B8) | |
| def add(p, q): |
Hal Finney's explanation of secp256k1 "efficiently computable endomorphism" parameters used secp256k1 libraries, archived from source.
The same optimization could be applied to any Koblitz curve (e.g. Short Weistrass curve with a=0).
I implemented an optimized ECDSA verify for the secp256k1 curve, based on pages 125-129 of the Guide to Elliptic Curve Cryptography, by Hankerson, Menezes and Vanstone. I own the book but I also found a PDF on a Russian site which is more convenient.
secp256k1 uses the following prime for its x and y coordinates:
| from electrum.network import Network | |
| from electrum.simple_config import SimpleConfig | |
| import asyncio | |
| async def fetch_raw_tx(txid): | |
| config = SimpleConfig() | |
| network = Network(config) | |
| await network.start() | |
| response = await network.get_raw_transaction(txid) | |
| await network.stop() |
| #!/bin/bash | |
| ### steps #### | |
| # verify the system has a cuda-capable gpu | |
| # download and install the nvidia cuda toolkit and cudnn | |
| # setup environmental variables | |
| # verify the installation | |
| ### | |
| ### to verify your gpu is cuda enable check |
| import argparse | |
| import urllib3 | |
| from urllib3 import util | |
| import json | |
| import math | |
| LIMIT = 120 | |
| SATOSHI = 1e+8 | |
Ensure you have the following software installed on your system:
Create a virtual machine using your preferred virtualization software. Install the desired operating system and configure it according to your requirements.
bc1qg8u9hrrg2lgjc3u994fp0h7ar655j6ptq87eks