Commit Graph

19 Commits

Author SHA1 Message Date
Dan Laine 6c6136d551 only downsize underlying arrays if they're much too large 2020-06-23 16:44:02 -04:00
Dan Laine 19a3f69e99 Merge branch 'duplicated-writes' into memory-improvements 2020-06-23 13:10:01 -04:00
Dan Laine 998f4bff40 add comments; remove unnceccessary batch write; avoid possible memory leak; reset batch after write 2020-06-23 13:03:23 -04:00
StephenButtolph 7ef37af0d6 changed test to enforce abortions 2020-06-22 18:14:35 -04:00
StephenButtolph 5b6debbaba added regression test 2020-06-22 18:08:20 -04:00
Dan Laine fc15e3cfe6 prevent potential memory leaks 2020-06-22 16:35:42 -04:00
StephenButtolph 473bef24b1 removed duplicated batch writes, fixed tests 2020-06-22 15:50:52 -04:00
StephenButtolph 006ff75149 improve leveldb batch usage and pointer releasing in caches 2020-06-19 11:02:38 -04:00
StephenButtolph 3eb9788976 formatting changes 2020-06-17 23:29:30 -04:00
Dan Laine 18c0b0a65b move codec to utils 2020-06-15 13:20:30 -04:00
StephenButtolph 9b583ccc6e fixed iterator error message to report the correct function 2020-05-05 14:06:30 -04:00
StephenButtolph 695290fb59 moved copyBytes to the utils package 2020-05-05 14:04:03 -04:00
StephenButtolph f837398403 updated DB spec 2020-05-04 23:28:36 -04:00
StephenButtolph 282e89653c Make sure that Keys / Values are memory safe from levelDB 2020-05-04 23:24:17 -04:00
StephenButtolph 8b86d15850 resolve proto conflicts 2020-04-17 09:47:19 -04:00
Stephen Buttolph 42baab2881
Move Geth to a plugin connected at runtime
* removed coreth + geth dependency for the C-chain, still have nat + crypto dependencies

* Added first past of nat traversal

* Removed go-eth dependency for secp256k1

* renamed db files to not repeat the package title

* Added rpcdb, untested

* Added rpcdb tests

* removed defer from loop

* cleaned up tests

* Started working on the rpc chain VM

* First pass of vm plugin support

* Added http over grpc

* added beta support for http handlers

* updated vms for the rpcvms

* Added error returns for factories

* Added EVM back to the genesis

* Added the EVM factory

* Added EVM aliasing, fixed nil pointer bugs during shutdown

* Added plugin folder

* Removed plugins folder, add default params for the plugin dir

* Added http RPC test

* Added cascade evm genesis

* Removed debug line

* removed more debug lines

* Cleaned up import statement

* Changed default plugin dir to ./plugins

* build evm plugin auto in the build script
2020-04-16 11:39:20 -04:00
StephenButtolph 186d96ee40 Added CommitBatch to the versionDB 2020-03-19 14:35:17 -04:00
StephenButtolph 3200f52659 Added Batch Inner calls to be able to atomically commit operations across prefixed DBs 2020-03-18 13:57:36 -04:00
StephenButtolph b9e34e3b15 init repo 2020-03-10 15:20:34 -04:00