Marko
b8d08b9ef4
lint: add errchecks ( #5316 )
...
## Description
Work towards enabling errcheck
ref #5059
2020-09-04 11:58:03 +00:00
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.
2020-07-08 12:07:11 +00:00
Erik Grinaker
569981325a
add ABCI interface for state sync snapshots ( #4704 )
...
Adds the ABCI interface for [state sync](https://github.com/tendermint/tendermint/issues/828 ) as outlined in [ADR-053](https://github.com/tendermint/tendermint/blob/master/docs/architecture/adr-053-state-sync-prototype.md ), and bumps ABCIVersion to `0.17.0`.
The interface adds a new ABCI connection which Tendermint can use to query and load snapshots from the app (for serving snapshots to other nodes), and to offer and apply snapshots to the app (for state syncing a local node from peers).
Split out from the original PR in #4645 , state sync reactor will be submitted as a separate PR. The interface is implemented by the Cosmos SDK in https://github.com/cosmos/cosmos-sdk/pull/5803 .
2020-04-29 10:32:09 +02:00
Erik Grinaker
fe11219795
Fix unexported returns ( #4450 )
2020-02-21 19:21:39 +01:00
Marko
27b00cf8d1
libs/common: refactor libs common 3 ( #4232 )
...
* libs/common: refactor libs common 3
- move nil.go into types folder and make private
- move service & baseservice out of common into service pkg
ref #4147
Signed-off-by: Marko Baricevic <marbar3778@yahoo.com >
* add changelog entry
2019-12-11 09:31:25 +01:00
Ethan Buchman
91a8767083
proxy: remove Handshaker from proxy pkg ( #2437 )
...
Handshaker was removed from proxy package so it can be called
independently of starting the abci app connections and can return a
result to the caller.
2018-09-19 15:35:09 +02:00
Ethan Buchman
d55243f0e6
fix import paths
2018-07-01 22:36:49 -04:00
Anton Kaliaev
69b5da766c
service#Start, service#Stop signatures were changed
...
See https://github.com/tendermint/tmlibs/issues/45
2017-11-29 10:38:58 -06:00
Anton Kaliaev
91dc87e7c4
update for a new ABCI API
2017-05-16 19:06:35 +02:00
Anton Kaliaev
f8fdbe3dbc
changes as per Bucky's review
2017-05-13 16:22:51 +02:00
Anton Kaliaev
f803544195
new logging
2017-05-13 10:24:58 +02:00
Ethan Buchman
1fcc9dc654
remove viper from proxy
2017-05-04 22:39:22 -04:00
Ethan Buchman
fcf78a5da7
cleanup go-config/viper and some unnamed imports
2017-04-25 14:54:56 -04:00
Rigel Rozanski
cefb2bede0
adding viper
...
int
int
2017-04-25 13:42:22 -04:00
Ethan Buchman
d1926bcad1
use tmlibs
2017-04-21 18:12:54 -04:00
Ethan Buchman
4fd1471f11
remove BaseService.OnStart
2017-03-28 12:09:11 -04:00
Ethan Buchman
8ba79252c8
types: use mtx on PartSet.String()
2017-03-02 23:50:59 -05:00
Ethan Buchman
c147b41013
TMSP -> ABCI
2017-01-12 15:53:32 -05:00
Ethan Buchman
4360c360a4
move handshake to state, use Handshaker, more tests
2016-11-16 13:29:22 -05:00
Ethan Buchman
fb9735ef46
rebase fixes and BeginBlock(hash,header)
2016-11-16 13:25:13 -05:00
Ethan Buchman
d3ae920bd0
state: ApplyBlock
2016-11-16 13:25:13 -05:00
Ethan Buchman
a0e4253edc
handshake
2016-11-16 13:25:13 -05:00
Jae Kwon
480f44f16c
QuitService->BaseService
2016-10-28 12:14:24 -07:00
Ethan Buchman
c7e578ac0d
check tmsp client err and set mustConnect=false
2016-09-11 16:08:46 -04:00
Ethan Buchman
caeda30b72
proxy: wrap NewTMSPClient in ClientCreator
2016-09-10 17:19:47 -04:00
Ethan Buchman
035ca7ef61
proxy: NewAppConns takes a NewTMSPClient func
2016-09-09 23:55:24 -04:00
Ethan Buchman
9bb32f41f1
config: filter_peers defaults to false
2016-09-08 18:56:02 -04:00
Ethan Buchman
72c44efd84
fix query conn
2016-08-25 14:16:28 -04:00
Ethan Buchman
d9205a85d5
query conn
2016-08-24 01:45:45 -04:00
Ethan Buchman
3a7ee13ece
proxy: typed app conns
2016-08-24 01:45:45 -04:00