Skip to content

Commit

Permalink
Import btcws repo into btcjson/btcws directory.
Browse files Browse the repository at this point in the history
  • Loading branch information
davecgh committed Feb 19, 2015
1 parent b8f3da6 commit 3e800e1
Show file tree
Hide file tree
Showing 8 changed files with 5 additions and 193 deletions.
3 changes: 0 additions & 3 deletions .travis.yml

This file was deleted.

13 changes: 0 additions & 13 deletions LICENSE

This file was deleted.

8 changes: 4 additions & 4 deletions README.md → btcjson/btcws/README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
btcws
=====

[![Build Status](https://travis-ci.org/btcsuite/btcws.png?branch=master)]
[![Build Status](https://travis-ci.org/btcsuite/btcd.png?branch=master)]
(https://travis-ci.org/btcsuite/btcws)

Package btcws implements extensions to the standard bitcoind JSON-RPC
Expand All @@ -14,7 +14,7 @@ btcjson (using btcjson.RegisterCustomCmd).
// Client Side
import (
"golang.org/x/net/websocket"
"github.com/btcsuite/btcws"
"github.com/btcsuite/btcd/btcjson/btcws"
)

// Create rescan command.
Expand All @@ -37,7 +37,7 @@ websocket.JSON.Send(btcdWSConn, cmd)
import (
"golang.org/x/net/websocket"
"github.com/btcsuite/btcd/btcjson"
"github.com/btcsuite/btcws"
"github.com/btcsuite/btcd/btcjson/btcws"
)

// Get marshaled request.
Expand All @@ -60,7 +60,7 @@ if ok {
## Installation

```bash
$ go get github.com/btcsuite/btcws
$ go get github.com/btcsuite/btcd/btcjson/btcws
```

## GPG Verification Key
Expand Down
2 changes: 0 additions & 2 deletions cmds.go → btcjson/btcws/cmds.go
Original file line number Diff line number Diff line change
Expand Up @@ -1584,8 +1584,6 @@ func NewListAllTransactionsCmd(id interface{},

if len(optArgs) > 1 {
return nil, btcjson.ErrInvalidParams
} else {
account = nil
}

if len(optArgs) == 1 {
Expand Down
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import (
"testing"

"github.com/btcsuite/btcd/btcjson"
"github.com/btcsuite/btcws"
"github.com/btcsuite/btcd/btcjson/btcws"
"github.com/davecgh/go-spew/spew"
)

Expand Down
170 changes: 0 additions & 170 deletions test_coverage.txt

This file was deleted.

0 comments on commit 3e800e1

Please sign in to comment.