Commit Graph

54 Commits

Author SHA1 Message Date
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
Stephen Buttolph f46e06f335
Merge branch 'master' into test-engine-shutdown 2020-04-09 18:21:38 -04:00
Alex Willmer c93597f1d7 snow: Add test for Sender.Context() 2020-04-09 00:36:26 +01:00
Alex Willmer ce5bc64afa snow: Add tests for Transitive.Shutdown() 2020-04-09 00:27:35 +01:00
StephenButtolph f74b41fa36 Merge branch 'nftfx' into cascade 2020-04-06 14:40:25 -04:00
StephenButtolph eb082b8719 Merge branch 'sn-creation' into x-p-swaps 2020-04-06 14:39:27 -04:00
StephenButtolph e93b07cc81 Finished snowman test cleanup 2020-04-06 13:15:20 -04:00
StephenButtolph 2de63d5683 Started cleaning up snowman tests 2020-04-05 23:46:41 -04:00
StephenButtolph 1840c1eaa7 Finished snowman logic cleanup + logic comments 2020-04-05 17:20:48 -04:00
StephenButtolph f10fb4cc2e Cleaned up calculate indegree 2020-04-05 14:56:17 -04:00
StephenButtolph 85d728d67e Updated comment on RecordPoll 2020-04-05 02:49:38 -04:00
StephenButtolph 1dd9939f72 finished comments on snowman, except for RecordPoll 2020-04-05 02:10:44 -04:00
StephenButtolph 472a390f97 Improved comments in acceptance and rejectance 2020-04-05 01:54:22 -04:00
StephenButtolph fa307a2ac6 Changed snowmanBlocks to be pointers to simplify the implementation 2020-04-05 01:20:41 -04:00
StephenButtolph cefa2f51dd Added additional comments to snowman + style cleanup 2020-04-05 01:12:07 -04:00
StephenButtolph 0b61af76b9 Cleaned up snowman Add function 2020-04-05 00:06:05 -04:00
StephenButtolph 2151772266 Cleaned up snowman Add test 2020-04-04 18:45:01 -04:00
StephenButtolph 91dc1cbb1c Blk -> TestBlock 2020-04-04 18:07:14 -04:00
StephenButtolph 61ed4bb660 cleaned up ID tests 2020-04-04 17:47:44 -04:00
Alex Willmer 5442ea365e snow: Add test for validators.Set.Set 2020-04-04 13:55:02 +01:00
StephenButtolph 4e20130db8 Merge branch 'cascade' into latency 2020-04-04 02:11:12 -04:00
StephenButtolph dce704e8f0 Fixed non-determinism in genesis creation 2020-04-03 15:50:29 -04:00
StephenButtolph f3b80be1cd merged 2020-04-02 17:20:09 -04:00
StephenButtolph 11ebe7c6b1 properly weight bootstrapping validators by stake 2020-04-01 21:20:31 -04:00
Alex Willmer f188c7de0c snow: Add test coverage of ConcurrentRepolls == 0 2020-04-02 00:26:53 +01:00
StephenButtolph c814d42611 Finished adding snowball tests 2020-04-01 02:19:43 -04:00
StephenButtolph 469c2d4cfa Added more edge case testing 2020-04-01 01:08:47 -04:00
StephenButtolph 683f1b75cd tree cleanup + more tests 2020-04-01 00:52:50 -04:00
StephenButtolph 12c8d6c44f fixed test + improved coverage 2020-03-31 23:56:18 -04:00
StephenButtolph 741d5fde66 improved snowball test to actually test slush initialization 2020-03-31 23:52:30 -04:00
StephenButtolph ce2d31bee2 merged tests 2020-03-31 23:11:44 -04:00
StephenButtolph 7810cd56b9 merged 2020-03-30 21:16:32 -04:00
bb-2 c49b0c0ff6 Issue multiple polls at vertex/block issuance if below ConcurrentRepoll threshold 2020-03-29 21:00:45 -04:00
StephenButtolph ab3dfd9a26 improved error logging 2020-03-29 00:48:39 -04:00
bb-2 6bde51cb7c fix formatting errors 2020-03-28 17:03:45 -04:00
bbuttrick 7b8b690df5 Add a ConcurrentRepolls variable to make the polling throughput configurable with a minimum threshold 2020-03-28 16:55:11 -04:00
Stephen Buttolph baafd591d0
Merge branch 'master' into slush 2020-03-27 14:02:08 -04:00
StephenButtolph 48f9a52ed8 Merge branch 'master' into atomic 2020-03-27 02:42:59 -04:00
StephenButtolph 65393729d2 Finished first pass of APIs 2020-03-27 02:42:16 -04:00
StephenButtolph 611ada5655 Fixed early termination of bootstrap fetching 2020-03-24 19:08:53 -04:00
StephenButtolph 33208a33ee remove more throughcalls 2020-03-21 02:36:37 -04:00
StephenButtolph 184f30c306 fully broke up snowball/snowflake/slush into their respective files 2020-03-21 02:26:22 -04:00
StephenButtolph 2fa9293aad Used struct embedding to avoid callthroughs 2020-03-20 21:26:52 -04:00
StephenButtolph 29282f07ac Added shared memory to the context 2020-03-19 17:14:27 -04:00
StephenButtolph 3813086d6f Merge branch 'master' into atomic 2020-03-18 17:40:16 -04:00
Stephen Buttolph 9473bfdf73
Merge branch 'master' into tree-tests 2020-03-18 16:44:09 -04:00
StephenButtolph b6bb9f0789 Removed redundent filter in unaryNode and added test for filtering in binaryNode 2020-03-17 23:29:38 -04:00
Stephen Buttolph 47bf310abc Implemented filtered vertex issuance 2020-03-16 16:38:06 -04:00
Stephen Buttolph 799d6dd0e1 Finished bubble voting 2020-03-16 13:36:27 -04:00
Stephen Buttolph ce9f84b3cb Fixed typo in snowball tree error message 2020-03-16 12:22:31 -04:00