Commit Graph

23 Commits

Author SHA1 Message Date
Yutaro Mori
01dc3e8b9b sharding :Serialization Perf (#147)
* Serialization performance improvements

* Rename BlobOnly benchmark tests to NoRLP

* Refactor Serialize method

* Add additional tests to serialize

* Formatting

* address PR comments

* doc comments

* linter

* More pr comments


Former-commit-id: 9b01e1cd76eab2dcc9570683c42f578fbfbb2553 [formerly 722f61729adae8236f3cfefde3fdbd0ec66222bb]
Former-commit-id: 26093b4f9d4473a7f7740f6bc66976e0218a7722
2018-06-02 21:14:17 -04:00
Preston Van Loon
8aa97e2c59 Sharding: 10 -> numTransactions. Oops!
Former-commit-id: 7cb1a1332b05a25a14f26e05c85b7a0e5ccc7f49 [formerly ec5c5da346eea40bbb7a88b43dd07b281a593898]
Former-commit-id: 58dc62b926658b526c0453c8f1cbe4a734b46317
2018-05-25 08:23:14 -04:00
Preston Van Loon
1274411784 Sharding: update comment.
Former-commit-id: d8b8e76e71595932e0ce5fd55e11c132cb11e515 [formerly 9a91d6d683d7a80af87a962caee6f3de000e5214]
Former-commit-id: 103eb788b04f38e11b1d1e21730e34cdce33be83
2018-05-25 08:22:14 -04:00
Preston Van Loon
bbb496f757 Add basic benchmark tests
Former-commit-id: 062c2a5bc8c849b13e72b49fd4896cf071355b9c [formerly 8af0305d687dc8588f4b7e15a869e58514a0d520]
Former-commit-id: c90e4d03ff42198f8b4579aa8c7d1adcda2a1280
2018-05-24 20:45:50 -04:00
Terence Tsao
f77842dc9e sharding: changed names to be sharding specific
Former-commit-id: a10d8edaf1e636f6e7b607d4707f922efb2f53dc [formerly 285d77512ccffc837bd2030800f497178d39df15]
Former-commit-id: 92c2300e6efd75cc7fa7dfeb0210c86a561ba82b
2018-05-24 17:18:55 -07:00
Terence Tsao
60d88b561a sharding: Serialize function shouldn't take pointer receiver
Former-commit-id: d8e4dc907322ec0c8e48009b388d6b15308f269d [formerly 54001b3d03307606542956759709f4b592e54d2d]
Former-commit-id: 46d67285c8c47093452c3aa915fcc13aa492a285
2018-05-24 14:58:44 -07:00
nisdas
676681e67a sharding: Cleaning up after merge conflicts(#92)
Former-commit-id: 0417e770170d2ca1beca38ebea578481f7879a14 [formerly 41e3fc2c30d92a7d63c65cd7d3b6bed319ad43d9]
Former-commit-id: 9898b390b701b419f02a5fa048b00c940cdcb2dc
2018-05-17 07:00:31 +08:00
nisdas
2635979934 sharding: Made Requested Changes(#92)
Former-commit-id: a87c10e58acc0af3364f1de4b67856e084cd8a5a [formerly cef802b4046ea9fc8f5e1d46a4654218dc9b5410]
Former-commit-id: 5b463c6e066e3dac2a8a2f488f35855d579ee879
2018-05-17 06:31:01 +08:00
nisdas
d7bd242256 sharding: Adding roundtrip tests for tx serialization(#92)
Former-commit-id: 71f037aae070dcc5761f06591e889b31075c7b40 [formerly 8158b9365e8cfa148149afb695bbd982c677cb80]
Former-commit-id: b6a4bc45fde9a7c92dc53733d3440ba4d9b8334c
2018-05-17 06:29:22 +08:00
nisdas
92102262e8 sharding: Fixing tests in util package (#92)
Former-commit-id: 4feb34fa32cf0a3495a4fc8f8feb6336b567fc15 [formerly 9e5f85247891697f33c8f832538d46d59334524d]
Former-commit-id: df3014bfd85e11af88bfc4d359a4ffb26bc34551
2018-05-17 06:27:27 +08:00
nisdas
cc271a84f6 sharding/utils : Adding RLP encoding (#92)
Former-commit-id: a18ff8c27d7ec87cd38e112f6322a753fb892307 [formerly 228bddfcec86cc2b94ce0694ca14faeeb5c926ae]
Former-commit-id: 375f57b067e4ec5abd0e3f90c9a7fbf96c741c29
2018-05-17 06:27:26 +08:00
nisdas
be6051d800 sharding: Fix tests and clean up(#92)
Former-commit-id: 7f58a5eb03fa6347ff5fae94443bf896f9db0486 [formerly ba599c2e0344c9e416cc5fea735407f3df3624d9]
Former-commit-id: 13abf7e8ce922cb3a81e43b03d1793af2c9d6557
2018-05-17 06:26:52 +08:00
nisdas
52cd2b04ed sharding/utils: Changing from interfaces to rawblobs(#92)
Former-commit-id: 5901594a02b82d0cd11e85593f7021d0cb0a6d62 [formerly dd57899b147bfb258557c20917b971338bc79f84]
Former-commit-id: 047157dcdaf452f1e9d329684dd632c4a44c8af6
2018-05-17 06:25:44 +08:00
nisdas
17c0e79f1c sharding: Removing Test (#92)
Former-commit-id: 24cbfacd178e77721dc50a36bec4d8c8aa0ff1cf [formerly ff1f6be335a2d30b5c7ccd309261b187fa833e4d]
Former-commit-id: 1540df8a127da2d1d12f1761022dad3162814aa1
2018-05-17 06:25:43 +08:00
nisdas
3749175c31 sharding: Cleaning up tests (#92)
Former-commit-id: 143739c759abdd01fb74539a85c5cd4abf5d1b79 [formerly d375cec6b8bfb6c08946e6bad5d423a02e554333]
Former-commit-id: 302a456f3e6045605fa32790933f999844793d68
2018-05-17 06:23:31 +08:00
nisdas
cdf89d07ae sharding/utils : Adding Collation Methods (#92)
Former-commit-id: b59692c3ccb912131f0087a3f19cbfa88886a6e5 [formerly 7e7497f4f461a9288e83ac80633b90a25dc8a6a6]
Former-commit-id: 5f5e64a4f757ae637c2148ead844c7b3970197a2
2018-05-17 06:23:30 +08:00
Raul Jordan
fc1fb315bc sharding: replace StringToHash and StringToAddress deprecated methods
Former-commit-id: ff398a7f1b661f52735aceed6cd2d52ede02fc49 [formerly 42fbcc22fc08bf6d14b7a783adc9aecfabc83c60]
Former-commit-id: de4aa4af63aa42bced0c592b6e8afec404361022
2018-05-16 16:51:45 -04:00
Raul Jordan
083c93e712 sharding: address review comments
Former-commit-id: 3d5cd49930ff1a07ccb544910e2b4bfeb75f04de [formerly 0275d8ec3ce981aed3ea2f88c660505e809f6b7d]
Former-commit-id: d291b375e7550f8792ece3e982f6b85da862ffed
2018-05-15 22:55:02 -04:00
Raul Jordan
6e10d9fa6d sharding: improve coverage for #100
Former-commit-id: 1fc773af9e07a79f63bf63a097526a7c3303cd14 [formerly 59b4763c8b101068eacd717caa757846a481c514]
Former-commit-id: 6b8162c9c976f15e19e16fcdda7fd3d274b2e151
2018-05-14 09:53:20 -04:00
Raul Jordan
039c2e3453 sharding: readded tx added test, travis passes
Former-commit-id: 4bd71e699dfe2515c6b472fd41df1ab51b1cb017 [formerly d9475982b5f6ed7249fb2c4470b3a3889ccb430f]
Former-commit-id: d6c56cc922a93cf33c22f7650061463c064583b9
2018-05-03 16:32:42 -05:00
Raul Jordan
f0c7f6c76b sharding: fix tests issue breaking travis
Former-commit-id: 1532326cb9ca304bc996593bb0b34b5cb64b7306 [formerly 0b8d319fbdde381d335cd4b0c6ef6bdf1fab66b2]
Former-commit-id: 5c728cf6e5a538498834c2771f9ed265239b7f62
2018-05-03 15:37:28 -05:00
Preston Van Loon
e65be3456d Add getter/setter methods for Collation
Former-commit-id: 7d76aa16fac553b57023f91e808653b202308ad7 [formerly 46a739d7c1caff57beb6abb6285b8ad70db990c6]
Former-commit-id: 1c428340e16ce4b8dad92d89a0f2a6e69872ca0a
2018-02-21 22:39:51 -05:00
Preston Van Loon
2afb1e5227 Added collation and collation type. Added GasUsed method
Former-commit-id: 16fa7aea81210b0dbb2f8f2fa560a046ae14fc73 [formerly 5c7fb20b829a2e19b6ea7fbc14cc8284b84658bd]
Former-commit-id: 07c65a1d78fef9b362db229e7266e97af78da6e8
2018-02-20 23:57:52 -05:00