Ethan Buchman
ab753abfa0
Proposer->Proposal; sign heartbeats
7 years ago
Ethan Buchman
530626dab7
broadcast proposer heartbeat msg
7 years ago
Ethan Buchman
3444bee47f
fixes from review; use mempool.TxsAvailable() directly
7 years ago
Ethan Buchman
678a9a2e42
TxsAvailable tests
7 years ago
Ethan Buchman
4beac54bd9
no empty blocks
7 years ago
Ethan Buchman
525fc0ae5b
types: block comments
7 years ago
Ethan Buchman
3065059da7
update changelog
8 years ago
Ethan Buchman
12c084c8c0
ParseGenesisFile -> types.GenesisDocFromFile
8 years ago
Ethan Frey
e4caf96bcb
Calculate validator hash from genesis doc
8 years ago
zramsay
bf5181d9ca
address PR comments
8 years ago
zramsay
cf31f8d06f
core: apply megacheck vet tool (unused, gosimple, staticcheck)
8 years ago
Ethan Buchman
42626d9e16
[types] overwrite pubkey/addr in LoadPrivValidator. closes #500
8 years ago
Ethan Buchman
6a30a902c9
[types] more []byte->data.Bytes and some %X->%v
8 years ago
Ethan Buchman
6d83c60c40
[types] dont hash validator.Accum
8 years ago
Ethan Buchman
e1792c1ea5
fix tx string format take 2
8 years ago
Ethan Buchman
d5113377e2
fix tx string format
8 years ago
Ethan Frey
926fb83e33
Re-added comment
8 years ago
Ethan Frey
157ec8af2d
Add json tags to validator set
8 years ago
Anton Kaliaev
f8fdbe3dbc
changes as per Bucky's review
8 years ago
Anton Kaliaev
f803544195
new logging
8 years ago
Ethan Buchman
75b6c5215f
fewer structs. remove viper from consensus
8 years ago
Ethan Buchman
29c0e6e4f4
remove viper from blockchain and state
8 years ago
Jae Kwon
4c7a2be06a
Add Tx String representation
8 years ago
Ethan Buchman
07e59e63f9
TMEventDataInner
8 years ago
Ethan Buchman
bdb34f9f4e
types: []byte -> data.Bytes
8 years ago
Adrian Brink
842609ddcb
Send InitChain message from ABCI to Core on Genesis
InitChain is send from the ABCI to the Core node when the ABCI
app has no blocks stored.
8 years ago
Ethan Buchman
a70c95b79e
tmlibs/common/test -> tmlibs/test
8 years ago
Ethan Buchman
d5b524e309
go-merkle -> merkleeyes/iavl and tmlibs/merkle
8 years ago
Ethan Buchman
e6fe6b5b76
go-data -> go-wire/data
8 years ago
Ethan Buchman
d1926bcad1
use tmlibs
8 years ago
Ethan Buchman
5da9b3a803
postmerge
8 years ago
Ethan Buchman
c55d83281a
move into rpc package
8 years ago
Ethan Buchman
15d5b2ac49
use tmlibs
8 years ago
Ethan Buchman
0017fb7ffe
premerge
8 years ago
Ethan Frey
6d223d5526
Update to latest go-crypto
8 years ago
Ethan Frey
6a0217688f
Ensure private validator addresses are hex
8 years ago
Ethan Frey
e325ffc681
Lots of updates to use new go-crypto / json style
8 years ago
Ethan Frey
516e78ea54
Fix types to use updated go-crypto
8 years ago
Ethan Buchman
f4d0076344
TxResult includes Tx. /tx only works if indexer active
8 years ago
Ethan Buchman
6e065affe5
rpc: /tx allows height+hash
8 years ago
Ethan Buchman
a1387c7c17
remove expected panic in test
8 years ago
Ethan Buchman
ffe6d58a58
add Height to ResultBroadcastTxCommit and EventDataTx
8 years ago
Ethan Buchman
2a59cda77e
/tx returns tx bytes
8 years ago
Ethan Buchman
c3295f4878
RPCRequest.Params can be map[string]interface{} or []interface{}
8 years ago
Ethan Frey
705e7bd577
Implemented and tested Txs.Index, hopefully better coverage
8 years ago
Ethan Frey
285a2a7061
More thorough testing of mutated bytes, use fixed go-wire
8 years ago
Ethan Frey
fd68bc7cfd
Test Tx proofs secure
8 years ago
Ethan Frey
28307fd4c9
Add proof generation for one tx
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