Fix Makefile build command; Define Signature interface
This commit is contained in:
parent
1e7cc32597
commit
6ca7a3ec21
2
Makefile
2
Makefile
|
@ -28,7 +28,7 @@ build_race:
|
||||||
|
|
||||||
test: build
|
test: build
|
||||||
-rm -rf ~/.tendermint_test_bak
|
-rm -rf ~/.tendermint_test_bak
|
||||||
mv ~/.tendermint_test ~/.tendermint_test_bak
|
-mv ~/.tendermint_test ~/.tendermint_test_bak
|
||||||
go test github.com/tendermint/tendermint/...
|
go test github.com/tendermint/tendermint/...
|
||||||
|
|
||||||
draw_deps:
|
draw_deps:
|
||||||
|
|
|
@ -9,6 +9,8 @@ import (
|
||||||
|
|
||||||
// Signature is a part of Txs and consensus Votes.
|
// Signature is a part of Txs and consensus Votes.
|
||||||
type Signature interface {
|
type Signature interface {
|
||||||
|
IsZero() bool
|
||||||
|
String() string
|
||||||
}
|
}
|
||||||
|
|
||||||
// Types of Signature implementations
|
// Types of Signature implementations
|
||||||
|
|
Loading…
Reference in New Issue