alex.sharov
6c00ef2b04
idiomatic for loops
2019-12-06 08:12:02 +07:00
alex.sharov
412c30c9ff
fix lint
2019-12-06 08:12:02 +07:00
alex.sharov
8b69c54936
move context to from .NewDb to .View method
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
80ea8a38ad
test for CmdCursorFirst
2019-12-06 08:12:02 +07:00
alex.sharov
49a614eae8
Bug fixes:
...
- rollback must catch local variable, if you write value to lastError variable
- then you can't do "return" - because it closing connection and client can't send CmdLastError
- somewhere error values was ommited in loging
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
ledgerwatch
8cb96471a3
Skeleton of RPC daemon, for 1 operation eth_blockNumber ( #209 )
...
* Finish CmdSeek and add CmdNext
* Add remoteDb listener and RPC daemon CLI
* Fix test
* Fix CLI
* Fix lint
* Fix unreachable code
* Fix lint
* First working RPC command eth_blockNumber
* Fix lint
* Fix lint
* Fix memprofile/cpuprofile confusion
* Add comment
2019-12-02 13:47:00 +00:00
ledgerwatch
b9b4904e8d
First steps for RPC deamon (remote DB access) ( #199 )
...
* Remote DB initial commit
* Fix lint
* Fix lint
* Fix lint
2019-11-25 13:39:32 +00:00