mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-03-02 01:23:45 +00:00
* change gas cost for contract creating txs * invalidate signature with s value greater than secp256k1 N / 2 * OOG contract creation if not enough gas to store code * new difficulty adjustment algorithm * new DELEGATECALL op code Conflicts: core/vm/environment.go crypto/crypto.go crypto/secp256k1/secp256.go eth/api.go |
||
|---|---|---|
| .. | ||
| libsecp256k1 | ||
| .gitignore | ||
| notes.go | ||
| panic_cb.go | ||
| README.md | ||
| secp256.go | ||
| secp256_test.go | ||
secp256k1-go
golang secp256k1 library
Implements cryptographic operations for the secp256k1 ECDSA curve used by Bitcoin.
Installing
GMP library headers are required to build. On Debian-based systems, the package is called libgmp-dev.
sudo apt-get install libgmp-dev
Now compiles with cgo!
Test
To run tests do
go tests