Commit Graph

36 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 c9aa8eedc2 pre-allocate arrays 2020-06-22 16:50:31 -04:00
Stephen Buttolph 284d0ee765
Merge branch 'master' into codec-upgrade 2020-06-16 00:45:20 -04:00
Aaron Buchwald b950f016d8
Fix platform bootstrapped function to initialize fx 2020-06-15 21:53:29 -04:00
Dan Laine 18c0b0a65b move codec to utils 2020-06-15 13:20:30 -04:00
Aaron Buchwald e15c1bad8c Use Add instead of Push to correctly order timed txs in event heap 2020-06-12 12:58:35 -04:00
StephenButtolph 8ed43f464c Added switch for temporary and permanent errors in proposal blocks 2020-06-08 18:57:05 -04:00
Stephen Buttolph a8d40fedb7
Merge pull request #54 from ava-labs/platform-keys
Platform API update
2020-06-07 16:27:07 -04:00
Aaron Buchwald f7747db2e5
Remove P- prefix 2020-06-07 14:52:02 -04:00
Aaron Buchwald 3c38ccf1d6 Add P- prefix to P-chain addresses in platform API 2020-06-04 19:46:45 -04:00
Aaron Buchwald b6d8ebefe6
Implement import and export key for platform api 2020-06-03 21:04:01 -04:00
StephenButtolph cd669a3d98 Added bootstrapping notifications to VMs 2020-06-01 23:24:21 -04:00
StephenButtolph f6244aaca4 allowed for multiple DB types to be used in the fund indexer 2020-05-31 15:43:01 -04:00
StephenButtolph 6318186848 wip currently has a deadlock error 2020-05-28 23:48:08 -04:00
Stephen Buttolph 4bb2325c51
Merge branch 'master' into vms-avm-shutdown-locking 2020-05-08 13:37:25 -04:00
StephenButtolph 9580a3bf0f Fixed platform vm writeback of ProposalBlocks 2020-04-28 12:31:04 -04:00
Alex Willmer e3844c1d6c vms: Fix deadlock when stopping timers during platformvm.VM.Shutdown()
refs #66
2020-04-21 01:26:37 +01: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 daa7abdba5 Update addresses TODOs 2020-04-04 17:07:05 -04:00
StephenButtolph 438326b11a Every node should validate the DefaultSubnet 2020-04-03 20:11:08 -04:00
StephenButtolph 9d4be014e9 merged 2020-03-30 22:10:31 -04:00
StephenButtolph 4d34dc042d merged 2020-03-30 22:06:29 -04:00
StephenButtolph ffcdfafaf6 Implemented fx operations 2020-03-30 01:08:45 -04:00
StephenButtolph 65393729d2 Finished first pass of APIs 2020-03-27 02:42:16 -04:00
StephenButtolph 87ea21c63f linked atomic swaps to main 2020-03-26 18:04:41 -04:00
StephenButtolph 3efccbf354 finished first pass of atomic swaps 2020-03-26 11:27:47 -04:00
StephenButtolph 93ed25f878 wip 2020-03-25 23:48:21 -04:00
Dan Laine 633e72394f fix bug where no chains other than platform created if staking disabled 2020-03-19 17:59:12 -04:00
Dan Laine 1f871c097d when a node joins a Subnet it creates all of the blockchains the Subnet is validating 2020-03-17 17:54:03 -04:00
Dan Laine eb5851431d createChain only creates chain if the node is a member of the Subnet validating the chain 2020-03-17 14:38:41 -04:00
Stephen Buttolph 4f432cbb73 Merge branch 'custom-genesis' of github.com:danlaine/gecko into custom-genesis 2020-03-17 12:21:03 -04:00
Stephen Buttolph c30f468035 generalized IssueTx 2020-03-17 12:20:59 -04:00
Dan Laine 194fde11e8 add createChain method to reduce repeated code 2020-03-17 12:18:53 -04:00
Dan Laine 09102d9f1c change some log messages. Fix bug where restarted nodes forget which Subnets they validat 2020-03-17 11:04:07 -04:00
Dan Laine 5ca0a909e4 WIP. Blockchain creation works in simple cases but still very buggy. 2020-03-16 17:21:38 -04:00
StephenButtolph b9e34e3b15 init repo 2020-03-10 15:20:34 -04:00