Zach Ramsay
44dad6d70b
Revert "detele everything"
This reverts commit d02c5d1e30
.
7 years ago
Zach Ramsay
d02c5d1e30
detele everything
7 years ago
Ethan Buchman
d55243f0e6
fix import paths
7 years ago
Alexander Simmerl
a605b66c5a
Move abci imports
7 years ago
Liamsi
d2c05bc5b9
Revert "delete everything" (includes everything non-go-crypto)
This reverts commit 96a3502
7 years ago
Liamsi
96a3502126
delete everything
7 years ago
ia
b5775b56c6
all: gofmt ( #1743 )
* all: gofmt
Run 'gofmt -w .' from project root.
* Update changelog to say that I ran gofmt
* Revert "Update changelog to say that I ran gofmt"
This reverts commit 956f133ff0
.
7 years ago
Anton Kaliaev
bb9aa85d22
copy events and pubsub packages from tmlibs
Refs #847
7 years ago
Anton Kaliaev
5e3a23df6d
simplify indexer service main loop
7 years ago
Anton Kaliaev
6f7333fd5f
fix tests
7 years ago
Anton Kaliaev
58e3246ffc
batch index txs
7 years ago
Ethan Buchman
c68d406195
fix tests
7 years ago
Jae Kwon
e4492afbad
Merge
7 years ago
Jae Kwon
89cdde7f1e
Fix state tests
7 years ago
Thomas Corbière
2644a529f0
Fix lint errors ( #1390 )
* use increment and decrement operators.
* remove unnecessary else branches.
* fix package comment with leading space.
* fix receiver names.
* fix error strings.
* remove omittable code.
* remove redundant return statement.
* Revert changes (code is generated.)
* use cfg as receiver name for all config-related types.
* use lsi as the receiver name for the LastSignedInfo type.
7 years ago
Anton Kaliaev
2b63f57b4c
fix tx_indexer's matchRange
before we're using IteratePrefix, which is wrong because we want full
range, not just "account.number=1".
7 years ago
Anton Kaliaev
4085c72496
sort /tx_search results by height by default
Refs #1366
7 years ago
Anton Kaliaev
116a4ec705
temporary fix
I assume there is a deeper issue with how UnmarshalBinary works in
go-amino (i.e., when loading array of some objects, the empty array
becomes []object{nil}). Note when Marshaling, the object is nil.
7 years ago
Ethan Buchman
656854186c
state: fix txResult issue with UnmarshalBinary into ptr
7 years ago
Ethan Buchman
eaafd9d61c
state: builds
7 years ago
Anton Kaliaev
bb2bdbc0e1
add missing element (tag.Value) to keyForTag
encoded as %s. not sure this will work with raw bytes
7 years ago
Ethan Buchman
cd0fd06b0d
update for sdk2 libs. need to fix kv test
NOTE we only updating for tmlibs and abci
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
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
29cd1a1b8f
rewrite indexer to be a listener of eventBus
7 years ago
Anton Kaliaev
a52cdbfe43
extract tags from DeliverTx/Result
and send them along with predefined
7 years ago
Zach Ramsay
6f3c05545d
fix new linting errors
7 years ago
Zach Ramsay
d7cb291fb2
errcheck; sort some stuff out
7 years ago
Zach Ramsay
57ea4987f7
linting: apply errcheck part1
7 years ago
Zach Ramsay
46ccbcbff6
linting: apply 'gofmt -s -w' throughout
7 years ago
Ethan Buchman
c2803b80e8
update changelog; fixes from rebase
7 years ago
Adrian Brink
036d3b59a3
Address reviews
7 years ago
Adrian Brink
782a836db0
Cleanup of code and code docs
This cleans up some of the code in the state package
7 years ago
Ethan Buchman
bfecb5a135
some fixes from review
8 years ago
zramsay
cf31f8d06f
core: apply megacheck vet tool (unused, gosimple, staticcheck)
8 years ago
Ethan Buchman
d1926bcad1
use tmlibs
8 years ago