Ethan Frey
398ac046da
Reorganize cobra cmd to enable better reuse
8 years ago
rigelrozanski
fab518fc98
flag fix, glide update
squash
8 years ago
rigelrozanski
fa609366d4
melekes change request
8 years ago
rigelrozanski
569fd474c2
added use of Cobra CLI
squash
8 years ago
Ethan Buchman
05d8cd50b5
update glide and node.go for update to p2p.AddrBook
8 years ago
Ethan Buchman
0b1ee4b673
version bump to 0.4.0
8 years ago
Ethan Buchman
eaeb2658ea
fixes from review
8 years ago
Ethan Frey
0c92c8516f
Rename proxy to server for clarity
8 years ago
Ethan Frey
6389d208cc
Key server API integrated in CLI
8 years ago
Ethan Frey
e1c717a048
Add support for hex / base64 / btc (b58) encoding of binary data
8 years ago
Ethan Frey
c59e2d7d13
Expose address in keyinfo, add get command
8 years ago
Ethan Frey
d5931c9ee3
Set key algorithm on key creation
8 years ago
Ethan Frey
9c427e95e2
Add update cli command, cleanup
8 years ago
Ethan Frey
506ff7d85a
Expose new and list via cli
8 years ago
Ethan Frey
d979bfc49e
Add flag validation
8 years ago
Ethan Frey
f80957ad3c
Basic cobra/viper cli framework
8 years ago
Anton Kaliaev
a99885cd43
do not overwrite existing files when doing `tendermint init` ( Fixes #410 )
8 years ago
Ethan Buchman
0bec99fbd4
consensus: handshake replay test using wal
8 years ago
Ethan Buchman
31bdda27ad
Query: LastHeight -> Height :)
8 years ago
Ethan Buchman
b6afa8d85b
Query: Height -> LastHeight
8 years ago
Anton Kaliaev
4896364952
[cli] cleanup gen_validator output ( Fixes #396 )
so we can pipe result to a file:
```
tendermint gen_validator > example.json
```
before this we had to cut first 3 lines:
```
tendermint gen_validator | sed 1,3d > example.json
```
8 years ago
Jae Kwon
67ab574e98
Cleanup, add stub for VerifyCommitAny
8 years ago
Jae Kwon
2a4894310d
Remove Proof message, replace with more flexible Query
8 years ago
Anton Kaliaev
3b7a1d7149
check that we have enough arguments
Otherwise:
```
panic: runtime error: index out of range
goroutine 1 [running]:
panic(0xbb8de0, 0xc82000e080)
/usr/local/go/src/runtime/panic.go:464 +0x3e6
main.main()
/go/src/github.com/tendermint/tendermint/cmd/tendermint/main.go:48 +0x811
```
8 years ago
Anton Kaliaev
17e822757b
output all commands
8 years ago
Jae Kwon
9745f07bee
common -> cmn
8 years ago
Ethan Frey
fdc047ae7a
Proof uses uint64 for blockHeight
8 years ago
Ethan Frey
cfc3f24751
Everything compiles, test proof in dummy app
8 years ago
Ethan Frey
58ea995032
Begin adding proof calls
8 years ago
Tzu-Jung Lee
9134905f42
cleanup: replace common.Exit with log.Crit or log.Fatal
Later we can pick another logger that has fatal, like zap?
8 years ago
Tzu-Jung Lee
1150bbfe36
lint: s/common.Fmt/fmt.Sprintf
8 years ago
Tzu-Jung Lee
fcaa545e1e
lint: remove dot import (go-common)
Spell out the package explicitly.
This commit is totally textual, and does not change any logic.
The swiss-army knife package may serve a kick-start in early
stage development. But as the codebase growing, we might want
to retire it gradually:
For simple wrapping functions, just inline it on the call site.
For larger pice of code, make it an independent package.
8 years ago
Tzu-Jung Lee
aae3c91e88
fmt: run 'make fmt'
8 years ago
Jae Kwon
9a2dd8bc92
Refactor Node; Node is a simple BaseService
8 years ago
Jae Kwon
a073b1db9c
Refactor replay console -> replay_file in consensus/replay_file.go
8 years ago
Ethan Buchman
42b7bfbf0c
update version and glide
8 years ago
Ethan Buchman
5189a2248d
TMSP -> ABCI
8 years ago
Ethan Buchman
c147b41013
TMSP -> ABCI
8 years ago
Ethan Buchman
80f377135b
AppendTx -> DeliverTx
8 years ago
Jae Kwon
f8167872d8
EndBlock also returns ResponseEndBlock
8 years ago
Jae Kwon
8b76f3dd00
Make fields in ResponseInfo be flat
8 years ago
Ethan Buchman
e6b9a2b6aa
response struct and persistent args
8 years ago
rigelrozanski
81b2697cce
fix console exit, closes #35
8 years ago
Matt Bell
cd6fa3018c
Return errors from cmd functions instead of printing
8 years ago
Matt Bell
86a6deba3f
Remove debug printing
8 years ago
Matt Bell
e748127b7f
Don't include quotes in quoted string args
8 years ago
Matt Bell
115e6939d0
Require quotes or 0x<hex> for string args
8 years ago
Jae Kwon
c5f008d60f
Fix TMSP tutorial outputs
8 years ago
Ethan Buchman
db437e7a45
broadcast_tx via grpc
9 years ago
Ethan Buchman
8b80f8ee05
feature flag: pex reactor
8 years ago