Commit Graph

57 Commits

Author SHA1 Message Date
StephenButtolph 4c3fce408e Added user tests 2020-05-02 14:05:57 -04:00
StephenButtolph acb96c8184 check for nil account IDs in get user 2020-05-02 13:22:11 -04:00
StephenButtolph 7c11e91a53 Removed debug logging 2020-05-01 00:21:17 -04:00
StephenButtolph e7f593f3f7 Removed broken parent caching 2020-04-30 16:22:19 -04:00
Stephen Buttolph 34af9fb7f7
Merge branch 'master' into platformvm-proposal-accept 2020-04-28 19:35:13 -04:00
StephenButtolph 83c5bf39ae Added handling for if bootstrapping partially accepted a block pair 2020-04-28 15:53:36 -04:00
StephenButtolph 9580a3bf0f Fixed platform vm writeback of ProposalBlocks 2020-04-28 12:31:04 -04:00
Stephen Buttolph b04b84d4c9
Merge branch 'master' into minor-fixes 2020-04-27 13:06:12 -04:00
StephenButtolph bbe250c529 endtime -> endTime 2020-04-24 16:24:10 -04:00
Anil Dasari b1ea742cf2 minor fixes 2020-04-24 13:01:42 -07:00
StephenButtolph d4996b5a3a Reduced log level of missing parent block 2020-04-17 04:20:24 -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 2d980c00b9 Changed order of ControlSigs and PayerSig for consistency with other txs 2020-04-06 17:51:23 -04:00
Stephen Buttolph 48caf79644
Merge pull request #49 from danlaine/update-swap-api
Update import/export API, properly weight bootstrapping validators by stake
2020-04-06 14:22:51 -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 dce704e8f0 Fixed non-determinism in genesis creation 2020-04-03 15:50:29 -04:00
Dan Laine bd2f36a066 rename accountID arg to address 2020-04-02 15:50:29 -04:00
Dan Laine dc9550c453 rename import/export API methods, add comments 2020-04-02 10:43:06 -04:00
Dan Laine 1c3f0070f3 simplify avm export / platform import api 2020-04-02 09:39:40 -04:00
StephenButtolph a26f76de91 Allow fees to be paid with the imported balance in the ImportTx 2020-04-01 12:53:33 -04:00
Dan Laine 23d2427ce7 forbid new blockchains from being validated by default subnet 2020-03-31 14:12:23 -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 3056998643 enforced unneeded signature requirement 2020-03-30 21:28:19 -04:00
Dan Laine 468c47739d made changes requested in PR review 2020-03-30 09:14:12 -04:00
StephenButtolph ffcdfafaf6 Implemented fx operations 2020-03-30 01:08:45 -04:00
StephenButtolph 6d9683dc99 Fixed minor atomic commit bugs 2020-03-27 03:39:35 -04:00
StephenButtolph 65393729d2 Finished first pass of APIs 2020-03-27 02:42:16 -04:00
StephenButtolph 9da52e70c0 Add address tracking to atomic utxos 2020-03-26 23:11:23 -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
StephenButtolph a6a92510af Added UTXO check in platform VM 2020-03-25 12:35:13 -04:00
Stephen Buttolph 01fe74ec6b wip 2020-03-23 16:40:37 -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 fb5f6a9d5d change validatedBy to take in an ID rather than alias 2020-03-19 15:00:12 -04:00
Dan Laine 7c410e01b8 automatically use secp256k1 fx when creating AVM instances 2020-03-19 13:14:40 -04:00
StephenButtolph 16182937a4 merged 2020-03-18 17:22:07 -04:00
Dan Laine bc4aae7b6d getBlockchains includes human-readable name in response 2020-03-18 15:26:41 -04:00
Dan Laine 121edab33c add missing json tags 2020-03-18 15:18:00 -04:00
Dan Laine 5c231c8acf add utility methods to platform API. Forbid creation of blockchains validated by Default Subnet 2020-03-18 13:55:36 -04:00
Dan Laine 46441dca6b remove test 2020-03-18 12:23:14 -04:00
Dan Laine 76d15cc999 add method to get Subnet that validates the specified blockchain and expose method with API 2020-03-18 12:21:08 -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 a76787eead create mock chains.Manager and use it in tests 2020-03-17 12:19:53 -04:00
Dan Laine db333de8fb update test 2020-03-17 12:19:24 -04:00