Ethan Buchman
3089bbf2b8
Amount -> Power. Closes #166
7 years ago
Ethan Buchman
5feeb65cf0
dont use pointers for ConsensusParams
7 years ago
Ethan Buchman
2b6db268cf
genesis json tests and mv ConsensusParams to types
7 years ago
Ethan Buchman
14abdd57f3
genDoc.ValidateAndComplete
7 years ago
Ethan Buchman
bf576f0097
state: minor comment fixes
7 years ago
Adrian Brink
870a98ccc3
Last fixes
7 years ago
Adrian Brink
8eda3efa28
Cleanup lines to fit within 72 characters
7 years ago
Adrian Brink
2a6e71a753
Reformat tests to extract common setup
7 years ago
Ethan Buchman
fae0603413
more fixes from review
7 years ago
Ethan Buchman
9deb647303
fixes from review
7 years ago
Ethan Buchman
34beff117a
state: comments; use wire.BinaryBytes
7 years ago
Ethan Buchman
78446fd99c
state: persist validators
7 years ago
Ethan Buchman
bfecb5a135
some fixes from review
8 years ago
Ethan Buchman
3c0128a680
undo some megacheck suggestions
8 years ago
Anton Kaliaev
b4ece65726
standardize key for errors (should be "err")
8 years ago
hxzqlh
b9b2782c3c
logger key doesn't support space
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
bd7ec18c19
fix tests
8 years ago
Ethan Buchman
3fbe286e5a
small fixes to changelog, config, default logging
8 years ago
Adrian Brink
eb9ca23250
log whether node is a validator in each round
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
46151720f8
fix tests
8 years ago
Ethan Buchman
4982cb4d1f
fix tests for state and mempool
8 years ago
Ethan Buchman
29c0e6e4f4
remove viper from blockchain and state
8 years ago
Ethan Buchman
fcf78a5da7
cleanup go-config/viper and some unnamed imports
8 years ago
Rigel Rozanski
cefb2bede0
adding viper
int
int
8 years ago
Ethan Buchman
d1926bcad1
use tmlibs
8 years ago
Ethan Buchman
52d03d0071
post rebase fixes
8 years ago
Ethan Buchman
29a893b193
update comment
8 years ago
Jae Kwon
cd9e9e9f45
s/ExecBlock/ValExecBlock/g; s/sm.ApplyBlock/sm.ExecCommitBlock/g
8 years ago
Ethan Buchman
935f70a346
comments and cleanup
8 years ago
Ethan Buchman
5109746b1c
Handshake uses ApplyBlock, no ConsensuState
8 years ago
Ethan Buchman
1684ec163f
ABCIResponses not needed as field in state
8 years ago
Ethan Buchman
3a973b80ac
update glide
8 years ago
Ethan Buchman
cb279bf662
state: ABCIResponses, s.Save() in ApplyBlock
8 years ago
Ethan Buchman
9d2de2b756
tx_indexer -> tx_index
8 years ago
Ethan Buchman
45876d0828
NewBatch takes size, batch.Add doesn't use append
8 years ago
Ethan Buchman
b6a04a3456
more fixes from review
8 years ago
Ethan Buchman
f4d0076344
TxResult includes Tx. /tx only works if indexer active
8 years ago
Ethan Buchman
d572bb0c5d
state/txindex and pkg per indexer impl
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
7fbe8e47d4
fix tests
8 years ago
Ethan Buchman
d7c5690f17
index by bytes. add TxID to broadcast_tx responses
8 years ago
Anton Kaliaev
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
```
8 years ago
Anton Kaliaev
63704454a3
expose `/tx?hash="XXXXXXXXXXXX"` RPC call
8 years ago
Anton Kaliaev
b08f29cb71
add config option for tx indexing and disable it by default
8 years ago
Anton Kaliaev
d62e85757f
execution test
8 years ago