Ethan Buchman
19e065b6f5
Merge pull request #174 from tendermint/examples-in-readme
...
update readme with example code
2018-01-04 12:19:18 -05:00
Ethan Buchman
f205a937cf
Merge pull request #172 from tendermint/spec-docs
...
convert spec to .rst for consumption by tendermint RTD
2018-01-04 12:16:00 -05:00
Zach
f6172e84a9
Merge pull request #176 from tendermint/shasum
...
use sha256sum because more secure
2018-01-04 15:53:56 +00:00
Zach Ramsay
f47b8f8a2d
use sha256sum because more secure
2018-01-04 15:41:25 +00:00
Zach Ramsay
a77213e6c5
update readme, closes #134
2018-01-03 00:48:00 +00:00
Zach Ramsay
47d5fd0f1b
prettify the command helpers
2018-01-01 16:21:36 +00:00
Zach Ramsay
12fd445e6f
spec: convert to rst
2018-01-01 14:48:29 +00:00
Zach Ramsay
e9ff0eefbb
move spec from readme to own file
2018-01-01 14:45:57 +00:00
Ethan Buchman
5d5ea6869b
Merge pull request #170 from tendermint/develop
...
v0.9.0
2017-12-29 10:36:33 -05:00
Ethan Buchman
70da70d852
abandon the metalinter because honestly who has the time
2017-12-29 10:30:59 -05:00
Ethan Buchman
38eb32d7bf
version and changelog
2017-12-28 17:28:07 -05:00
Jae Kwon
8f87efd7f8
ABCI message updates (code/log/info)
...
* Add info to Response[CheckTx/DeliverTx/Query]
* Remove code and log from Response[SetOption/Commit]
2017-12-26 15:46:06 -08:00
Jae Kwon
66580408f8
GasWanted and GasUsed for Check & Deliver
2017-12-26 05:29:33 -08:00
Jae Kwon
e1ff53fd0b
Use []byte instead of Bytes, use tmlibs/common.KVPair
2017-12-26 04:52:02 -08:00
Jae Kwon
a861d68a31
Update glide.yaml and fix tests
2017-12-26 00:45:31 -08:00
Zach
96c816f428
Merge pull request #160 from KrzysiekJ/test-cmd-short-circuit
...
Short-circuit assertions in test command
2017-12-25 20:21:24 +00:00
Jae Kwon
ff65421324
Proposal: New Makefile standard template ( #168 )
...
* Cleaned up makefile.
* Improve 'make all' order
* Add devdoc
* Update circle.yml
2017-12-25 00:14:13 -08:00
Jae Kwon
f390385baf
Fee is a KNPair ( #167 )
...
KVPair is {[]byte,[]byte}
2017-12-24 18:39:16 -08:00
Jae Kwon
aaaacba1cd
Use gogoproto's nullable=false ( #166 )
...
* Use gogoproto's nullable=false where appropriate.
2017-12-22 19:41:19 -08:00
Jae Kwon
e4b9f1abe7
Id -> ID using gogo
2017-12-20 17:33:59 -08:00
Ethan Buchman
98a38737c4
Merge pull request #156 from tendermint/use-single-connection-in-console
...
cmd/abci-cli: use a single connection per session
2017-12-20 16:11:25 -05:00
Ethan Buchman
9c145a9e19
Merge branch 'develop' into use-single-connection-in-console
2017-12-20 15:55:36 -05:00
Ethan Buchman
2927caa0eb
fix flag parsing in console mode
2017-12-20 15:54:14 -05:00
Ethan Buchman
c03928766d
Merge pull request #163 from tendermint/feature/enhance-endblock
...
Update the ResponseEndBlock values
2017-12-20 15:16:09 -05:00
Ethan Buchman
fa15e4f554
update changelog [ci skip]
2017-12-20 15:16:15 -05:00
Anton Kaliaev
0d69ace961
fix circleci config
2017-12-20 13:40:26 -06:00
Jae Kwon
e46a99a32f
Fix Makefile
2017-12-20 11:02:22 -08:00
Adrian Brink
57c49cc825
Include unsaved circle.yml file
2017-12-20 10:40:35 +01:00
Adrian Brink
c268c4e767
Update Circle and Makefile to run tests/linting on CI
2017-12-20 10:33:24 +01:00
Jae Kwon
57a83fe73e
Merge branch 'develop' into feature/enhance-endblock
2017-12-20 00:11:57 -08:00
Jae Kwon
3798f9fa8e
Reorder README
2017-12-20 00:07:58 -08:00
Jae Kwon
c14d3982ac
ValidatorSetUpdates -> ValidatorUpdates
2017-12-20 00:02:41 -08:00
Anton Kaliaev
9a5b943e77
update changelog [ci skip]
2017-12-19 13:17:29 -06:00
Emmanuel T Odeke
811dc071aa
protoc: "//nolint: gas" directive after pb generation ( #164 )
...
* protoc: "//nolint: gas" directive after pb generation
Fixes #138
Since we can't add package directives through the protoc
compiler, yet we need to "//nolint: gas" the Go generated
protobuf file, added a script whose purpose is to
go find the "package (\w+)$" declaration after go fmt
was run by protoc.
The competing solutions were more complex and can be
examined by visiting
https://github.com/tendermint/abci/issues/138#issuecomment-352226217
* simplify script
* rewrite script to work on Mac
2017-12-19 12:29:59 -06:00
Anton Kaliaev
66296fe11a
updates -> validator_set_updates
...
ConsensusParamChanges -> ConsensusParamUpdates
2017-12-19 12:13:45 -06:00
Anton Kaliaev
843b10ed26
Merge pull request #157 from tendermint/linter-fix-v2
...
enable linter & make deterministic
2017-12-16 23:02:05 -06:00
Anton Kaliaev
dd7728c4c5
Merge pull request #161 from tendermint/fix-some-vet-issues
...
all: fix vet issues with build tags, formatting
2017-12-16 22:40:51 -06:00
Emmanuel Odeke
e3d244091d
cleanup requested from review by @melekes
2017-12-16 15:49:38 -07:00
Ethan Frey
eb6d412a82
Add tests to protobuf objects for pr coverage
2017-12-14 09:35:33 +01:00
Ethan Frey
9c5e1a824d
Updated naming of EndBlock parameters
...
* Changes -> Updates for validators
* ConsensusParams.XXXParams -> ConsensusParams.XXX
* As per feedback from Jae on PR
2017-12-14 09:27:20 +01:00
Ethan Frey
895e14d6bd
Update Diffs to Changes, fix README
2017-12-13 17:57:43 +01:00
Ethan Frey
25f6f6518c
Update the ResponseEndBlock values
...
* Rename diffs -> changes
* Add consensus_param_changes
For context, see:
https://github.com/tendermint/tendermint/issues/924
https://github.com/tendermint/tendermint/issues/952
2017-12-13 17:50:24 +01:00
Anton Kaliaev
c532e8cabc
add \n to Printf lines
2017-12-12 22:44:55 -06:00
Emmanuel Odeke
bbc3b807c6
all: fix vet issues with build tags, formatting
...
* Build tags need to come before the package name
and have at least a blank line, between them and
the package, please see
https://golang.org/pkg/go/build/#hdr-Build_Constraints
* fmt.Println doesn't take formatting verbs
* Fix a missing formatting argument to fmt.Printf
2017-12-12 17:23:16 -07:00
Emmanuel Odeke
5ea42475ce
cmd/abci-cli: implement batch
...
Can now run batch which can be tested by:
```shell
echo -e "echo foo\necho blue" | abci-cli batch
```
giving
```shell
I[12-12|07:55:55.513] Starting socketClient
module=abci-client impl=socketClient
-> code: OK
-> data: foo
-> data.hex: 0x666F6F
-> code: OK
-> data: blue
-> data.hex: 0x626C7565
```
2017-12-12 16:57:51 -07:00
Zach Ramsay
cabc516726
batch: progress
2017-12-12 16:57:51 -07:00
Emmanuel Odeke
ecc13d5a8e
cmd/abci-cli: use a single connection per session
...
Use the single client connection at startup time
for sending over commands instead of shelling out
for every command.
This code fixes the regression from
https://github.com/tendermint/abci/pull/117
which instead used "os/exec".Command with:
"abci-cli <the_command> [args...]"
The purpose of this code is to restore us
back to the state after cobra replace urlfave/cli.
There is still a bit of work to implement Batch
itself, but that should be simpler as a focused
command.
Fixes #133
2017-12-12 16:57:51 -07:00
Krzysztof Jurewicz
6633889632
Short-circuit assertions in test command
2017-12-12 21:06:56 +01:00
Ethan Buchman
310beae63c
types: check ResponseCheckTx too
2017-12-12 10:14:50 -05:00
Emmanuel Odeke
7167d4e4c7
types: compile type assertions to avoid sneaky runtime surprises
...
Ensure that the types in result.go implement both
json.Marshaler and json.Unmarshaler
and thus avoid any accidental deletions of their respective
methods which would then cause surprises at runtime.
2017-12-12 01:15:39 -07:00