Dan Laine
18c0b0a65b
move codec to utils
2020-06-15 13:20:30 -04:00
Dan Laine
acbb9a7e0c
remove expansionBoost from packer (Go's append does similar already). change initialSliceCap 1024 --> 256. Streamline packer.Expand, as this method is called very often
2020-06-15 13:12:55 -04:00
Dan Laine
f28b69b819
set initial slice capacity for packer; packer pre-allocates capacity when possible
2020-06-15 10:06:40 -04:00
Dan Laine
d1796c8b0b
cleanup; revert string packing method
2020-06-14 18:15:44 -04:00
Dan Laine
9c4cfecf4e
pack pointer to string instead of string...halves memory footprint
2020-06-14 12:23:05 -04:00
Stephen Buttolph
6aff92f622
Merge pull request #57 from ava-labs/alias-default-chain-logs
...
Switch to using primary alias instead as base instead of full chain id
2020-06-07 14:39:32 -04:00
StephenButtolph
11520fa704
merged
2020-06-07 01:08:53 -04:00
Aaron Buchwald
6c09e449e0
Switch to using primary alias instead as base instead of full chain id
2020-06-05 16:36:56 -04:00
StephenButtolph
041f60c91d
wip
2020-06-05 16:18:30 -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
e406d08aa4
add go mod support
2020-05-26 08:56:52 -04:00
StephenButtolph
b4306585a4
Switched to a pure go networking stack
2020-05-17 23:47:43 -04:00
Stephen Buttolph
fe192b7df9
Merge branch 'master' into go-signals
2020-05-11 21:58:42 -04:00
StephenButtolph
2c644b2fff
Cleaned up signal handling from PR feedback
2020-05-11 21:58:10 -04:00
Dan Laine
940f9a2fb8
make error message more clear when an argument can't be unmarshaled
2020-05-05 17:45:23 -04:00
StephenButtolph
695290fb59
moved copyBytes to the utils package
2020-05-05 14:04:03 -04:00
Stephen Buttolph
e458ec6934
Merge branch 'master' into salticidae-integration
2020-04-19 19:06:12 -04:00
StephenButtolph
aa60e61c5c
1-way handshake on a staking network
2020-04-18 22:47:53 -04:00
StephenButtolph
1092abe844
Changed to support 1-way connections
2020-04-18 20:34:19 -04:00
Dan Laine
77341d622f
change SN to chain in chain logs
2020-04-17 18:13:30 -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
ff03ea957c
Removed unused code
2020-04-04 16:40:01 -04:00
StephenButtolph
4e20130db8
Merge branch 'cascade' into latency
2020-04-04 02:11:12 -04:00
Stephen Buttolph
a35a4b3224
Merge branch 'master' into cascade
2020-04-03 00:18:06 -04:00
Alex Willmer
02d59da7ab
utils: Add tests for ToIPDesc(), fix IPv6 handling
2020-04-02 22:44:43 +01:00
Alex Willmer
ab33249844
utils: Add test for IPDesc.String
2020-04-02 22:34:46 +01:00
Alex Willmer
631615d907
utils: Add test for IPDesc.PortString
2020-04-02 22:33:38 +01:00
Alex Willmer
599756feb8
utils: Add test for IPDesc.Equal
2020-04-02 22:32:41 +01:00
StephenButtolph
836916bbcc
Merge branch 'master' of github.com:ava-labs/gecko into cascade
2020-04-02 01:40:55 -04:00
Alex Willmer
d90baa383c
utils: Add tests for CB58.UnmarshalJSON
2020-04-01 18:48:59 +01:00
StephenButtolph
7810cd56b9
merged
2020-03-30 21:16:32 -04:00
Stephen Buttolph
1d3238a048
Merge branch 'master' into utils-clock_test
2020-03-29 14:35:37 -04:00
Alex Willmer
8f54a7c1d8
utils: Initialise Clock with go defaults in TestClockSet
...
Changed to be more idiomatic, addresses PR feedback.
2020-03-29 19:20:28 +01:00
Stephen Buttolph
209363ba67
Merge branch 'master' into utils-packing_test
2020-03-29 13:45:02 -04:00
Alex Willmer
12117b1728
utils: Add test for Packer.Expand
2020-03-29 17:43:18 +01:00
Alex Willmer
18b7662266
utils: Add test for Packer.CheckSpace
2020-03-29 17:42:47 +01:00
Alex Willmer
96109a60ea
utils: Add tests for Packer.PackBool & UnpackBool
2020-03-29 17:42:12 +01:00
Alex Willmer
55cb9d174f
utils: Add tests for Packer.PackFixedByteSlices & UnpackFixedByteSlices
2020-03-29 17:40:47 +01:00
Alex Willmer
ae9c1549d0
utils: Add tests for Packer.PackBytes & UnpackBytes
2020-03-29 17:39:32 +01:00
Alex Willmer
66b031efc6
utils: Add tests for Packer.PackFixedBytes & UnpackFixedBytes
2020-03-29 17:10:16 +01:00
Alex Willmer
3914613731
utils: Add test for Packer.UnpackLong
2020-03-29 17:07:53 +01:00
Alex Willmer
9a4a44a764
utils: Add test for Packer.UnpackInt
2020-03-29 17:06:25 +01:00
Alex Willmer
80e6749592
utils: Add test for Packer.UnpackShort
2020-03-29 17:05:03 +01:00
Alex Willmer
cd59668be5
utils: Add test for Packer.UnpackByte
2020-03-29 17:04:21 +01:00
Alex Willmer
aef48061c5
utils: Add tests in safe_math: Max64, Min64, Sub64, Diff64
2020-03-29 16:57:42 +01:00
Alex Willmer
52e3d427a1
utils: Add unit tests for clocks
2020-03-29 16:53:55 +01:00
StephenButtolph
93ed25f878
wip
2020-03-25 23:48:21 -04:00
StephenButtolph
58e47650c1
Added latency metrics to consensus
2020-03-15 01:09:24 -04:00
swdee
c737fb8ab4
removed commit from another branch, due to not branching from master when creating this branch
2020-03-13 23:25:42 +13:00
swdee
bdfabe96cb
add microseconds to logformat
2020-03-13 22:15:35 +13:00