Krzysztof Jurewicz
8357326db0
Fix test command
7 years ago
Adrian Brink
e99e6ea0c7
Extend abci-cli to allow integration tests
This commit adds the basic test command 'abci-cli test' that will
allow developers of server for their own language to continuously test
their implementation.
8 years ago
Ethan Buchman
b59fe60e65
abci-cli: prefix flag variables with flag
7 years ago
Ethan Buchman
ed393f9934
abci-cli: print OK if code is 0
7 years ago
Ethan Buchman
10031f57d5
fix grpc version; add log_level and some logging
7 years ago
Ethan Buchman
24fbe291ab
update glide; update services for new signature
7 years ago
Ethan Buchman
42a8e3240c
remove CodeType
7 years ago
Anton Kaliaev
69b5da766c
service#Start, service#Stop signatures were changed
See https://github.com/tendermint/tmlibs/issues/45
7 years ago
Ethan Buchman
9529f12c28
more linting
7 years ago
Zach Ramsay
d7cb291fb2
errcheck; sort some stuff out
7 years ago
Zach Ramsay
563faa98de
address comments, pr #643
7 years ago
Zach Ramsay
8f0237610e
linting errors: clean it all up
7 years ago
Zach Ramsay
57ea4987f7
linting: apply errcheck part1
7 years ago
Zach Ramsay
46ccbcbff6
linting: apply 'gofmt -s -w' throughout
7 years ago
Ethan Buchman
26d967af7e
linter
7 years ago
Ethan Buchman
fb612e5a7b
fixup tests
7 years ago
Ethan Buchman
c7f54fb56c
everything takes Request, returns Response; expect DeliverTx/CheckTx/Commit
7 years ago
Anton Kaliaev
f01f2bbf3a
DeliverTxSync/CheckTxSync/CommitSync now return error as well
7 years ago
Anton Kaliaev
5be9c50b47
fix megacheck warning
7 years ago
Anton Kaliaev
fbe7234639
remove Result from the client package
plus make Client interface more consistent. All *Sync functions now
return an error as a second return param. Deliver/Check/Commit use Code
to indicate errors and have IsErr() func defined on ResponseXYZ structs.
7 years ago
Anton Kaliaev
ecb1f02f77
add version cmd (Refs #124 )
7 years ago
Zach Ramsay
f013ee5cf9
cli: use cobra's new ExactArgs() feature
7 years ago
Zach Ramsay
461191d2f7
cli: clean up error handling
7 years ago
Zach Ramsay
36de70be10
console: fix output, closes #93
7 years ago
Zach Ramsay
3e61b8c17a
docs: comb through step by step
7 years ago
Zach Ramsay
3330cb4856
cleanup
7 years ago
Zach Ramsay
f9e14ad61b
disable PersistenPreRun for counter/dummy
7 years ago
Zach Ramsay
df5d9ac1bb
consolidate counter/dummy into the binary, #95
7 years ago
Zach Ramsay
9883013adf
use cobra, closes #101
7 years ago
Zach Ramsay
d56b44f3a5
all: no more anonymous imports
7 years ago
Ethan Buchman
667c2543ea
use request struct for Info
7 years ago
Zach Ramsay
6a378d30f3
linting: cover the basics
7 years ago
Ethan Buchman
756818f940
fixes from review
7 years ago
Ethan Buchman
2131f8d330
some fixes from review
7 years ago
Ethan Buchman
75b97a5a65
PrivValidatorFS is like old PrivValidator, for now
7 years ago
Ethan Buchman
779c2a22d0
node: NewNode takes DBProvider and GenDocProvider
7 years ago
Ethan Buchman
147a18b34a
fix some comments
7 years ago
Ethan Buchman
944ebccfe9
more PrivValidator interface
7 years ago
Ethan Buchman
fd1b0b997a
PrivValidator interface
7 years ago
Ethan Buchman
abe912c610
FuncSignerAndApp allows custom signer and abci app
7 years ago
Ethan Buchman
66fcdf7c7a
minor fixes
7 years ago
Adrian Brink
4e13a19339
Add ability to construct new instance of Tendermint core from scratch
7 years ago
Adrian Brink
7dd3c007c7
Refactor priv_validator
Users can now just pass an object that implements the Signer interface.
7 years ago
Duncan Jones
0d392a0442
Allow Signer to be generated with priv key
Prior to this change, a custom Signer would have no knowledge of the private
key stored in the configuration file. This changes introduces a generator
function, which creates a Signer based on the private key. This provides an
opportunity for customer Signers to adjust behaviour based on the key
contents. (E.g. imagine key contents are a key label, rather than the key
itself).
7 years ago
Duncan Jones
7e4a704bd1
Remove reliance on default Signer
This change allows the default privValidator to use a custom Signer
implementation with no reliance on the default Signer implementation.
7 years ago
Adrian Brink
bf5e956087
Change capitalisation
7 years ago
Adrian Brink
2ccc3326ec
Remove redundant file
7 years ago
Adrian Brink
83f7d5c95a
Setup custom tendermint node
By exporting all of the commands, we allow users to setup their own
tendermint node cli. This enables users to provide a different
pivValidator without the need to fork tendermint.
7 years ago
Adrian Brink
2c129447fd
Example that showcases how to build your own tendermint node
This example shows how a user of the tendermint library can build their
own node and supply it with its own commands. It includes two todos in
order to make it easier for library users to use tendermint.
7 years ago
Ethan Buchman
3089bbf2b8
Amount -> Power. Closes #166
7 years ago