aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* app: add app test case and benchmark (#66)bojie2019-03-126-32/+991
|
* monkey: increase amount and send random amount (#70)Jimmy Hu2019-03-121-2/+4
|
* vendor: update to latest core (#71)Jimmy Hu2019-03-1210-248/+138
|
* dex: verify header that imported from fetcher (#68)Sonic2019-03-122-1/+5
|
* README.md: update CI badge (#67)Wei-Ning Huang2019-03-121-1/+1
|
* core: fix tests (#65)Wei-Ning Huang2019-03-124-15/+12
|
* travis-ci: disable builders (#64)Wei-Ning Huang2019-03-121-161/+161
| | | | Disable automatic builds for now until we come up with a better solution.
* Fix lintWei-Ning Huang2019-03-1214-114/+119
|
* test: improve keygen.go (#62)Wei-Ning Huang2019-03-129-13/+67
|
* core: Update genesis alloc. (#63)Jimmy Hu2019-03-121-1/+1
|
* core: panic if fork found when inserting header chain (#61)Wei-Ning Huang2019-03-121-1/+6
|
* p2p/discover: increase IP address limits (#60)Sonic2019-03-121-2/+3
|
* internal/ethapi: add transactionHash in blockreceipts (#58)johnliu-dexon2019-03-121-0/+1
|
* dex: add metrics (#54)Sonic2019-03-121-32/+84
|
* Makefile: add libbls to test target dependencies (#57)Wei-Ning Huang2019-03-121-1/+1
|
* cmd: fix tests (#55)bojie2019-03-124-15/+19
|
* internal/ethapi: add getBlockReceiptsByHash (#56)johnliu-dexon2019-03-122-0/+55
| | | | | | | | | | * dex: add getBlockReceiptsByHash add rpc method for performance acceleration * Update internal/ethapi/api.go Co-Authored-By: johnliu-dexon <42129254+johnliu-dexon@users.noreply.github.com>
* test: add local bootnode (#53)Jimmy Hu2019-03-121-0/+6
| | | | | | * test: add local bootnode * Update run_test.sh
* tests: updates testadataWei-Ning Huang2019-03-125-8/+38
|
* tests: fix testsWei-Ning Huang2019-03-123-4/+13
|
* node: fix testsWei-Ning Huang2019-03-121-2/+2
|
* miner: fix testWei-Ning Huang2019-03-121-1/+1
|
* dex/downloader: fix testsSonic2019-03-122-242/+114
|
* les: fix testsWei-Ning Huang2019-03-121-1/+1
|
* dex: fix testsWei-Ning Huang2019-03-125-43/+95
|
* core: fix testsWei-Ning Huang2019-03-125-15/+12
|
* vendor: sync to latest core (#52)Jimmy Hu2019-03-129-329/+747
|
* core: vm: fix power2 table calculation (#50)Wei-Ning Huang2019-03-121-3/+3
|
* core: commit states at snapshot height (#49)Sonic2019-03-121-2/+7
|
* params: update testnet bootnode IP (#48)Wei-Ning Huang2019-03-121-1/+1
|
* core: add Taipei testnet (#47)Wei-Ning Huang2019-03-128-14/+89
| | | | Add a new testnet named Taipei.
* core: various changes on tps tuning (#46)Wei-Ning Huang2019-03-1211-25/+25
|
* app: skip tx which has been confirmed (#45)bojie2019-03-121-9/+8
| | | | | | * app: skip tx which has been confirmed * fixup! app: skip tx which has been confirmed
* core: increase tx pool sizeWei-Ning Huang2019-03-121-4/+4
|
* api: allow sending batch of raw transactionsWei-Ning Huang2019-03-129-79/+164
|
* core, dex, downloader: refactor governanceSonic2019-03-126-246/+109
|
* core, dex, dex/downloader: restore insertChain to upstream versionSonic2019-03-124-27/+25
| | | | | Also rename InsertChain2, insertChain2, InsertHeaderChain2, ValidateHeaderChain2
* test: add script to run sync nodeSonic2019-03-121-0/+24
|
* dex: implement downloader for dexSonic2019-03-1212-88/+504
| | | | | | | | | | | We need governance state to verify block's signature (randomness), but in ethereum fast sync mode, eth downloader only downloads the whole state of pivot block, so we don't have governance state to verify the downloaded block that is before pivot block if we don't processing transaction. To avoid running transactions, dex downloader also downloads the governance state (merkle proof and storage) at snapshot height of each round, so that we can verify blocks in fast sync mode.
* core: implement insert chain, headerchain logicSonic2019-03-123-0/+521
|
* core: support extracting governance state from state trieSonic2019-03-123-0/+73
|
* dex: use dex/downloader in dexSonic2019-03-1214-42/+46
| | | | | To compatible with ethereum code base, make Downloader a interface in internal/ethapi
* dex: copy fetcher and downloader from ethSonic2019-03-1215-0/+7440
|
* core: add global signature cache and improve concurrency (#42)Wei-Ning Huang2019-03-126-55/+88
| | | | | From the go trace result, the bottleneck hides in the lock of StoreTxCache. To improve this, we update the cache in a batched fassion.
* core, dex: Batch process touchSender. Lower priority for tx. (#41)Jimmy Hu2019-03-122-13/+20
| | | | | | | * dex: Add a tx queue in broadcast * Modify queue parameter * Priority select all messages except tx * Batch process TouchSenders
* dex: Tx message optimization (#39)Jimmy Hu2019-03-122-7/+42
| | | | | | | | * dex: Add a tx queue in broadcast * Modify queue parameter * Priority select all messages except tx
* test: use a fixed nodekey for RPC node (#38)Wei-Ning Huang2019-03-122-1/+2
|
* vendor: sync to latest core (#37)Jimmy Hu2019-03-1218-157/+427
|
* dex: add BlockDB, which implements consensus core's blockdb.BlockDatabase (#36)Sonic2019-03-124-11/+114
|
* core: vm: change offset type to int256Wei-Ning Huang2019-03-121-2/+7
| | | | | Since we use -1 to represent the offset of empty value, we should make the return type int256 instead of uint256.
* governance: implement delegate/undelegate function and add tests (#33)Wei-Ning Huang2019-03-129-121/+1162
| | | | | Implement delegate/undelegate function to allow others to delegate it's fund to stake on a node. Also added governance contract tests.
* core: blockchain: fix concurrent map read and write (#34)Wei-Ning Huang2019-03-121-4/+7
|
* core: more fix on light node synchronization (#32)Wei-Ning Huang2019-03-126-76/+58
| | | | | | Fix gas calculation in governance contract. Correctly register round height when processing pending blocks. We should register the mapping when we get the pending block instead of waiting for block confirmation.
* core: vm: add minStake to governance contract variable (#31)Wei-Ning Huang2019-03-125-10/+63
|
* core: fix light node synchronization issue (#30)Wei-Ning Huang2019-03-126-9/+23
| | | | | InsertChain() need to record the correct roundHeight mapping in order to process snapshotRoundHeight() governance method correctly.
* core: revert changes to StateProcessor.Process (#29)Wei-Ning Huang2019-03-122-10/+10
|
* app: remove notify to prevent dead lock with consensus coreBJ42019-03-121-39/+3
|
* app: add cache to reuse same tx address which has already recovered (#26)BJ42019-03-124-12/+43
|
* core: refactor validator and fix light node sync (#25)Wei-Ning Huang2019-03-1215-206/+189
| | | | | | | | Remove custom Dexon validator by adding a new `ValidateWitnessData` method into the validator interface. This allow us to properly detect know blocks. This also allow other gdex "light" client to sync compaction chain. Also, setup a standalone RPC node for handling RPC reqeusts.
* dex: remove gasprice package and use eth/gasprice insteadWei-Ning Huang2019-03-125-193/+4
| | | | We did not change anything in eth/gasprice, don't copy it into dex.
* core: use storeRoundHeight to avoid type mismatch (#21)Sonic2019-03-121-9/+6
| | | No need to store round 0, it's already pushed in genesis block
* dex, core: Fix make fail (#24)Jimmy Hu2019-03-122-2/+2
|
* core, dex: Optimize sender calculation in block transactions. (#22)Jimmy Hu2019-03-123-0/+40
| | | | | | * Add Transactions.TouchSenders that calculates sender and update cache * Use TouchSenders to fill the caches
* cmd: monkey: Add -parallel and -sleep to configure monkey (#20)Jimmy Hu2019-03-122-196/+23
|
* dexon: Update README (#18)Jimmy Hu2019-03-121-61/+39
|
* core: validate DKG set with correct nodeset in round-2 (#19)Wei-Ning Huang2019-03-1213-85/+101
| | | | | * vendor: sync consensus core * core: validate DKG set with correct nodeset in round-2
* core: vm: Optimize evm (#13)Jimmy Hu2019-03-125-18/+282
| | | | | | | * core: vm: add an EVM benchmark * core: vm: optimize stack allocation and instruction for calculating 2^n * Add DEXONBet bench
* core: push height of round 0 in genesis block (#17)Sonic2019-03-122-8/+11
| | | | | | | * core: push height of round 0 in genesis block * vm: fix governance dispatch method name mismatch with abi also rename RoundHeightLoc to roundHeightLoc
* Update README.mdWei-Ning Huang2019-03-121-1/+3
|
* params: Do not use DEXON config for test. (#15)Jimmy Hu2019-03-121-1/+1
|
* vendor: sync to latest core (#16)Jimmy Hu2019-03-129-89/+131
|
* dex: return correct pending nonce (#14)Wei-Ning Huang2019-03-123-6/+16
| | | | We need to return the correct pending nonce (include those in the tx pool). Also, StateAndHeaderByNumber is also fixed to use pending block.
* test: increase numChains to 6Wei-Ning Huang2019-03-122-2/+2
|
* gdex: monkey: Add a gamble monkey (#12)Jimmy Hu2019-03-122-2/+379
|
* cmd: gdex: Revert #6 (#11)Jimmy Hu2019-03-122-44/+1
| | | | | | | | * Revert "cmd: gdex: SIGUSR1 to dump stack (#6)" This reverts commit 86c985c76272667ad68c604ad09e229453d17859. * Add pprof to test
* params: fix genesis block config and use testnet for test (#10)Wei-Ning Huang2019-03-124-17/+22
|
* core: fix staked calculation in genesis (#8)Jimmy Hu2019-03-121-4/+0
|
* dex: porting test to enode (#9)Sonic2019-03-125-112/+141
|
* app: bug fix (#7)bojie2019-03-121-0/+7
| | | | Add notify mutex to prevent missing chain issue while concurrent appending with same slice.
* cmd: gdex: SIGUSR1 to dump stack (#6)Jimmy Hu2019-03-121-0/+44
|
* core: vm: expose governance contract ABI (#5)Wei-Ning Huang2019-03-121-2/+2
|
* core: blockchain: fix NewBlockChainWithDexonValidator (#4)Wei-Ning Huang2019-03-121-1/+1
|
* core: genesis: make ToBlock() compatible with legacy ethereum code (#3)Wei-Ning Huang2019-03-121-28/+36
| | | | Make ToBlock() compatible with legacy ethereum code so we can run tests normally.
* app: fix core testBJ42019-03-129-42/+151
|
* dex: remove useless codeSonic2019-03-121-115/+0
|
* vendor: sync to latest coreJimmy Hu2019-03-126-114/+124
|
* vendor: sync to latest coreJimmy Hu2019-03-126-107/+134
|
* dex: peer: more fix on ID conversionWei-Ning Huang2019-03-121-53/+53
|
* vendor: sync to latest coreWei-Ning Huang2019-03-127-222/+259
|
* core: vm: governance: add node infoWei-Ning Huang2019-03-127-14/+177
|
* dex: fix conflict caused by rebaseWei-Ning Huang2019-03-124-59/+79
|
* vendor: sync to latest coreJimmy Hu2019-03-122-17/+26
|
* dex: increase governance tx gas priceWei-Ning Huang2019-03-121-0/+4
|
* core: validate roundHeight mapping in governance contractWei-Ning Huang2019-03-127-4/+56
|
* vendor: sync to latest coreJimmy Hu2019-03-1212-62/+164
|
* core: GenerateChainWithRoundChange for testingSonic2019-03-123-0/+598
|
* dex: proofread and fix bugsWei-Ning Huang2019-03-121-161/+145
|
* test: disable standalone RPC server as BroadcastBlock currently cause forkingWei-Ning Huang2019-03-122-11/+9
|
* test: start a separate RPC node for testing block syncWei-Ning Huang2019-03-126-19/+39
|
* vendor: sync to latest consensus coreWei-Ning Huang2019-03-123-314/+262
|
* app: add back mutex to prevent concurrent map read writeBJ42019-03-121-1/+9
|
* dex: remove finalization information in block cacheJimmy Hu2019-03-121-0/+2
|
* test: save log to unique dir to preserve logs accross testsWei-Ning Huang2019-03-121-2/+5
|
* app: lock by chain correctly and remove old core in vendorBJ42019-03-1251-9898/+109
|
* test: add faucet address into genesisWei-Ning Huang2019-03-121-0/+4
|
* core: vm: governance: remove maxIntervalWei-Ning Huang2019-03-128-83/+29
|
* core: vm: add nodesLengh method for reading nodeSet sizeWei-Ning Huang2019-03-121-0/+20
|
* Rename import due to dexon-consensus renameWei-Ning Huang2019-03-12101-423/+10200
|
* vendor: sync to latest coreJimmy Hu2019-03-126-59/+251
|
* dex: implement PullBlocks/PullVotes (#1)Jimmy Hu2019-03-126-2/+415
|
* dex: minor refactorWei-Ning Huang2019-03-123-19/+24
|
* app: add lock to prevent concurrent map read writeBojie Wu2019-03-121-0/+3
|
* dex: set blocktime to millisecond timestampWei-Ning Huang2019-03-121-1/+1
|
* dex: increase TX queue sizeWei-Ning Huang2019-03-121-1/+1
|
* core: tx_pool: remove transactions on BlockConfirmed eventWei-Ning Huang2019-03-125-42/+55
|
* vendor: sync consensus core and fix conflicJimmy Hu2019-03-126-44/+69
|
* vendor: sync consensus core and fix conflictWei-Ning Huang2019-03-1212-52/+177
|
* dex: add block gas limit into governanceWei-Ning Huang2019-03-126-13/+52
|
* test: add testkeyWei-Ning Huang2019-03-121-0/+1
|
* app: refactor prepare logicBojie Wu2019-03-121-11/+17
|
* misc: ignore files in testJimmy Hu2019-03-121-0/+4
|
* app: using lock correctly to use map safelyBojie Wu2019-03-122-119/+163
|
* cmd: monkey: create random accounts to simulate network trafficWei-Ning Huang2019-03-121-34/+96
|
* app: fix concurrent map read write issue and accept fail transaction when ↵Bojie Wu2019-03-121-1/+7
| | | | round change
* core: fix blockReward serializationWei-Ning Huang2019-03-124-39/+30
|
* app: fix nil pointer issueBojie Wu2019-03-121-4/+6
|
* vendor: sync consensus core and fix conflictWei-Ning Huang2019-03-1213-151/+463
|
* app: add cache mechanism to increase performanceBojie Wu2019-03-126-253/+200
|
* app: add mutex to prevent concurrent read write mapBojie Wu2019-03-121-0/+3
|
* core: set correct balance for governance contractWei-Ning Huang2019-03-123-6/+7
|
* test: add genesis balanceWei-Ning Huang2019-03-121-1/+5
|
* dex: update default network IDWei-Ning Huang2019-03-121-1/+1
|
* dex: fix types changes in consensus coreSonic2019-03-121-10/+9
|
* dex: return round in get block rpc outputWei-Ning Huang2019-03-123-4/+6
|
* app: fix concurrent read write issue with mapBojie Wu2019-03-121-0/+6
|
* dex: remove uneeded info from block headerWei-Ning Huang2019-03-125-106/+93
|
* core: types: fix header marshal jsonSonic2019-03-122-34/+72
|
* vendor: sync consensus core and fix conflictWei-Ning Huang2019-03-1217-214/+200
|
* app: fix bug when prepare transactionBojie Wu2019-03-121-2/+7
|
* dex: fix testSonic2019-03-121-1/+1
|
* Rename geth -> gdex and fix DockerfileWei-Ning Huang2019-03-1231-273/+273
|
* cmd: add a simple monkey tool for stress testWei-Ning Huang2019-03-122-1/+94
|
* vendor: sync consensus coreWei-Ning Huang2019-03-124-47/+43
|
* app: correct process pending block logicBojie Wu2019-03-127-174/+183
|
* dex: fix missing randomness assignmentWei-Ning Huang2019-03-122-2/+3
|
* test: add script for syncing consensus coreWei-Ning Huang2019-03-121-0/+3
|
* vendor: use govendor to import dexon-consensus-coreWei-Ning Huang2019-03-12167-3/+349011
|
* dex: fix DKG round switchingWei-Ning Huang2019-03-123-10/+22
|
* dex: prevent broadcasting agreement and randomness indefinitelyWei-Ning Huang2019-03-121-2/+6
|
* dex: fix round switching and initialize dMoment correctlyWei-Ning Huang2019-03-123-4/+12
|
* dex: misc fixesWei-Ning Huang2019-03-123-11/+20
|
* app: check nonce and balance in prepare payloadBojie Wu2019-03-123-25/+114
|
* geth: add propose flag to enable/disable proposingSonic2019-03-124-0/+33
|
* core: included Dexcon metadata in blockWei-Ning Huang2019-03-123-7/+16
|
* Remove reference of Rinkeby network.Wei-Ning Huang2019-03-1212-164/+5
| | | | We do not need ethereum Rinkeby network in our system, remove it.
* core: populate genesisAlloc in source code with DEXON genesis dataWei-Ning Huang2019-03-126-32/+87
|
* dex: no need to rlp encode/decode now, consensus supports itSonic2019-03-124-41/+31
|
* dex: use RLP to encode contract payload dataWei-Ning Huang2019-03-122-12/+12
|
* dex: fix public key conversionWei-Ning Huang2019-03-121-6/+2
|
* dex: fix DKGMasterPublicKey and DKGComplaints unmarshalWei-Ning Huang2019-03-121-3/+2
|
* dex: pass logger object to consensus coreWei-Ning Huang2019-03-121-1/+1
|
* test: update run_test.shWei-Ning Huang2019-03-122-2/+8
|
* app: implement verify block logicBojie Wu2019-03-123-23/+246
|
* test: update test configurationWei-Ning Huang2019-03-121-2/+2
|
* consensus: dexcon: fetch config from stateWei-Ning Huang2019-03-127-41/+51
|
* core: vm: add blockReward to governanceWei-Ning Huang2019-03-125-23/+58
|
* dex: fix public key parsing due to changes in consensus coreWei-Ning Huang2019-03-128-26/+29
|
* core: set governance owner in genesisWei-Ning Huang2019-03-124-15/+27
|
* params: load blockReward from genesis JSON fileWei-Ning Huang2019-03-125-3/+114
|
* app: fixup message formatWei-Ning Huang2019-03-122-11/+11
|
* app: implement new insert blocks logicBojie Wu2019-03-125-166/+314
|
* test: create account storage for governance contractWei-Ning Huang2019-03-122-1/+6
|
* core/dex: fix governance contract implementationWei-Ning Huang2019-03-122-27/+21
|
* core: vm: implement RAND opcode supportWei-Ning Huang2019-03-1210-0/+46
| | | | | | DEXON has a built-in on chain random oracle that allow one to retrieve a random variable. Add a new opcode `RAND` to load the random variable onto the stack.
* dex: add initial block to RunJimmy Hu2019-03-121-1/+3
|
* dex: polish network related functionSonic2019-03-124-103/+211
|
* dex: let notary nodes connect to some dkg nodesSonic2019-03-124-185/+204
| | | | BuildConnection builds notary and dkg connections together
* params: update seed node ipWei-Ning Huang2019-03-121-2/+2
|
* dex/core: misc bug fixesWei-Ning Huang2019-03-129-10/+27
|
* dex: register ethereum APIsWei-Ning Huang2019-03-123-1/+1036
|
* dex: implement peerSetLoopSonic2019-03-126-11/+74
|
* app: fix log messageBojie Wu2019-03-121-8/+8
|
* hack: temp fix for running testsWei-Ning Huang2019-03-122-8/+5
|
* test: update genesis and keypairsWei-Ning Huang2019-03-1211-33/+43
|
* app: correct dexon application logicBojie Wu2019-03-123-129/+88
|
* core: fix nil map initializationWei-Ning Huang2019-03-122-1/+9
|
* dex: gov: using dex-consensus-core NodeSetCacheSonic2019-03-125-64/+71
|
* app: init mapBojie Wu2019-03-121-15/+17
|
* core: setup stake in order so genesis block is deterministicWei-Ning Huang2019-03-122-2/+27
|
* dex: add subprotocolsSonic2019-03-121-1/+1
|
* test: add a simple test script to launch 7 local nodesWei-Ning Huang2019-03-121-0/+17
|
* test: fix genesis.jsonWei-Ning Huang2019-03-121-1/+1
|
* dex: run consensus core on StartWei-Ning Huang2019-03-122-2/+3
|
* core: vm: modify dkg thresholdJimmy Hu2019-03-121-1/+1
|
* test: remove uneeded nodekyWei-Ning Huang2019-03-121-1/+0
|
* app: add default block rewardBojie Wu2019-03-123-5/+6
|
* dex: set tmp dMoment for testingWei-Ning Huang2019-03-121-1/+2
|
* test: add 3 more test node dataWei-Ning Huang2019-03-125-2/+21
|
* params: update bootnode infoWei-Ning Huang2019-03-122-10/+3
|
* dex: fix flaky testSonic2019-03-121-0/+12
|
* dex: add self node meta after StartSonic2019-03-125-6/+51
|
* dex: add method to get NumChains, NotarySet, DKGSet easilySonic2019-03-126-43/+80
|
* dex: move dexcon blockdb into datadirWei-Ning Huang2019-03-123-6/+8
|
* core: vm: add GovernanceStateHelper testWei-Ning Huang2019-03-122-0/+98
|
* vendor: add github.com/stretchr/testify/suiteWei-Ning Huang2019-03-124-1/+254
|
* test: update geneiss configWei-Ning Huang2019-03-121-4/+4
|
* dex: interface updateWei-Ning Huang2019-03-121-1/+3
|
* test: add test genesis and node keysWei-Ning Huang2019-03-125-8/+11
|
* app: calculate block reward according to chain numBojie Wu2019-03-122-14/+14
|
* app: pass chain config instead of nilBojie Wu2019-03-121-3/+6
|
* dex: network: implement the network interfaceSonic2019-03-1210-59/+1025
|
* core: populate genesis CRS in genesis stateWei-Ning Huang2019-03-123-1/+9
|
* misc: add testing nodeKey and genesis.jsonWei-Ning Huang2019-03-123-1/+52
|
* dex: bug fix to allow running geth without crashingWei-Ning Huang2019-03-125-54/+52
|
* dex: implement sendTx related governance methodsWei-Ning Huang2019-03-123-6/+133
|
* node: change default datadir folder name to dexonWei-Ning Huang2019-03-121-3/+3
|
* dex: pass p2p nodeKey to Dexon instanceWei-Ning Huang2019-03-126-15/+25
|
* app: modify for new interface methodBojie Wu2019-03-121-19/+33
|
* core: vm: validate if mpk, complaint, finalize is in DKG setWei-Ning Huang2019-03-121-36/+62
|
* core: vm: allow other people to stake for a nodeWei-Ning Huang2019-03-121-6/+0
|
* dex: implement some governance interface functionsWei-Ning Huang2019-03-126-236/+441
|
* dex: governance: implement governance interfaceWei-Ning Huang2019-03-125-27/+61
|
* app: implement new interface methodBojie Wu2019-03-122-27/+160
|
* dex: add api_backend.go and it's dependenciesWei-Ning Huang2019-03-124-2/+557
|
* dex: update application interfaceWei-Ning Huang2019-03-121-20/+27
|
* app: correct validation logicBojie Wu2019-03-121-4/+10
|
* core: populate dexon configuration in SetupGenesisBlockWei-Ning Huang2019-03-123-35/+52
|
* dex: implement dexon application interfaceBojie Wu2019-03-125-18/+295
|
* core: add stake and public key to genesis account infoWei-Ning Huang2019-03-124-46/+95
|
* core: vm: check pk ownership in stake()Wei-Ning Huang2019-03-121-1/+12
|
* core: vm: expose nodes as publicWei-Ning Huang2019-03-121-14/+52
|
* core: vm: add eventlog for governance contractWei-Ning Huang2019-03-121-41/+98
|
* dex: remove DAO related codeSonic2019-03-122-62/+2
|
* core: vm: refactor and add DKGFinalizeds related implementationsWei-Ning Huang2019-03-123-98/+313
|
* dex: redesign p2p network topologySonic2019-03-1221-656/+2423
| | | | | | | | | | - 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-03-124-136/+291
|
* core: vm: check if caller already staked when adding dkg mpkJimmy Hu2019-03-121-0/+7
|
* core: vm: fix bug and add gas usageWei-Ning Huang2019-03-122-22/+55
|
* core: vm: finish implementing state helperWei-Ning Huang2019-03-121-23/+206
|
* core: vm: update governance contract ABIWei-Ning Huang2019-03-121-9/+75
|
* core: vm: implement governance contract methodsWei-Ning Huang2019-03-121-51/+218
|
* core: vm: add governance contract skeletonWei-Ning Huang2019-03-123-7/+502
|
* dex: update consensus core interfaceWei-Ning Huang2019-03-124-36/+38
|
* Change import go github.com/dexon-foundation/dexonWei-Ning Huang2019-03-12778-3143/+3143
|
* Use dex.Config instead of eth.ConfigWei-Ning Huang2019-03-077-127/+37
|
* dex: implement notary node info propagation and management mechanismSonic2019-03-073-16/+183
|
* dex: implement notarySet for keeping notary set infoSonic2019-03-071-0/+203
|
* dex: introduce dex64 and remove eth62, eth63Sonic2019-03-073-18/+37
|
* dex: let peer able to send notary node infoSonic2019-03-071-3/+41
|
* dex: let peerSet able to manage notary peersSonic2019-03-071-1/+64
|