Ethan Frey
c0f026a9b3
update go-rpc to fix race condition
2017-04-11 15:45:16 -04:00
Ethan Buchman
ac86e664c7
Revert "Undo last two commits"
...
This reverts commit d1fc37ff9e
.
2017-04-11 15:44:36 -04:00
Ethan Frey
d1fc37ff9e
Undo last two commits
2017-04-11 12:57:06 +02:00
Ethan Buchman
7fbe8e47d4
fix tests
2017-04-10 17:32:48 -04:00
Ethan Buchman
d7c5690f17
index by bytes. add TxID to broadcast_tx responses
2017-04-10 17:21:37 -04:00
Ethan Frey
d3069b0f5b
Update abci develop
2017-04-10 22:46:03 +02:00
Ethan Frey
e4e17a2c95
Play well with go-{rpc,crypto,data}:develop
2017-04-10 21:16:41 +02:00
Anton Kaliaev
3478de50a1
no need for map - tx responses should arrive in order (Refs #237 )
...
```
me: so we are executing them in order and receiving them in order and there is no way we could receive them out of order (due to network or something else), correct?
ebuchman: if we receive them out of order, ABCI is broken
ebuchman: so it is possible, if the ABCI server we're talking to is not implementing the spec
ebuchman: but that shouldn't justify us building a map
```
2017-04-10 22:44:08 +04:00
Anton Kaliaev
63704454a3
expose `/tx?hash="XXXXXXXXXXXX"` RPC call
2017-04-10 22:44:07 +04:00
Anton Kaliaev
b08f29cb71
add config option for tx indexing and disable it by default
2017-04-10 22:44:07 +04:00
Anton Kaliaev
d62e85757f
execution test
2017-04-10 22:44:07 +04:00
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
2017-04-10 22:44:07 +04:00
Ethan Buchman
fc95c9872f
Merge pull request #438 from tendermint/replay-fix
...
consensus: timeout on replayLastBlock
2017-04-10 10:33:48 -04:00
Ethan Buchman
09f7dabd5e
update comment
2017-03-28 14:06:03 -04:00
Ethan Buchman
4fd1471f11
remove BaseService.OnStart
2017-03-28 12:09:11 -04:00
Ethan Buchman
85e83934a1
fixes from review
2017-03-28 12:07:32 -04:00
Ethan Buchman
162fbdd17b
Merge pull request #419 from tendermint/cli_cobra
...
added use of Cobra CLI
2017-03-27 17:16:43 -04:00
Ethan Buchman
0413a87eb4
fix typo
2017-03-27 16:59:54 -04:00
Ethan Buchman
c1dc1a1a45
Merge pull request #437 from tendermint/feature/431-data-flag
...
rename TMROOT to TMHOME
2017-03-27 15:47:02 -04:00
Ethan Buchman
077cf13a1f
consensus: timeout on replayLastBlock
2017-03-27 15:41:45 -04:00
Anton Kaliaev
12ead6cc7e
make changes backwards compatible (Refs #431 )
2017-03-27 20:41:00 +04:00
Anton Kaliaev
5f6de800a0
rename TMROOT to TMHOME (Refs #431 )
2017-03-27 15:17:10 +04:00
Ethan Buchman
5420254b36
changelog: add prehistory
2017-03-09 01:34:11 -05:00
Ethan Buchman
55b3c22d99
publish.sh to push build to s3
2017-03-09 01:34:11 -05:00
Anton Kaliaev
a4154e76c5
update docker readme [ci skip] [circleci skip]
2017-03-08 14:09:54 +04:00
Anton Kaliaev
524f3b2d57
Merge pull request #429 from tendermint/update-docker-image-for-0.9.0
...
update Dockerfile for 0.9.0 release
2017-03-08 14:06:57 +04:00
Anton Kaliaev
d474baeeea
update Dockerfile for 0.9.0 release
2017-03-08 14:05:32 +04:00
rigelrozanski
4e743649be
glide update
2017-03-06 17:36:53 -05:00
rigelrozanski
fab518fc98
flag fix, glide update
...
squash
2017-03-06 17:32:42 -05:00
rigelrozanski
fa609366d4
melekes change request
2017-03-06 17:30:06 -05:00
rigelrozanski
569fd474c2
added use of Cobra CLI
...
squash
2017-03-06 17:30:06 -05:00
Ethan Buchman
d4f6254551
Merge pull request #426 from tendermint/release-0.9.0
...
Release 0.9.0
2017-03-06 05:34:45 -05:00
Ethan Buchman
e31ed6dc2f
Merge branch 'master' into release-0.9.0 (woops)
2017-03-06 04:27:38 -05:00
Ethan Buchman
8449e9794a
CHANGELOG
2017-03-06 04:25:55 -05:00
Ethan Buchman
07a9242dba
update glide
2017-03-06 04:02:09 -05:00
Ethan Buchman
097da55a2c
test/p2p: shellcheck
2017-03-06 03:49:48 -05:00
Ethan Buchman
caaafa192b
test/persist: use unix socket for rpc
2017-03-06 02:42:00 -05:00
Ethan Buchman
fc6d22db32
test: better client naming
2017-03-06 01:11:00 -05:00
Ethan Buchman
d58a666445
test/persist: bump sleep to 5 for bound ports release
2017-03-06 00:32:24 -05:00
Ethan Buchman
22d95c7b51
test: docker exec doesnt work on circle
2017-03-05 23:38:11 -05:00
Ethan Buchman
b1cd677711
types: valSet LastProposer->Proposer and Proposer()->GetProposer()
2017-03-05 23:28:42 -05:00
Ethan Buchman
1208296dc0
DialSeeds takes an AddrBook
2017-03-05 23:14:15 -05:00
Ethan Buchman
cfc7fed31c
test/pex: dial_seeds
2017-03-05 23:14:11 -05:00
Ethan Buchman
e4e70ece3f
test: fix docker and apps
2017-03-05 20:39:52 -05:00
Ethan Buchman
0fa34f7f67
fix ProposerSelection by persisting proposer
2017-03-05 19:45:24 -05:00
Ethan Buchman
55602b9be6
failing ProposerSelection test
2017-03-05 15:05:36 -05:00
Ethan Buchman
749df0536f
test/docker: install abci apps first
2017-03-05 14:59:02 -05:00
Ethan Buchman
2037d2631a
fix race
2017-03-05 03:40:36 -05:00
Ethan Buchman
de0153a1c4
consensus: some more informative logging
2017-03-05 02:15:46 -05:00
Ethan Buchman
d93d754972
test/p2p/fast_sync: use --pex on restart
2017-03-05 02:03:49 -05:00