Ethan Buchman
35521b553a
save historical consensus params
7 years ago
Ethan Buchman
70a744558c
types: params.Update()
7 years ago
Ethan Buchman
3d00c477fc
separate block vs state based validation
7 years ago
Anton Kaliaev
0ffd60b8cf
ValidatorSetUpdates -> ValidatorUpdates
7 years ago
Anton Kaliaev
843e1ed400
Updates -> ValidatoSetUpdates
7 years ago
Ethan Buchman
4bca6bf6f5
fix test
7 years ago
Ethan Frey
960b25408f
Store LastConsensusHash in State as well
Update all BlockValidation that it matches the last state
7 years ago
Ethan Frey
d151e36ea8
Add ConsensusHash to header
7 years ago
Ethan Frey
56cada6a0c
Validate ConsensusParams returned from abci app
7 years ago
Ethan Frey
030fd00232
Added tests for applying consensus param changes
7 years ago
Ethan Frey
d21f39160f
Apply ConsensusParamChanges to state/State
7 years ago
Ethan Frey
4265a94bfe
Update EndBlock parameters
* Update abci dependencies
* Modify references from Diffs to Changes
* Fixes issues #924
7 years ago
Anton Kaliaev
7f649ccf23
fixes from Frey's review
7 years ago
Anton Kaliaev
808b830942
add a unit test
Refs #668
7 years ago
Anton Kaliaev
d669816a1b
send absent validators in BeginBlock
Refs #668
7 years ago
Ethan Frey
dedf03bb81
Add TotalTx to block header, issue #952
Update state to keep track of this info.
Change function args as needed.
Make NumTx also an int64 for consistency.
7 years ago
Zach
12c5a57415
determinisitic linter ( #902 )
* linter: address gosimple lints
* linter: make deterministic & a rebase fix
* lint/rpc: fix a gosimple lint
* run linter in CI
* fix rebase mistake
* fix makefile
* ugh
* revert Makefile
* add metalinter to CI
* try this
* linter: last little fix
* need glide
* better
* okayy circle, have it your way
* lints: gosimple
* pr comments
7 years ago
Ethan Buchman
9af8da7aad
update for new abci int types
7 years ago
Anton Kaliaev
922af7c405
int64 height
uint64 is considered dangerous. the details will follow in a blog post.
7 years ago
Ethan Buchman
e9f8e56895
fixes from rebase
7 years ago
Anton Kaliaev
b3492356e6
uint64 height (Refs #911 )
7 years ago
Anton Kaliaev
6423306980
TestIndexAllTags (unit)
7 years ago
Anton Kaliaev
c5b62ce1ee
correct abci version
7 years ago
Anton Kaliaev
e538e0e077
config variable to index all tags
7 years ago
Anton Kaliaev
66ad366a4f
test searching for tx with multiple same tags
7 years ago
Anton Kaliaev
864ad8546e
more test cases
7 years ago
Anton Kaliaev
a762253e24
do not use AddBatch, prefer copying for now
7 years ago
Anton Kaliaev
10d893ee9b
update deps
7 years ago
Anton Kaliaev
acbc0717d4
add client methods
7 years ago
Anton Kaliaev
1e19860585
fixes from my own review
7 years ago
Anton Kaliaev
09941b9aa9
fix metalinter warnings
7 years ago
Anton Kaliaev
686e0eea9f
extract indexing goroutine to a separate indexer service
7 years ago
Anton Kaliaev
91f2184003
fixes after bucky's review
7 years ago
Anton Kaliaev
3e577ccf4f
add `tx_search` RPC endpoint
7 years ago
Anton Kaliaev
ea0b205455
searching transaction results
7 years ago
Anton Kaliaev
f65e357d2b
adapt Tendermint to new abci.Client interface
which was introduced in https://github.com/tendermint/abci/pull/130
7 years ago
Anton Kaliaev
29cd1a1b8f
rewrite indexer to be a listener of eventBus
7 years ago
Anton Kaliaev
acae38ab9e
validate tags
7 years ago
Anton Kaliaev
a52cdbfe43
extract tags from DeliverTx/Result
and send them along with predefined
7 years ago
Anton Kaliaev
69b5da766c
service#Start, service#Stop signatures were changed
See https://github.com/tendermint/tmlibs/issues/45
7 years ago
Zach Ramsay
6f3c05545d
fix new linting errors
7 years ago
Zach Ramsay
c84c7250ba
linting: few more fixes
7 years ago
Zach Ramsay
d7cb291fb2
errcheck; sort some stuff out
7 years ago
Zach Ramsay
48aca642e3
linter: address deadcode, implement incremental lint testing
7 years ago
Zach Ramsay
68e7983c70
linting errors: afew more
7 years ago
Zach Ramsay
b75d4f73e7
errcheck: PR comment fixes
7 years ago
Zach Ramsay
b3c5933a23
state: return to-be-used function
7 years ago
Zach Ramsay
57ea4987f7
linting: apply errcheck part1
7 years ago
Zach Ramsay
d95ba866b8
lint: apply deadcode/unused
7 years ago
Zach Ramsay
46ccbcbff6
linting: apply 'gofmt -s -w' throughout
7 years ago