aboutsummaryrefslogtreecommitdiffstats
path: root/dex/cache.go
Commit message (Collapse)AuthorAgeFilesLines
* dex: try to reduce the chance to pull non-finalized blocks (#327)Mission Liao2019-06-151-2/+27
| | | | | | | | | | | | | | | | * Send non-finalized blocks to notary set only * Update randomness field for blocks in cache upon receiving agreement result * Filter AgreementResult by its position * Avoid overwriting finalized blocks with non-finalized ones * Add blocks to finalized cache when pulling * Update to finalized cache when we have corresponding element in non-finalized one.
* vendor: sync to latest core (#320)Jimmy Hu2019-06-151-1/+0
| | | | | | | | * vendor: sync to latest core * dex, core: fix conflict x
* core: merge notarySet and DKGSet (#265)Jimmy Hu2019-06-151-48/+40
| | | | | | | | * vendor: sync to latest core * core: merge notarySet and dkgSet * dex: optimize network traffic for finalized block
* dex: fix cache error (#126)Jimmy Hu2019-06-121-0/+1
|
* dex: add pull randomness (#105)Jimmy Hu2019-06-121-11/+51
| | | | | * vendor: sync to latest core * dex: Add PullRandomness
* vendor: sync to latest core and fix conflictJimmy Hu2019-06-121-4/+4
|
* dex: Pull blocks from blockdb if cache miss (#84)Jimmy Hu2019-06-121-1/+12
|
* dex: remove finalization information in block cacheJimmy Hu2019-06-121-0/+2
|
* Rename import due to dexon-consensus renameWei-Ning Huang2019-06-121-7/+7
|
* dex: implement PullBlocks/PullVotes (#1)Jimmy Hu2019-06-121-0/+115