Alexander Simmerl
74d3f7e1fd
Integrate private validator socket client
Following ADDR 008 the node will connect to an external
process to handle signing requests. Operation of the external process is
left to the user.
* introduce alias for PrivValidator interface on socket client
* integrate socket client in node
* structure tests
* remove unnecessary flag
7 years ago
Alexander Simmerl
a14aab67de
Integrate PrivValidator socket server
7 years ago
Ethan Buchman
23eb84db35
wip: priv val via sockets
7 years ago
Anton Kaliaev
cf1f483526
add seed_mode flag (`--p2p.seed_mode`)
7 years ago
Anton Kaliaev
b0ca8a0872
With must be called on log.filter, otherwise "main" entries get filtered
Also, we should allow "main" module to log INFO messages like
```
I[02-07|07:57:25.074] Found private validator module=main path=/home/vagrant/.tendermint/config/priv_validator.json
I[02-07|07:57:25.076] Found genesis file module=main path=/home/vagrant/.tendermint/config/genesis.json
```
Refs https://github.com/cosmos/gaia/issues/118
**BEFORE**:
```
$ tendermint init
```
**AFTER**:
```
$ tendermint init
I[02-07|07:57:25.074] Found private validator module=main path=/home/vagrant/.tendermint/config/priv_validator.json
I[02-07|07:57:25.076] Found genesis file module=main path=/home/vagrant/.tendermint/config/genesis.json
```
7 years ago
Ethan Buchman
3ae26bd6e6
consensus: fix SetLogger in tests
7 years ago
Ethan Buchman
85816877c6
config: fix addrbook path to go in config
7 years ago
Ethan Buchman
f06cc6630b
mempool: cfg.CacheSize and expose InitWAL
7 years ago
Ethan Buchman
8171628ee5
make tests run faster
7 years ago
Ethan Buchman
cca597a9c0
fix and test config file
7 years ago
Ethan Buchman
53a5498fc5
more fixes from review
7 years ago
Anton Kaliaev
e4897b7bdd
rename manual peers to persistent peers
7 years ago
Anton Kaliaev
28fc15028a
distinguish between seeds and manual peers in the config/flags
- we only use seeds if we can’t connect to peers in the addrbook.
- we always connect to nodes given in config/flags
Refs #864
7 years ago
Ethan Buchman
b289d2baf4
persistent node key and ID
7 years ago
Ethan Buchman
a8e625e99d
config: unexpose chainID
7 years ago
Zach Ramsay
a92a32b862
config: lil fixes
7 years ago
Anton Kaliaev
69d8c2e554
fixes after my own review
7 years ago
Zach Ramsay
70ba608850
config: write all default options to config file
config: test the default file
docs: spiff up config
config: minor fixes & comments
config: simplify test
config; use a seperate config directory, #556
config: update docs & parameterize file paths
config: PR comments
config: use the default object
fix a rebase error
7 years ago
Ethan Buchman
5d04ccbe51
excessive logging. update tmlibs for timer fix
7 years ago
Ethan Buchman
462b755a60
activate PEX reactor by default
7 years ago
Anton Kaliaev
5ff0bb2100
default moniker to the host name (Refs #920 )
7 years ago
Anton Kaliaev
e538e0e077
config variable to index all tags
7 years ago
Anton Kaliaev
91f2184003
fixes after bucky's review
7 years ago
Anton Kaliaev
461a143a2b
remove tx.hash tag from config because it's mandatory
7 years ago
Anton Kaliaev
cd4be1f308
add tx_index config
7 years ago
Zach Ramsay
d7cb291fb2
errcheck; sort some stuff out
7 years ago
Zach Ramsay
8f0237610e
linting errors: clean it all up
7 years ago
Zach Ramsay
331857c9e6
linting: apply errcheck part2
7 years ago
Zach Ramsay
57ea4987f7
linting: apply errcheck part1
7 years ago
caffix
687834c99e
added initial trust metric test routines
7 years ago
caffix
54c25ccbf5
integrated trust metric store as per PR comments
7 years ago
Ethan Buchman
8ae2ffda89
put funcs back in order to simplify review
7 years ago
Ethan Buchman
75b97a5a65
PrivValidatorFS is like old PrivValidator, for now
7 years ago
Ethan Buchman
4382c8d28b
fix tests
7 years ago
Ethan Buchman
3089bbf2b8
Amount -> Power. Closes #166
7 years ago
Ethan Buchman
2b6db268cf
genesis json tests and mv ConsensusParams to types
7 years ago
Ethan Buchman
1f3e4d2d9a
move PartSetSize out of the config, into ConsensusParams
7 years ago
Ethan Buchman
b9637f7185
Update changelog and add roadmap
7 years ago
Ethan Buchman
daa258ea6d
p2p: put maxMsgPacketPayloadSize, recvRate, sendRate in config
Updates #628
7 years ago
Ethan Buchman
0bf66deb3c
fixes from review
7 years ago
Ethan Buchman
37f1390473
CreateEmptyBlocks and CreateEmptyBlocksInterval
8 years ago
Ethan Buchman
e9a2389300
cmd: --consensus.no_empty_blocks
8 years ago
Ethan Buchman
124032e3e9
NoEmptyBlocks config option
8 years ago
Ethan Buchman
3c10f7a122
add p2p flush throttle to config
8 years ago
Ethan Buchman
ca8c34f966
add consensus reactor sleep durations to the config
8 years ago
Ethan Buchman
bd7ec18c19
fix tests
8 years ago
Ethan Buchman
fc6611b2d9
[config] RPCConfig
8 years ago
Ethan Buchman
3fbe286e5a
small fixes to changelog, config, default logging
8 years ago
Anton Kaliaev
f8fdbe3dbc
changes as per Bucky's review
8 years ago
Anton Kaliaev
f803544195
new logging
8 years ago