aboutsummaryrefslogtreecommitdiffstats
path: root/dex
Commit message (Collapse)AuthorAgeFilesLines
* dex: remove gasprice package and use eth/gasprice insteadWei-Ning Huang2019-04-094-192/+3
| | | | We did not change anything in eth/gasprice, don't copy it into dex.
* 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
| | | | | | * Add Transactions.TouchSenders that calculates sender and update cache * Use TouchSenders to fill the caches
* core: validate DKG set with correct nodeset in round-2 (#19)Wei-Ning Huang2019-04-091-4/+2
| | | | | * vendor: sync consensus core * core: validate DKG set with correct nodeset in round-2
* dex: return correct pending nonce (#14)Wei-Ning Huang2019-04-092-4/+5
| | | | We need to return the correct pending nonce (include those in the tx pool). Also, StateAndHeaderByNumber is also fixed to use pending block.
* dex: porting test to enode (#9)Sonic2019-04-094-112/+132
|
* app: bug fix (#7)bojie2019-04-091-0/+7
| | | | Add notify mutex to prevent missing chain issue while concurrent appending with same slice.
* 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
| | | | BuildConnection builds notary and dkg connections together
* 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
| | | | | | | | | | - Let p2p server support direct connection and group connection. - Introduce node meta table to maintain IP of all nodes in node set, in memory and let nodes in the network can sync this table. - Let peerSet able to manage direct connections to notary set and dkg set. The mechanism to refresh the network topology when configuration round change is not done yet.
* 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