aboutsummaryrefslogtreecommitdiffstats
path: root/vendor/github.com/dexon-foundation/dexon-consensus
Commit message (Collapse)AuthorAgeFilesLines
* core: merge notarySet and DKGSet (#265)Jimmy Hu2019-06-1518-512/+761
| | | | | | | | * vendor: sync to latest core * core: merge notarySet and dkgSet * dex: optimize network traffic for finalized block
* vendor: sync to latest core (#300)Jimmy Hu2019-06-1310-214/+199
|
* vendor: sync to latest core (#295)Wei-Ning Huang2019-06-134-94/+151
|
* core/vm: remove round from addDKG functions (#279)Jimmy Hu2019-06-1314-192/+901
| | | | | | | | * vendor: sync to latest core * core/vm: remove addDKG functions * core: fix conflict
* core: check reset of dkg types when adding (#268)Jimmy Hu2019-06-126-31/+156
| | | | | | * vendor: sync to latest core * core: check dkg reset
* dex: implement recovery mechanism (#258)Wei-Ning Huang2019-06-129-383/+658
| | | | | | | | | * dex: implement recovery mechanism The DEXON recovery protocol allows us to use the Ethereum blockchain as a fallback consensus chain to coordinate recovery. * fix
* vendor: sync to latest core (#253)Jimmy Hu2019-06-1212-111/+648
|
* vendor: sync to latest core and fix conflictJimmy Hu2019-06-129-185/+250
|
* vendor: sync to latest core (#237)Jimmy Hu2019-06-125-13/+75
|
* vendor: sync to latest core (#231)Jimmy Hu2019-06-123-5/+30
|
* vendor: sync to latest core (#225)Jimmy Hu2019-06-122-51/+11
|
* core: sync to latest core (#214)Jimmy Hu2019-06-1219-485/+405
| | | | | * vendor: sync to latest core * fix for single chain
* core: Remove K, Phi and NumChains from Governance (#198)Jimmy Hu2019-06-1225-4224/+1137
| | | | | | * change default sync_core.sh * vendor: sync to latest core * core: Remove K, Phi and NumChain
* vendor, param: sync to latest core and update dmoment (#182)Jimmy Hu2019-06-121-3/+7
| | | | | | * vendor: sync to latest core * params: update dmoment
* vendor, param: sync to latest core and update testnet config (#178)Jimmy Hu2019-06-121-0/+1
| | | | | * param: update testnet config * vendor: sync to latest core
* params: update testnet config (#177)Jimmy Hu2019-06-123-72/+140
| | | | | * vendor:sync to latest core * params: Update config for testnet
* consensus: dexcon: snapshot round height when finalizing block (#170)Wei-Ning Huang2019-06-129-120/+301
| | | | Instead of having BP to send a tx to register the round height, just modify the state when finalizing block.
* params: Update testnet dmomentJimmy Hu2019-06-121-1/+1
|
* params: Update testnet config (#167)Jimmy Hu2019-06-1211-50/+93
| | | | | | | | * vendor: sync to latest core * param: update testnet config * params: update dmoment
* core: sync to latest core (#158)Jimmy Hu2019-06-124-20/+36
| | | | | | * vendor: sync to latest core * param: Update config * core: update genesis alloc
* vendor: sync to latest core (#154)Jimmy Hu2019-06-1218-318/+864
| | | | | | * vendor: sync to latest core with BA3.0 * params: Update dmoment
* vendor: sync to latest core (#129)Wei-Ning Huang2019-06-1211-64/+47
|
* vendor: sync to latest core (#125)Jimmy Hu2019-06-129-62/+264
|
* vendor: sync to latest core (#121)Wei-Ning Huang2019-06-121-6/+9
|
* Sync latest DEXON core (#111)Mission Liao2019-06-122-44/+90
|
* dex: add pull randomness (#105)Jimmy Hu2019-06-129-130/+135
| | | | | * vendor: sync to latest core * dex: Add PullRandomness
* vendor: sync DEXON core and fix conflicts/missings (#101)Mission Liao2019-06-1213-284/+337
| | | | | | | Merging these commits in DEXON consensus core: - https://github.com/dexon-foundation/dexon-consensus/commit/dce509a13ef5873b9cae3c1cabdb97e219b6fb7d - https://github.com/dexon-foundation/dexon-consensus/commit/6d1c1aeea0d3e75d10cbb2712c68b4c422ba8ba6 - https://github.com/dexon-foundation/dexon-consensus/commit/c1ed57c4abaf1f4758e52f082bb7114ad00c8b39
* core, dex, internal: block proposer syncing (first iteration) (#96)Sonic2019-06-122-0/+928
| | | | | | | | | | | | | | | | | | | | | | * dex, internal: block proposer syncing (first iteration) * core: find block from db if not in memory This fix handles stopping proposing and then restarting * core: no need to reorg when reset Dexon will not fork. This commit also fix when a block confirm but its parent is not in db yet, during restarting proposing. * dex: always accept NewBlockMsg, NewBlockHashesMsg We need to accept NewBlockMsg, NewBlockHashesMsg to sync current block with other peers in block proposer mode when syncing lattice data. It's a waste when the node is synced and start proposing. Todo: control msg processing on/off more granular, accept NewBlockMsg, NewBlockHashesMsg when syncing, but stop when synced.
* core: vm: Add `MPKReady` to governance (#97)Jimmy Hu2019-06-1213-63/+242
| | | | | | * core/vm: Add DKGMPKReady * param: update GenesisHash * vendor: sync to latest core
* vendor: sync to latest core (#91)Mission Liao2019-06-128-80/+383
| | | | | | - Implement new methods in db to cache DKG private key. - Implement new methods in db to cache compaction chain tip.
* vendor: sync to latest core and fix conflictJimmy Hu2019-06-1213-196/+298
|
* vendor: sync to latest core and fix conflict (#79)Jimmy Hu2019-06-124-77/+251
|
* vendor: update to latest core (#71)Jimmy Hu2019-06-129-228/+118
|
* vendor: sync to latest core (#52)Jimmy Hu2019-06-128-309/+727
|
* vendor: sync to latest core (#37)Jimmy Hu2019-06-1217-137/+401
|
* core: validate DKG set with correct nodeset in round-2 (#19)Wei-Ning Huang2019-06-125-27/+10
| | | | | * vendor: sync consensus core * core: validate DKG set with correct nodeset in round-2
* vendor: sync to latest core (#16)Jimmy Hu2019-06-128-71/+113
|
* vendor: sync to latest coreJimmy Hu2019-06-125-97/+107
|
* vendor: sync to latest coreJimmy Hu2019-06-125-90/+117
|
* vendor: sync to latest coreWei-Ning Huang2019-06-126-204/+241
|
* vendor: sync to latest coreJimmy Hu2019-06-121-0/+9
|
* vendor: sync to latest coreJimmy Hu2019-06-1211-44/+146
|
* vendor: sync to latest consensus coreWei-Ning Huang2019-06-122-297/+245
|
* app: lock by chain correctly and remove old core in vendorBJ42019-06-125-34/+31
|
* core: vm: governance: remove maxIntervalWei-Ning Huang2019-06-123-21/+10
|
* Rename import due to dexon-consensus renameWei-Ning Huang2019-06-1243-0/+9777