Commit Graph

372 Commits

Author SHA1 Message Date
Stephen Buttolph d9c3c31c4f
Merge pull request #90 from StephenButtolph/retry-connections
Retry connections
2020-04-22 20:09:22 -04:00
StephenButtolph 436972b928 Added kill script 2020-04-22 19:52:37 -04:00
StephenButtolph a4a171c219 Changed connTimeout to 60s rather than defaulting to 3m 2020-04-22 15:15:48 -04:00
StephenButtolph f1cfa2aa51 Added server ip + port to error logging 2020-04-22 12:46:54 -04:00
StephenButtolph f592ecfb7b Don't refresh peers from peerlists if already attempting to connect 2020-04-21 14:32:00 -04:00
StephenButtolph a3e3e5f21e changed ansible back to the testnet 2020-04-21 13:55:01 -04:00
StephenButtolph 14f178612e added plugin dir flag 2020-04-21 01:57:10 -04:00
StephenButtolph 386ef6b000 cleaned up logging in avalanche bubbling 2020-04-21 01:31:10 -04:00
StephenButtolph 2c76dd1954 wip 2020-04-20 22:33:33 -04:00
StephenButtolph 3c9187fc7b wip 2020-04-20 20:25:22 -04:00
StephenButtolph 6bcedf1d64 wip 2020-04-20 20:00:36 -04:00
StephenButtolph b4f3bb6719 reduce diff 2020-04-20 10:42:16 -04:00
StephenButtolph b7305f78b6 Properly remove the IP when removing the connection 2020-04-20 10:40:39 -04:00
Stephen Buttolph 72ca0e3462
Merge pull request #84 from ava-labs/salticidae-integration
Salticidae integration
2020-04-19 21:43:10 -04:00
Stephen Buttolph e458ec6934
Merge branch 'master' into salticidae-integration 2020-04-19 19:06:12 -04:00
Determinant 765bffecda use `checkout` 2020-04-19 18:24:32 -04:00
StephenButtolph a1e10c7332 Change coreth dependency to use tag 2020-04-19 18:19:05 -04:00
Determinant f3f55108b9 use salticidae-go v0.1.0 2020-04-19 18:08:08 -04:00
Stephen Buttolph 117b1b91cc
Merge pull request #77 from moreati/vms-avm-testformat
vms: Add test for avm.VM.Format
2020-04-19 13:08:43 -04:00
Stephen Buttolph c6b6801a42
Merge branch 'master' into vms-avm-testformat 2020-04-19 12:49:49 -04:00
Stephen Buttolph 1f09512250
Merge pull request #75 from ava-labs/log-sn-to-chain
Change "SN" to "chain" in chain log messages
2020-04-19 12:46:16 -04:00
StephenButtolph 50fde3841c update ami 2020-04-18 23:45:18 -04:00
StephenButtolph aa60e61c5c 1-way handshake on a staking network 2020-04-18 22:47:53 -04:00
StephenButtolph c6b92425ef Added connections 2020-04-18 21:02:40 -04:00
StephenButtolph 1092abe844 Changed to support 1-way connections 2020-04-18 20:34:19 -04:00
Alex Willmer 0f6cad33b1 vms: Add test for avm.VM.Format 2020-04-18 18:43:14 +01:00
Dan Laine 77341d622f change SN to chain in chain logs 2020-04-17 18:13:30 -04:00
Stephen Buttolph eacdf54efc
Merge pull request #73 from StephenButtolph/cascade-release
Cascade release
2020-04-17 12:24:37 -04:00
Stephen Buttolph bf3741e60b
Merge branch 'master' into cascade-release 2020-04-17 12:24:29 -04:00
StephenButtolph c3230b9e46 Resolve nil pointer error on the rpcchainvm 2020-04-17 10:39:08 -04:00
Stephen Buttolph c735557231
Merge pull request #72 from ava-labs/proto-cleanup
resolve proto conflicts
2020-04-17 09:56:06 -04:00
StephenButtolph 8b86d15850 resolve proto conflicts 2020-04-17 09:47:19 -04:00
StephenButtolph d4996b5a3a Reduced log level of missing parent block 2020-04-17 04:20:24 -04:00
StephenButtolph f40ea1ef45 Changed default values to cascade 2020-04-17 03:51:14 -04:00
Stephen Buttolph 4dfdbc6a55
Merge pull request #71 from StephenButtolph/remove-install-warning
Remove install warning
2020-04-17 03:14:23 -04:00
Stephen Buttolph 4244384b52
Merge branch 'master' into remove-install-warning 2020-04-17 03:05:47 -04:00
StephenButtolph aebb1164dc Removed warning 2020-04-17 03:04:35 -04:00
StephenButtolph 98ad6dab99 Merge branch 'master' into remove-install-warning 2020-04-17 03:02:45 -04:00
Stephen Buttolph 1bc8ac8c4f
Merge pull request #59 from moreati/vms-avm-service-test
vms: Add tests for AVM Service.IssueTx, Service.GetTxStatus
2020-04-17 02:59:38 -04:00
Stephen Buttolph be90dc71be
Merge branch 'master' into vms-avm-service-test 2020-04-17 02:51:01 -04:00
Stephen Buttolph adebf8bb80
Merge pull request #70 from StephenButtolph/fix-oversized-message
Fix oversized message
2020-04-17 02:50:44 -04:00
StephenButtolph dde8e97590 Merge branch 'master' into fix-oversized-message 2020-04-17 02:41:20 -04:00
Stephen Buttolph 393f888e5d
Merge pull request #69 from StephenButtolph/wsrpc
Support websockets over the grpc
2020-04-17 02:39:26 -04:00
StephenButtolph 2f0b10530d Support websockets over the grpc 2020-04-17 02:03:17 -04:00
Stephen Buttolph 5797347e6a
Merge branch 'master' into vms-avm-service-test 2020-04-16 20:35:21 -04:00
Alex Willmer cadbd234e6 Merge branch 'vms-avm-service-test' of github.com:moreati/gecko into vms-avm-service-test 2020-04-16 20:28:05 +01:00
Alex Willmer 91f4c85bb2 vms: Remove resolved locking TODO
The question was answered in
https://github.com/ava-labs/gecko/pull/59#discussion_r406597250

> In general, the lock needs to be held whenever a VM function is called
> by the consensus engine. Depending on the locking specified in
> CreateHandlers locks may be held when an RPC is called as well.

> For the AVM specifically, the lock is assumed to be held both when an
> RPC is called and when any function is called, except for the ws API.
2020-04-16 20:26:18 +01:00
Stephen Buttolph e5252c13e2
Merge pull request #68 from ava-labs/geth-plugin
Move Geth to a plugin connected at runtime
2020-04-16 12:00:51 -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 ad1e8b75e5 Increased the reconnect timeout to ease network upgrades 2020-04-15 17:49:08 -04:00