Commit Graph

22 Commits

Author SHA1 Message Date
alex.sharov
f57015c4ea re-run ci 2019-12-16 20:55:10 +06:00
alex.sharov
88b05bd162 make linter happy 2019-12-16 20:54:30 +06:00
alex.sharov
d7a3c031f9 remove unused field 2019-12-16 20:34:51 +06:00
alex.sharov
4fa90b9856 make linter happy 2019-12-16 20:27:49 +06:00
alex.sharov
54d24190b9 compute state to exact transaction precision (but only for mainnet) 2019-12-13 09:56:30 +06:00
alex.sharov
73b50e080d debug_StorageRangeAt v0, got wrong response on request: {"jsonrpc":"2.0","method":"debug_storageRangeAt","params":["0x2bf07c790737be3bc4c57cbf3dedb231806f6bfef434657d59dcc9ddbe4665ab", 1,"0x8b3b3b624c3c0397d3da8fd861512393d51dcbac","0xfade75560a6cfb895f5dc7c4ab3fa10089ac2372c98aa78280d029ab36285ad6",1024],"id":1377} 2019-12-13 09:56:30 +06: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
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
2f079dcf75 Readme.md 2019-12-03 09:07:33 +07:00
alex.sharov
33c52363ee totalDifficulty - consistent calculation 2019-12-03 09:07:33 +07:00
alex.sharov
330060d382 ignore *.http files - I using them to store http requests 2019-12-03 09:07:33 +07:00
alex.sharov
4d8c1a8ec1 remove debug 2019-12-03 09:07:33 +07:00
alex.sharov
570d3b79d7 initial implementation of eth_GetBlockByNumber, for now I did copy much functions from eth source because we may need max flexibility for benchmarks of rpcdaemon 2019-12-03 09:07:33 +07:00
Alexey Akhunov
f7b6b524fe Fix memprofile/cpuprofile confusion 2019-12-03 09:07:33 +07:00
Alexey Akhunov
1cd328d152 Fix lint 2019-12-03 09:07:21 +07:00
Alexey Akhunov
335ef77249 First working RPC command eth_blockNumber 2019-12-03 09:07:21 +07:00
Alexey Akhunov
95ca76e440 Fix lint 2019-12-03 09:07:13 +07:00
Alexey Akhunov
2026f74f04 Fix CLI 2019-12-03 09:07:13 +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