aboutsummaryrefslogtreecommitdiffstats
path: root/core/agreement-mgr.go
Commit message (Collapse)AuthorAgeFilesLines
* core: fix issues in consensus core (#415)Jimmy Hu2019-01-101-4/+7
|
* core: report fork (#409)Mission Liao2019-01-081-1/+2
|
* core: BA 3.0 (#408)Jimmy Hu2019-01-071-6/+12
| | | | | | | | | | | | | | * Add v3 enum * Add BA leader calculation * Fast BA * Add unittest for Fast BA * Add comment * Select leader in notarySet
* core: agreement mgr safe spawn go routine (#396)wmin02019-01-041-4/+10
| | | | Set waitGroup.Add inner go routine is not safe. You can see the example here https://play.golang.org/p/AexsKUD-4WK
* core: fix stuffs (#383)Mission Liao2018-12-261-1/+1
| | | | | | * Merge core.Consensus constructors * Downgrade severity of logs * Refine logic to add blocks from pool to lattice * Add test.LaunchDummyReceiver
* utils: move authenticator to utils package (#378)Mission Liao2018-12-221-3/+3
|
* misc: panic not ready (#374)Mission Liao2018-12-181-2/+3
| | | | | | | | | | | | | | | | * Panic when config/crs not ready For those calls to Governace.Configuration and Governance.CRS without checking returns, replace those calls with these newly added helpers: - utils.GetConfigurationWithPanic - utils.GetCRSWithPanic They would check returns, and panic directly if not ready yet. * Fix a bug that config is not ready when syncing
* syncer: fix stuffs (#366)Mission Liao2018-12-121-7/+17
| | | | | | | | | | * return delivered blocks when processing finalized blocks * check deliver sequence when processing finalized blocks * skip delivery of finalized blocks * remove duplicated calls to BlockConfirmed * add numChains change in test scenario * fix the bug that restartNotary is triggered by older block than current aID.
* core: fix bugs found when node-set is not equal to notary-set (#362)Mission Liao2018-12-071-9/+18
|
* core: fix agreement sync issue. (#358)Jimmy Hu2018-12-051-2/+3
|
* core: Fix stuffs (#354)Jimmy Hu2018-12-041-2/+2
| | | | | | - Add common.CustomLogger - CRS will wait for DKG to finish - Fix core.agreementMgr.processAgreementResult
* core: construct consensus from syncer (#352)Mission Liao2018-12-041-17/+42
|
* core: Fix stuffs (#351)Jimmy Hu2018-11-301-1/+6
| | | | | | * Use non-blocking app in consensus core * Prevent panic when getting nextHeight
* core: Fix stuffs (#342)Jimmy Hu2018-11-271-10/+24
|
* core: support NumChains change for BA modules (#339)Mission Liao2018-11-201-0/+423