Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | core: move blockdb into core package and minor change on governance ↵ | Wei-Ning Huang | 2018-09-17 | 1 | -70/+0 |
| | | | | | | | interface (#110) Since third party apps will possibly implement their only blockdb class, it make sense for the interface to be in core. Also add GetNumShards into the governance interface. | ||||
* | blockdb: allow to dump blocks to json-encoded file | Mission Liao | 2018-07-31 | 1 | -3/+20 |
| | | | | | | | | | | | | - Allow to dump blockdb to a json file - Compared to leveldb, a json file is easier to trace. - Add interfaces block database: - Close would be required by database that needs cleanup. - BlockIterator is required when we need to access 'all' blocks, adding a new method 'GetAll' as the constructor for iterators. - Remove GetByValidatorAndHeight from blockdb.Reader - This function is not used anywhere, to make interface minimum, remove it. - Fix typo: backend -> backed | ||||
* | Implement blockdb levelDB backend (#6) | Mission Liao | 2018-07-22 | 1 | -6/+0 |
| | |||||
* | Fix typos and add .gitignore (#2) | Haoping Ku | 2018-07-17 | 1 | -3/+3 |
| | | | | | * Fix typos and add .gitignore * Add more rule on .gitignore | ||||
* | Initial implementation of DEXON consensus algorithm | Wei-Ning Huang | 2018-07-16 | 1 | -0/+59 |