aboutsummaryrefslogtreecommitdiffstats
path: root/core
Commit message (Expand)AuthorAgeFilesLines
* core: vm: sqlvm: check if a number is a valid addressTing-Wei Lan2019-02-255-334/+312
* core: vm: sqlvm: introduce interfaces for AST nodesTing-Wei Lan2019-02-259-1704/+2956
* core: vm: sqlvm: runtime entrypoing error handlingMeng-Ying Yang2019-02-253-5/+14
* core: vm: sqlvm: parser: toDecimal handle .0wmin02019-02-192-0/+4
* core: rebase dev and fix lintJhih-Ming Huang2019-02-1910-4425/+37
* core: vm: sqlvm: types support data rangeMeng-Ying Yang2019-02-192-0/+82
* core: vm: sqlvm: export instruction's member (#197)JM2019-02-192-6/+6
* core: vm: sqlvm: revert Tuple structure (#193)JM2019-02-191-4/+5
* core: vm: sqlvm: modify Tuple.Data.Value typeJhih-Ming Huang2019-02-191-7/+3
* core: vm: sqlvm: shared interfaces and paramsJhih-Ming Huang2019-02-196-0/+245
* core: vm: sqlvm: add schema define and implement rlp serializationwmin02019-02-194-42/+310
* core: vm: sqlvm: ast: add encoder/decoder for decimal to byteswmin02019-02-192-11/+196
* core: vm: sqlvm: ast: data type encoder and decoderwmin02019-02-192-0/+244
* core: vm: sqlvm: ast: don't hardcode output and indent in PrintASTTing-Wei Lan2019-02-192-26/+35
* core: vm: sqlvm: process non-UTF-8 input and escape sequencesTing-Wei Lan2019-02-198-337/+579
* core: vm: sqlvm: parser: properly handle errorsTing-Wei Lan2019-02-196-1242/+1637
* core: vm: sqlvm: remove optional interface and add print tag for detailwmin02019-02-193-99/+49
* core: vm: sqlvm: move AST and parser to their own packagesTing-Wei Lan2019-02-198-1837/+2010
* core: vm: sqlvm: add a tool to run gofmt on pigeon sourcesTing-Wei Lan2019-02-191-0/+253
* core: vm: sqlvm: add sql language parser prototypingwmin02019-02-196-0/+8899
* core: vm: vm interface (#164)JM2019-02-1913-68/+712
* core: vm: extract stateDB and contract outjm2019-02-1924-393/+456
* core: vm: refactor file structurejm2019-02-1956-832/+5243
* vm: reset DKG (#190)dexon-classicJimmy Hu2019-02-154-70/+562
* transaction: use all transaction gas to reduce attack intention (#180)bojie2019-01-311-1/+25
* core/vm: modify Withdrawn event and add NodeRemoved event (#179)Jimmy Hu2019-01-282-4/+31
* core: vm: refactor governance and add node info oracle (#174)Wei-Ning Huang2019-01-255-682/+953
* core: vm: Add amount to undelegate event (#176)Jimmy Hu2019-01-252-4/+9
* core: vm: more change to the randomness calculation (#175)Wei-Ning Huang2019-01-251-5/+5
* core: vm: modify randomness calculation algorithm (#173)Wei-Ning Huang2019-01-242-3/+7
* consensus: dexcon: snapshot round height when finalizing block (#170)Wei-Ning Huang2019-01-243-106/+0
* core, dex/downloader: polish headers verification and blocks insertion logic...Sonic2019-01-248-509/+614
* travis: re-encrypt GCP credential file (#165)bojie2019-01-201-1/+1
* params: update testnet genesis and dMomentWei-Ning Huang2019-01-181-2/+1
* core, dex: use block hash as witness data (#160)Sonic2019-01-185-50/+17
* blockchain: add mutex lock to prevent fork (#159)bojie2019-01-171-1/+6
* Revert "core: do not panic on fork (#146)"Wei-Ning Huang2019-01-171-8/+4
* core: sync to latest core (#158)Jimmy Hu2019-01-171-1/+1
* Revert "core: vm: refactor file structure (#151)"Wei-Ning Huang2019-01-1757-858/+837
* app: fix reward bug with empty block (#155)bojie2019-01-161-3/+2
* core: vm: refactor file structure (#151)JM2019-01-1557-837/+858
* core: do not panic on fork (#146)Wei-Ning Huang2019-01-151-4/+8
* app: remove pending block logic (#149)bojie2019-01-146-276/+179
* core: update taipei allocJimmy Hu2019-01-141-1/+1
* params: update genesis configWei-Ning Huang2019-01-143-16/+21
* consensus: implement DEXON cryptoeconomics v4.0 (#145)Wei-Ning Huang2019-01-145-54/+167
* core: vm: add totalSupply and totalStaked in the governance contract (#144)Wei-Ning Huang2019-01-144-35/+144
* core: vm: move governance abi to a separate file (#143)Wei-Ning Huang2019-01-142-1053/+1074
* core: vm: emit events for more governance actions (#142)Wei-Ning Huang2019-01-141-0/+145
* core: update testnet genesis_allocJimmy Hu2019-01-141-1/+1
* core: update taipei network genesis allocWei-Ning Huang2019-01-141-1/+1
* core: fix corner case when initializing round height (#134)Sonic2019-01-141-1/+1
* app: implement logic for prepare/verify correctly when chain number change (#...bojie2019-01-145-19/+122
* core: vm: implement byzantine reporting mechanism (#128)Wei-Ning Huang2019-01-142-48/+578
* params: update taipei genesis config (#130)Wei-Ning Huang2019-01-141-1/+1
* core, indexer, dex: fix DexconApp block deliver after synced (#122)Sonic2019-01-141-5/+6
* core: fix vm wrong round height context (#124)Sonic2019-01-141-0/+45
* core: update taipei testnet genesis config and alloc (#119)Wei-Ning Huang2019-01-141-1/+1
* core: vm: add missing unittests for nodes/delegators (#116)Wei-Ning Huang2019-01-142-3/+13
* params: update taipei testnet genesis and config (#113)Wei-Ning Huang2019-01-142-3/+5
* core/vm: Add fine to governance. (#107)Jimmy Hu2018-12-282-132/+292
* core: add database/sql support for more types (#102)Meng-Ying Yang2018-12-282-8/+112
* vendor: sync DEXON core and fix conflicts/missings (#101)Mission Liao2018-12-281-4/+6
* core/types: SigCache with a limited size (#98)Jimmy Hu2018-12-212-21/+33
* core, dex, internal: block proposer syncing (first iteration) (#96)Sonic2018-12-212-57/+2
* core: vm: Add `MPKReady` to governance (#97)Jimmy Hu2018-12-212-0/+174
* core/vm: fix nodes method in governanceJimmy Hu2018-12-201-1/+1
* dex: remove duplicate declaration of WitnessData (#92)Wei-Ning Huang2018-12-192-7/+0
* core: vm: add undelegate fund lockup mechanism (#94)Wei-Ning Huang2018-12-193-41/+236
* core: update genesis allocJimmy Hu2018-12-191-1/+1
* vendor: sync to latest core (#91)Mission Liao2018-12-193-1/+108
* cache: prune cache correctly (#88)bojie2018-12-191-2/+1
* core: governance interface should return correct DKG master public keys (#85)Wei-Ning Huang2018-12-192-24/+21
* core, dex: polish sync (#75)Sonic2018-12-191-0/+3
* core, dex: Timeout for prepare payload (#72)Jimmy Hu2018-12-192-8/+13
* app: add app test case and benchmark (#66)bojie2018-12-193-13/+268
* dex: verify header that imported from fetcher (#68)Sonic2018-12-191-0/+4
* Fix lintWei-Ning Huang2018-12-192-4/+4
* core: Update genesis alloc. (#63)Jimmy Hu2018-12-191-1/+1
* core: panic if fork found when inserting header chain (#61)Wei-Ning Huang2018-12-191-1/+6
* tests: fix testsWei-Ning Huang2018-12-191-1/+10
* dex: fix testsWei-Ning Huang2018-12-191-0/+2
* core: fix testsWei-Ning Huang2018-12-192-4/+5
* core: vm: fix power2 table calculation (#50)Wei-Ning Huang2018-12-191-3/+3
* core: commit states at snapshot height (#49)Sonic2018-12-191-2/+7
* core: add Taipei testnet (#47)Wei-Ning Huang2018-12-191-1/+13
* core: various changes on tps tuning (#46)Wei-Ning Huang2018-12-194-11/+12
* core: increase tx pool sizeWei-Ning Huang2018-12-191-4/+4
* core, dex, downloader: refactor governanceSonic2018-12-192-25/+61
* core, dex, dex/downloader: restore insertChain to upstream versionSonic2018-12-192-20/+18
* dex: implement downloader for dexSonic2018-12-191-0/+5
* core: implement insert chain, headerchain logicSonic2018-12-193-0/+521
* core: support extracting governance state from state trieSonic2018-12-193-0/+73
* core: add global signature cache and improve concurrency (#42)Wei-Ning Huang2018-12-194-53/+86
* core, dex: Batch process touchSender. Lower priority for tx. (#41)Jimmy Hu2018-12-191-13/+19
* dex: add BlockDB, which implements consensus core's blockdb.BlockDatabase (#36)Sonic2018-12-192-0/+58
* core: vm: change offset type to int256Wei-Ning Huang2018-12-191-2/+7
* governance: implement delegate/undelegate function and add tests (#33)Wei-Ning Huang2018-12-194-111/+1152
* core: blockchain: fix concurrent map read and write (#34)Wei-Ning Huang2018-12-191-4/+7
* core: more fix on light node synchronization (#32)Wei-Ning Huang2018-12-193-67/+50
* core: vm: add minStake to governance contract variable (#31)Wei-Ning Huang2018-12-193-2/+42
* core: fix light node synchronization issue (#30)Wei-Ning Huang2018-12-194-9/+18
* core: revert changes to StateProcessor.Process (#29)Wei-Ning Huang2018-12-192-10/+10
* app: add cache to reuse same tx address which has already recovered (#26)BJ42018-12-193-3/+41
* core: refactor validator and fix light node sync (#25)Wei-Ning Huang2018-12-198-147/+92
* core: use storeRoundHeight to avoid type mismatch (#21)Sonic2018-12-191-9/+6
* dex, core: Fix make fail (#24)Jimmy Hu2018-12-191-1/+1
* core, dex: Optimize sender calculation in block transactions. (#22)Jimmy Hu2018-12-192-0/+34
* core: validate DKG set with correct nodeset in round-2 (#19)Wei-Ning Huang2018-12-194-32/+63
* core: vm: Optimize evm (#13)Jimmy Hu2018-12-195-18/+282
* core: push height of round 0 in genesis block (#17)Sonic2018-12-192-8/+11
* dex: return correct pending nonce (#14)Wei-Ning Huang2018-12-191-2/+11
* params: fix genesis block config and use testnet for test (#10)Wei-Ning Huang2018-12-191-3/+3
* core: fix staked calculation in genesis (#8)Jimmy Hu2018-12-191-4/+0
* core: vm: expose governance contract ABI (#5)Wei-Ning Huang2018-12-191-2/+2
* core: blockchain: fix NewBlockChainWithDexonValidator (#4)Wei-Ning Huang2018-12-191-1/+1
* core: genesis: make ToBlock() compatible with legacy ethereum code (#3)Wei-Ning Huang2018-12-191-28/+36
* app: fix core testBJ42018-12-197-37/+144
* core: vm: governance: add node infoWei-Ning Huang2018-12-196-10/+149
* core: validate roundHeight mapping in governance contractWei-Ning Huang2018-12-195-4/+43
* core: GenerateChainWithRoundChange for testingSonic2018-12-193-0/+598
* app: lock by chain correctly and remove old core in vendorBJ42018-12-191-46/+49
* core: vm: governance: remove maxIntervalWei-Ning Huang2018-12-191-32/+0
* core: vm: add nodesLengh method for reading nodeSet sizeWei-Ning Huang2018-12-191-0/+20
* Rename import due to dexon-consensus renameWei-Ning Huang2018-12-193-18/+18
* dex: minor refactorWei-Ning Huang2018-12-191-6/+5
* app: add lock to prevent concurrent map read writeBojie Wu2018-12-191-0/+3
* core: tx_pool: remove transactions on BlockConfirmed eventWei-Ning Huang2018-12-194-41/+53
* dex: add block gas limit into governanceWei-Ning Huang2018-12-191-0/+35
* app: using lock correctly to use map safelyBojie Wu2018-12-191-56/+86
* app: fix concurrent map read write issue and accept fail transaction when rou...Bojie Wu2018-12-191-1/+7
* core: fix blockReward serializationWei-Ning Huang2018-12-192-37/+28
* app: add cache mechanism to increase performanceBojie Wu2018-12-193-149/+133
* core: set correct balance for governance contractWei-Ning Huang2018-12-192-1/+7
* dex: return round in get block rpc outputWei-Ning Huang2018-12-192-4/+5
* app: fix concurrent read write issue with mapBojie Wu2018-12-191-0/+6
* dex: remove uneeded info from block headerWei-Ning Huang2018-12-193-90/+87
* core: types: fix header marshal jsonSonic2018-12-192-34/+72
* vendor: sync consensus core and fix conflictWei-Ning Huang2018-12-191-7/+8
* app: correct process pending block logicBojie Wu2018-12-191-126/+111
* dex: fix missing randomness assignmentWei-Ning Huang2018-12-191-1/+1
* dex: fix DKG round switchingWei-Ning Huang2018-12-191-6/+18
* dex: fix round switching and initialize dMoment correctlyWei-Ning Huang2018-12-191-1/+2
* dex: misc fixesWei-Ning Huang2018-12-191-3/+3
* app: check nonce and balance in prepare payloadBojie Wu2018-12-192-5/+3
* core: included Dexcon metadata in blockWei-Ning Huang2018-12-191-2/+3
* Remove reference of Rinkeby network.Wei-Ning Huang2018-12-192-13/+0
* core: populate genesisAlloc in source code with DEXON genesis dataWei-Ning Huang2018-12-193-14/+46
* dex: use RLP to encode contract payload dataWei-Ning Huang2018-12-191-6/+6
* app: implement verify block logicBojie Wu2018-12-192-1/+51
* consensus: dexcon: fetch config from stateWei-Ning Huang2018-12-191-19/+22
* core: vm: add blockReward to governanceWei-Ning Huang2018-12-192-4/+39
* dex: fix public key parsing due to changes in consensus coreWei-Ning Huang2018-12-191-1/+4
* core: set governance owner in genesisWei-Ning Huang2018-12-191-1/+3
* params: load blockReward from genesis JSON fileWei-Ning Huang2018-12-191-0/+1
* app: fixup message formatWei-Ning Huang2018-12-191-3/+3
* app: implement new insert blocks logicBojie Wu2018-12-193-18/+246
* test: create account storage for governance contractWei-Ning Huang2018-12-191-1/+1
* core/dex: fix governance contract implementationWei-Ning Huang2018-12-191-19/+13
* core: vm: implement RAND opcode supportWei-Ning Huang2018-12-199-0/+45
* dex/core: misc bug fixesWei-Ning Huang2018-12-192-2/+3
* app: correct dexon application logicBojie Wu2018-12-191-44/+37
* core: fix nil map initializationWei-Ning Huang2018-12-191-0/+7
* app: init mapBojie Wu2018-12-191-15/+17
* core: setup stake in order so genesis block is deterministicWei-Ning Huang2018-12-191-1/+26
* core: vm: modify dkg thresholdJimmy Hu2018-12-191-1/+1
* core: vm: add GovernanceStateHelper testWei-Ning Huang2018-12-192-0/+98
* core: populate genesis CRS in genesis stateWei-Ning Huang2018-12-191-0/+5
* dex: bug fix to allow running geth without crashingWei-Ning Huang2018-12-192-9/+1
* dex: implement sendTx related governance methodsWei-Ning Huang2018-12-191-0/+5
* core: vm: validate if mpk, complaint, finalize is in DKG setWei-Ning Huang2018-12-191-36/+62
* core: vm: allow other people to stake for a nodeWei-Ning Huang2018-12-191-6/+0
* dex: implement some governance interface functionsWei-Ning Huang2018-12-191-213/+342
* dex: governance: implement governance interfaceWei-Ning Huang2018-12-192-11/+23
* app: implement new interface methodBojie Wu2018-12-191-0/+56
* core: populate dexon configuration in SetupGenesisBlockWei-Ning Huang2018-12-192-31/+28
* dex: implement dexon application interfaceBojie Wu2018-12-191-4/+8
* core: add stake and public key to genesis account infoWei-Ning Huang2018-12-194-46/+95
* core: vm: check pk ownership in stake()Wei-Ning Huang2018-12-191-1/+12
* core: vm: expose nodes as publicWei-Ning Huang2018-12-191-14/+52
* core: vm: add eventlog for governance contractWei-Ning Huang2018-12-191-41/+98
* core: vm: refactor and add DKGFinalizeds related implementationsWei-Ning Huang2018-12-191-94/+300
* dex: redesign p2p network topologySonic2018-12-191-0/+7
* core: vm: implement the rest of governance contract methodsWei-Ning Huang2018-12-191-132/+275
* core: vm: check if caller already staked when adding dkg mpkJimmy Hu2018-12-191-0/+7
* core: vm: fix bug and add gas usageWei-Ning Huang2018-12-192-22/+55
* core: vm: finish implementing state helperWei-Ning Huang2018-12-191-23/+206
* core: vm: update governance contract ABIWei-Ning Huang2018-12-191-9/+75
* core: vm: implement governance contract methodsWei-Ning Huang2018-12-191-51/+218
* core: vm: add governance contract skeletonWei-Ning Huang2018-12-192-0/+495
* Change import go github.com/dexon-foundation/dexonWei-Ning Huang2018-12-1995-334/+334
* cmd/geth, core, eth: implement Constantinople override flag (#18273)Martin Holst Swende2018-12-111-0/+6
* cmd/evm, core/vm, eth: implement api methods to do stdjson dump to local file...Martin Holst Swende2018-12-101-0/+83
* core, internal, eth, miner, les: Take VM config from BlockChain (#17955)Paweł Bylica2018-12-061-0/+5
* tests, core: update tests and make STATICCALL cause touch-delete (#18187)Martin Holst Swende2018-11-291-0/+6
* core: more detailed metrics for block processing (#18119)Martin Holst Swende2018-11-281-1/+12
* fix mixHash/nonce for parity compatible network (#18166)Jaynti Kanani2018-11-262-12/+12
* core: return error if repair block failed (#18126)mr_franklin2018-11-231-1/+5
* Merge pull request #17973 from holiman/splitter2Péter Szilágyi2018-11-223-157/+368
|\
| * core: polish side chain importer a bitPéter Szilágyi2018-11-213-294/+328
| * core: better side-chain importingMartin Holst Swende2018-11-201-96/+273
* | core: better printout of receipts in bad block reports (#18156)Martin Holst Swende2018-11-221-2/+4
* | core: fix comment typo (#18144)mr_franklin2018-11-211-1/+1
|/
* core, eth/downloader: fix ancestor lookup for fast syncPéter Szilágyi2018-11-162-2/+20
* cmd, core, eth, light, trie: add trie read caching layerPéter Szilágyi2018-11-152-11/+24
* core: fix default trie cache limit (#17860)gary rong2018-11-131-1/+1
* rawdb: remove unused parameter for WritePreimages func (#18059)Corey Lin2018-11-093-5/+4
* core/state: remove lock (#18065)Felix Lange2018-11-091-6/+0
* Merge pull request #17982 from holiman/polish_contantinople_extcodehashPéter Szilágyi2018-11-081-1/+6
|\
| * core/vm: check empty in extcodehashMartin Holst Swende2018-10-261-1/+6
* | core/vm, eth/tracers: use pointer receiver for GetRefund (#18018)Corey Lin2018-11-081-1/+1
* | eth/downloader: speed up tests by generating chain only once (#17916)Felix Lange2018-11-071-16/+28
* | core, eth/downloader: fix validation flaw, fix downloader printout flaw (#17974)Martin Holst Swende2018-11-071-6/+6
|/
* core/state: simplify proof methods (#17965)Felix Lange2018-10-242-17/+13
* core/vm: adds refund as part of the json standard trace (#17910)Martin Holst Swende2018-10-233-36/+50
* core: fix a typo (#17941)Wuxiang2018-10-191-1/+1
* EIP-1186 eth_getProof (#17737)Simon Jentzsch2018-10-192-0/+30
* core/types: fix comment for func SignatureValues (#17921)Smilenator2018-10-161-1/+1
* core/vm: add shortcuts for trivial exp cases (#16851)Martin Holst Swende2018-10-161-4/+16
* core/asm: Use hexadecimal addresses in assembly dumps (#17870)Guillaume Ballet2018-10-091-4/+4
* core/types: Log.Index is the index in block, not receipt (#17866)Wenbiao Zheng2018-10-081-1/+1
* core/vm: reuse Keccak-256 hashes across opcode executions (#17863)Péter Szilágyi2018-10-083-6/+48
* core/vm : fix failing testcase (#17852)Martin Holst Swende2018-10-061-1/+2
* core/vm: SHA3 word cost for CREATE2 (#17812)Martin Holst Swende2018-10-052-0/+87
* core/vm: faster create/create2 (#17806)Martin Holst Swende2018-10-046-52/+145
* core: use ChainHeadEvent subscription in the chain indexer (#17826)Felföldi Zsolt2018-10-031-6/+6
* core: fix unnecessary ancestor lookup after a fast sync (#17825)Péter Szilágyi2018-10-031-5/+5
* core, internal/ethapi: add and use LRU cache for receipts (#17610)Ryan Schneider2018-09-301-6/+18
* core/types: make tx signature values optional in JSON (#17742)reinerRubin2018-09-302-12/+23
* core/types: fix typos (#17762)thumb84322018-09-301-2/+2
* all: fix various comment typos (#17748)Liang ZOU2018-09-252-2/+2
* Merge pull request #17383 from holiman/eip1283Péter Szilágyi2018-09-218-138/+164
|\
| * core, params: polish net gas metering PR a bitPéter Szilágyi2018-09-189-218/+138
| * core,state: finish implementing Eip 1283Martin Holst Swende2018-09-186-16/+41
| * core, state: initial implementation of Eip-1283Martin Holst Swende2018-09-185-3/+84
* | core: fix a typo (#17733)Wuxiang2018-09-211-2/+2
* | core, eth: fix dependency cycle (#17720)gary rong2018-09-211-50/+21
* | all: protect self-mined block during reorg (#17656)gary rong2018-09-208-35/+75
* | common, core, light: add block age into info logsPéter Szilágyi2018-09-202-12/+30
* | core/vm: add switches to select evm+ewasm interpreters (#17687)Guillaume Ballet2018-09-202-2/+25
* | core, eth: fix goimports for Go 1.11Péter Szilágyi2018-09-191-1/+1
|/
* Merge pull request #17622 from karalabe/chain-maker-sealPéter Szilágyi2018-09-171-2/+8
|\
| * consensus/clique, core: chain maker clique + error testsPéter Szilágyi2018-09-111-2/+8
* | all: simplify s[:] to s where s is a slice (#17673)Emil2018-09-152-3/+3
* | core/vm: fix typo 'EVM EVM' ==> 'EVM' (#17654)Liang ZOU2018-09-131-1/+1
|/
* core/vm: Hide read only flag from Interpreter interface (#17461)Paweł Bylica2018-09-082-30/+16
* core: fix typo in comment (#17586)Hyung-Kyu Hqueue Choi2018-09-051-1/+1
* core/vm, tests: update tests, enable constantinople statetests, fix SAR opcod...Martin Holst Swende2018-09-041-1/+1
* core, eth, trie: use common/prque (#17508)Wenbiao Zheng2018-09-032-6/+6
* cmd, core, eth, miner, params: configurable gas floor and ceilPéter Szilágyi2018-08-293-10/+17