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
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 .
5 years ago
Erik Grinaker
fe11219795
Fix unexported returns ( #4450 )
5 years ago
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
5 years ago
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.
6 years ago
Zach Ramsay
44dad6d70b
Revert "detele everything"
This reverts commit d02c5d1e30
.
6 years ago
Zach Ramsay
d02c5d1e30
detele everything
6 years ago
Ethan Buchman
d55243f0e6
fix import paths
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
69b5da766c
service#Start, service#Stop signatures were changed
See https://github.com/tendermint/tmlibs/issues/45
7 years ago
Anton Kaliaev
91dc87e7c4
update for a new ABCI API
8 years ago
Anton Kaliaev
f8fdbe3dbc
changes as per Bucky's review
8 years ago
Anton Kaliaev
f803544195
new logging
8 years ago
Ethan Buchman
1fcc9dc654
remove viper from proxy
8 years ago
Ethan Buchman
fcf78a5da7
cleanup go-config/viper and some unnamed imports
8 years ago
Rigel Rozanski
cefb2bede0
adding viper
int
int
8 years ago
Ethan Buchman
d1926bcad1
use tmlibs
8 years ago
Ethan Buchman
4fd1471f11
remove BaseService.OnStart
8 years ago
Ethan Buchman
8ba79252c8
types: use mtx on PartSet.String()
8 years ago
Ethan Buchman
c147b41013
TMSP -> ABCI
8 years ago
Ethan Buchman
4360c360a4
move handshake to state, use Handshaker, more tests
8 years ago
Ethan Buchman
fb9735ef46
rebase fixes and BeginBlock(hash,header)
8 years ago
Ethan Buchman
d3ae920bd0
state: ApplyBlock
8 years ago
Ethan Buchman
a0e4253edc
handshake
8 years ago
Jae Kwon
480f44f16c
QuitService->BaseService
8 years ago
Ethan Buchman
c7e578ac0d
check tmsp client err and set mustConnect=false
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
9bb32f41f1
config: filter_peers defaults to false
8 years ago
Ethan Buchman
72c44efd84
fix query conn
8 years ago
Ethan Buchman
d9205a85d5
query conn
8 years ago
Ethan Buchman
3a7ee13ece
proxy: typed app conns
8 years ago