Update btcec import paths to new location.
This commit is contained in:
parent
41317e8712
commit
45d21a254c
8 changed files with 14 additions and 14 deletions
14
README.md
14
README.md
|
@ -22,32 +22,32 @@ use secp256k1 elliptic curve cryptography.
|
|||
|
||||
## Documentation
|
||||
|
||||
[![GoDoc](https://godoc.org/github.com/conformal/btcec?status.png)]
|
||||
(http://godoc.org/github.com/conformal/btcec)
|
||||
[![GoDoc](https://godoc.org/github.com/btcsuite/btcec?status.png)]
|
||||
(http://godoc.org/github.com/btcsuite/btcec)
|
||||
|
||||
Full `go doc` style documentation for the project can be viewed online without
|
||||
installing this package by using the GoDoc site
|
||||
[here](http://godoc.org/github.com/conformal/btcec).
|
||||
[here](http://godoc.org/github.com/btcsuite/btcec).
|
||||
|
||||
You can also view the documentation locally once the package is installed with
|
||||
the `godoc` tool by running `godoc -http=":6060"` and pointing your browser to
|
||||
http://localhost:6060/pkg/github.com/conformal/btcec
|
||||
http://localhost:6060/pkg/github.com/btcsuite/btcec
|
||||
|
||||
## Installation
|
||||
|
||||
```bash
|
||||
$ go get github.com/conformal/btcec
|
||||
$ go get github.com/btcsuite/btcec
|
||||
```
|
||||
|
||||
## Examples
|
||||
|
||||
* [Sign Message]
|
||||
(http://godoc.org/github.com/conformal/btcec#example-package--SignMessage)
|
||||
(http://godoc.org/github.com/btcsuite/btcec#example-package--SignMessage)
|
||||
Demonstrates signing a message with a secp256k1 private key that is first
|
||||
parsed form raw bytes and serializing the generated signature.
|
||||
|
||||
* [Verify Signature]
|
||||
(http://godoc.org/github.com/conformal/btcec#example-package--VerifySignature)
|
||||
(http://godoc.org/github.com/btcsuite/btcec#example-package--VerifySignature)
|
||||
Demonstrates verifying a secp256k1 signature against a public key that is
|
||||
first parsed from raw bytes. The signature is also parsed from raw bytes.
|
||||
|
||||
|
|
|
@ -7,7 +7,7 @@ package btcec_test
|
|||
import (
|
||||
"testing"
|
||||
|
||||
"github.com/conformal/btcec"
|
||||
"github.com/btcsuite/btcec"
|
||||
)
|
||||
|
||||
// BenchmarkAddJacobian benchmarks the secp256k1 curve addJacobian function with
|
||||
|
|
|
@ -14,7 +14,7 @@ import (
|
|||
"math/big"
|
||||
"testing"
|
||||
|
||||
"github.com/conformal/btcec"
|
||||
"github.com/btcsuite/btcec"
|
||||
)
|
||||
|
||||
// TestAddJacobian tests addition of points projected in Jacobian coordinates.
|
||||
|
|
|
@ -8,8 +8,8 @@ import (
|
|||
"encoding/hex"
|
||||
"fmt"
|
||||
|
||||
"github.com/btcsuite/btcec"
|
||||
"github.com/btcsuite/btcwire"
|
||||
"github.com/conformal/btcec"
|
||||
)
|
||||
|
||||
// This example demonstrates signing a message with a secp256k1 private key that
|
||||
|
|
|
@ -9,7 +9,7 @@ import (
|
|||
"reflect"
|
||||
"testing"
|
||||
|
||||
"github.com/conformal/btcec"
|
||||
"github.com/btcsuite/btcec"
|
||||
)
|
||||
|
||||
// TestSetInt ensures that setting a field value to various native integers
|
||||
|
|
|
@ -8,7 +8,7 @@ import (
|
|||
"bytes"
|
||||
"testing"
|
||||
|
||||
"github.com/conformal/btcec"
|
||||
"github.com/btcsuite/btcec"
|
||||
)
|
||||
|
||||
func TestPrivKeys(t *testing.T) {
|
||||
|
|
|
@ -8,7 +8,7 @@ import (
|
|||
"bytes"
|
||||
"testing"
|
||||
|
||||
"github.com/conformal/btcec"
|
||||
"github.com/btcsuite/btcec"
|
||||
"github.com/davecgh/go-spew/spew"
|
||||
)
|
||||
|
||||
|
|
|
@ -11,7 +11,7 @@ import (
|
|||
"math/big"
|
||||
"testing"
|
||||
|
||||
"github.com/conformal/btcec"
|
||||
"github.com/btcsuite/btcec"
|
||||
)
|
||||
|
||||
type signatureTest struct {
|
||||
|
|
Loading…
Reference in a new issue