Ethan Buchman
d1926bcad1
use tmlibs
8 years ago
Ethan Buchman
cb279bf662
state: ABCIResponses, s.Save() in ApplyBlock
8 years ago
Ethan Buchman
00847cdc6b
blockpool: fix removePeer bug
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
Anton Kalyaev
eef9124d1b
fix typo
8 years ago
Anton Kaliaev
2c724d5eee
remove warning messages in favor of "Send failed"
8 years ago
Anton Kaliaev
6dbe9febce
log warning if peer send failed (Refs #174 )
make lint happy
remove dead code
remove not needed go-common dependency
check peer.Send failures (Refs #174 )
8 years ago
Ethan Buchman
f9df4294f3
move some interfaces to types/services.go
8 years ago
Ethan Buchman
99b068b313
BlockMeta uses BlockID
8 years ago
Ethan Buchman
c9698e4848
fixes from review
8 years ago
Ethan Buchman
b2376058a1
blockchain: thread safe store.Height()
8 years ago
Ethan Buchman
8390e88e27
fix flowrate dep and test
8 years ago
Ethan Buchman
2425711734
blockchain: use ApplyBlock
8 years ago
Jae Kwon
6f88d04ac4
call db.SetSync when necessary
8 years ago
Ethan Buchman
5046d5b181
more handshake replay cleanup
8 years ago
Ethan Buchman
655b6300f5
val set changes
8 years ago
Jae Kwon
d83fc02597
MakePartSet takes partSize from config. fix replay test
8 years ago
Jae Kwon
1173a85c85
Use BlockID everywhere
8 years ago
Jae Kwon
bf1bceec87
Use go-flowcontrol
8 years ago
Jae Kwon
480f44f16c
QuitService->BaseService
8 years ago
Ethan Buchman
7d493774c7
log: move some Info to Debug
8 years ago
Ethan Buchman
71baad59df
replay: ensure cs.height and wal.height match
8 years ago
Ethan Buchman
35d4cca8bb
type safe events
8 years ago
Ethan Buchman
bf7ba17932
test/p2p: name client conts so we dont need to rm them because circle
8 years ago
Ethan Buchman
7bec333017
fix fast sync
8 years ago
Ethan Buchman
3a7ee13ece
proxy: typed app conns
8 years ago
Jae Kwon
b25cfb0e0b
Unify blockpool mtxs
8 years ago
Ethan Buchman
ca674304c5
fix blockpool races. closes #188
8 years ago
Jae Kwon
f17c4c1d57
s/Validation/Commit/g
9 years ago
Jae Kwon
d5ab243cfd
Fix #198 ; Do not fast-sync when lone validator
9 years ago
Ethan Buchman
c9ec9cf00e
config: block size, consensus timeouts, recheck tx
9 years ago
Ethan Buchman
50ac66f79b
fast sync fixes
9 years ago
Ethan Buchman
0be13d1d27
move alert, events, rpc into own repos
9 years ago
Jae Kwon
3e3c0083c7
Make order be decided first; Remove TMSP Commit/Rollback
9 years ago
Jae Kwon
6132017f82
Remove mempool log bypass
9 years ago
Jae Kwon
9357e8ecf8
IsCaughtUp requires a peer
9 years ago
Jae Kwon
dcc1caaf68
Make Receive() logging consistent
9 years ago
Jae Kwon
5a8a9bfd69
Make fast_sync=true by default, with more relaxed conditions
9 years ago
Jae Kwon
d87667a0c2
Conform to go-wire new TypeByte behavior for broadcasts
9 years ago
Jae Kwon
08d7980d80
Conform to go-wire new TypeByte behavior
9 years ago
Ethan Buchman
b9e143d956
Fireable -> EventSwitch; rs in EventDataRoundState; fixes from review
9 years ago
Jae Kwon
3da76496b0
Fix BlockchainReactor bug w/ mismatched state.LastBlockHeight vs store.Height
This is due to a non-atomic saves of state.State vs blockchain.Store.
This is a simple hack.
9 years ago
Jae Kwon
ef43af19ab
Tendermint <-> Application refactor
9 years ago
Jae Kwon
d69b5c5ab6
Conform to go-wire 1.0
9 years ago
Jae Kwon
e12f9d10e7
Bare consensus refactor
9 years ago
Jae Kwon
c4ed55d801
Refactor to move common libraries out of project
9 years ago
Jae Kwon
cb3a1fd095
Fixed a blockchain pool goroutine-leak bug
9 years ago
Jae Kwon
fd9f816050
refactor variable names, pool.requests -> pool.requesters
9 years ago
Jae Kwon
47eee5ddd5
blockchain pool race condition fix
9 years ago