Marko
efd2fde474
privval: add ctx to privval interface ( #6240 )
## Description
- Add `context.Context` to Privval interface
This pr does not introduce context into our custom privval connection protocol because this will be removed in the next release. When this pr is released.
3 years ago
Aleksandr Bezobchuk
bd8a9372d2
consensus: Groom Logs ( #5917 )
Executed a local network using simapp and looked for logs that seemed superfluous. This isn't by any means an exhaustive grooming, but should drastically help legibility of logs.
ref: #5912
3 years ago
Callum Waters
3283a84ab2
cmd: hyphen case cli and config ( #5777 )
4 years ago
Callum Waters
ca8a404c7c
cli: light home dir should default to where the full node default is ( #5392 )
4 years ago
Anton Kaliaev
3e1516b624
linters: enable stylecheck ( #4153 )
Refs #3262
5 years ago
Anton Kaliaev
06225e332e
Config option for JSON output formatter ( #2843 )
* Introduce a structured logging option
* rename StructuredLog to LogFormat
* add changelog entry
* move log_format under log_level
6 years ago
Anton Kaliaev
4c4a95ca53
config: Add ValidateBasic ( #2485 )
* add missing options to config.toml template and docs
Refs #2232
* config#ValidateBasic
Refs #2232
* [config] timeouts as time.Duration, not ints
Why:
- native type provides better guarantees than ", in ms" comment (harder
to shoot yourself in the leg)
- flexibility: you can change units
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
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
```
6 years ago
Ethan Buchman
cca597a9c0
fix and test config file
6 years ago
Adrian Brink
7dd3c007c7
Refactor priv_validator
Users can now just pass an object that implements the Signer interface.
7 years ago
Adrian Brink
bf5e956087
Change capitalisation
7 years ago
Ethan Buchman
d87acc2d1b
cmd: don't load config for version command. closes #620
7 years ago
Emmanuel Odeke
d8af26e75a
cmd/tendermint/commands: update ParseConfig doc
7 years ago
Ethan Frey
58105dbd4e
Refactored some commands to be more reusable
7 years ago
Anton Kaliaev
9dcf130d67
update tmlibs (Refs #504 )
7 years ago
Anton Kaliaev
ed7183936d
move log level parsing to tmlibs/cli package (Refs #504 )
7 years ago
zramsay
9c3eee0b00
Makefile: add megacheck & some additional fixes
7 years ago
Anton Kaliaev
9bc1790320
tracing logger (Refs #506 )
DEPENDS ON https://github.com/tendermint/tmlibs/pull/21
7 years ago
Anton Kaliaev
fb0df75de0
changes per Frey comments (Refs #493 )
7 years ago
Anton Kaliaev
05a8204508
per module log levels (Refs #493 )
7 years ago
Anton Kaliaev
f8fdbe3dbc
changes as per Bucky's review
7 years ago
Anton Kaliaev
f803544195
new logging
7 years ago
Ethan Buchman
edd7263f06
fixes from review
7 years ago
Ethan Buchman
46151720f8
fix tests
7 years ago
Ethan Buchman
9109b20852
SetRoot
7 years ago
Ethan Frey
6b059e0063
Accept relative paths in all configs, TODO: must SetRoot
7 years ago
Ethan Frey
92dee7ea3c
Commands compile (mostly) with new config reading
7 years ago
Ethan Buchman
f217f2b2c5
cleanup run_node flags
7 years ago
Ethan Buchman
1ef7c1d25b
cmd: fixes for new config
7 years ago
Ethan Buchman
7db7bbe464
node: ConfigFromViper
7 years ago
Ethan Buchman
75b6c5215f
fewer structs. remove viper from consensus
7 years ago
Ethan Buchman
d8fb226ec4
new config
7 years ago
Ethan Buchman
fcf78a5da7
cleanup go-config/viper and some unnamed imports
7 years ago
Rigel Rozanski
cefb2bede0
adding viper
int
int
7 years ago
Ethan Buchman
d1926bcad1
use tmlibs
7 years ago
Ethan Buchman
f5b77d50b5
fix setting log level
7 years ago
rigelrozanski
fab518fc98
flag fix, glide update
squash
7 years ago
rigelrozanski
fa609366d4
melekes change request
7 years ago
rigelrozanski
569fd474c2
added use of Cobra CLI
squash
7 years ago