Commit Graph

1654 Commits

Author SHA1 Message Date
29a893b193 update comment 2017-04-18 21:28:11 -04:00
cf4074cc80 defer gr.Close() fixes 2017-04-18 21:28:10 -04:00
cb2ed5bb7c fixes from review 2017-04-18 21:28:10 -04:00
2ba3656ffd wal: gr.Close() 2017-04-18 21:28:10 -04:00
cd9e9e9f45 s/ExecBlock/ValExecBlock/g; s/sm.ApplyBlock/sm.ExecCommitBlock/g 2017-04-18 21:28:10 -04:00
f9d0096744 support #HEIGHT based WAL 2017-04-18 21:28:10 -04:00
935f70a346 comments and cleanup 2017-04-18 21:28:10 -04:00
5109746b1c Handshake uses ApplyBlock, no ConsensuState 2017-04-18 21:28:10 -04:00
1684ec163f ABCIResponses not needed as field in state 2017-04-18 21:27:50 -04:00
3a973b80ac update glide 2017-04-18 21:27:31 -04:00
ed03cb5c17 consensus/replay: remove timeout 2017-04-18 21:27:31 -04:00
54b26869d5 consensus/wal: #HEIGHT -> #ENDHEIGHT 2017-04-18 21:27:31 -04:00
cb279bf662 state: ABCIResponses, s.Save() in ApplyBlock 2017-04-18 21:27:31 -04:00
9d2de2b756 tx_indexer -> tx_index 2017-04-18 20:55:40 -04:00
45876d0828 NewBatch takes size, batch.Add doesn't use append 2017-04-18 20:23:58 -04:00
b6a04a3456 more fixes from review 2017-04-18 20:11:53 -04:00
f4d0076344 TxResult includes Tx. /tx only works if indexer active 2017-04-18 19:56:41 -04:00
d572bb0c5d state/txindex and pkg per indexer impl 2017-04-18 19:29:02 -04:00
16bffdf7ab rpc/test: restore txindexer after setting null 2017-04-13 16:38:44 -04:00
c648bd5b31 Test /tx with indexer disabled 2017-04-13 22:26:07 +02:00
6e065affe5 rpc: /tx allows height+hash 2017-04-13 16:04:36 -04:00
4ee9acb8a7 Improve tx tests for both prove true/false 2017-04-13 16:04:35 -04:00
20458564b2 Expose Tx method in the clients 2017-04-13 21:49:21 +02:00
c848056438 rpc: better arg validation for /tx 2017-04-13 15:18:58 -04:00
b33a7c46ce Break new Tx rpc endpoint 2017-04-13 20:49:06 +02:00
a4ee7d25d1 Add TxIndexEnabled method to ResultStatus 2017-04-13 20:21:40 +02:00
58c860ba11 rpc/test: /tx 2017-04-13 14:18:35 -04:00
90d1ed87fd add tx_indexer to NodeInfo 2017-04-13 14:18:20 -04:00
df35989742 /tx can take height+index or hash 2017-04-13 13:47:48 -04:00
23dbd0c8c3 enable tx_indexer by default 2017-04-13 13:36:12 -04:00
257d81ddd1 rpc/core/types: uintX -> int 2017-04-13 13:35:16 -04:00
6899c91ebe add optional 'prove' flag to /tx 2017-04-12 18:55:00 -04:00
7fb0e8b30b Merge branch 'feature/tx-proof' into feature/237-tx-indexing
Conflicts:
	types/tx.go
2017-04-12 18:48:39 -04:00
a1387c7c17 remove expected panic in test 2017-04-12 18:45:37 -04:00
ffe6d58a58 add Height to ResultBroadcastTxCommit and EventDataTx 2017-04-12 18:33:48 -04:00
2a59cda77e /tx returns tx bytes 2017-04-12 18:18:17 -04:00
705e7bd577 Implemented and tested Txs.Index, hopefully better coverage 2017-04-12 15:18:09 +02:00
285a2a7061 More thorough testing of mutated bytes, use fixed go-wire 2017-04-12 15:18:09 +02:00
fd68bc7cfd Test Tx proofs secure 2017-04-12 15:16:46 +02:00
28307fd4c9 Add proof generation for one tx 2017-04-12 15:16:46 +02:00
72b2be51ec Merge pull request #446 from tendermint/fix-develop
Fix develop
2017-04-11 16:16:10 -04:00
9775ecde99 update glide 2017-04-11 15:45:21 -04:00
c0f026a9b3 update go-rpc to fix race condition 2017-04-11 15:45:16 -04:00
ac86e664c7 Revert "Undo last two commits"
This reverts commit d1fc37ff9e.
2017-04-11 15:44:36 -04:00
d1fc37ff9e Undo last two commits 2017-04-11 12:57:06 +02:00
7fbe8e47d4 fix tests 2017-04-10 17:32:48 -04:00
d7c5690f17 index by bytes. add TxID to broadcast_tx responses 2017-04-10 17:21:37 -04:00
d3069b0f5b Update abci develop 2017-04-10 22:46:03 +02:00
e4e17a2c95 Play well with go-{rpc,crypto,data}:develop 2017-04-10 21:16:41 +02:00
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