b4ece65726
standardize key for errors (should be "err")
2017-06-14 12:50:49 +04:00
562dd67e16
fix invalid keys (space is prohibited by logfmt encoder)
2017-06-14 12:50:01 +04:00
cf686d4f83
Fix commonly misspelled words
2017-05-20 21:43:00 -07:00
30a19fc899
[consensus] Info->Debug for is a validator log msg
2017-05-18 11:26:15 +02:00
91dc87e7c4
update for a new ABCI API
2017-05-16 19:06:35 +02:00
eb9ca23250
log whether node is a validator in each round
2017-05-16 14:01:52 +02:00
1dfb95f719
[consensus] color code different consensus instances in consensus tests
...
(Refs #492 )
2017-05-15 09:35:29 +02:00
f8fdbe3dbc
changes as per Bucky's review
2017-05-13 16:22:51 +02:00
c9cd8de9c6
set logger
2017-05-13 10:25:00 +02:00
3e1343dc6b
has as a base16 string
2017-05-13 10:24:59 +02:00
f803544195
new logging
2017-05-13 10:24:58 +02:00
46151720f8
fix tests
2017-05-04 22:46:41 -04:00
9109b20852
SetRoot
2017-05-04 22:46:41 -04:00
6b059e0063
Accept relative paths in all configs, TODO: must SetRoot
2017-05-04 22:46:40 -04:00
92dee7ea3c
Commands compile (mostly) with new config reading
2017-05-04 22:46:40 -04:00
604bf03f3a
Pulled out all config structs (except p2p.PeerConfig) into config package
2017-05-04 22:46:40 -04:00
92bafa7ecd
consensus: fix tests
2017-05-04 22:46:13 -04:00
6afee8f117
rpc: fix tests
2017-05-04 22:45:13 -04:00
1ef7c1d25b
cmd: fixes for new config
2017-05-04 22:43:55 -04:00
75b6c5215f
fewer structs. remove viper from consensus
2017-05-04 22:43:55 -04:00
95c74b2ccd
remove some more viper
2017-05-04 22:43:55 -04:00
1fcc9dc654
remove viper from proxy
2017-05-04 22:39:22 -04:00
7c0f51e24b
remove viper from mempool
2017-05-04 22:39:22 -04:00
4305d054d6
Merge pull request #465 from tendermint/bytes
...
RPC Serialization Overhaul
2017-05-03 14:37:21 -04:00
07e59e63f9
TMEventDataInner
2017-04-28 17:57:06 -04:00
0be3480729
consensus: comment about test_data [ci skip]
2017-04-27 18:34:57 -04:00
495283e2d4
fix replay tests and update test wals for InitChain
2017-04-27 18:30:43 -04:00
842609ddcb
Send InitChain message from ABCI to Core on Genesis
...
InitChain is send from the ABCI to the Core node when the ABCI
app has no blocks stored.
2017-04-27 20:22:11 +02:00
fcf78a5da7
cleanup go-config/viper and some unnamed imports
2017-04-25 14:54:56 -04:00
cefb2bede0
adding viper
...
int
int
2017-04-25 13:42:22 -04:00
56c60fba23
go-p2p -> tendermint/p2p
2017-04-21 18:19:41 -04:00
d1926bcad1
use tmlibs
2017-04-21 18:12:54 -04:00
6a0217688f
Ensure private validator addresses are hex
2017-04-21 16:51:17 -04:00
7e56aad51a
[consensus/test_data/build.sh] install tendermint if absent
2017-04-21 16:51:17 -04:00
cf4074cc80
defer gr.Close() fixes
2017-04-18 21:28:10 -04:00
cb2ed5bb7c
fixes from review
2017-04-18 21:28:10 -04:00
2ba3656ffd
wal: gr.Close()
2017-04-18 21:28:10 -04:00
cd9e9e9f45
s/ExecBlock/ValExecBlock/g; s/sm.ApplyBlock/sm.ExecCommitBlock/g
2017-04-18 21:28:10 -04:00
f9d0096744
support #HEIGHT based WAL
2017-04-18 21:28:10 -04:00
935f70a346
comments and cleanup
2017-04-18 21:28:10 -04:00
5109746b1c
Handshake uses ApplyBlock, no ConsensuState
2017-04-18 21:28:10 -04:00
ed03cb5c17
consensus/replay: remove timeout
2017-04-18 21:27:31 -04:00
54b26869d5
consensus/wal: #HEIGHT -> #ENDHEIGHT
2017-04-18 21:27:31 -04:00
cb279bf662
state: ABCIResponses, s.Save() in ApplyBlock
2017-04-18 21:27:31 -04:00
c3f1b08b6a
tx indexing (Refs #237 )
...
save transactions to blockstore
move to a separate module
benchmark KVIndexer
batch write transactions
Benchmarks:
```
BenchmarkKVIndexerIndex-2 100000 516300 ns/op
PASS
ok github.com/tendermint/tendermint/blockchain/tx 56.506s
5,16 s for 10000 transactions
1 s for 2000 transactions
```
```
BenchmarkKVIndexerIndex-2 h 3000000 8622 ns/op
PASS
ok github.com/tendermint/tendermint/blockchain/tx 34.210s
86 ms for 10000 transactions
16 ms for 2000 transactions
```
```
BenchmarkKVIndexerIndex1-2 5000000 7160 ns/op
BenchmarkKVIndexerIndex500-2 20000 1750411 ns/op
BenchmarkKVIndexerIndex1000-2 10000 3573973 ns/op
BenchmarkKVIndexerIndex2000-2 5000 7836851 ns/op
BenchmarkKVIndexerIndex10000-2 1000 33438980 ns/op
PASS
ok github.com/tendermint/tendermint/blockchain/tx 209.482s
7,8 ms for 2000 transactions
```
[state] write test for ApplyBlock
review comments
- move txindexer to state
- fix type
save Tx Index as well
do not store tx itself in the result
2017-04-10 22:44:07 +04:00
09f7dabd5e
update comment
2017-03-28 14:06:03 -04:00
4fd1471f11
remove BaseService.OnStart
2017-03-28 12:09:11 -04:00
85e83934a1
fixes from review
2017-03-28 12:07:32 -04:00
077cf13a1f
consensus: timeout on replayLastBlock
2017-03-27 15:41:45 -04:00
b1cd677711
types: valSet LastProposer->Proposer and Proposer()->GetProposer()
2017-03-05 23:28:42 -05:00