1f0985689d
ConsensusParams ptr in GenesisDoc for json
2017-09-21 15:22:58 -04:00
3089bbf2b8
Amount -> Power. Closes #166
2017-09-21 14:59:27 -04:00
5feeb65cf0
dont use pointers for ConsensusParams
2017-09-21 14:59:24 -04:00
2b6db268cf
genesis json tests and mv ConsensusParams to types
2017-09-21 14:51:29 -04:00
14abdd57f3
genDoc.ValidateAndComplete
2017-09-21 14:51:29 -04:00
bf576f0097
state: minor comment fixes
2017-09-12 14:37:32 -04:00
870a98ccc3
Last fixes
2017-09-12 17:12:19 +02:00
8eda3efa28
Cleanup lines to fit within 72 characters
2017-09-12 17:08:30 +02:00
2a6e71a753
Reformat tests to extract common setup
2017-09-12 16:57:10 +02:00
fae0603413
more fixes from review
2017-09-06 01:25:57 -04:00
9deb647303
fixes from review
2017-09-04 18:29:51 -04:00
78446fd99c
state: persist validators
2017-09-03 16:07:37 -04:00
34beff117a
state: comments; use wire.BinaryBytes
2017-09-03 16:07:37 -04:00
bfecb5a135
some fixes from review
2017-06-27 16:05:21 -04:00
2750343de5
Merge branch 'apply-megacheck' into unstable
2017-06-23 21:38:22 -04:00
3c0128a680
undo some megacheck suggestions
2017-06-23 21:36:47 -04:00
b4ece65726
standardize key for errors (should be "err")
2017-06-14 12:50:49 +04:00
b9b2782c3c
logger key doesn't support space
2017-06-14 14:41:36 +08:00
bf5181d9ca
address PR comments
2017-05-30 13:27:08 -04:00
cf31f8d06f
core: apply megacheck vet tool (unused, gosimple, staticcheck)
2017-05-29 23:11:40 -04:00
bd7ec18c19
fix tests
2017-05-26 12:17:32 -04:00
3fbe286e5a
small fixes to changelog, config, default logging
2017-05-22 08:16:25 -04:00
eb9ca23250
log whether node is a validator in each round
2017-05-16 14:01:52 +02:00
f8fdbe3dbc
changes as per Bucky's review
2017-05-13 16:22:51 +02:00
f803544195
new logging
2017-05-13 10:24:58 +02:00
46151720f8
fix tests
2017-05-04 22:46:41 -04:00
4982cb4d1f
fix tests for state and mempool
2017-05-04 22:43:55 -04:00
29c0e6e4f4
remove viper from blockchain and state
2017-05-04 22:39:21 -04:00
fcf78a5da7
cleanup go-config/viper and some unnamed imports
2017-04-25 14:54:56 -04:00
cefb2bede0
adding viper
...
int
int
2017-04-25 13:42:22 -04:00
d1926bcad1
use tmlibs
2017-04-21 18:12:54 -04:00
52d03d0071
post rebase fixes
2017-04-18 21:35:00 -04:00
29a893b193
update comment
2017-04-18 21:28:11 -04:00
cd9e9e9f45
s/ExecBlock/ValExecBlock/g; s/sm.ApplyBlock/sm.ExecCommitBlock/g
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
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
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
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
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
63704454a3
expose /tx?hash="XXXXXXXXXXXX"
RPC call
2017-04-10 22:44:07 +04:00