Commit Graph

139 Commits

Author SHA1 Message Date
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 b291ddaa91 lowered log level for byz node logging 2020-05-12 15:18:02 -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
Dan Laine 8b76376bfb lower log levels. Formatting 2020-05-11 10:42:50 -04:00
Dan Laine bc535965fe lower log level 2020-05-11 10:19:51 -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 8f91f7294b Added gossip frequency docs 2020-05-04 23:32:54 -04:00
StephenButtolph 0ea445a2d1 Added gossip tests 2020-05-04 02:57:02 -04:00
StephenButtolph 13fbe14d44 Started gossiping thread 2020-05-04 02:44:56 -04:00
StephenButtolph 4a989dc621 Added uniform periodic gossiping 2020-05-04 02:32:10 -04:00
StephenButtolph 456295888a Fixed bootstrapping put container ID error 2020-05-03 18:38:12 -04:00
StephenButtolph 71b2cf9c06 Used vtx.ID rather than trusting the peer 2020-05-03 02:39:08 -04:00
StephenButtolph 9524f0dfcc Fixed same bugs from snowman in avalanche 2020-05-03 02:18:33 -04:00
StephenButtolph 13ea33c42c Added more snowman comments, fixed minor bugs 2020-05-02 02:46:35 -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 a260eb841f Merge branch 'master' of github.com:ava-labs/gecko into consensus-updates 2020-04-30 00:54:31 -04:00
Stephen Buttolph 34af9fb7f7
Merge branch 'master' into platformvm-proposal-accept 2020-04-28 19:35:13 -04:00
StephenButtolph a3a97b0b0f Finished updating engine comments 2020-04-28 18:39:34 -04:00
StephenButtolph b7e851a491 Merge branch 'platformvm-proposal-accept' into consensus-updates 2020-04-28 17:54:20 -04:00
StephenButtolph 83c5bf39ae Added handling for if bootstrapping partially accepted a block pair 2020-04-28 15:53:36 -04:00
StephenButtolph 71370efb16 updating snowman engine docs 2020-04-28 12:14:54 -04:00
StephenButtolph 5c0b89d5eb Manage oracle block in startup 2020-04-27 23:34:16 -04:00
Stephen Buttolph b04b84d4c9
Merge branch 'master' into minor-fixes 2020-04-27 13:06:12 -04:00
StephenButtolph 5250895714 Merge branch 'master' into consensus-updates 2020-04-26 21:53:06 -04:00
Stephen Buttolph 13ad5126bd
Merge branch 'master' into remove-noops 2020-04-25 13:40:36 -04:00
Anil Dasari 8b76cf601e replaced loop 2020-04-24 14:54:24 -07:00
Alex Willmer 7d6b8a5f99 snow: Use backtick strings to avoid escaping Brady Goat banner
Much nicer on the eye IMHO
2020-04-24 20:44:51 +01:00
StephenButtolph 0865a2d635 Removed noop vertices 2020-04-24 01:53:02 -04:00
StephenButtolph 1ab0e37a4c Added test for DoS vulnerability 2020-04-22 16:18:00 -04:00
StephenButtolph 386ef6b000 cleaned up logging in avalanche bubbling 2020-04-21 01:31:10 -04:00
StephenButtolph 6bcedf1d64 wip 2020-04-20 20:00:36 -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
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
StephenButtolph 58e47650c1 Added latency metrics to consensus 2020-03-15 01:09:24 -04:00
StephenButtolph 1fdb20040a Added test for avalanche bubbling 2020-03-14 15:38:55 -04:00
StephenButtolph 1a2135db6a Bubble invalid snowman votes 2020-03-13 19:02:03 -04:00
StephenButtolph b9e34e3b15 init repo 2020-03-10 15:20:34 -04:00