Ethan Buchman
edd7263f06
fixes from review
8 years ago
Ethan Buchman
46151720f8
fix tests
8 years ago
Ethan Frey
6b059e0063
Accept relative paths in all configs, TODO: must SetRoot
8 years ago
Ethan Frey
604bf03f3a
Pulled out all config structs (except p2p.PeerConfig) into config package
8 years ago
Ethan Buchman
7db7bbe464
node: ConfigFromViper
8 years ago
Ethan Buchman
75b6c5215f
fewer structs. remove viper from consensus
8 years ago
Ethan Buchman
d8fb226ec4
new config
8 years ago
Ethan Buchman
95c74b2ccd
remove some more viper
8 years ago
Ethan Buchman
f0e7f0acf8
remove viper from rpc except test
8 years ago
Ethan Buchman
1fcc9dc654
remove viper from proxy
8 years ago
Ethan Buchman
7c0f51e24b
remove viper from mempool
8 years ago
Ethan Buchman
29c0e6e4f4
remove viper from blockchain and state
8 years ago
Ethan Buchman
cc6dde96c1
rpc -> rpc/lib and rpc/tendermint -> rpc
8 years ago
Ethan Buchman
fcf78a5da7
cleanup go-config/viper and some unnamed imports
8 years ago
Rigel Rozanski
cefb2bede0
adding viper
int
int
8 years ago
Ethan Buchman
56c60fba23
go-p2p -> tendermint/p2p
8 years ago
Ethan Buchman
9e82d132ce
go-rpc -> tendermint/rpc
8 years ago
Ethan Buchman
d1926bcad1
use tmlibs
8 years ago
Ethan Buchman
fa451fc55c
tendermint/rpc -> tendermint/rpc/tendermint
8 years ago
Ethan Frey
e325ffc681
Lots of updates to use new go-crypto / json style
8 years ago
Ethan Buchman
9d2de2b756
tx_indexer -> tx_index
8 years ago
Ethan Buchman
b6a04a3456
more fixes from review
8 years ago
Ethan Buchman
f4d0076344
TxResult includes Tx. /tx only works if indexer active
8 years ago
Ethan Buchman
90d1ed87fd
add tx_indexer to NodeInfo
8 years ago
Anton Kaliaev
63704454a3
expose `/tx?hash="XXXXXXXXXXXX"` RPC call
8 years ago
Anton Kaliaev
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
8 years ago
Ethan Buchman
4fd1471f11
remove BaseService.OnStart
8 years ago
Ethan Buchman
1208296dc0
DialSeeds takes an AddrBook
8 years ago
Ethan Buchman
05d8cd50b5
update glide and node.go for update to p2p.AddrBook
8 years ago
Anton Kaliaev
4090a31d19
save seeds to addrBook (Refs #335 )
8 years ago
Ethan Buchman
8192bb0aaf
stop rpc listeners in node.OnStop()
8 years ago
Ethan Frey
7c26be3242
Begin implementation of local client
8 years ago
Ethan Buchman
0765613778
move handshake to consensus package
8 years ago
Ethan Buchman
6403b2f468
fixes for handshake replay through consensus
8 years ago
Ethan Buchman
cbe6dbe7a1
handshake replay through consensus using mockApp
8 years ago
Jae Kwon
1af930441c
Support new Query message for proofs
8 years ago
Jae Kwon
9a2dd8bc92
Refactor Node; Node is a simple BaseService
8 years ago
Jae Kwon
a073b1db9c
Refactor replay console -> replay_file in consensus/replay_file.go
8 years ago
Ethan Buchman
c147b41013
TMSP -> ABCI
8 years ago
Ethan Buchman
db437e7a45
broadcast_tx via grpc
8 years ago
Ethan Buchman
8b80f8ee05
feature flag: pex reactor
8 years ago
Ethan Buchman
e0db20c0cf
update privValidatorIndex on valset change
8 years ago
Ethan Buchman
a3d863f83b
consensus: track index of privVal
8 years ago
Ethan Buchman
07597dfd45
post rebase fixes for BlockID, partSize
8 years ago
Ethan Buchman
4360c360a4
move handshake to state, use Handshaker, more tests
8 years ago
Ethan Buchman
befd8b0cb2
post rebase fixes
8 years ago
Ethan Buchman
d3ae920bd0
state: ApplyBlock
8 years ago
Ethan Buchman
a0e4253edc
handshake
8 years ago
Jae Kwon
d83fc02597
MakePartSet takes partSize from config. fix replay test
8 years ago
Jae Kwon
c1729addce
Fix BFT issue where VoteSetMaj23Message wasn't being sent where prs.Round == blockStore.Round()
8 years ago