Commit Graph

1101 Commits

Author SHA1 Message Date
Aaron Buchwald ba2b214b58 Decouple staking and tls encryption for internode communication 2020-06-15 09:39:56 -04:00
Dan Laine b269f8cfb0 marshal writes directly to packer rather than creating array of functions 2020-06-14 21:38:07 -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
Dan Laine ee1cf620a1 cleanup 2020-06-14 12:06:39 -04:00
Dan Laine 7b5b3d1f1c more optimizations/cleanup 2020-06-14 11:53:19 -04:00
Dan Laine f6cabee51b cache serializable fields of struct types; change codec methods to be on pointer type; change variable names; change benchmark toinclude both marshaling and unmarshaling 2020-06-14 10:56:43 -04:00
Gabriel Cardona d85ef87695 * Use Debug log level for all RPC calls
* Use convention: [vm/api: function_name called...]. Ex: "Platform: SampleValidators called...
2020-06-13 11:06:32 -07:00
Alex Willmer 760c32c4ac main: Added database version & default network to -version 2020-06-13 09:37:08 +01:00
Dan Laine 954074abcc optimize by reducing amount of data stored on heap 2020-06-12 19:26:03 -04:00
Dan Laine 42deac45e9 use pre-allocated array of functions 2020-06-12 19:03:08 -04:00
Dan Laine a895b691a2 change wire format to be exact same as it was before 2020-06-12 16:52:58 -04:00
Aaron Buchwald 2fb88906cc
Add testing for avm API ImportKey 2020-06-12 15:10:39 -04:00
Aaron Buchwald 1572b1bd97
Return early when finding address already exists 2020-06-12 14:09:45 -04:00
Aaron Buchwald 750f7b2120
Improve error message in platform API IssueTx call 2020-06-12 13:49:26 -04:00
Aaron Buchwald 26f5503a43 Add test to ensure IssueTx maintains ordering of unissued events heap 2020-06-12 12:58:35 -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
Dan Laine 617a158097 use wrappers.packer instead of byte array 2020-06-12 10:41:02 -04:00
Dan Laine 7879dd1768 upgrade codec to be more efficient. Passes all codec tests. Failing some other tests due to new format 2020-06-11 18:16:21 -04:00
StephenButtolph c071e56cfa Merge branch 'master' into network-upgrade 2020-06-11 18:11:56 -04:00
StephenButtolph 960377e2b4 cleaned up imports 2020-06-11 18:08:42 -04:00
StephenButtolph f52d0c29bd Register a timeout for querying ourselves to ensure we never drop a query 2020-06-11 18:00:21 -04:00
Aaron Buchwald e073b4e8ad
Prevent duplicated addresses in avm import key 2020-06-11 17:01:28 -04:00
Gabriel Cardona 3d60db3a05 Subtract from balance when adding a default subnet delegator. 2020-06-11 13:14:02 -07:00
Alex Willmer f61d5f4628 ansible: Become a super user to install ava 2020-06-11 19:59:14 +01:00
Alex Willmer a3aba825c0 ansible: Fetch git repo of https 2020-06-11 19:58:46 +01:00
Alex Willmer 7f3316bb89 Merge remote-tracking branch 'upstream/master' into ansible-service 2020-06-11 19:57:01 +01:00
Aaron Buchwald 64b2df39b5
Split admin api into admin and info apis 2020-06-10 16:47:31 -04:00
Dan Laine b576f27397 comments/reorganize 2020-06-10 16:20:40 -04:00
Stephen Buttolph 11ca40c9bf
Merge pull request #236 from StephenButtolph/network-upgrade
Network upgrade
2020-06-10 11:26:45 -04:00
StephenButtolph ced4a37ffe Added a minimum bytes allocation to peers 2020-06-10 10:08:44 -04:00
StephenButtolph 7f572a1794 relaxed sending bytes buffer 2020-06-10 10:02:18 -04:00
StephenButtolph 9ef816dbaa Merge branch 'master' into network-upgrade 2020-06-10 04:52:15 -04:00
StephenButtolph 55b0f550ee reduced tx cache size 2020-06-10 04:50:53 -04:00
StephenButtolph bdeff86f7a reduced log level 2020-06-10 04:30:49 -04:00
StephenButtolph 74628bd8c9 fixed race condition in the subnet-router. Need to better handle failed timeouts 2020-06-10 04:03:21 -04:00
StephenButtolph 6a8e831af6 Added version to admin api 2020-06-10 03:15:03 -04:00
StephenButtolph f3bea7140f version bump 2020-06-10 02:59:19 -04:00
StephenButtolph 426fac9b10 Fixed duplicated logging errors 2020-06-10 02:41:58 -04:00
StephenButtolph 9e1d24c239 Limit the number of bytes in the send queue 2020-06-10 02:35:40 -04:00
StephenButtolph 86cd884ae2 Randomized the retry delay 2020-06-10 02:22:37 -04:00
Stephen Buttolph 96198efb2e
Merge pull request #231 from StephenButtolph/network-upgrade
Network upgrade
2020-06-08 21:19:06 -04:00
Dan Laine 3a4ffb4850 lower log level for gossiped put messages 2020-06-08 20:30:03 -04:00
Stephen Buttolph eb3e21c43e
Merge branch 'master' into network-upgrade 2020-06-08 19:00:18 -04:00
StephenButtolph 8ed43f464c Added switch for temporary and permanent errors in proposal blocks 2020-06-08 18:57:05 -04:00
Dan Laine f8c202e4be don't mark blocks with advanceTimeTxs as rejected if the tx fails verification 2020-06-08 17:11:53 -04:00
StephenButtolph c86838f2e8 Moved rpcchainvm logs to live under their chain 2020-06-08 11:53:55 -04:00
StephenButtolph acd44dacb8 fixed compile time error 2020-06-08 11:36:04 -04:00
StephenButtolph 2b305b0eca processed -> fetched 2020-06-08 11:21:32 -04:00
StephenButtolph 22d63033ba weight based on the beacons rather than the validators 2020-06-08 11:13:15 -04:00