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
```
2018-02-07 12:08:13 +04:00
Ethan Buchman
3ae26bd6e6
consensus: fix SetLogger in tests
2018-01-24 23:34:57 -05:00
Ethan Buchman
85816877c6
config: fix addrbook path to go in config
2018-01-23 22:21:17 -05:00
Ethan Buchman
f06cc6630b
mempool: cfg.CacheSize and expose InitWAL
2018-01-19 01:03:03 -05:00
Ethan Buchman
8171628ee5
make tests run faster
2018-01-19 00:59:09 -05:00
Ethan Buchman
cca597a9c0
fix and test config file
2018-01-19 00:08:19 -05:00
Ethan Buchman
53a5498fc5
more fixes from review
2018-01-13 17:34:12 -05:00
Ethan Buchman
b1485b181a
Merge branch 'p2p-consolidate' into p2p-id
2018-01-13 15:20:23 -05:00
Ethan Buchman
e6b70baae0
Merge branch 'develop' into 864-distinguish-between-seeds-and-manual-peers
2018-01-13 14:34:32 -05:00
Anton Kaliaev
e4897b7bdd
rename manual peers to persistent peers
2018-01-09 16:18:05 -06:00
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
2018-01-09 16:03:24 -06:00
Ethan Buchman
b289d2baf4
persistent node key and ID
2018-01-01 21:21:42 -05:00
Ethan Buchman
a8e625e99d
config: unexpose chainID
2017-12-28 20:49:02 +00:00
Zach Ramsay
a92a32b862
config: lil fixes
2017-12-28 20:49:02 +00:00
Anton Kaliaev
69d8c2e554
fixes after my own review
2017-12-28 20:49:02 +00:00
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
2017-12-28 20:49:02 +00:00
Ethan Buchman
5d04ccbe51
excessive logging. update tmlibs for timer fix
2017-12-16 19:16:08 -05:00
Ethan Buchman
462b755a60
activate PEX reactor by default
2017-12-13 12:25:48 -06:00
Anton Kaliaev
5ff0bb2100
default moniker to the host name (Refs #920 )
2017-12-07 12:49:29 -06:00
Anton Kaliaev
e538e0e077
config variable to index all tags
2017-11-30 20:02:39 -06:00
Anton Kaliaev
91f2184003
fixes after bucky's review
2017-11-29 14:24:18 -06:00
Anton Kaliaev
461a143a2b
remove tx.hash tag from config because it's mandatory
2017-11-29 14:23:44 -06:00
Anton Kaliaev
cd4be1f308
add tx_index config
2017-11-29 14:23:43 -06:00
Zach Ramsay
d7cb291fb2
errcheck; sort some stuff out
2017-11-27 22:39:11 +00:00
Zach Ramsay
8f0237610e
linting errors: clean it all up
2017-11-27 22:39:11 +00:00
Zach Ramsay
331857c9e6
linting: apply errcheck part2
2017-11-27 22:39:11 +00:00
Zach Ramsay
57ea4987f7
linting: apply errcheck part1
2017-11-27 22:39:11 +00:00
caffix
687834c99e
added initial trust metric test routines
2017-11-14 18:26:06 -05:00
caffix
54c25ccbf5
integrated trust metric store as per PR comments
2017-11-14 18:26:06 -05:00
Ethan Buchman
3089bbf2b8
Amount -> Power. Closes #166
2017-09-21 14:59:27 -04:00
Ethan Buchman
2b6db268cf
genesis json tests and mv ConsensusParams to types
2017-09-21 14:51:29 -04:00
Ethan Buchman
1f3e4d2d9a
move PartSetSize out of the config, into ConsensusParams
2017-09-21 14:51:29 -04:00
Ethan Buchman
b9637f7185
Update changelog and add roadmap
2017-09-05 16:25:02 -04:00
Ethan Buchman
daa258ea6d
p2p: put maxMsgPacketPayloadSize, recvRate, sendRate in config
...
Updates #628
2017-09-01 21:44:15 -04:00
Ethan Buchman
0bf66deb3c
fixes from review
2017-08-08 17:09:04 -04:00
Ethan Buchman
37f1390473
CreateEmptyBlocks and CreateEmptyBlocksInterval
2017-08-08 16:22:37 -04:00
Ethan Buchman
e9a2389300
cmd: --consensus.no_empty_blocks
2017-07-28 22:11:45 -04:00
Ethan Buchman
124032e3e9
NoEmptyBlocks config option
2017-07-28 22:11:45 -04:00
Ethan Buchman
3c10f7a122
add p2p flush throttle to config
2017-07-07 13:08:52 -04:00
Ethan Buchman
ca8c34f966
add consensus reactor sleep durations to the config
2017-07-07 12:39:40 -04:00
Ethan Buchman
bd7ec18c19
fix tests
2017-05-26 12:17:32 -04:00
Ethan Buchman
fc6611b2d9
[config] RPCConfig
2017-05-24 13:56:12 -04:00
Ethan Buchman
3fbe286e5a
small fixes to changelog, config, default logging
2017-05-22 08:16:25 -04: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 Frey
2a9e89b34f
Add basic tests on config, mainly to raise test coverage
2017-05-05 15:50:23 +02:00
Ethan Buchman
8a0466d81d
config: pex_reactor -> pex
2017-05-05 02:04:24 -04:00
Ethan Buchman
46151720f8
fix tests
2017-05-04 22:46:41 -04:00
Ethan Buchman
9109b20852
SetRoot
2017-05-04 22:46:41 -04:00
Ethan Frey
6b059e0063
Accept relative paths in all configs, TODO: must SetRoot
2017-05-04 22:46:40 -04:00
Ethan Frey
604bf03f3a
Pulled out all config structs (except p2p.PeerConfig) into config package
2017-05-04 22:46:40 -04:00
Ethan Buchman
6afee8f117
rpc: fix tests
2017-05-04 22:45:13 -04:00
Ethan Buchman
24ce90fc72
fix up config defaults
2017-05-04 22:43:55 -04:00
Ethan Buchman
75b6c5215f
fewer structs. remove viper from consensus
2017-05-04 22:43:55 -04:00
Ethan Buchman
d8fb226ec4
new config
2017-05-04 22:43:55 -04:00
Ethan Buchman
56a1a2d917
remove logrotate.config
2017-05-04 22:39:03 -04:00
Ethan Buchman
fcf78a5da7
cleanup go-config/viper and some unnamed imports
2017-04-25 14:54:56 -04:00
Rigel Rozanski
7bb638e3b8
fix test_integrations error
2017-04-25 13:44:13 -04:00
Rigel Rozanski
7448753257
fixing tests
2017-04-25 13:43:57 -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 Frey
e325ffc681
Lots of updates to use new go-crypto / json style
2017-04-21 16:51:17 -04:00
Ethan Buchman
9d2de2b756
tx_indexer -> tx_index
2017-04-18 20:55:40 -04:00
Ethan Buchman
23dbd0c8c3
enable tx_indexer by default
2017-04-13 13:36:12 -04:00
Anton Kaliaev
b08f29cb71
add config option for tx indexing and disable it by default
2017-04-10 22:44:07 +04:00
Ethan Buchman
fc95c9872f
Merge pull request #438 from tendermint/replay-fix
...
consensus: timeout on replayLastBlock
2017-04-10 10:33:48 -04:00
Ethan Buchman
85e83934a1
fixes from review
2017-03-28 12:07:32 -04:00
Ethan Buchman
077cf13a1f
consensus: timeout on replayLastBlock
2017-03-27 15:41:45 -04:00
Anton Kaliaev
12ead6cc7e
make changes backwards compatible (Refs #431 )
2017-03-27 20:41:00 +04:00
Anton Kaliaev
5f6de800a0
rename TMROOT to TMHOME (Refs #431 )
2017-03-27 15:17:10 +04:00
Ethan Buchman
0bec99fbd4
consensus: handshake replay test using wal
2017-02-17 19:12:05 -05:00
Ethan Buchman
f347143b3d
Merge branch 'master' into develop
...
Conflicts:
cmd/tendermint/flags.go
glide.lock
glide.yaml
node/node.go
rpc/core/routes.go
version/version.go
2017-01-12 20:48:10 -05:00
Ethan Buchman
c147b41013
TMSP -> ABCI
2017-01-12 15:53:32 -05:00
Anton Kalyaev
3308ac7d83
set skip_timeout_commit to true for tests
...
For the tests its better to not use the timeout_commit, and to wait for all the
votes, because otherwise we can end up with timing dependencies in the testing
code which can lead to nondeterministic failures. That was part of the reason
for this change originally.
2017-01-11 18:00:26 -05:00
Anton Kalyaev
a1fd312bb1
make progress asap on full precommit votes optional (Refs #348 )
2017-01-11 18:00:26 -05:00
Ethan Buchman
c90985d309
test: set log_level=info
2016-12-22 22:25:47 -05:00
Ethan Buchman
e981ff4e7d
tests: shorten timeouts
2016-12-20 00:17:41 -05:00
Ethan Buchman
db437e7a45
broadcast_tx via grpc
2016-12-02 00:29:25 -05:00
Ethan Buchman
8b80f8ee05
feature flag: pex reactor
2016-11-30 23:07:45 -05:00
Jae Kwon
d83fc02597
MakePartSet takes partSize from config. fix replay test
2016-11-16 01:23:16 -05:00
Jae Kwon
3d3d8b5b7b
cswal -> cs_wal_dir
2016-10-30 03:55:27 -07:00
Jae Kwon
642a24dc9c
Mempool WAL
2016-10-17 16:54:51 -07:00
Ethan Buchman
bfa690b6f7
config: reduce timeouts during test
2016-09-10 15:16:23 -04:00
Ethan Buchman
9bb32f41f1
config: filter_peers defaults to false
2016-09-08 18:56:02 -04:00
Ethan Buchman
bd429f3d4f
config: all urls use tcp:// or unix:// prefix
2016-08-10 02:16:41 -04:00
Ethan Buchman
54357bcf8f
crank consensus timeout parameters for tests (see #236 )
2016-07-12 14:25:27 -04:00
Ethan Buchman
2a1e7a427d
support tmsp via grpc
2016-05-23 14:46:32 -04:00
Ethan Buchman
b2e612fb79
default empty seeds. some node methods
2016-05-11 14:45:20 -04:00
Jae Kwon
ad17090a0f
No global config
2016-05-08 15:00:58 -07:00
Jae Kwon
4c114680a4
Remove spurious genesis.json
2016-05-05 11:39:14 -07:00
Ethan Buchman
850d769273
allow no recheck if empty block
2016-04-29 14:23:04 -07:00
Ethan Buchman
501c4e4bac
fixes from review
2016-04-26 22:17:13 -04:00
Ethan Buchman
898f44ddda
config: disable_data_hash (for testing)
2016-04-19 20:43:54 -04:00
Jae Kwon
3f6f149584
Revert "Fix tendermint_test config -- Address() spec has changed"
...
This reverts commit 8598283735
.
2016-03-15 15:57:18 -07:00
Jae Kwon
8598283735
Fix tendermint_test config -- Address() spec has changed
2016-03-15 15:18:19 -07:00
Jae Kwon
03115cbf93
Fix tests; Tests run in their own directory
2016-03-06 15:05:50 -08:00
Ethan Buchman
94f3d201e1
drop mempool_reap. use block_size=-1 instead
2016-03-05 16:41:54 -05:00
Ethan Buchman
3891e4d66d
config: cswal_light, mempool_broadcast, mempool_reap
2016-03-03 06:31:59 +00:00
Ethan Buchman
c9ec9cf00e
config: block size, consensus timeouts, recheck tx
2016-02-29 17:04:33 -05:00
Ethan Buchman
94a1978ce4
allow nil or dummy for in-proc
2016-02-26 21:29:46 -05:00