Skip to content

Commit

Permalink
minor fix & update
Browse files Browse the repository at this point in the history
* start working on #14 & #94
* update command
* add ignore file

Signed-off-by: Dixing (Dex) Xu <dixingxu@gmail.com>
  • Loading branch information
dexhunter committed Jul 8, 2021
1 parent e87f926 commit fb18299
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 6 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
*.so
*.dylib
./tape
tape

# Test binary, build with `go test -c`
*.test
Expand Down
6 changes: 3 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@
FABRIC_VERSION = latest
INTERGATION_CASE = ANDLogic

BASE_VERSION = 0.0.2
PREV_VERSION = 0.0.1
BASE_VERSION = 0.1.3
PREV_VERSION = 0.1.2

PROJECT_NAME = tape
DOCKERIMAGE = guoger/tape
Expand All @@ -35,7 +35,7 @@ GO_TAGS ?=

export GO_LDFLAGS GO_TAGS FABRIC_VERSION INTERGATION_CASE

tape:
tape:
@echo "Building tape program......"
go build -tags "$(GO_TAGS)" -ldflags "$(GO_LDFLAGS)" ./cmd/tape

Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ You could get `tape` in three ways:

#### Binary

Execute `./tape -c config.yaml -n 40000` to generate 40000 transactions to Fabric.
Execute `./tape run -c config.yaml -n 40000` to generate 40000 transactions to Fabric.

#### Docker

Expand Down
2 changes: 1 addition & 1 deletion docs/gettingstarted.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ docker build -t guoger/tape:latest .
执行如下命令即可运行测试:

```
./tape --config=config.yaml --number=40000
./tape run --config=config.yaml --number=40000
```

该命令的含义是,使用 config.yaml 作为配置文件,向 Fabric 网络发送40000条交易进行性能测试。
Expand Down
1 change: 0 additions & 1 deletion pkg/infra/observer.go
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,6 @@ func CreateObserver(ctx context.Context, channel string, node Node, crypto *Cryp

func (o *Observer) Start(errorCh chan error, blockCh chan<- *AddressedBlock, now time.Time) {
o.logger.Debugf("start observer for peer %s", o.Address)

for {
r, err := o.d.Recv()
if err != nil {
Expand Down

0 comments on commit fb18299

Please sign in to comment.