From 251d0fc6c47de9a879a77061d311e7dd77804034 Mon Sep 17 00:00:00 2001 From: Dave Collins Date: Fri, 16 Jan 2015 19:33:51 -0600 Subject: [PATCH] Update btcscript import paths to new location. --- README.md | 18 +++++++++--------- address_test.go | 2 +- example_test.go | 2 +- log_test.go | 2 +- opcode_test.go | 2 +- script_test.go | 2 +- scriptbuilder_test.go | 2 +- stack_test.go | 2 +- 8 files changed, 16 insertions(+), 16 deletions(-) diff --git a/README.md b/README.md index db56a016..35340507 100644 --- a/README.md +++ b/README.md @@ -1,8 +1,8 @@ btcscript ========= -[![Build Status](https://travis-ci.org/conformal/btcscript.png?branch=master)] -(https://travis-ci.org/conformal/btcscript) +[![Build Status](https://travis-ci.org/btcsuite/btcscript.png?branch=master)] +(https://travis-ci.org/btcsuite/btcscript) Package btcscript implements the bitcoin transaction scripts. There is a comprehensive test suite. `test_coverage.txt` contains the current @@ -25,33 +25,33 @@ can be found at https://en.bitcoin.it/wiki/Script ## Documentation -[![GoDoc](https://godoc.org/github.com/conformal/btcscript?status.png)] -(http://godoc.org/github.com/conformal/btcscript) +[![GoDoc](https://godoc.org/github.com/btcsuite/btcscript?status.png)] +(http://godoc.org/github.com/btcsuite/btcscript) 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/btcscript). +[here](http://godoc.org/github.com/btcsuite/btcscript). 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/btcscript +http://localhost:6060/pkg/github.com/btcsuite/btcscript ## Installation ```bash -$ go get github.com/conformal/btcscript +$ go get github.com/btcsuite/btcscript ``` ## Examples * [Standard Pay-to-pubkey-hash Script] - (http://godoc.org/github.com/conformal/btcscript#example-PayToAddrScript) + (http://godoc.org/github.com/btcsuite/btcscript#example-PayToAddrScript) Demonstrates creating a script which pays to a bitcoin address. It also prints the created script hex and uses the DisasmString function to display the disassembled script. * [Extracting Details from Standard Scripts] - (http://godoc.org/github.com/conformal/btcscript#example-ExtractPkScriptAddrs) + (http://godoc.org/github.com/btcsuite/btcscript#example-ExtractPkScriptAddrs) Demonstrates extracting information from a standard public key script. ## TODO diff --git a/address_test.go b/address_test.go index 90f42e7c..36598e88 100644 --- a/address_test.go +++ b/address_test.go @@ -9,8 +9,8 @@ import ( "testing" "github.com/btcsuite/btcnet" + "github.com/btcsuite/btcscript" "github.com/btcsuite/btcutil" - "github.com/conformal/btcscript" ) // decodeHex decodes the passed hex string and returns the resulting bytes. It diff --git a/example_test.go b/example_test.go index 8286be01..a798e288 100644 --- a/example_test.go +++ b/example_test.go @@ -9,8 +9,8 @@ import ( "fmt" "github.com/btcsuite/btcnet" + "github.com/btcsuite/btcscript" "github.com/btcsuite/btcutil" - "github.com/conformal/btcscript" ) // This example demonstrates creating a script which pays to a bitcoin address. diff --git a/log_test.go b/log_test.go index a96f3e81..3b740de1 100644 --- a/log_test.go +++ b/log_test.go @@ -10,7 +10,7 @@ import ( "os" "testing" - "github.com/conformal/btcscript" + "github.com/btcsuite/btcscript" ) func TestSetLogWriter(t *testing.T) { diff --git a/opcode_test.go b/opcode_test.go index 81492237..0de1b7dd 100644 --- a/opcode_test.go +++ b/opcode_test.go @@ -8,8 +8,8 @@ import ( "bytes" "testing" + "github.com/btcsuite/btcscript" "github.com/btcsuite/btcwire" - "github.com/conformal/btcscript" ) // test scripts to test as many opcodes as possible. diff --git a/script_test.go b/script_test.go index fce5f0b3..fbb08147 100644 --- a/script_test.go +++ b/script_test.go @@ -12,9 +12,9 @@ import ( "github.com/btcsuite/btcec" "github.com/btcsuite/btcnet" + "github.com/btcsuite/btcscript" "github.com/btcsuite/btcutil" "github.com/btcsuite/btcwire" - "github.com/conformal/btcscript" ) func TestPushedData(t *testing.T) { diff --git a/scriptbuilder_test.go b/scriptbuilder_test.go index 41fd2e65..c5989494 100644 --- a/scriptbuilder_test.go +++ b/scriptbuilder_test.go @@ -8,7 +8,7 @@ import ( "bytes" "testing" - "github.com/conformal/btcscript" + "github.com/btcsuite/btcscript" ) // TestScriptBuilderAddOp tests that pushing opcodes to a script via the diff --git a/stack_test.go b/stack_test.go index 2448ebf6..df58c28f 100644 --- a/stack_test.go +++ b/stack_test.go @@ -11,7 +11,7 @@ import ( "math/big" "testing" - "github.com/conformal/btcscript" + "github.com/btcsuite/btcscript" ) type stackTest struct {