Commit Graph

18 Commits

Author SHA1 Message Date
Terence Tsao
035d0fb669 sharding/node: use ethdb.Database, remove database.ShardBackend
Former-commit-id: 44c0c5682c0296d94943b354171e69b4c8cf5312 [formerly 54da5cb45b098f0737fb3c37964e612dfe93c751]
Former-commit-id: 5d84d3c5038a01c4108e519d5a5c69033ace8ae2
2018-06-08 14:45:26 -07:00
Raul Jordan
3861c0cf06 sharding: ensure godoc for every package
Former-commit-id: 0ecc597de035e61ca219f4f30695cb8db59c129b [formerly da9312c1c9d69010083f94f387fe6a52aa817683]
Former-commit-id: 8c8c218e16ef248ae8954168cf7bf5aa6ed6839d
2018-06-05 17:28:57 -04:00
Raul Jordan
1c0d4e848e sharding: tests pass, services updated to include shardDB
Former-commit-id: 8b8b695ddc0a39bfe6a536fd7b7f40d74c4105da [formerly 829d481af0eebd1647a34006018761e3e64c5e3e]
Former-commit-id: 1d607fcb8fae1327c346bdf3557ec40a8816a09b
2018-05-25 09:52:18 -06:00
Raul Jordan
aa8734ea56 sharding: refactor all tests, travis passes
Former-commit-id: 979b3f3f7424ed9c2855f37acfbb36e1cb05bb3a [formerly 638fb7ddd3e39f136d5d1eb32ddc01d23bac5729]
Former-commit-id: 47be397ed0173b73eaeb2ffb7b194689e76be7a5
2018-05-25 09:06:39 -06:00
Raul Jordan
52cc968c57 sharding: generalized shardbackend, refactor database package and tests
Former-commit-id: 806e44466e6484a0028fa39f364c2ee63e828983 [formerly 89d7697ddc25156265f8f49622a775c879e3bd88]
Former-commit-id: 8cf56c2760f2b9fcf1121a94967276c2a34cae58
2018-05-24 18:03:24 -06:00
Raul Jordan
407a112ec0 sharding: fix datadir and import cycle
Former-commit-id: 787b53e195a8ffde14f18139516ff510e03969a7 [formerly e7d0d7c28711060a8f2545de3218dd5a06e53e4e]
Former-commit-id: 0eb1bbe8fa5c9ad0b7a42d6c1043641ca3542016
2018-05-24 17:36:20 -06:00
Raul Jordan
08eb16eecb sharding: use leveldb backend for shard state storage
Former-commit-id: 2b402c6cce64f0c38d6d3ce48b4818c839bec19d [formerly e3ea64a3e937d89f586af617f3b899bb950e30b7]
Former-commit-id: ddd9e507e1e49758152ddf6e8827864df700dad7
2018-05-24 17:14:52 -06:00
Raul Jordan
0f27660b18 sharding: using eth leveldb, interface mismatch
Former-commit-id: 127630fadb68deff3418e499f303f7eab16e775f [formerly 20bf39d9d62f72857512b505cfac7e122002c4ab]
Former-commit-id: d3baf1deac782fa9ee4bcceae658723b65d1b08d
2018-05-22 14:49:59 -04:00
Raul Jordan
8c58ffc333 sharding: begin shard local storage
Former-commit-id: 92fbba3d64ae6543595dd3270d5c3a75a8f54175 [formerly 5782e4c437022bb6827617ab05d7417afb9ceec3]
Former-commit-id: 030ef0240481a764c549d7cc323d30a958447413
2018-05-22 14:36:55 -04: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
dfaf005229 sharding: address linter errors
Former-commit-id: 70fee9bf5816e9520fb927b84ab8b93d83014869 [formerly 523192e37e40878079d7981bd28ed25f618ab0a6]
Former-commit-id: 604f33826c63ff42dd90d75bb517ed09f5d52b6a
2018-05-16 17:06:35 -04:00
Raul Jordan
b6949f8582 sharding: eliminated assumptions about db implementation
Former-commit-id: d17f7c367ad0c83516db37d7488eda3ad2ea3f59 [formerly 1fcd7a5bad4fe2c2dbaa5e4e200fd688227fd725]
Former-commit-id: 5d19cd72168913d681518d106e0ebe1bb2130d1c
2018-05-15 15:23:23 -04:00
Raul Jordan
77bd934efb sharding: 93% coverage
Former-commit-id: f1a9fcf4fe1d11855e1dcb0a898f389dc669ab64 [formerly d255a71b60d1a939d2c7861039aace088a9fd34d]
Former-commit-id: 3671d13ffb1c71cf7c48eebedeab53fd16d4a0fb
2018-05-15 14:48:13 -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
6edde106ac sharding: remaining tests for kv store
Former-commit-id: b95783af1808209e492107fbb1c9cb318d04c899 [formerly 17c0946e769872d3f21b17996d73cffe6c8263b6]
Former-commit-id: 334deee870bcfef7107a3e4feeb2a275d9e9580c
2018-05-11 11:43:24 -04:00
Raul Jordan
5dc498f402 sharding: shardDB put, delete can return error now
Former-commit-id: 8d96f95dbe6419d804d86b05dca8f1e90e2b56ed [formerly c42c9e84b82dcc29d50739e0b8eac5bd65f93024]
Former-commit-id: 527cb5170e3eb156bf7c0bb2ec69ef9f32cc8320
2018-05-10 22:00:54 -04:00
Raul Jordan
5f76297401 sharding: address review comments and add new subpackage
Former-commit-id: 9dfe0415a7809738b7683090d08486d64ca2e4c0 [formerly c8f386658475a6d6a069ab44f63a3d6e39a80ea7]
Former-commit-id: 767719430eda75648b408b4f480b25bb68870421
2018-05-10 21:29:42 -04:00