aboutsummaryrefslogtreecommitdiffstats
path: root/dex
Commit message (Expand)AuthorAgeFilesLines
* core: vm: refactor vm config and contextJhih-Ming Huang2019-05-065-33/+59
* remove dexon/crypto/sha3 pkg.Jhih-Ming Huang2019-05-061-2/+2
* dex: remove file that should not be committed (#204)Jimmy Hu2019-05-061-0/+0
* core: vm: extract stateDB and contract outjm2019-05-062-11/+12
* core: vm: refactor file structurejm2019-05-068-14/+14
* core, rawdb, dex: improve gov state for syncing (#393)Sonic2019-04-241-0/+3
* dex/downloader: fix find common ancestor (#376)Sonic2019-04-191-2/+2
* dex: add pullblock rate limit (#363)Jimmy Hu2019-04-151-8/+20
* core: implement DKG success (#362)Jimmy Hu2019-04-151-0/+14
* dex: implement bad peer detect and disconnect mechanism (#360)Wei-Ning Huang2019-04-123-13/+55
* dex: update recovery contract ABI (#357)Wei-Ning Huang2019-04-111-54/+0
* core: add reset to dkg private key db (#355)Jimmy Hu2019-04-111-13/+10
* dex: remove time alignment when force sync (#349)Jimmy Hu2019-04-091-16/+1
* dex: reduce agreement result (#348)Jimmy Hu2019-04-091-0/+1
* dex: remove RandomnessMsg (#342)Sonic2019-04-091-5/+4
* core: update mainnet and testnet config and genesis alloc (#337)Wei-Ning Huang2019-04-091-1/+2
* core: vm: cache GPK to prevent DoS (#335)Wei-Ning Huang2019-04-091-16/+16
* vendor: sync to latest coreWei-Ning Huang2019-04-091-3/+4
* dex: remove node table (#330)Sonic2019-04-098-542/+29
* dex: get synced consensus before sleep (#331)Jimmy Hu2019-04-091-3/+5
* dex: try to reduce the chance to pull non-finalized blocks (#327)Mission Liao2019-04-095-57/+156
* p2p, p2p/discover: more aggressive dial strategy for direct dial (#326)Sonic2019-04-091-1/+1
* dexcon: correctly fine DKGSet for not producing blocks (#325)Wei-Ning Huang2019-04-092-2/+2
* vendor: sync to latest core (#320)Jimmy Hu2019-04-097-69/+47
* dex: fix a panic (#317)Jimmy Hu2019-04-091-1/+1
* core: fix forget connection in resetDKG (#314)Jimmy Hu2019-04-092-1/+12
* dex: fix initial build connection bug (#311)Jimmy Hu2019-04-092-4/+7
* dex: rebuild connection if dkg reset, core/vm: fix gov (#308)Jimmy Hu2019-04-093-2/+21
* core: merge notarySet and DKGSet (#265)Jimmy Hu2019-04-098-396/+248
* backport from v1.8.23 (#304)Sonic2019-04-0912-87/+433
* dex: do not propose skip block if not in notary set (#303)Wei-Ning Huang2019-04-091-0/+10
* dex: fix missing trie node when fast syncing (#301)Sonic2019-04-092-2/+4
* dex: fix deadlock (#299)Sonic2019-04-091-1/+1
* dex: skip duplicate vote to reduce gas used (#293)Wei-Ning Huang2019-04-091-27/+45
* dex: fix fast sync in BP mode (#291)Wei-Ning Huang2019-04-094-44/+78
* dex: reduce msg when broadcast tx (#292)Sonic2019-04-092-19/+51
* core/vm: remove round from addDKG functions (#279)Jimmy Hu2019-04-093-20/+20
* dex: recieve bp msg when recovery, use atomic to protect the flag (#286)Sonic2019-04-092-17/+19
* dex: ignore acceptableDist when force synchronise (#285)Sonic2019-04-093-5/+23
* consensus: dexcon: disqualify dead node (#280)Wei-Ning Huang2019-04-094-103/+14
* dex: fix start bp node with empty datadir (#278)Sonic2019-04-092-22/+31
* dex: add block confirme latency (#275)Jimmy Hu2019-04-092-0/+3
* dex: do not start watchcat when blockchain is empty (#273)Wei-Ning Huang2019-04-091-4/+8
* core: vm: add extra checks to prevent DKG spamming (#272)Wei-Ning Huang2019-04-091-1/+6
* app: validate gas price while preparing block (#274)bojie2019-04-092-34/+126
* dex: align recovery dMoment when resuming consensus (#271)Wei-Ning Huang2019-04-091-1/+16
* p2p, dex: add debug log (#269)Sonic2019-04-093-18/+63
* dex: properly shutdown protocol stack (#267)Wei-Ning Huang2019-04-093-6/+12
* dex: properly start and stop the block proposer module (#264)Wei-Ning Huang2019-04-093-16/+11
* core: fill in genesis timstamp and remove dMoment from protocol handshake (#263)Wei-Ning Huang2019-04-096-29/+13
* dex: implement recovery mechanism (#258)Wei-Ning Huang2019-04-096-5/+576
* app: remove log handler in test (#261)bojie2019-04-091-3/+0
* dex: add meter for agreement result (#260)Wei-Ning Huang2019-04-091-12/+14
* dex: rename lattice to coreWei-Ning Huang2019-04-097-43/+43
* app: set delivered height correctly (#259)bojie2019-04-091-0/+1
* dex: priority for ba vote (#256)Jimmy Hu2019-04-091-0/+17
* core: vm: implement transfer node ownership (#255)Wei-Ning Huang2019-04-091-1/+2
* vendor: sync to latest core (#253)Jimmy Hu2019-04-091-0/+14
* app: new app test flow (#244)bojie2019-04-092-1/+2281
* dex: fetcher: modify parameters to speedup syncing (#239)Wei-Ning Huang2019-04-092-5/+6
* dex: rename IsLatticeSyncing to IsCoreSyncing (#238)Wei-Ning Huang2019-04-093-5/+5
* dex, dex/downloader: remove some TODO comments (#232)Sonic2019-04-095-13/+1
* app: refactor app run as single chain (#226)bojie2019-04-091-129/+145
* dex: fill in correct coinbase address (#223)Wei-Ning Huang2019-04-092-723/+10
* core: vm: flatten governanceWei-Ning Huang2019-04-096-78/+79
* core: sync to latest core (#214)Jimmy Hu2019-04-099-241/+104
* params: add Yilan network (#207)Mission Liao2019-04-092-2/+1
* core: Fixed gas price (#205)Jimmy Hu2019-04-093-7/+48
* core: Remove K, Phi and NumChains from Governance (#198)Jimmy Hu2019-04-093-183/+37
* dex: some minor improvements (#195)Sonic2019-04-093-144/+117
* dex: Add a flag to GetBlockHeadersMsg and GetBlockBodiesMsg (#188)Sonic2019-04-097-63/+95
* p2p, dex: some fixes (#189)Sonic2019-04-091-0/+3
* p2p, dex: rework connection management (#183)Sonic2019-04-097-684/+398
* app: prepare/verify block limit in correct round (#181)bojie2019-04-091-2/+2
* consensus: dexcon: snapshot round height when finalizing block (#170)Wei-Ning Huang2019-04-093-29/+0
* dex: reduce pullVote (#172)Jimmy Hu2019-04-091-2/+3
* dex: Add rate limit for pullVote (#169)Jimmy Hu2019-04-091-7/+21
* core, dex/downloader: polish headers verification and blocks insertion logic ...Sonic2019-04-094-116/+227
* dex: add block number gauge (#140)haoping-ku2019-04-091-18/+25
* core, dex: use block hash as witness data (#160)Sonic2019-04-092-24/+13
* Fix the usage of sync.Map (#156)Mission Liao2019-04-091-4/+2
* vendor: sync to latest core (#154)Jimmy Hu2019-04-091-0/+1
* app: remove pending block logic (#149)bojie2019-04-094-162/+142
* params: write dMoment into ChainConfig (#150)Wei-Ning Huang2019-04-096-15/+30
* consensus: implement DEXON cryptoeconomics v4.0 (#145)Wei-Ning Huang2019-04-093-8/+20
* dex: remove unused log (#136)Sonic2019-04-091-4/+0
* app: implement logic for prepare/verify correctly when chain number change (#...bojie2019-04-092-6/+257
* dex: replace NodeMeta with ENR (#132)Sonic2019-04-099-255/+236
* core: vm: implement byzantine reporting mechanism (#128)Wei-Ning Huang2019-04-092-15/+66
* dex: fix test due to consensus-core changeWei-Ning Huang2019-04-091-9/+9
* vendor: sync to latest core (#129)Wei-Ning Huang2019-04-091-0/+9
* dex: fix cache error (#126)Jimmy Hu2019-04-091-0/+1
* core, indexer, dex: fix DexconApp block deliver after synced (#122)Sonic2019-04-091-9/+9
* indexer: support data exporting/forwarding (#103)Meng-Ying Yang2019-04-092-0/+19
* dex/downloader: fix bug when syncing (#106)Sonic2019-04-091-2/+13
* dex: add pull randomness (#105)Jimmy Hu2019-04-096-14/+203
* core, dex, internal: block proposer syncing (first iteration) (#96)Sonic2019-04-095-24/+247
* core: vm: Add `MPKReady` to governance (#97)Jimmy Hu2019-04-091-0/+40
* dex: remove duplicate declaration of WitnessData (#92)Wei-Ning Huang2019-04-092-14/+3
* dex: stop consensus core (#93)Jimmy Hu2019-04-091-0/+1
* vendor: sync to latest core (#91)Mission Liao2019-04-093-15/+51
* vendor: sync to latest core and fix conflictJimmy Hu2019-04-093-20/+37
* dex, cmd: Add DMoment to command line (#87)Jimmy Hu2019-04-092-6/+5
* app: remove unnecessary code (#86)bojie2019-04-092-15/+3
* dex: Pull blocks from blockdb if cache miss (#84)Jimmy Hu2019-04-093-4/+40
* vendor: sync to latest core and fix conflict (#79)Jimmy Hu2019-04-091-2/+1
* app: return retry later instead of retry with sleep time (#78)bojie2019-04-091-31/+22
* core, dex: polish sync (#75)Sonic2019-04-096-8/+79
* app: misc fixes (#76)bojie2019-04-091-50/+30
* dex: replace total difficulty with block number (#73)Sonic2019-04-0910-177/+143
* core, dex: Timeout for prepare payload (#72)Jimmy Hu2019-04-091-0/+55
* dex: use whole id to query peer info (#74)Sonic2019-04-091-1/+1
* app: add app test case and benchmark (#66)bojie2019-04-093-19/+723
* dex: verify header that imported from fetcher (#68)Sonic2019-04-091-1/+1
* Fix lintWei-Ning Huang2019-04-0910-109/+111
* dex: add metrics (#54)Sonic2019-04-091-32/+84
* dex/downloader: fix testsSonic2019-04-092-242/+114
* dex: fix testsWei-Ning Huang2019-04-094-43/+93
* core: fix testsWei-Ning Huang2019-04-092-8/+2
* core: various changes on tps tuning (#46)Wei-Ning Huang2019-04-092-7/+4
* app: skip tx which has been confirmed (#45)bojie2019-04-091-9/+8
* api: allow sending batch of raw transactionsWei-Ning Huang2019-04-091-0/+4
* core, dex, downloader: refactor governanceSonic2019-04-094-221/+48
* core, dex, dex/downloader: restore insertChain to upstream versionSonic2019-04-092-7/+7
* dex: implement downloader for dexSonic2019-04-0911-88/+499
* dex: use dex/downloader in dexSonic2019-04-098-19/+19
* dex: copy fetcher and downloader from ethSonic2019-04-0915-0/+7440
* core: add global signature cache and improve concurrency (#42)Wei-Ning Huang2019-04-092-2/+2
* core, dex: Batch process touchSender. Lower priority for tx. (#41)Jimmy Hu2019-04-091-0/+1
* dex: Tx message optimization (#39)Jimmy Hu2019-04-092-7/+42
* dex: add BlockDB, which implements consensus core's blockdb.BlockDatabase (#36)Sonic2019-04-092-11/+56
* governance: implement delegate/undelegate function and add tests (#33)Wei-Ning Huang2019-04-092-4/+4
* core: more fix on light node synchronization (#32)Wei-Ning Huang2019-04-092-8/+7
* core: fix light node synchronization issue (#30)Wei-Ning Huang2019-04-092-0/+5
* app: remove notify to prevent dead lock with consensus coreBJ42019-04-091-39/+3
* app: add cache to reuse same tx address which has already recovered (#26)BJ42019-04-091-9/+2
* core: refactor validator and fix light node sync (#25)Wei-Ning Huang2019-04-093-47/+75
* dex: remove gasprice package and use eth/gasprice insteadWei-Ning Huang2019-04-094-192/+3
* dex, core: Fix make fail (#24)Jimmy Hu2019-04-091-1/+1
* core, dex: Optimize sender calculation in block transactions. (#22)Jimmy Hu2019-04-091-0/+6
* core: validate DKG set with correct nodeset in round-2 (#19)Wei-Ning Huang2019-04-091-4/+2
* dex: return correct pending nonce (#14)Wei-Ning Huang2019-04-092-4/+5
* dex: porting test to enode (#9)Sonic2019-04-094-112/+132
* app: bug fix (#7)bojie2019-04-091-0/+7
* app: fix core testBJ42019-04-091-1/+2
* dex: remove useless codeSonic2019-04-091-115/+0
* dex: peer: more fix on ID conversionWei-Ning Huang2019-04-091-53/+53
* dex: fix conflict caused by rebaseWei-Ning Huang2019-04-094-59/+79
* dex: increase governance tx gas priceWei-Ning Huang2019-04-091-0/+4
* core: validate roundHeight mapping in governance contractWei-Ning Huang2019-04-091-0/+7
* dex: proofread and fix bugsWei-Ning Huang2019-04-091-161/+145
* test: disable standalone RPC server as BroadcastBlock currently cause forkingWei-Ning Huang2019-04-091-3/+1
* test: start a separate RPC node for testing block syncWei-Ning Huang2019-04-092-10/+5
* app: add back mutex to prevent concurrent map read writeBJ42019-04-091-1/+9
* dex: remove finalization information in block cacheJimmy Hu2019-04-091-0/+2
* app: lock by chain correctly and remove old core in vendorBJ42019-04-091-24/+12
* core: vm: governance: remove maxIntervalWei-Ning Huang2019-04-091-1/+0
* Rename import due to dexon-consensus renameWei-Ning Huang2019-04-0910-68/+68
* dex: implement PullBlocks/PullVotes (#1)Jimmy Hu2019-04-096-2/+415
* dex: minor refactorWei-Ning Huang2019-04-091-12/+18
* dex: set blocktime to millisecond timestampWei-Ning Huang2019-04-091-1/+1
* dex: increase TX queue sizeWei-Ning Huang2019-04-091-1/+1
* core: tx_pool: remove transactions on BlockConfirmed eventWei-Ning Huang2019-04-091-1/+2
* vendor: sync consensus core and fix conflicJimmy Hu2019-04-091-0/+21
* dex: add block gas limit into governanceWei-Ning Huang2019-04-092-11/+4
* app: refactor prepare logicBojie Wu2019-04-091-11/+17
* app: using lock correctly to use map safelyBojie Wu2019-04-091-63/+77
* app: fix nil pointer issueBojie Wu2019-04-091-4/+6
* vendor: sync consensus core and fix conflictWei-Ning Huang2019-04-091-0/+5
* app: add cache mechanism to increase performanceBojie Wu2019-04-091-103/+63
* app: add mutex to prevent concurrent read write mapBojie Wu2019-04-091-0/+3
* dex: update default network IDWei-Ning Huang2019-04-091-1/+1
* dex: fix types changes in consensus coreSonic2019-04-091-10/+9
* dex: remove uneeded info from block headerWei-Ning Huang2019-04-091-15/+5
* vendor: sync consensus core and fix conflictWei-Ning Huang2019-04-095-27/+30
* app: fix bug when prepare transactionBojie Wu2019-04-091-2/+7
* dex: fix testSonic2019-04-091-1/+1
* app: correct process pending block logicBojie Wu2019-04-091-29/+38
* dex: fix missing randomness assignmentWei-Ning Huang2019-04-091-1/+2
* dex: fix DKG round switchingWei-Ning Huang2019-04-091-3/+3
* dex: prevent broadcasting agreement and randomness indefinitelyWei-Ning Huang2019-04-091-2/+6
* dex: fix round switching and initialize dMoment correctlyWei-Ning Huang2019-04-091-1/+8
* dex: misc fixesWei-Ning Huang2019-04-092-8/+17
* app: check nonce and balance in prepare payloadBojie Wu2019-04-091-20/+111
* geth: add propose flag to enable/disable proposingSonic2019-04-091-0/+7
* core: included Dexcon metadata in blockWei-Ning Huang2019-04-091-5/+11
* dex: no need to rlp encode/decode now, consensus supports itSonic2019-04-094-41/+31
* dex: use RLP to encode contract payload dataWei-Ning Huang2019-04-091-6/+6
* dex: fix public key conversionWei-Ning Huang2019-04-091-6/+2
* dex: fix DKGMasterPublicKey and DKGComplaints unmarshalWei-Ning Huang2019-04-091-3/+2
* dex: pass logger object to consensus coreWei-Ning Huang2019-04-091-1/+1
* app: implement verify block logicBojie Wu2019-04-091-22/+195
* consensus: dexcon: fetch config from stateWei-Ning Huang2019-04-094-7/+15
* dex: fix public key parsing due to changes in consensus coreWei-Ning Huang2019-04-091-12/+8
* app: fixup message formatWei-Ning Huang2019-04-091-8/+8
* app: implement new insert blocks logicBojie Wu2019-04-091-147/+66
* core/dex: fix governance contract implementationWei-Ning Huang2019-04-091-8/+8
* dex: add initial block to RunJimmy Hu2019-04-091-1/+3
* dex: polish network related functionSonic2019-04-094-103/+211
* dex: let notary nodes connect to some dkg nodesSonic2019-04-094-185/+204
* dex/core: misc bug fixesWei-Ning Huang2019-04-093-2/+10
* dex: register ethereum APIsWei-Ning Huang2019-04-093-1/+1036
* dex: implement peerSetLoopSonic2019-04-096-11/+74
* app: fix log messageBojie Wu2019-04-091-8/+8
* hack: temp fix for running testsWei-Ning Huang2019-04-092-8/+5
* app: correct dexon application logicBojie Wu2019-04-091-81/+51
* core: fix nil map initializationWei-Ning Huang2019-04-091-1/+2
* dex: gov: using dex-consensus-core NodeSetCacheSonic2019-04-095-64/+71
* dex: add subprotocolsSonic2019-04-091-1/+1
* dex: run consensus core on StartWei-Ning Huang2019-04-091-0/+1
* app: add default block rewardBojie Wu2019-04-091-1/+1
* dex: set tmp dMoment for testingWei-Ning Huang2019-04-091-1/+2
* dex: fix flaky testSonic2019-04-091-0/+12
* dex: add self node meta after StartSonic2019-04-094-6/+47
* dex: add method to get NumChains, NotarySet, DKGSet easilySonic2019-04-096-43/+80
* dex: move dexcon blockdb into datadirWei-Ning Huang2019-04-091-1/+3
* dex: interface updateWei-Ning Huang2019-04-091-1/+3
* app: pass chain config instead of nilBojie Wu2019-04-091-3/+6
* dex: network: implement the network interfaceSonic2019-04-099-58/+1024
* dex: bug fix to allow running geth without crashingWei-Ning Huang2019-04-093-45/+50
* dex: implement sendTx related governance methodsWei-Ning Huang2019-04-092-6/+128
* dex: pass p2p nodeKey to Dexon instanceWei-Ning Huang2019-04-093-13/+20
* app: modify for new interface methodBojie Wu2019-04-091-19/+33
* dex: implement some governance interface functionsWei-Ning Huang2019-04-094-22/+98
* dex: governance: implement governance interfaceWei-Ning Huang2019-04-093-16/+38
* app: implement new interface methodBojie Wu2019-04-091-27/+104
* dex: add api_backend.go and it's dependenciesWei-Ning Huang2019-04-095-2/+566
* dex: update application interfaceWei-Ning Huang2019-04-091-20/+27
* app: correct validation logicBojie Wu2019-04-091-4/+10
* dex: implement dexon application interfaceBojie Wu2019-04-093-17/+285
* dex: remove DAO related codeSonic2019-04-092-62/+2
* core: vm: refactor and add DKGFinalizeds related implementationsWei-Ning Huang2019-04-092-4/+13
* dex: redesign p2p network topologySonic2019-04-0912-449/+1825
* core: vm: implement the rest of governance contract methodsWei-Ning Huang2019-04-093-4/+16
* core: vm: add governance contract skeletonWei-Ning Huang2019-04-091-7/+7
* dex: update consensus core interfaceWei-Ning Huang2019-04-094-36/+38
* Change import go github.com/dexon-foundation/dexonWei-Ning Huang2019-04-0911-66/+66
* Use dex.Config instead of eth.ConfigWei-Ning Huang2019-04-094-72/+18
* dex: implement notary node info propagation and management mechanismSonic2019-04-093-16/+183
* dex: implement notarySet for keeping notary set infoSonic2019-04-091-0/+203
* dex: introduce dex64 and remove eth62, eth63Sonic2019-04-093-18/+37
* dex: let peer able to send notary node infoSonic2019-04-091-3/+41
* dex: let peerSet able to manage notary peersSonic2019-04-091-1/+64
* dex: fix use of internal package not allowedSonic2019-04-091-1/+1
* Change package name from eth to dexSonic2019-04-098-8/+8
* Copy codebase from ethSonic2019-04-098-0/+2407
* dex: update interface and use static bls libWei-Ning Huang2019-04-091-0/+5
* dex: make geth buildable and update interface skeletonWei-Ning Huang2019-04-094-5/+177
* Add udpated governance interface and app interfaceWei-Ning Huang2019-04-092-2/+34
* Add dex packageWei-Ning Huang2019-04-092-0/+80