Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | core: clean TODOs (#539) | Mission Liao | 2019-04-01 | 1 | -2/+0 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * core: fix block timestamp (#529) * Remove TODO dMoment is still required when the block timestamp of the genesis block is still need to be verified. * Refine timestamp when preparing blocks * Add timestamp checking in sanity check * Revert code to patch position when preparing * Remove TODOs that seems meaningless now * Remove TODOs related to refactoring * core: remove finalization (#531) - Remove types.FinalizationResult, randomness field would be moved to `types.Block` directly. - Add a placeholder for types.Block.Randomness field for blocks proposed from round < DKGDelayRound. (refer to core.NoRand) - Make the height of the genesis block starts from 1. (refer to types.GenesisHeight) - The fullnode's behavior of core.Governance.GetRoundHeight is (assume round-length is 100): - round: 0 -> 0 (we need to workaround this) - round: 1 -> 101 - round: 2 -> 201 - test.Governance already simulate this behavior, and the workaround is wrapped at utils.GetRoundHeight. * core: fix issues (#536) fixing code in these condition: - assigning position without initializing them and expected it's for genesis - compare height with 0 | ||||
* | core: fix DKGProtocolInfo RLP decode/encode bug (#505) | bojie | 2019-03-20 | 2 | -8/+133 |
| | |||||
* | core: snapshot DKG protocol struct when finish any phase (#496) | bojie | 2019-03-18 | 4 | -83/+326 |
| | |||||
* | core: recover DKG master private shares (#487) | bojie | 2019-03-13 | 4 | -15/+131 |
| | |||||
* | core: remove acks (#451) | Mission Liao | 2019-02-22 | 1 | -3/+0 |
| | |||||
* | big-bang: single chain (#446) | Mission Liao | 2019-02-19 | 2 | -8/+8 |
| | |||||
* | core: remove useless branching code (#403) | wmin0 | 2019-01-07 | 1 | -34/+9 |
| | |||||
* | core: deliver finalized blocks upon receiving randomness results. (#376) | Mission Liao | 2018-12-20 | 4 | -8/+18 |
| | |||||
* | core: cache dkg's private key in db (#371) | Mission Liao | 2018-12-16 | 5 | -0/+163 |
| | |||||
* | db: cache compaction chain tip in db (#369) | Mission Liao | 2018-12-13 | 5 | -65/+215 |
| | | | | | * Replace JSON with RLP in levelDB implementation. * Make sure blocks to sync following compaction chain tip | ||||
* | db: rename blockdb to db (#367) | Mission Liao | 2018-12-13 | 5 | -0/+648 |
* Rename blockdb package to db * Rename 'BlockDB' to 'DB' * Make all methods in db specific for ''block'. * Rename db.BlockDatabase to db.Database * Rename revealer to block-revealer * Rename test.Revealer to test.BlockRevealer |