Commit Graph

85 Commits

Author SHA1 Message Date
Ethan Buchman 7fb0e8b30b Merge branch 'feature/tx-proof' into feature/237-tx-indexing
Conflicts:
	types/tx.go
2017-04-12 18:48:39 -04:00
Ethan Frey 285a2a7061 More thorough testing of mutated bytes, use fixed go-wire 2017-04-12 15:18:09 +02:00
Ethan Buchman 9775ecde99 update glide 2017-04-11 15:45:21 -04:00
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 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 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
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
Ethan Buchman 07a9242dba update glide 2017-03-06 04:02:09 -05:00
Ethan Buchman 1208296dc0 DialSeeds takes an AddrBook 2017-03-05 23:14:15 -05:00
Ethan Buchman 2037d2631a fix race 2017-03-05 03:40:36 -05:00
Ethan Buchman a5ce4f6c36 update glide 2017-03-05 00:19:53 -05:00
Ethan Buchman 05d8cd50b5 update glide and node.go for update to p2p.AddrBook 2017-03-04 23:45:54 -05:00
Ethan Buchman 027cb8dc6b glide: use versions where applicable 2017-03-04 22:11:44 -05:00
Ethan Buchman c7386b139b glide update 2017-03-04 22:05:14 -05:00
rigelrozanski f5c4fdc82a seeds fix 2017-03-04 21:43:03 -05:00
Ethan Buchman 7098e5c7eb glide update 2017-03-03 01:33:13 -05:00
Ethan Frey 9693795c4c Move common code to merkleeyes/testutil 2017-02-24 17:05:15 +01:00
Ethan Frey a0bdae4f9c Added missing pkg/errors dependency 2017-02-24 17:05:13 +01:00
Ethan Frey c9d36cd713 Add dependencies, pull out HTTPClient test code 2017-02-24 17:05:13 +01:00
Ethan Buchman 6f83f0bd4e glide update 2017-02-14 17:09:12 -05:00
Ethan Buchman 7d91d4300b update glide 2017-02-13 21:07:26 -05:00
Jae Kwon 1af930441c Support new Query message for proofs 2017-01-28 08:27:13 -08:00
Jae Kwon cf0cb9558a Clean glide files 2017-01-14 21:03:12 -08:00
Ethan Buchman 9123e63a33 more glide updates 2017-01-13 00:54:06 -05:00
Ethan Buchman 1e25e9f58f glide update for go-db test fix 2017-01-12 22:49:52 -05:00
Ethan Buchman 16a5c6b2c8 update all glide deps to master 2017-01-12 22:05:03 -05:00
Ethan Buchman f347143b3d Merge branch 'master' into develop
Conflicts:
	cmd/tendermint/flags.go
	glide.lock
	glide.yaml
	node/node.go
	rpc/core/routes.go
	version/version.go
2017-01-12 20:48:10 -05:00
Ethan Buchman c1952523cd update glide 2017-01-12 20:22:23 -05:00
Ethan Buchman e0aead0be2 update glide 2017-01-12 16:12:41 -05:00
Ethan Buchman c147b41013 TMSP -> ABCI 2017-01-12 15:53:32 -05:00
Ethan Buchman 2dd7030579 tmsp: ResponseInfo and ResponseEndBlock 2017-01-12 15:21:20 -05:00
Ethan Buchman e7a12f8e38 cs.Wait() 2017-01-12 14:44:42 -05:00
Ethan Buchman 1d091bafe9 update glide 2017-01-12 11:00:43 -05:00
Ethan Buchman 618fce8d32 update glide 2017-01-11 23:47:28 -05:00
Ethan Buchman 18b3821e06 glide: update go-wire 2016-12-18 00:18:59 -05:00
Ethan Buchman 8390e88e27 fix flowrate dep and test 2016-12-09 01:28:08 -05:00
Jae Kwon 3000c8b349 Update glide w/ TMSP updates 2016-12-06 04:04:08 -08:00
Jae Kwon 1c16ce8cf0 Update go-db and tmsp 2016-12-06 02:18:13 -08:00
Jae Kwon 070728429b Upgrade autofile and merkle 2016-12-06 01:59:21 -08:00
Jae Kwon 918f76f96a Remove flowcontrol 2016-12-06 01:26:05 -08:00
Jae Kwon 4202c4bf20 Fix Merge pull request #319 2016-12-06 01:16:13 -08:00
Ethan Buchman 8b80f8ee05 feature flag: pex reactor 2016-11-30 23:07:45 -05:00
Ethan Buchman 3e7c7f51fa update glide 2016-11-23 19:44:25 -05:00
Ethan Buchman 64c7a0ad0d update glide 2016-11-22 21:28:57 -05:00
Jae Kwon deb4c428fd Update go-autofile 2016-11-21 20:29:30 -08:00
Jae Kwon b8e94b1d30 Update autofile 2016-11-21 20:19:49 -08:00