Skip to content

Commit 3c9aa73

Browse files
authored
Merge pull request #217 from blinklabs-io/chore/rename-repo
chore: rename repo to blinklabs-io/gouroboros
2 parents db8ba50 + afd9d63 commit 3c9aa73

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

69 files changed

+136
-136
lines changed

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
*.dll
55
*.so
66
*.dylib
7-
/go-ouroboros-network
7+
/gouroboros
88
/tx-monitor
99
/block-fetch
1010

README.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# go-ouroboros-network
1+
# gouroboros
22

33
A Go client implementation of the Cardano Ouroboros network protocol
44

@@ -25,7 +25,7 @@ but the node-to-node protocols will also be implemented in time.
2525
| LocalTxSubmission | Implemented |
2626
| LocalStateQuery | Partly Implemented |
2727
| KeepAlive | Implemented |
28-
| LocalTxMonitor | Not Implemented |
28+
| LocalTxMonitor | Implemented |
2929

3030
## Testing
3131

@@ -55,7 +55,7 @@ and `0755` permissions, which doesn't allow a non-root use to write to it by def
5555
### Running `cardano-cli` against local `cardano-node` instance
5656

5757
```
58-
$ docker exec -ti go-ouroboros-network_cardano-node_1 sh -c 'CARDANO_NODE_SOCKET_PATH=/ipc/node.socket cardano-cli query tip --testnet-magic 1097911063'
58+
$ docker exec -ti gouroboros_cardano-node_1 sh -c 'CARDANO_NODE_SOCKET_PATH=/ipc/node.socket cardano-cli query tip --testnet-magic 1097911063'
5959
```
6060

6161
### Building and running the test program
@@ -69,31 +69,31 @@ $ make
6969
Run the test program pointing to the UNIX socket (via `socat`) from the `cardano-node` instance started above.
7070

7171
```
72-
$ ./go-ouroboros-network -address localhost:8082 -network testnet ...
72+
$ ./gouroboros -address localhost:8082 -network testnet ...
7373
```
7474

7575
Run it against the public port in node-to-node mode.
7676

7777
```
78-
$ ./go-ouroboros-network -address localhost:8081 -ntn -network testnet ...
78+
$ ./gouroboros -address localhost:8081 -ntn -network testnet ...
7979
```
8080

8181
Test chain-sync (works in node-to-node and node-to-client modes).
8282

8383
```
84-
$ ./go-ouroboros-network ... chain-sync -start-era byron
84+
$ ./gouroboros ... chain-sync -start-era byron
8585
```
8686

8787
Test local-tx-submission (only works in node-to-client mode).
8888

8989
```
90-
$ ./go-ouroboros-network ... local-tx-submission ...
90+
$ ./gouroboros ... local-tx-submission ...
9191
```
9292

9393
Test following the chain tip in the `preview` network.
9494

9595
```
96-
$ ./go-ouroboros-network -network preview -address preview-node.world.dev.cardano.org:30002 -ntn chain-sync -tip
96+
$ ./gouroboros -network preview -address preview-node.world.dev.cardano.org:30002 -ntn chain-sync -tip
9797
```
9898

9999
### Stopping the local `cardano-node` instance

cbor/decode_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import (
66
"reflect"
77
"testing"
88

9-
"github.com/cloudstruct/go-ouroboros-network/cbor"
9+
"github.com/blinklabs-io/gouroboros/cbor"
1010
)
1111

1212
type decodeTestDefinition struct {

cbor/encode_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import (
44
"encoding/hex"
55
"testing"
66

7-
"github.com/cloudstruct/go-ouroboros-network/cbor"
7+
"github.com/blinklabs-io/gouroboros/cbor"
88
)
99

1010
type encodeTestDefinition struct {

cmd/block-fetch/main.go

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,10 @@ import (
55
"fmt"
66
"os"
77

8-
"github.com/cloudstruct/go-ouroboros-network"
9-
"github.com/cloudstruct/go-ouroboros-network/cmd/common"
10-
"github.com/cloudstruct/go-ouroboros-network/ledger"
11-
ocommon "github.com/cloudstruct/go-ouroboros-network/protocol/common"
8+
"github.com/blinklabs-io/gouroboros"
9+
"github.com/blinklabs-io/gouroboros/cmd/common"
10+
"github.com/blinklabs-io/gouroboros/ledger"
11+
ocommon "github.com/blinklabs-io/gouroboros/protocol/common"
1212
)
1313

1414
type blockFetchFlags struct {

cmd/common/cmdline.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import (
55
"fmt"
66
"os"
77

8-
"github.com/cloudstruct/go-ouroboros-network"
8+
"github.com/blinklabs-io/gouroboros"
99
)
1010

1111
type GlobalFlags struct {

cmd/go-ouroboros-network/chainsync.go renamed to cmd/gouroboros/chainsync.go

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,10 @@ import (
44
"encoding/hex"
55
"flag"
66
"fmt"
7-
ouroboros "github.com/cloudstruct/go-ouroboros-network"
8-
"github.com/cloudstruct/go-ouroboros-network/ledger"
9-
"github.com/cloudstruct/go-ouroboros-network/protocol/chainsync"
10-
"github.com/cloudstruct/go-ouroboros-network/protocol/common"
7+
ouroboros "github.com/blinklabs-io/gouroboros"
8+
"github.com/blinklabs-io/gouroboros/ledger"
9+
"github.com/blinklabs-io/gouroboros/protocol/chainsync"
10+
"github.com/blinklabs-io/gouroboros/protocol/common"
1111
"os"
1212
)
1313

cmd/go-ouroboros-network/localtxsubmission.go renamed to cmd/gouroboros/localtxsubmission.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@ import (
55
"encoding/json"
66
"flag"
77
"fmt"
8-
ouroboros "github.com/cloudstruct/go-ouroboros-network"
9-
"github.com/cloudstruct/go-ouroboros-network/ledger"
10-
"github.com/cloudstruct/go-ouroboros-network/protocol/localtxsubmission"
8+
ouroboros "github.com/blinklabs-io/gouroboros"
9+
"github.com/blinklabs-io/gouroboros/ledger"
10+
"github.com/blinklabs-io/gouroboros/protocol/localtxsubmission"
1111
"io/ioutil"
1212
"os"
1313
)

cmd/go-ouroboros-network/main.go renamed to cmd/gouroboros/main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import (
77
"net"
88
"os"
99

10-
"github.com/cloudstruct/go-ouroboros-network"
10+
"github.com/blinklabs-io/gouroboros"
1111
)
1212

1313
type globalFlags struct {

cmd/go-ouroboros-network/mem_usage.go renamed to cmd/gouroboros/mem_usage.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ import (
1111
"runtime/pprof"
1212
"time"
1313

14-
ouroboros "github.com/cloudstruct/go-ouroboros-network"
14+
ouroboros "github.com/blinklabs-io/gouroboros"
1515
)
1616

1717
type memUsageFlags struct {

0 commit comments

Comments
 (0)