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
9 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
Jae Kwon
3d3d8b5b7b
cswal -> cs_wal_dir
8 years ago
Jae Kwon
eab4e1cfa1
Remove redundant cs.WAL from NewNode()
8 years ago
Ethan Buchman
2113b6f4bb
rpc: use interfaces for pipe
8 years ago
Ethan Buchman
35d4cca8bb
type safe events
8 years ago
Ethan Buchman
c7e578ac0d
check tmsp client err and set mustConnect=false
8 years ago
Ethan Buchman
caeda30b72
proxy: wrap NewTMSPClient in ClientCreator
8 years ago
Ethan Buchman
41918d619c
expose query and info through rpc
8 years ago
Ethan Buchman
bfa690b6f7
config: reduce timeouts during test
8 years ago
Ethan Buchman
035ca7ef61
proxy: NewAppConns takes a NewTMSPClient func
8 years ago
Ethan Buchman
9bb32f41f1
config: filter_peers defaults to false
8 years ago
Ethan Buchman
943ad0e93f
filter peers by addr/pubkey. closes #244
8 years ago
Ethan Buchman
d9205a85d5
query conn
8 years ago
Ethan Buchman
3a7ee13ece
proxy: typed app conns
8 years ago
Ethan Buchman
bd429f3d4f
config: all urls use tcp:// or unix:// prefix
8 years ago