Terence Tsao
94cd02a7c8
set gometallinter deadline to 10m
...
Former-commit-id: 203373bdacbb3744d87b2129e87e3810118a7799 [formerly 5cb84fc36db4bc7ed52d321aa7e65b0e9da3fc29]
Former-commit-id: 511cee5a295c170244381974c4be19270bc77f91
2018-05-25 15:22:30 -07:00
Terence Tsao
bac0c74b6b
sharding/contracts: hash digest instead of byte array
...
Former-commit-id: e6d1149f737e0c21b8ef45712c30265ee699ec96 [formerly 72863268f45b7ca71d9990422cc3bd5b0a75b24d]
Former-commit-id: 9059a3971e64abda1939a5aaa6fee8b2e8e7e605
2018-05-25 10:20:51 -07:00
Nishant Das
2904a0a8f0
Merge pull request #138 from prestonvanloon/benchmark-dat-serializer
...
Benchmarking Serializer
Former-commit-id: 15e19fc351b301beea895f6f135a4bfb7d97c5ff [formerly 0fb1ab8e8ae8d8713f87d558b89e0718837dd3c3]
Former-commit-id: 4aa813f4fb23f61edeb4abab07b757bbaf8c578a
2018-05-25 21:39:28 +08: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
9b1b5364c2
Merge branch 'master' into benchmark-dat-serializer
...
Former-commit-id: c5141aa4ab8fda76df681aa4492f45f8f8449cd4 [formerly 10d727317a3686293f25a25902ccb13494abb435]
Former-commit-id: dce91c97c0421ec6b0700235de4ef8a6453cf2f9
2018-05-24 22:15:49 -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
1ac4d1c8c4
sharding: fixed starting name to comply with GoDoc
...
Former-commit-id: 076448c1fd955cef2dd9f89bcdd33fb008531074 [formerly 0e6f4dd63cdce5508f2e3c261874893de49a21e9]
Former-commit-id: 7e105ab6ee97ca5cb2c521e752ddd13808754364
2018-05-24 17:24:58 -07: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
Raul Jordan
8b19dd7ac5
Merge pull request #127 from rauljordan/client-revamp
...
Rearchitecting the Sharding Node, its Lifecycle, and Services
Former-commit-id: a19a24106107c24b665c2a76240c7841fb270109 [formerly f3cda0159b1e169c16b71d30706be5f116704828]
Former-commit-id: 6932c9317d72675159245c35741c9ee7f0aa422e
2018-05-23 08:45:29 -06:00
Terence Tsao
fd2124d6c0
sharding/contracts: comment for comparison
...
Former-commit-id: f1d5319758ab85bd5cfe63a66e0e8b960bab56a4 [formerly 4b80f9ccb7ce74b702774fc40af2e8cdf35ebb04]
Former-commit-id: fe5be3e1449f47bd73b50ea7db2418ec1dd1b16a
2018-05-22 21:20:56 -07:00
Terence Tsao
3a39e4a58a
sharding/contracts: tests for event logs
...
Former-commit-id: 22adee68bad19ba219792eb4f7e91b89999979f7 [formerly 632857d61c53191ea4cc54a25706a4b2b14da39a]
Former-commit-id: 17bcf754eb5a14aeaa16407e8c1c0d90579cc209
2018-05-22 20:36:38 -07:00
Raul Jordan
f84244afbb
sharding: return err
...
Former-commit-id: e199ba76199c07bac43d7cc77b77d087e20fcdd7 [formerly ee2cfe9c3b7f2c491ca5f66198aec401eed9c433]
Former-commit-id: 4a78b1b1326e235f5d83792b5176b69cf75c2de3
2018-05-22 18:36:35 -06:00
Raul Jordan
f2770fb5ff
sharding: address comments, elim string references
...
Former-commit-id: 5d9f88908d94b4742424faa3a30862235ef4b073 [formerly 69a4d0eede29578ad645039d167f215b17224e32]
Former-commit-id: a1663091ce3d12e82c8fbd3d1ca5ffcffcad1c49
2018-05-22 18:35:03 -06:00
Raul Jordan
c67274b58d
sharding: fetch master changes
...
Former-commit-id: eb5730d3bbaf8421bb98ee755a8df44044661b37 [formerly e28c9feb553a0ab8f90dd845b02e99956f369b23]
Former-commit-id: 223743f4df6ee8bc385d0de0855213089e699a64
2018-05-22 16:53:25 -06:00
Raul Jordan
5f6e966f35
sharding: address terence comment
...
Former-commit-id: 5ecdffa175208f5c469d850c0f8aae3344e3c5fc [formerly aa14c1974609d2c361888948ae3dbe072a5c9152]
Former-commit-id: 08420bb8112b9f985cd2d8facae3868471b82d24
2018-05-22 16:20:37 -06:00
Raul Jordan
a363175bbc
sharding: addressed comments, linters pass
...
Former-commit-id: af2dcc65c4c3891a67d4dcf06946537a94901a0a [formerly fe1c017c119100b522a5edcf674f11a8edab9eca]
Former-commit-id: e4dbbeb226d9ead45c244717f56deae2edd29bf1
2018-05-22 16:12:02 -06:00
Raul Jordan
08d4227735
sharding: edit documentation
...
Former-commit-id: de7390a5c315470d1e53b8a96d38b4f7d457c86d [formerly 796ab1e69fae185c6ea244ad286da862cf4c110d]
Former-commit-id: af1e7d1b1a66a6ab15df2a7d8641ad8249b6deee
2018-05-22 12:45:27 -04:00
Raul Jordan
404a1ddad0
sharding: address review comments, add observer package
...
Former-commit-id: 05b8804e0ba81e1fe22f7d930dc16f9e84e1c44c [formerly 52dd670a71f1abdfeb5dfd42c25b9f3ba9e64224]
Former-commit-id: 78bd95882d71a1cd28f442dac17fe8c1bbc34ccb
2018-05-22 12:42:49 -04:00
Raul Jordan
50f8a5199e
Merge pull request #128 from rauljordan/database-mutex
...
Making In-Memory DB Concurrency Safe
Former-commit-id: b00313f451c42e8036a10f183e631e4fbefecbd7 [formerly ad726a9680547ce7249da09fda0fd1878cab0f0f]
Former-commit-id: aeaec82f64e64594282c4c18bd2151f4ab4b9c11
2018-05-22 11:16:12 -05:00
Raul Jordan
f091aa4d99
sharding: address review comments
...
Former-commit-id: afd2302f293fb8856c52dce5dc375372dfc310ea [formerly a2369694d644b8c76493f8ce305d80123dacd88d]
Former-commit-id: 0e13120a1c997bca6bf7a27fde6b5dc72592af5f
2018-05-22 11:50:34 -04:00
Raul Jordan
d5a991c2b4
sharding: made inmemory db concurrency-safe
...
Former-commit-id: 479801ca87e72986b2e635839c2e178cd08e7c8d [formerly 154c4c2fb0fa8dbaf24be0b8daf428c7f0c061b0]
Former-commit-id: 6489659f940b3737c663c40ff3f5385d001f5b97
2018-05-22 11:42:31 -04:00
Raul Jordan
2163001a05
sharding: elim unnecessary comment
...
Former-commit-id: df6bf42ddbd5880982c46a6f64231e1f7473e879 [formerly 1a1fb36d9bc05a67ddb652d3228614df612c00bb]
Former-commit-id: 0fe3ffb9fb2947015bcac53a75a440866884b3b5
2018-05-22 11:37:06 -04:00
Raul Jordan
128f661ba5
sharding: update documentation to reflect new entry points
...
Former-commit-id: 44863031370aaa67d3d9b546be33a67fc277f153 [formerly 55b0b3525b42778b71010859abc391f28fafc00f]
Former-commit-id: cf0ee0753c7e9f1a8d53510fc091c685cac7e0e1
2018-05-22 11:33:46 -04:00
Raul Jordan
ddc9f3cc97
sharding: merge changes from #124 in master
...
Former-commit-id: eb43aec855d5c71576a06fe69d446952c8b56ecf [formerly 5152e1a708b9ae6abbc2888a313829b9ef8cc626]
Former-commit-id: e4cb88a6fcbb88d61b7867189ecb65a6448b973e
2018-05-22 11:24:44 -04:00
Raul Jordan
3f1aaa1648
sharding: travis passes, all entrypoints work, notary protocol working
...
Former-commit-id: 4c78ea56ad3950c97f53281ef49383f3f79b29b2 [formerly ea7931d5620d8d98f466731aed362ea1401f8d67]
Former-commit-id: 9ffb8a85f7a54b1f48d4f297468214ae37bc995d
2018-05-22 08:11:16 -05:00
Raul Jordan
3b19aa7c03
sharding: fully functional start func in notary service
...
Former-commit-id: 0755ae70512ad06ee0710f20136883ecacc8cf63 [formerly 7d558c0b4d2dd5302eaf2b8e9f8d51224ffc3858]
Former-commit-id: 3c6b00e5d5e3547260e6e0c1122ef64be08a40c1
2018-05-22 07:56:56 -05:00
Raul Jordan
49dc0dc4a5
sharding: fixed main entry point, linter errors
...
Former-commit-id: 705e95b849818683ab610b80f101278e6241b4d6 [formerly 925da4e8a6ef6d8e9d82ba9073666c2a26cd6c77]
Former-commit-id: a43a26be717cb63a0a8c03165e865d875ca11ed4
2018-05-22 07:47:35 -05:00
Raul Jordan
44ad64ffa5
sharding: tests pass
...
Former-commit-id: 8fbbb08b62c3ca59d5a74ecdc12944c9facc6ad6 [formerly 564ebef7667c7c3e5e2476046027961dbe900e4d]
Former-commit-id: ac1af4f69f41c54afc520259285dfb68775be966
2018-05-22 06:53:15 -05:00
Raul Jordan
65c7c390a5
sharding: refactor proposers
...
Former-commit-id: 27b5dfe6a36681e873a11887690428e255df1d97 [formerly 6394a809217dc1450fdfb1d6de7f91153afd6eaf]
Former-commit-id: 57f44262b2223ddefa48558d0b4e9cfa6b85d00c
2018-05-22 06:34:12 -05:00
Raul Jordan
bb95a087d4
sharding: rename client package to node
...
Former-commit-id: 8c311050eb7fe3935642fd94eb08e0f1622ff811 [formerly e5fdf2de13229bdbd174cff41bba9cdc64c4424f]
Former-commit-id: bb4cf8b1c2b8858ea9ddb96242473486b165adfc
2018-05-22 06:16:57 -05:00
Terence Tsao
a3dbac8ea7
sharding/contracts: add contracts.go back
...
Former-commit-id: 4da29790ac8bc3ece02c9ccc8e1eb969d037f54d [formerly 801a5d57e75c0d9ad51fa68bbbf155bb66757e89]
Former-commit-id: cc4e984d4b00ebef2b34562807871249ae843164
2018-05-21 08:38:04 -07:00
Raul Jordan
12e3022924
sharding: simplified newclient func
...
Former-commit-id: 6eb95a742250f9ae60168bd5e0b7cb53269c2df3 [formerly c73b26eb0f7a4711aa721465dc9c77422b574223]
Former-commit-id: b445b60bac2ddf45b943b113f362b0d829001be5
2018-05-20 17:54:49 -05:00
Raul Jordan
33cee9216c
sharding: revamp sharding client config to single entrypoint
...
Former-commit-id: c9a959ba300f50f1c652189377859c2bcae04323 [formerly 5e0e9b9abed8a7d06b01d36266348e5ff31d0f07]
Former-commit-id: ecd44985ed6cdb7b16390904c65d66fee68ce7b2
2018-05-20 17:47:47 -05:00
Terence Tsao
1541112f88
sharding/contracts: fixed goimports issue
...
Former-commit-id: d09d2fd7c683171c46bd54a83ff08e2277826efc [formerly e851930ca3631e33aa34dd0167f4f54f0d3b15aa]
Former-commit-id: 3c708bdf931f571db7c6bd8048baf40e9371f215
2018-05-19 15:27:29 -07:00
Terence Tsao
dee0ce608b
sharding/contracts: only use t.Fatalf when necessary
...
Former-commit-id: 89075b65c022d6e8fd5c6ed17fc097fa745f4262 [formerly d5b8e5c32cc4ae4df014236693af05992482f903]
Former-commit-id: 1c60e10116a6900a7d010b17b201654e30a26c45
2018-05-19 15:10:02 -07:00
Terence Tsao
d5390fe6f5
sharding/contracts: optimize fastForward function
...
Former-commit-id: 932d6c2fb9f32160216b11e7ab46a41758be4d20 [formerly 388fe2ce8a060a4a36c97450c94d339f4e041aa9]
Former-commit-id: 0a08ba7d76cb526ae5d2e825ccf58b03b1582ea1
2018-05-19 12:24:42 -07:00
Terence Tsao
bbfdff510c
sharding/contracts: merge with remote
...
Former-commit-id: 0cd088c968a4d3cb2732f4fae58369c970cd803b [formerly e03c58b8caeb564d3e76c06ab5bbc7bbaa1cac0f]
Former-commit-id: bdf2a7de17f155a5613f72a895016459688885c6
2018-05-19 12:19:09 -07:00
Terence Tsao
3440e77c46
sharding/contracts: refactor t, smc, backend into helper struct, better err return
...
Former-commit-id: 6ce788486f30198e493f57608a8e86b171d0bdda [formerly 9f92d0788669dfc49752e5e6fb19e86c18679864]
Former-commit-id: bf57b0660d1ab50624d45dc00555c3bd79d76c4f
2018-05-19 12:16:07 -07:00
Terence Tsao
7d4f29fd97
sharding/contracts: refactor check notary pool size
...
Former-commit-id: 161b00853b46eedef332676b89192c1f1082a5e3 [formerly 0e2da9ddc495704b954fa322b2cd40fb5018721b]
Former-commit-id: e79c519edfb5aebd433f364fdf2650ef5709681b
2018-05-18 10:09:22 -07:00
Terence Tsao
f2d194c09d
sharding/contracts: refactor fast forward period
...
Former-commit-id: 01685f9671ed75a59800abedfb0a6c1172665415 [formerly 025eec8565c1506244612306f89e82817e760c75]
Former-commit-id: d62d86e65ccf866145e0008a6b8664a95a0b2b92
2018-05-17 15:22:14 -07:00
Terence Tsao
31f97c3e3e
sharding/contracts: refactor deregister notary
...
Former-commit-id: f39b0c00fd298402cd9dff34a090252e0f2267fb [formerly ced6e24d9e9633dd4efc5e80ab53892f29451ea3]
Former-commit-id: 31d5143f3ef45a0ef62704c10205637ea0e30863
2018-05-17 14:21:13 -07:00
Terence Tsao
b36de30334
sharding/contracts: clean up
...
Former-commit-id: 3f42edb35e132531dc784846add3eb760f7fef3d [formerly 52d0ffcfac31d95aecc80ac94ff5d9fb2ccdfb68]
Former-commit-id: 4e868f4bf6399ea2b6185eb90adedd1e757d5c5f
2018-05-17 10:30:46 -07:00
Terence Tsao
ab04043fcb
sharding/contracts: refactor notary vote
...
Former-commit-id: 3ed2a6b8b4468ac510d8acc28709dea7b26f3782 [formerly 58f86366d87ffc35d815292026bce9da4333cef8]
Former-commit-id: 66cf2af06796cb7a0ac2727dda1e7b62eef1a7c0
2018-05-17 10:20:17 -07:00
Terence Tsao
3920a856ae
sharding/contracts: refactor propose adder
...
Former-commit-id: 9fad2c26d53f1562d26dcb1cf290233b14efa630 [formerly 43bce675dd752b1995b66a6ac7c5eccc20c03a32]
Former-commit-id: e77d06c2dd2bb8e20ab2c13b512574e8ade75e0d
2018-05-17 09:26:17 -07:00
Terence Tsao
6fc39469c1
sharding/contracts: refactor registering notaries
...
Former-commit-id: 3af06083dfd6f4ce067a8b0ce7eeaf2251fe29a6 [formerly d723f0b6370970a6160a63d88a07cb4ffcd4cd01]
Former-commit-id: 5619e9ac3fabfd00bce00d73d2e031f341f823f3
2018-05-17 08:17:26 -07:00
Terence Tsao
4e28d7c370
sharding/contracts: refactor initializing account
...
Former-commit-id: 07ac4c0d96835fa80191abbe853f7faaff8f6ec4 [formerly 7ef7bea8c9f095a6d0414a603dc5f9ffa02fe9b2]
Former-commit-id: a72da4966fc17c6b822e6ee0942716698d1dd3ac
2018-05-16 22:42:29 -07:00
Raul Jordan
3c8e7807e3
Merge pull request #92 from nisdas/blobSerialization
...
Blob Serialisation
Former-commit-id: 35783a1d0e0c2aa1365b377fd96cedb1ce75ebeb [formerly 524c27765117da4f2fa1604ec37f01a07d28bbb7]
Former-commit-id: ff173d74d835914263c89b6bf21ebec3cfdfd0c3
2018-05-16 23:40:45 -04:00
nisdas
05401b7547
sharding: Fix Lint ( #92 )
...
Former-commit-id: 25b3147ba8e7a67a7ed0215ea0e382699523d876 [formerly 72089a1b1f593814322659488ffd336088335056]
Former-commit-id: 2cea947acd95d3a4e57d5356b329f79f57c96901
2018-05-17 07:31:25 +08:00