Commit Graph

9 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
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
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
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
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
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