Commit Graph

210 Commits

Author SHA1 Message Date
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
Jae Kwon 0f1cf243fd Merge remote-tracking branch 'origin/replay' 2016-01-28 19:53:22 -08:00
Jae Kwon 254331485a ... 2016-01-22 12:48:04 -08:00
Jae Kwon d6aa43fcda Fix broken test due to config requiring ~/.tendermint_test 2016-01-22 11:55:24 -08:00
Jae Kwon 4b40a58c0e Fix rpc/test import; Remove ~/.tendermint_test on each test 2016-01-18 13:18:45 -08:00
Ethan Buchman 26f0e2bc2d msgLogFP -> write ahead log 2016-01-18 14:44:45 -05:00
Ethan Buchman 3b06368569 rebase fixes 2016-01-14 20:15:33 -05:00
Ethan Buchman 9fc0726504 timeoutProposeDelta 2016-01-14 18:58:11 -05:00
Ethan Buchman 6aaa5fb0bf consensus: msg saving and replay 2016-01-14 18:58:11 -05:00
Ethan Buchman 96547d0ca8 ws fixes; rpc tests 2016-01-12 19:14:02 -05:00
Jae Kwon 5a8a9bfd69 Make fast_sync=true by default, with more relaxed conditions 2015-12-31 00:32:54 -08:00
Ethan Buchman 5cbb5d2541 tendermint init 2015-12-21 17:52:00 -05:00
Jae Kwon e67f385574 Conform to go-common WriteFile*(path,mode) 2015-12-04 00:03:09 -08:00
Jae Kwon 543ca16b6f Conform to go-common EnsureDir(path, mode) 2015-12-03 23:50:17 -08:00
Jae Kwon ef43af19ab Tendermint <-> Application refactor 2015-12-01 20:12:01 -08:00
Jae Kwon e12f9d10e7 Bare consensus refactor 2015-11-01 11:34:08 -08:00
Jae Kwon c4ed55d801 Refactor to move common libraries out of project 2015-10-22 17:39:06 -07:00
Jae Kwon 7c12c5aee3 Fix config bug where chain_id is default magic. Always read from genesis 2015-10-20 17:39:03 -07:00
Jae Kwon 26905b1260 Make Tendermint genesis agnostic; wait for file to start node 2015-10-18 07:20:05 -07:00
Jae Kwon fb62e1eb75 bump chain_id to 11.c 2015-10-12 17:43:17 -07:00
Jae Kwon fa956596dc Merge remote-tracking branch 'origin/config' into develop 2015-10-11 18:18:53 -07:00
Jae Kwon 898d1dc138 HACK FIX config chain_id
need to change this...
2015-10-06 09:51:32 -04:00
Jae Kwon 8db93b874c added testnet addresses 2015-10-05 12:01:22 -07:00
Ethan Buchman bb662b8861 more config options 2015-09-25 11:58:11 -04:00
Ethan Buchman b54522c60f more versioning 2015-09-16 05:08:06 +00:00
Jae Kwon 891ad9c1f0 log_level is notice. add testnet addrs 2015-09-11 21:09:47 -07:00
Jae Kwon 625f23af13 Blockpool better timeouts, download rate observation, quicker switching to consensus; Id -> ID (sorry, this doesn't belong here) 2015-09-11 21:09:00 -07:00
Jae Kwon 65ecf4b3a2 bump testnet 2015-09-11 21:09:00 -07:00
Jae Kwon b9cbb0dac5 testnet10 2015-08-14 15:36:40 -07:00
Jae Kwon 4d765dcf2b Generate account from seed 2015-08-14 10:49:44 -07:00
Jae Kwon 1b9fd811a1 RPCResponse.Result && EventData are registered interfaces; -skip_upnp option 2015-08-11 11:01:18 -07:00
Ethan Buchman 6f25dfef44 move NewContractAddress to types and use ripemd160 2015-08-02 22:24:35 -04:00
Jae Kwon 4ee387d077 change genesis addr for testnet testing 2015-07-31 18:03:52 -07:00
Jae Kwon 6b1a846201 bump chain_id; test coins 2015-07-23 23:07:34 -07:00
Jae Kwon 7441e322d0 fix node/addrbook test; made build task quieter 2015-07-22 06:21:20 -07:00
Ethan Buchman 7865cd3533 backwards compatible addresses 2015-07-19 14:40:53 -04:00
Ethan Buchman dc7b912881 crypto byte arrays are fixed length 2015-07-17 17:19:16 -04:00
Jae Kwon 44c950d96b bump version number 2015-07-15 14:33:03 -07:00
Jae Kwon d91f073676 uuid branch tidying 2015-07-13 16:00:01 -07:00
Jae Kwon e4fae760af move revisions file to ~/.tendermint/ 2015-07-13 11:49:09 -07:00
Jae Kwon 4504e6a9f4 upgrade default genesis for testnet 2015-07-11 14:52:24 -07:00
Jae Kwon 0f61785cba Added logjack for splitting up the tendermint log file 2015-07-09 18:23:55 -07:00
Jae Kwon 347276ecdb bump version and testnet 2015-06-25 14:08:05 -07:00
Ethan Buchman 57ff919d50 godep 2015-06-09 23:17:19 -04:00
Ethan Buchman 02aedaaefb more cleanup rpc tests, testing namereg 2015-05-30 01:19:03 -04:00
Ethan Buchman 8a2d9525f0 network > chain_id, put in genesis.json 2015-05-29 18:14:19 -04:00
Ethan Buchman bb67fe0356 dont run consensus state unless fast sync is off 2015-05-28 03:45:46 -07:00
Jae Kwon 8a5c320472 Bumped version number 2015-05-24 14:24:53 -07:00
Jae Kwon 489bf767cb importing tendermint/config/tendermint_test applies the test config 2015-05-17 16:19:58 -07:00