Commit Graph

36 Commits

Author SHA1 Message Date
StephenButtolph 18350cf3e3 nit cleanup 2020-07-03 17:07:39 -04:00
Dan Laine a6317bd60f fix nil pointer error 2020-07-03 15:18:39 -04:00
Dan Laine fa4cd10efe address PR comments 2020-07-03 13:45:54 -04:00
Dan Laine c4605b2f2b add IsBootstrapped method to engine and chain manager 2020-06-24 16:49:11 -04:00
Dan Laine 7f5693dfd3 reduce MaxTimeFetchingAncestors from 100ms to 50ms 2020-06-23 15:08:15 -04:00
Dan Laine 67d9281501 change maximum # outstanding to 8 to reduce load on nodes 2020-06-19 18:06:04 -04:00
Dan Laine 4d4a073d60 only have 15 outstanding GetAncestors at a time during bootstrapping to not flood the network 2020-06-19 17:57:47 -04:00
Dan Laine 4ecd92efba add minimum size to uniqueBag and Requests 2020-06-16 15:43:30 -04:00
StephenButtolph 22d63033ba weight based on the beacons rather than the validators 2020-06-08 11:13:15 -04:00
StephenButtolph 921cca2ce1 Improved X-chain bootstrapping 2020-06-08 03:10:14 -04:00
StephenButtolph 11520fa704 merged 2020-06-07 01:08:53 -04:00
StephenButtolph 4ac34ad296 nits 2020-06-06 23:52:44 -04:00
Dan Laine 18f3bad499 address PR comments 2020-06-04 12:48:39 -04:00
Dan Laine 79a8c21457 add comments. add GetAncestorsFailed to router/sender 2020-06-04 10:54:26 -04:00
Dan Laine 654f1c103b address (almost all) PR comments...still need to do final pass 2020-06-03 19:04:29 -04:00
Dan Laine 8f5a6b1db2 remove PutAncestor. Add timeout to GetAncestors. Reduce logging. 2020-06-02 16:20:48 -04:00
Dan Laine 00868d2a11 add multiput message which is sent in response to GetAncestors 2020-06-02 14:07:20 -04:00
Dan Laine e783af7fa7 revert to single-threaded model because multi-threaded model isn't safe 2020-06-02 08:42:52 -04:00
StephenButtolph cd669a3d98 Added bootstrapping notifications to VMs 2020-06-01 23:24:21 -04:00
Dan Laine 9e249ca786 add GetAncestors and PutAncestor message types. Update interfaces. TODO: Implement the interfaces 2020-06-01 10:26:12 -04:00
StephenButtolph 6318186848 wip currently has a deadlock error 2020-05-28 23:48:08 -04:00
StephenButtolph e57219a648 Merged bootstrapping error handling 2020-05-26 13:57:42 -04:00
StephenButtolph 896cafdcbb debugging utxo error 2020-05-20 11:37:01 -04:00
StephenButtolph 136a2559f0 commented the requests structs 2020-05-12 15:50:53 -04:00
StephenButtolph 9cd8789b3f merged 2020-05-12 14:50:35 -04:00
StephenButtolph f0be1c47dc lowered log level for byz node logging. Added bootstrapping finish logs 2020-05-12 14:26:38 -04:00
StephenButtolph 8e74f1abb6 Cleaned up and tested common.Requests 2020-05-08 21:06:50 -04:00
StephenButtolph 1b722ae5c0 merged 2020-05-08 20:36:05 -04:00
StephenButtolph 4a989dc621 Added uniform periodic gossiping 2020-05-04 02:32:10 -04:00
StephenButtolph 13a8167ceb removed containerID from getFailed messages 2020-05-01 14:45:21 -04:00
StephenButtolph 59e83e6159 wip 2020-04-30 11:57:43 -04:00
StephenButtolph a3a97b0b0f Finished updating engine comments 2020-04-28 18:39:34 -04:00
StephenButtolph 71370efb16 updating snowman engine docs 2020-04-28 12:14:54 -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 11ebe7c6b1 properly weight bootstrapping validators by stake 2020-04-01 21:20:31 -04:00
StephenButtolph b9e34e3b15 init repo 2020-03-10 15:20:34 -04:00