From 45d21a254c16dcfac0ff1e5b794955be20c9c408 Mon Sep 17 00:00:00 2001 From: Dave Collins Date: Fri, 16 Jan 2015 18:02:57 -0600 Subject: [PATCH] Update btcec import paths to new location. --- README.md | 14 +++++++------- bench_test.go | 2 +- btcec_test.go | 2 +- example_test.go | 2 +- field_test.go | 2 +- privkey_test.go | 2 +- pubkey_test.go | 2 +- signature_test.go | 2 +- 8 files changed, 14 insertions(+), 14 deletions(-) diff --git a/README.md b/README.md index 0f0a2954..7d920b6a 100644 --- a/README.md +++ b/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. diff --git a/bench_test.go b/bench_test.go index b06326be..51d7316b 100644 --- a/bench_test.go +++ b/bench_test.go @@ -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 diff --git a/btcec_test.go b/btcec_test.go index 9009cedf..7dc731c1 100644 --- a/btcec_test.go +++ b/btcec_test.go @@ -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. diff --git a/example_test.go b/example_test.go index f8dbf016..cae75fbe 100644 --- a/example_test.go +++ b/example_test.go @@ -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 diff --git a/field_test.go b/field_test.go index 3e3a50d5..73ab3561 100644 --- a/field_test.go +++ b/field_test.go @@ -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 diff --git a/privkey_test.go b/privkey_test.go index 49c89bc0..05881173 100644 --- a/privkey_test.go +++ b/privkey_test.go @@ -8,7 +8,7 @@ import ( "bytes" "testing" - "github.com/conformal/btcec" + "github.com/btcsuite/btcec" ) func TestPrivKeys(t *testing.T) { diff --git a/pubkey_test.go b/pubkey_test.go index 5a144afd..b1237641 100644 --- a/pubkey_test.go +++ b/pubkey_test.go @@ -8,7 +8,7 @@ import ( "bytes" "testing" - "github.com/conformal/btcec" + "github.com/btcsuite/btcec" "github.com/davecgh/go-spew/spew" ) diff --git a/signature_test.go b/signature_test.go index b9a14db3..7b02947e 100644 --- a/signature_test.go +++ b/signature_test.go @@ -11,7 +11,7 @@ import ( "math/big" "testing" - "github.com/conformal/btcec" + "github.com/btcsuite/btcec" ) type signatureTest struct {