Commit Graph

1045 Commits

Author SHA1 Message Date
Stephen Buttolph 34943cf366
Merge pull request #234 from aaronbuchwald/fix-unissued-events-ordering
Use Add instead of Push to correctly order timed txs in event heap
2020-06-15 15:12:22 -04:00
Aaron Buchwald dc06427166 Merge branch 'duplicates-avm-import-key' of https://github.com/aaronbuchwald/gecko into duplicates-avm-import-key 2020-06-15 14:21:58 -04:00
Aaron Buchwald 8783844aca
Fix nitpick 2020-06-15 14:20:16 -04:00
Stephen Buttolph 239b99a29d
Merge branch 'master' into fix-unissued-events-ordering 2020-06-15 14:06:57 -04:00
Stephen Buttolph c86265baf8
Merge branch 'master' into split-admin-api 2020-06-15 14:06:38 -04:00
Stephen Buttolph 9c30c33bb0
Merge pull request #244 from moreati/version-versions
main: Added database & network version to -version
2020-06-15 14:05:34 -04:00
Stephen Buttolph 34e1c9de2f
Merge branch 'master' into version-versions 2020-06-15 13:56:33 -04:00
Stephen Buttolph de6c5721a8
Merge branch 'master' into duplicates-avm-import-key 2020-06-15 13:41:20 -04:00
Stephen Buttolph 9236eb286f
Merge pull request #250 from aaronbuchwald/debug-staking-disabled
Decouple staking and tls encryption for internode communication
2020-06-15 13:38:14 -04:00
Dan Laine 18c0b0a65b move codec to utils 2020-06-15 13:20:30 -04:00
Gabriel Cardona fa4be45d8a Update go.sum 2020-06-15 10:15:43 -07: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
Gabriel Cardona cdac10c23b Fix typos. 2020-06-15 09:45:21 -07:00
Gabriel Cardona f59f45a20f Make all RPC call logs `Info` level. 2020-06-15 09:35:41 -07:00
Dan Laine a84abacea5 fix typos and removed useless benchmark 2020-06-15 10:55:09 -04:00
Dan Laine 979477d68f change initialSliceCap --> 1024 2020-06-15 10:46:22 -04:00
Dan Laine cea79f66b2 add to tests; comment them 2020-06-15 10:33:08 -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
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
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