Marko
2d167aefcf
ci: freeze golangci action version ( #5196 )
## Description
This PR updates golang-ci to latest and stops looking at master for the action.
Closes: #XXX
4 years ago
Marko
2ac5a559b4
libs: wrap mutexes for build flag with godeadlock ( #5126 )
## Description
This PR wraps the stdlib sync.(RW)Mutex & godeadlock.(RW)Mutex. This enables using go-deadlock via a build flag instead of using sed to replace sync with godeadlock in all files
Closes : #3242
4 years ago
Anton Kaliaev
16216028a1
proxy: improve ABCI app connection handling ( #5078 )
Closes #5074
Old code does not work when --consensus.create_empty_blocks=false
(because it only calls tmos.Kill when ApplyBlock fails). New code is
listening ABCI clients for Quit and kills TM process if there were any
errors.
4 years ago
Anton Kaliaev
b7b721c484
change use of errors.Wrap to fmt.Errorf with %w verb
Closes #4603
Commands used (VIM):
```
:args `rg -l errors.Wrap`
:argdo normal @q | update
```
where q is a macros rewriting the `errors.Wrap` to `fmt.Errorf`.
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
Zach
0ff715125b
fix docs / proxy app ( #2988 )
* fix docs / proxy app, closes #2986
* counter_serial
* review comments
* list all possible options
* add changelog entries
6 years ago
Zach Ramsay
44dad6d70b
Revert "detele everything"
This reverts commit d02c5d1e30
.
6 years ago
Zach Ramsay
d02c5d1e30
detele everything
6 years ago
Alexander Simmerl
a605b66c5a
Move abci imports
6 years ago
Liamsi
d2c05bc5b9
Revert "delete everything" (includes everything non-go-crypto)
This reverts commit 96a3502
6 years ago
Liamsi
96a3502126
delete everything
6 years ago
Anton Kaliaev
87372da730
return back dummy & persistent_dummy as options for proxy_app
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
91dc87e7c4
update for a new ABCI API
8 years ago
Ethan Buchman
1fcc9dc654
remove viper from proxy
8 years ago
Rigel Rozanski
cefb2bede0
adding viper
int
int
8 years ago
Ethan Buchman
7d91d4300b
update glide
8 years ago
Ethan Buchman
c147b41013
TMSP -> ABCI
8 years ago
Anton Kalyaev
69a449a073
test/p2p: use PROXY_APP=persistent_dummy
8 years ago
Ethan Buchman
c7e578ac0d
check tmsp client err and set mustConnect=false
8 years ago
Ethan Buchman
0b919f4fd2
proxy: nil -> nilapp
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