Ethan Buchman
ffe6d58a58
add Height to ResultBroadcastTxCommit and EventDataTx
8 years ago
Ethan Buchman
2a59cda77e
/tx returns tx bytes
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
b1cd677711
types: valSet LastProposer->Proposer and Proposer()->GetProposer()
8 years ago
Ethan Buchman
0fa34f7f67
fix ProposerSelection by persisting proposer
8 years ago
Ethan Buchman
55602b9be6
failing ProposerSelection test
8 years ago
Ethan Buchman
de0153a1c4
consensus: some more informative logging
8 years ago
Ethan Buchman
8ba79252c8
types: use mtx on PartSet.String()
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
Jae Kwon
67ab574e98
Cleanup, add stub for VerifyCommitAny
8 years ago
Ethan Buchman
c147b41013
TMSP -> ABCI
8 years ago
Ethan Buchman
d68cdce2d5
consensus: check HasAll when TwoThirdsMajority
8 years ago
Jae Kwon
43fdc4a1ce
Fix #341
8 years ago
Ethan Buchman
faf23aa0d4
consensus: TimeoutTicker, skip TimeoutCommit on HasAll
8 years ago
Ethan Buchman
38783e7fa1
types: SignatureEd25519 -> Signature
8 years ago
Ethan Buchman
1b3766d802
types: canonical_json.go
8 years ago
zachary balder
da8b043612
sign bytes w struct literals
8 years ago
Ethan Buchman
ed42f70248
types: benchmark WriteSignBytes
8 years ago
Ethan Buchman
de6bba4609
test: randConsensusNet takes more args
8 years ago
Ethan Buchman
6be5bda8c9
types: copy commit bit array
8 years ago
Ethan Buchman
69ef1da58c
types: copy vote set bit array
8 years ago
Jae Kwon
4202c4bf20
Fix Merge pull request #319
8 years ago
Ethan Buchman
b74a97a4f6
update grpc broadcast tx
8 years ago
Ethan Buchman
2f9063c1d6
consensus: test validator set change
8 years ago
Ethan Buchman
5046d5b181
more handshake replay cleanup
8 years ago
Ethan Buchman
6f8c91b651
use NewValidator; fix setPrivValidatorIndex
8 years ago
Ethan Buchman
e0db20c0cf
update privValidatorIndex on valset change
8 years ago
Ethan Buchman
655b6300f5
val set changes
8 years ago
Ethan Buchman
d7f6c0775a
remove LastCommitHeight
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
138de19e1e
test: app persistence
8 years ago
Ethan Buchman
f37f56d4f1
fixes
8 years ago
Ethan Buchman
c3d5634efa
begin block
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
Ethan Buchman
57da2e4af5
make byzantine logic testable
9 years ago
Jae Kwon
fd128c7180
Fix comments from review
8 years ago
Jae Kwon
b73a6905a1
Initial pass at bft_fix_2 completion
8 years ago
Jae Kwon
655d829314
Fix proposal sign bytes. Start tracking blockID in POL
8 years ago
Jae Kwon
1173a85c85
Use BlockID everywhere
8 years ago
Jae Kwon
40791d886d
Add test for new VoteSet
9 years ago
Jae Kwon
7221887330
VoteSet can handle conflicting votes. TODO: add more tests
9 years ago
Jae Kwon
3c5a2f55c2
Add validator index and address to Vote.
9 years ago
Ethan Buchman
35d4cca8bb
type safe events
8 years ago
Ethan Frey
22979d9365
Fire proper EventData object on append transaction
8 years ago
Ethan Buchman
1110c5d37d
privVal.LastSignBytes and more replay tests
8 years ago
Ethan Buchman
a1c20ce866
types: privVal.LastSignature. closes #247
9 years ago