Alex Sharov
fc7291ec34
Use local db in analytics ( #308 )
...
* Use local db in analytics (#308 )
* pool of encoders
* incr and decr funcs
2020-01-15 19:47:13 +07:00
Alex Sharov
33308dd5c2
State analytic less memory and checkpoints ( #299 )
...
* added prefix tree to analyses to reduce memory usage
* make new partition every day
* merge concepts of reporter and snapshot
* tests for .FirstKey() and .NextKey()
2020-01-07 09:27:19 +07:00
alex.sharov
88b05bd162
make linter happy
2019-12-16 20:54:30 +06:00
alex.sharov
7a4023b4eb
added gasLimits to report object
2019-12-09 21:34:47 +07:00
alex.sharov
005d715545
move gasLimits to remote db
2019-12-09 21:34:47 +07:00
alex.sharov
bb2f7080ce
Moved connection to .View method. Not very optimal, but it allow cancel connection from client side or configure timeout, also in future it will allow us make connection pool there (maybe don't need).
2019-12-06 08:12:02 +07:00
alex.sharov
ada5d88be8
fix linter warnings
2019-12-06 08:12:02 +07:00
alex.sharov
344b8029cc
handle interruption signals, added context for client and server. Only problem that it's context to DB, but not to each server call - it means you can't use HTTP Request context here (or create new connection on each request).
2019-12-06 08:12:02 +07:00
alex.sharov
75e0b1bc85
revert changed bucket name
2019-12-06 08:12:02 +07:00
alex.sharov
1ffbb97752
removed unnecessary allocations, add tcp context
2019-12-06 08:12:02 +07:00
alex.sharov
d8f93ae187
Batch cursor.First and cursor.Next for remote db.
2019-12-06 08:12:02 +07:00
Igor Mandrigin
ac085db07d
Use 'cobra' package to make a more modular CLI for stateless ethereum prototype. ( #200 )
2019-11-25 14:46:36 +01:00