aboutsummaryrefslogtreecommitdiffstats
path: root/core/blockchain.go
Commit message (Collapse)AuthorAgeFilesLines
* core, syncer: integrate utils.RoundEvent (#490)Mission Liao2019-03-161-23/+46
|
* core/syncer: add force sync (#468)Jimmy Hu2019-03-151-2/+5
| | | | | | | | | | | | | * core: Add Recovery Interface * core/syncer: modify recovery interface * core: fix Recovery interface * core/syncer: rename terminator to watchcat (#491) * core/syncer: rename terminator to watchcat * Add error log * Rename Pat to Feed * core/syncer: add force sync * run prepareRandomness if round >= DKGDelayRound * Add test for Forcsync
* utils: add RoundEvent (#482)Mission Liao2019-03-131-16/+16
| | | | | * Move core.roundBasedConfig to core/utils * Refine utils.RoundBasedConfig * Add utils.RoundEvent
* core: reduce blockrandomness message (#477)Jimmy Hu2019-03-101-14/+16
| | | | | | * core: reduce blockchain randomness msg * add test
* core: fix empty parent not found (#470)Mission Liao2019-03-081-11/+17
| | | | * Do not panic when empty block is unable to propose * Make blockChain able to handle pulled empty block
* core: PreparePayload/Witness for genesis block (#465)Jimmy Hu2019-03-071-0/+14
|
* core: first few round will not have DKG (#455)Jimmy Hu2019-03-041-2/+2
| | | | | | | | | | | | | | * core: Add DKGDelayRound constant * core: use constant value * core, utils: set DKGDelayRound for utils. * test: add dkgDelayRound to state * core: do not run dkg and crs for round < DKGDelayRound * fix test
* core: fix panic by duplicated pending blocks (#460)Mission Liao2019-02-271-0/+5
|
* core: switch round by block height (#450)Mission Liao2019-02-201-31/+25
|
* core: fix stuffs (#448)Jimmy Hu2019-02-191-0/+4
| | | | | | | | | | * Add log * core: delay first dkg * Fix test * core: only runDKG in prepare at round 0
* big-bang: single chain (#446)Mission Liao2019-02-191-0/+617
|
* cleanup (#109)Mission Liao2018-09-171-26/+0
| | | | | | - With context, we don't need stopChan - Remove core.BlockChain. - Remove unused variable.
* Fix typos and add .gitignore (#2)Haoping Ku2018-07-171-1/+1
| | | | | * Fix typos and add .gitignore * Add more rule on .gitignore
* Initial implementation of DEXON consensus algorithmWei-Ning Huang2018-07-161-0/+26