Marko
9379bc92fd
fix lint failures with 1.31 ( #5489 )
4 years ago
Marko
6ccccb0933
lint: errcheck ( #5091 )
## Description
add more error checks to tests
gonna do a third PR that tackles the non test cases
5 years ago
Marko
9bd0f9e634
lint: golint issue fixes ( #4258 )
* lint: golint issue fixes
- on my local machine golint is a lot stricter than the bot so slowly going through and fixing things.
Signed-off-by: Marko Baricevic <marbar3778@yahoo.com>
* more fixes from golint
* remove isPeerPersistentFn
* add changelog entry
5 years ago
Marko
afc4d7a61f
libs/common: refactor libs/common 2 ( #4231 )
* libs/common: refactor libs/common 2
- move random function to there own pkg
Signed-off-by: Marko Baricevic <marbar3778@yahoo.com>
* change imports and usage throughout repo
* fix goimports
* add changelog entry
5 years ago
Marko
3e2751d274
lint: Enable Golint ( #4212 )
* Fix many golint errors
* Fix golint errors in the 'lite' package
* Don't export Pool.store
* Fix typo
* Revert unwanted changes
* Fix errors in counter package
* Fix linter errors in kvstore package
* Fix linter error in example package
* Fix error in tests package
* Fix linter errors in v2 package
* Fix linter errors in consensus package
* Fix linter errors in evidence package
* Fix linter error in fail package
* Fix linter errors in query package
* Fix linter errors in core package
* Fix linter errors in node package
* Fix linter errors in mempool package
* Fix linter error in conn package
* Fix linter errors in pex package
* Rename PEXReactor export to Reactor
* Fix linter errors in trust package
* Fix linter errors in upnp package
* Fix linter errors in p2p package
* Fix linter errors in proxy package
* Fix linter errors in mock_test package
* Fix linter error in client_test package
* Fix linter errors in coretypes package
* Fix linter errors in coregrpc package
* Fix linter errors in rpcserver package
* Fix linter errors in rpctypes package
* Fix linter errors in rpctest package
* Fix linter error in json2wal script
* Fix linter error in wal2json script
* Fix linter errors in kv package
* Fix linter error in state package
* Fix linter error in grpc_client
* Fix linter errors in types package
* Fix linter error in version package
* Fix remaining errors
* Address review comments
* Fix broken tests
* Reconcile package coregrpc
* Fix golangci bot error
* Fix new golint errors
* Fix broken reference
* Enable golint linter
* minor changes to bring golint into line
* fix failing test
* fix pex reactor naming
* address PR comments
5 years ago
Anton Kaliaev
3e1516b624
linters: enable stylecheck ( #4153 )
Refs #3262
5 years ago
Phil Salant
04d13d9945
fix linter errors thrown by `unconvert`, `goconst`, and `nakedret` ( #3960 )
* Remove unnecessary type conversions
* Consolidate repeated strings into consts
* Clothe return statements
* Update blockchain/v1/reactor_fsm_test.go
Co-Authored-By: Anton Kaliaev <anton.kalyaev@gmail.com>
This PR repairs linter errors seen when running the following commands:
golangci-lint run --no-config --disable-all=true --enable=unconvert
golangci-lint run --no-config --disable-all=true --enable=goconst
golangci-lint run --no-config --disable-all=true --enable=nakedret
Contributes to #3262
5 years ago
Ethan Buchman
ed4ce5ff6c
ADR-016: Update ABCI Info method for versions ( #2662 )
* abci: update RequestInfo for versions
* abci: update ResponseInfo for versions
* compile fix
* fix test
* software_version -> version
* comment fix
* update spec
* add test
* comments and fix test
6 years ago
Dev Ojha
2756be5a59
libs: Remove usage of custom Fmt, in favor of fmt.Sprintf ( #2199 )
* libs: Remove usage of custom Fmt, in favor of fmt.Sprintf
Closes #2193
* Fix bug that was masked by custom Fmt!
6 years ago
Anton Kaliaev
96ae535fb8
proto3 timestamp ( #2064 )
This PR changes ABCI time format from int64 (Unix seconds) to WKT (WellKnownType) google.protobuf.Timestamp.
Refs #1857
Reasons:
better precision
standard DT for proto
* update Gopkg.lock
* [makefile] remove extra grep
- go list excludes vendor by default now
* proto3 timestamp
* [docs/abci-spec] note about serialisation format
* make time non-nullable
7 years ago
Zach Ramsay
44dad6d70b
Revert "detele everything"
This reverts commit d02c5d1e30
.
7 years ago
Zach Ramsay
d02c5d1e30
detele everything
7 years ago
Ethan Buchman
d55243f0e6
fix import paths
7 years ago
Alexander Simmerl
a605b66c5a
Move abci imports
7 years ago
Liamsi
d2c05bc5b9
Revert "delete everything" (includes everything non-go-crypto)
This reverts commit 96a3502
7 years ago
Liamsi
96a3502126
delete everything
7 years ago
Zach
2cc63069c6
rename dummy to kvstore ( #1223 )
* remove accidental binary
* docs: s/Dummy&dummy/KVStore&kvstore/g
* glide update to abci
* update abci import paths
* dummy begone, hello kvstore
* RequestInitChain needs genesisBytes
* glide update
7 years ago
Anton Kaliaev
f65e357d2b
adapt Tendermint to new abci.Client interface
which was introduced in https://github.com/tendermint/abci/pull/130
7 years ago
Anton Kaliaev
69b5da766c
service#Start, service#Stop signatures were changed
See https://github.com/tendermint/tmlibs/issues/45
7 years ago
Zach Ramsay
57ea4987f7
linting: apply errcheck part1
7 years ago
Ethan Buchman
8311f5c611
abci.Info takes a struct; less merkleeyes
7 years ago
Anton Kaliaev
91dc87e7c4
update for a new ABCI API
8 years ago
Ethan Buchman
fcf78a5da7
cleanup go-config/viper and some unnamed imports
8 years ago
Ethan Buchman
d1926bcad1
use tmlibs
8 years ago
Ethan Buchman
c147b41013
TMSP -> ABCI
8 years ago
Ethan Buchman
2dd7030579
tmsp: ResponseInfo and ResponseEndBlock
8 years ago
Jae Kwon
3000c8b349
Update glide w/ TMSP updates
8 years ago
Ethan Buchman
f37f56d4f1
fixes
8 years ago
Ethan Buchman
caeda30b72
proxy: wrap NewTMSPClient in ClientCreator
8 years ago
Ethan Buchman
035ca7ef61
proxy: NewAppConns takes a NewTMSPClient func
8 years ago
Ethan Buchman
3a7ee13ece
proxy: typed app conns
8 years ago
Ethan Buchman
2a1e7a427d
support tmsp via grpc
9 years ago
Jae Kwon
a8ee0377d5
Use tmsp.Client interface
9 years ago
Jae Kwon
5266b56f43
Conform to TMSP NewServer
9 years ago
Jae Kwon
d17d4fa106
Fix tmsp/example import paths
9 years ago
Jae Kwon
a4f57e164b
BroadcastTx results
9 years ago
Jae Kwon
236c7afe9e
Conform to TMSP v0.2
9 years ago
Jae Kwon
3e3c0083c7
Make order be decided first; Remove TMSP Commit/Rollback
9 years ago
Jae Kwon
f288e58c81
Prefix TMSP messages with length
9 years ago
Jae Kwon
ef43af19ab
Tendermint <-> Application refactor
9 years ago
Jae Kwon
a8dc417cd9
Add ProxyApp logic
9 years ago