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 Frey
c410fc5e24
Add extra test for encoding with sig,for p2p test fail
2017-04-10 19:51:02 +02:00
Ethan Frey
aecc32d363
Make dependencies explicit in glide.yaml
2017-04-10 19:51:02 +02:00
Ethan Frey
9e57d521ef
Add type assertions for sig/pub/privkey implemenetations
2017-04-10 19:51:02 +02:00
Jae Kwon
f17e6bf44c
Fix bitcoin addr scheme
2017-04-10 19:51:02 +02:00
Jae Kwon
926741c0a1
remove coin param
2017-04-10 19:51:02 +02:00
Jae Kwon
a3324cc97b
Cleanup; Implement .Wrap()
2017-04-10 19:51:02 +02:00
Ethan Frey
eb6fcef8d2
Better docs and naming thanks to bucky
2017-04-10 19:51:01 +02:00
Ethan Frey
5b94758d4c
Make PubKey struct compatible with go-wire.JSONBytes/ReadJSON
2017-04-10 19:51:01 +02:00
Ethan Frey
66ecd7705f
Use new naming scheme PubKey{PubKeyInner}
2017-04-10 19:51:01 +02:00
Ethan Frey
750b25c47a
Update go-data, test embedding strategies
2017-04-10 19:41:30 +02:00
Ethan Frey
49569ac244
Wrap constructor to create xxxS structs and avoid recursion
2017-04-10 19:41:30 +02:00
Ethan Buchman
fc95c9872f
Merge pull request #438 from tendermint/replay-fix
...
consensus: timeout on replayLastBlock
2017-04-10 10:33:48 -04:00
Jae Kwon
e49fdf7be7
Add HD functions
2017-04-08 22:57:59 -07:00
Anton Kaliaev
c94c1ff89a
[ansible-tendermint] add missing handler to readme
2017-04-04 18:28:12 +04:00
Anton Kaliaev
294292f586
[ansible-tendermint] specify what this role does
2017-04-04 18:25:50 +04:00
Anton Kaliaev
4911c66b6d
Merge pull request #25 from tendermint/23-tendermint-seeds
...
[ansible-tendermint] tendermint_validators variable (Refs #23 )
2017-04-04 13:11:07 +04:00
Anton Kaliaev
667e92e635
[ansible-tendermint] tendermint_validators variable (Refs #23 )
2017-04-04 13:04:34 +04:00
Anton Kaliaev
aa0fa0e6d8
Merge pull request #26 from tendermint/24-more-config-variables
...
[ansible-tendermint] more configuration options (Refs #24 )
2017-04-04 13:01:22 +04:00
Anton Kaliaev
19e332840b
[ansible-tendermint] more configuration options (Refs #24 )
2017-04-04 12:58:22 +04:00
Anton Kaliaev
649a485275
[ansible-tendermint] systemd template
2017-04-03 21:01:41 +04:00
Anton Kaliaev
4c4bce9469
[mintnet-kubernetes] use tr -d
as per Frey suggestion
2017-04-03 15:03:13 +04:00
Paul W. Homer
2feff1ea16
Commented the empty table in c_level_db, and cleaned up the mem_db Value call.
2017-04-01 15:44:41 -04:00
Anton Kaliaev
121926d898
[ansible-tendermint] quick fix for #22
2017-03-31 21:53:24 +04:00
Anton Kaliaev
5e5968801c
[ansible-tendermint] make seeds explicit
2017-03-31 21:49:13 +04:00
Anton Kaliaev
4750dbba77
[ansible-tendermint] rename playbook for clarity
2017-03-31 21:31:46 +04:00
Anton Kaliaev
5e56b2ea0e
[ansible-tendermint] add TOC
2017-03-31 21:23:42 +04:00
Anton Kaliaev
f33edeb23a
[ansible-tendermint] add image
2017-03-31 21:18:45 +04:00
Anton Kaliaev
a8d530dfda
change title
2017-03-31 21:09:35 +04:00
Anton Kaliaev
b552974a09
Merge pull request #20 from tendermint/mintnet-ansible
...
Ansible playbook for Tendermint
2017-03-31 21:08:01 +04:00
Anton Kaliaev
b708e91bce
mintnet-ansible
...
update readme, add license
rename mintnet-ansible to ansible-tendermint
fix name
text format for log file
include start into main
update readme
2017-03-31 21:06:49 +04:00
Anton Kaliaev
eee17f2a5c
[mintnet-kubernetes] make sure not to read and write the same file in the same pipeline
2017-03-30 20:36:16 +04:00
Paul W. Homer
4fdcf51467
Refactored the iterator to follow Go constructor conventions.
2017-03-30 11:51:11 -04:00
Anton Kaliaev
05e6a730eb
[mintnet-kubernetes] add rancher as an option for DO [ci skip]
2017-03-30 12:42:12 +04:00
Ethan Frey
ae55713864
Move tx from light-client and add tests
2017-03-29 20:41:11 +02:00
Paul W. Homer
34e2d6638d
Fixed a typo in LevelDB property names.
2017-03-29 09:09:01 -04:00
Anton Kaliaev
dec518eb06
update comment [ci skip] [circleci skip]
2017-03-29 16:03:05 +04:00
Ethan Buchman
09f7dabd5e
update comment
2017-03-28 14:06:03 -04:00
Ethan Frey
58e537a42d
Refactor setting up the key manager from config
2017-03-28 19:05:33 +02:00
Ethan Buchman
6af2364fa9
Merge pull request #10 from tendermint/recreate-quit-channel-on-reset
...
Recreate Quit channel on reset
2017-03-28 12:26:02 -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
Anton Kaliaev
ba5382b70e
open result&error channels on start
2017-03-28 14:17:40 +04:00
Anton Kaliaev
b0d2032488
use BaseService.OnReset method to recreate channels
2017-03-28 14:01:22 +04:00
Anton Kaliaev
7a12594edb
[service] recreate Quit channel on reset
...
don't think that user should do this thing him/herself
2017-03-28 13:56:48 +04:00
Anton Kaliaev
9442a069a3
[tm-monitor] use BaseService.Reset method
2017-03-28 13:51:14 +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