Update btcscript import paths to new location.

This commit is contained in:
Dave Collins 2015-01-16 19:33:51 -06:00
parent eb02adfada
commit 251d0fc6c4
8 changed files with 16 additions and 16 deletions

View file

@ -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

View file

@ -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

View file

@ -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.

View file

@ -10,7 +10,7 @@ import (
"os"
"testing"
"github.com/conformal/btcscript"
"github.com/btcsuite/btcscript"
)
func TestSetLogWriter(t *testing.T) {

View file

@ -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.

View file

@ -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) {

View file

@ -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

View file

@ -11,7 +11,7 @@ import (
"math/big"
"testing"
"github.com/conformal/btcscript"
"github.com/btcsuite/btcscript"
)
type stackTest struct {