aboutsummaryrefslogtreecommitdiffstats
path: root/core
Commit message (Collapse)AuthorAgeFilesLines
* core/types: fix docs about protected Vs (#17436)Aditya2018-08-201-1/+1
|
* miner: regenerate mining work every 3 seconds (#17413)gary rong2018-08-161-3/+0
| | | | | | * miner: regenerate mining work every 3 seconds * miner: polish
* light: CHT and bloom trie indexers working in light mode (#16534)Felföldi Zsolt2018-08-162-10/+26
| | | | | | | This PR enables the indexers to work in light client mode by downloading a part of these tries (the Merkle proofs of the last values of the last known section) in order to be able to add new values and recalculate subsequent hashes. It also adds CHT data to NodeInfo.
* miner: move agent logic to worker (#17351)gary rong2018-08-141-3/+4
| | | | | | | | * miner: move agent logic to worker * miner: polish * core: persist block before reorg
* crypto: change formula for create2 (#17393)gary rong2018-08-141-1/+1
|
* core: fix comment typo (#17376)Mymskmkt2018-08-131-2/+2
|
* core/vm: fix comment typo (#17319)stormpang2018-08-061-1/+1
| | | | antything --> anything :P
* core/vm: update benchmarks for core/vm (#17308)Hyung-Kyu Hqueue Choi2018-08-031-0/+4
| | | | | | - Update benchmarks to use a pool of int pools. Unless benchmarks are aborted with segmentation fault. Signed-off-by: Hyung-Kyu Choi <hqueue@users.noreply.github.com>
* core/vm: fix typo in cryptographic hash function name (#17285)Ha ĐANG2018-07-311-1/+1
|
* core: fix some small typos on comment code (#17278)Ha ĐANG2018-07-303-3/+3
|
* all: simplify switches (#17267)Oleg Kovalov2018-07-301-2/+1
| | | | | | * all: simplify switches * silly mistake
* core: report progress on log chain exports (#17066)Raghav Sood2018-07-261-3/+7
| | | | | | * core/blockchain: export progress * core: polish up chain export progress report a bit
* core/vm: support for multiple interpreters (#17093)Guillaume Ballet2018-07-256-240/+315
| | | | | | - Define an Interpreter interface - One contract can call contracts from other interpreter types. - Pass the interpreter to the operands instead of the evm. This is meant to prevent type assertions in operands.
* core: fixed typo in addresssByHeartbeat (#17243)Antoine Rondelet2018-07-251-5/+5
|
* core: fix typo in comment codehadv2018-07-251-1/+1
|
* core: fix txpool guarantee comment (#17214)Osuke2018-07-241-1/+1
| | | | | | * fixed-typo * core: fix txpool guarantee comment
* core/vm, params: implement EXTCODEHASH opcode (#17202)gary rong2018-07-244-0/+45
| | | | | | | | * core/vm, params: implement EXTCODEHASH opcode * core, params: tiny fixes and polish * core: add function description
* core, crypto, params: implement CREATE2 evm instrction (#17196)gary rong2018-07-246-17/+87
| | | | | | | | | | * core, crypto, params: implement CREATE2 evm instrction * core/vm: add opcode to string mapping * core: remove past fork checking * core, crypto: use option2 to generate new address
* core: fix comment typo (#17236)Wenbiao Zheng2018-07-241-3/+3
|
* core/bloombits, light: fix typos (#17235)Sheldon2018-07-242-6/+6
|
* core, ethdb: two tiny fixes (#17183)gary rong2018-07-181-12/+18
| | | | | | | | * ethdb: fix memory database * core: fix bloombits checking * core: minor polish
* core/types: polish TxDifference code and docs a bit (#17130)Smilenator2018-07-091-3/+3
| | | | | | | | | * core: fix func TxDifference fix a typo in func comment; change named return to unnamed as there's explicit return in the body * fix another typo in TxDifference
* core/vm: reuse bigint pools across transactions (#17070)Guillaume Ballet2018-07-034-2/+112
| | | | | | | | * core/vm: A pool for int pools * core/vm: fix rebase issue * core/vm: push leftover stack items after execution, not before
* ethdb, core: implement delete for db batch (#17101)gary rong2018-07-022-10/+18
|
* core/vm: clear linter warnings (#17057)Guillaume Ballet2018-06-269-30/+51
| | | | | | | | * core/vm: clear linter warnings * core/vm: review input * core/vm.go: revert lint in noop as per request
* trie: cache collapsed tries node, not rlp blobs (#16876)Péter Szilágyi2018-06-213-5/+5
| | | | | | | | | | | | The current trie memory database/cache that we do pruning on stores trie nodes as binary rlp encoded blobs, and also stores the node relationships/references for GC purposes. However, most of the trie nodes (everything apart from a value node) is in essence just a collection of references. This PR switches out the RLP encoded trie blobs with the collapsed-but-not-serialized trie nodes. This permits most of the references to be recovered from within the node data structure, avoiding the need to track them a second time (expensive memory wise).
* core: remove dead code, limit test code scope (#17006)Wenbiao Zheng2018-06-194-48/+34
| | | | | | * core: move test util var/func to test file * core: remove useless func
* core/asm: correct comments typo (#16974)Caesar Chad2018-06-141-2/+2
| | | | | | | | * core/asm/compiler: correct comments typo core/asm/compiler: correct comments typo * Correct comments typo
* core: reduce nesting in transaction pool code (#16980)Wenbiao Zheng2018-06-141-5/+3
|
* core/vm: optimize MSTORE and SLOAD (#16939)Martin Holst Swende2018-06-143-11/+68
| | | | | | | | | | * vm/test: add tests+benchmarks for mstore * core/vm: less alloc and copying for mstore * core/vm: less allocs in sload * vm: check for errors more correctly
* core/asm: correct comments typo (#16975)Caesar Chad2018-06-141-1/+1
| | | core/asm/lexer: correct comments typo
* core: change comment to match code more closely (#16963)John C. Vernaleo2018-06-131-1/+1
|
* core, eth, les: more efficient hash-based header chain retrieval (#16946)Felföldi Zsolt2018-06-122-0/+49
|
* core/rawdb: wrap db key creations (#16914)Wenbiao Zheng2018-06-114-48/+85
| | | | | | | | * core/rawdb: use wrappered helper to assemble key * core/rawdb: wrappered helper to assemble key * core/rawdb: rewrite the wrapper, pass common.Hash
* core: improve getBadBlocks to return full block rlp (#16902)Martin Holst Swende2018-06-111-13/+7
| | | | | | | | * core: improve getBadBlocks to return full block rlp * core, eth, ethapi: changes to getBadBlocks formatting * ethapi: address review concerns
* core: relax type requirement for bc in ApplyTransaction (#16901)ledgerwatch2018-06-071-1/+1
|
* Merge pull request #16882 from karalabe/streaming-ecrecoverPéter Szilágyi2018-06-053-0/+113
|\ | | | | core: concurrent background transaction sender ecrecover
| * core: concurrent background transaction sender ecrecoverPéter Szilágyi2018-06-053-0/+113
| |
* | params: fix golint warnings (#16853)kiel barry2018-06-054-13/+13
|/ | | params: fix golint warnings
* core: fix typo in comment codehadv2018-06-051-1/+1
|
* core, eth, trie: streaming GC for the trie cache (#16810)Péter Szilágyi2018-06-041-22/+20
| | | | | | * core, eth, trie: streaming GC for the trie cache * trie: track memcache statistics
* core: fix transaction event asynchronicityPéter Szilágyi2018-05-301-1/+1
|
* trie: rename TrieSync to Sync and improve hexToKeybytes (#16804)Wenbiao Zheng2018-05-291-3/+3
| | | | | | | This removes a golint warning: type name will be used as trie.TrieSync by other packages, and that stutters; consider calling this Sync. In hexToKeybytes len(hex) is even and (even+1)/2 == even/2, remove the +1.
* Merge pull request #16831 from abeln/patch-1Péter Szilágyi2018-05-291-1/+1
|\ | | | | core/vm: fix typo in comment
| * core/vm: fix typo in commentAbel Nieto2018-05-291-1/+1
| |
* | core: improve test for TransactionPriceNonceSort (#16413)kimmylin2018-05-291-22/+7
|/
* common: improve documentation comments (#16701)kiel barry2018-05-292-4/+4
| | | | | This commit adds many comments and removes unused code. It also removes the EmptyHash function, which had some uses but was silly.
* core: use a wrapped map to remove contention in `TxPool.Get`. (#16670)Ryan Schneider2018-05-233-69/+132
| | | | | | * core: use a wrapped `map` and `sync.RWMutex` for `TxPool.all` to remove contention in `TxPool.Get`. * core: Remove redundant `txLookup.Find` and improve comments on txLookup methods.
* core/vm: fix typo in instructions.go (#16788)Abel Nieto2018-05-231-1/+1
|
* core/types: convert status type from uint to uint64 (#16784)gary rong2018-05-232-8/+10
|
* Merge pull request #16758 from hadv/fix/typosPéter Szilágyi2018-05-201-1/+1
|\ | | | | Fix some typos in comment code and output log
| * core, consensus: fix some typos in comment code and output loghadv2018-05-191-1/+1
| |
* | core, eth: minor txpool event cleanupsPéter Szilágyi2018-05-184-47/+44
| |
* | all: collate new transaction events togetherrjl4934564422018-05-184-33/+66
|/
* all: get rid of error when creating memory database (#16716)gary rong2018-05-0919-131/+96
| | | | | | | | * all: get rid of error when create mdb * core: clean up variables definition * all: inline mdb definition
* core/rawdb: separate raw database access to own package (#16666)Péter Szilágyi2018-05-0716-945/+989
|
* Merge pull request #16576 from CrispinFlowerday/bugfix/local_underpriced_txsPéter Szilágyi2018-05-022-10/+14
|\ | | | | core: ensure local transactions aren't discarded as underpriced
| * core: ensure local transactions aren't discarded as underpricedCrispin Flowerday2018-05-022-10/+14
| | | | | | | | | | This fixes an issue where local transactions are discarded as underpriced when the pool and queue are full.
* | core: golint updates for this or self warning (#16633)kiel barry2018-05-024-18/+18
|/
* core, eth: fix tracer dirty finalizationPéter Szilágyi2018-04-272-21/+5
|
* core/state: cache missing storage entries (#16584)Felix Lange2018-04-271-4/+1
|
* core/types: avoid duplicating transactions on changing signer (#16435)kimmylin2018-04-241-1/+4
|
* all: fix various typos (#16533)Wuxiang2018-04-191-1/+1
| | | | | | | | * fix typo * fix typo * fix typo
* core/asm: accept uppercase instructions (#16531)dm42018-04-191-2/+2
|
* core/asm: remove unused condition (#16487)dm42018-04-181-3/+0
|
* build: enable goimports and varcheck linters (#16446)thomasmodeneis2018-04-184-10/+0
|
* core: txpool stable underprice drop order, perf fixesPéter Szilágyi2018-04-123-24/+101
|
* core/state: fix ripemd-cornercase in CopyMartin Holst Swende2018-04-111-2/+8
|
* core/state: fix bug in copy of copy StateMartin Holst Swende2018-04-112-0/+26
|
* core: remove stray account creations in state transition (#16470)Felix Lange2018-04-101-42/+16
| | | | | | | | | | | | | | | | The 'from' and 'to' methods on StateTransitions are reader methods and shouldn't have inadvertent side effects on state. It is safe to remove the check in 'from' because account existence is implicitly checked by the nonce and balance checks. If the account has non-zero balance or nonce, it must exist. Even if the sender account has nonce zero at the start of the state transition or no balance, the nonce is incremented before execution and the account will be created at that time. It is safe to remove the check in 'to' because the EVM creates the account if necessary. Fixes #15119
* common: delete StringToAddress, StringToHash (#16436)Felix Lange2018-04-101-2/+2
| | | | | | | | | | * common: delete StringToAddress, StringToHash These functions are confusing because they don't parse hex, but use the bytes of the string. This change removes them, replacing all uses of StringToAddress(s) by BytesToAddress([]byte(s)). * eth/filters: remove incorrect use of common.BytesToAddress
* Merge pull request #15225 from holiman/test_removefrom_dirtysetPéter Szilágyi2018-04-106-91/+277
|\ | | | | Change handling of dirty objects in state
| * core: add blockchain benchmarksMartin Holst Swende2018-04-101-0/+111
| |
| * state: handle nil in journal dirtiesMartin Holst Swende2018-04-101-1/+11
| |
| * core/state: avoid linear overhead on journal dirty listingPéter Szilágyi2018-03-284-66/+92
| |
| * core/state: rework dirty handling to avoid quadratic overheadMartin Holst Swende2018-03-285-73/+112
| |
* | cmd/evm: print vm output when debug flag is on (#16326)dm42018-04-061-0/+7
| |
* | core/types: remove String methods from struct types (#16205)Steven Roose2018-04-055-102/+1
| | | | | | | | | | | | Most of these methods did not contain all the relevant information inside the object and were not using a similar formatting type. Moreover, the existence of a suboptimal String method breaks usage with more advanced data dumping tools like go-spew.
* | core/state: avoid redundant addition to code size cache (#16427)Jia Chenhui2018-04-031-4/+1
|/
* core/state: uniform parameter style (#16398)Jia Chenhui2018-03-281-10/+10
| | | - Uniform code style.
* core/vm: Fixed typos in core/vm/interpreter.gohydai2018-03-271-2/+2
|
* core/vm: Fixed typo in core/vm/evm.gohydai2018-03-261-3/+3
|
* core/state: fix typo (#16370)Jia Chenhui2018-03-261-2/+2
|
* core/asm: fixed typo (posititon -> position) (#16366)hydai2018-03-261-1/+1
|
* core/vm: remove JIT VM codes (#16362)hydai2018-03-267-434/+9
|
* core: minor evm polishes and optimizationsPéter Szilágyi2018-03-264-101/+107
|
* Merge pull request #15990 from markya0616/sim_backend_block_hashMartin Holst Swende2018-03-191-1/+13
|\ | | | | accounts/abi, core: add AddTxWithChain in BlockGen for simulation
| * accounts/abi, core: add AddTxWithChain in BlockGen for simulationmark.lin2018-01-291-1/+13
| |
* | core/asm: fixed typo (labal -> label) (#16313)hydai2018-03-142-2/+2
| |
* | core/vm: optimize eq, slt, sgt and iszero + tests (#16047)Martin Holst Swende2018-03-082-25/+61
| | | | | | | | | | | | | | | | * vm: optimize eq, slt, sgt and iszero + tests * core/vm: fix error in slt/sgt, found by vmtests. Added testcase * core/vm: make slt/sgt cleaner
* | core: check transaction/receipt count match when reconstructing blocks (#16272)Kyuntae Ethan Kim2018-03-071-2/+8
| |
* | core: update txpool tests for the removal fixPéter Szilágyi2018-03-072-53/+112
| |
* | core: should enqueue the invalids tx anywaycui2018-03-071-5/+6
| | | | | | | | even the pending is empty we shoud enqueue the invalid txs
* | core/vm, crypto/bn256: switch over to cloudflare library (#16203)Péter Szilágyi2018-03-051-25/+6
| | | | | | | | | | | | | | | | | | | | * core/vm, crypto/bn256: switch over to cloudflare library * crypto/bn256: unmarshal constraint + start pure go impl * crypto/bn256: combo cloudflare and google lib * travis: drop 386 test job
* | cmd/evm, core/vm, internal/ethapi: don't disable call gas meteringPéter Szilágyi2018-03-051-10/+5
| |
* | eth/downloader: save and load trie sync progress (#16224)Péter Szilágyi2018-03-031-0/+20
| |
* | core/asm: rename isAlphaNumeric to isLetter (#16212)Mark Rushakoff2018-02-281-2/+2
| | | | | | | | The function would return false for numbers, so isLetter is a more accurate description of the behavior.
* | core: make current*Block atomic, and accessor functions mutex-free (#16171)Martin Holst Swende2018-02-262-75/+76
| | | | | | | | | | | | | | | | | | | | * core: make current*Block atomic, and accessor functions mutex-free * core: fix review concerns * core: fix error in atomic assignment * core/light: implement atomic getter/setter for headerchain
* | core: flush out trie cache more meaningfully on stop (#16143)Péter Szilágyi2018-02-233-128/+123
| | | | | | | | | | | | * core: flush out trie cache more meaningfully on stop * core: upgrade legacy tests to chain maker
* | core, vm, common: define constantinople fork + shift (#16045)Martin Holst Swende2018-02-235-3/+254
| | | | | | | | | | | | | | | | | | | | | | | | * core, vm, common: define constantinople fork, start implementation of shift instructions * vm: more testcases * vm: add tests for intpool erroneous intpool handling * core, vm, common: fix constantinople review concerns * vm: add string<->op definitions for new opcodes
* | metrics: pull library and introduce ResettingTimer and InfluxDB reporter ↵Anton Evangelatov2018-02-233-13/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (#15910) * go-metrics: fork library and introduce ResettingTimer and InfluxDB reporter. * vendor: change nonsense/go-metrics to ethersphere/go-metrics * go-metrics: add tests. move ResettingTimer logic from reporter to type. * all, metrics: pull in metrics package in go-ethereum * metrics/test: make sure metrics are enabled for tests * metrics: apply gosimple rules * metrics/exp, internal/debug: init expvar endpoint when starting pprof server * internal/debug: tiny comment formatting fix
* | core: yeah, funny file, drop itPéter Szilágyi2018-02-221-23/+0
| |
* | core: handle ignored error (#16065)ferhat elmas2018-02-151-0/+3
| | | | | | | | | | - according to implementation of `IntrinsicGas` we can continue execution since problem will be detected later. However, early return is future-proof for changes.
* | core/vm: remove unused hashing (#16075)ferhat elmas2018-02-141-7/+0
| |
* | all: update license information (#16089)Felix Lange2018-02-142-0/+32
| |
* | core: soften up state memory force-commit log messages (#16080)Felix Lange2018-02-131-6/+2
| | | | | | | | | | | | Talk about "state" instead of "trie timing", "trie memory" and remove the overzealous warning when the limit is just reached. Since the time limit is always reached on slow machines, move the message to info level so users don't freak out about internal details.
* | core: force import known but rolled back blocksPéter Szilágyi2018-02-121-2/+6
| |
* | core, trie: intermediate mempool between trie and database (#15857)Péter Szilágyi2018-02-0622-190/+581
| | | | | | This commit reduces database I/O by not writing every state trie to disk.
* | Merge pull request #15996 from karalabe/drop-redundant-methodsPéter Szilágyi2018-01-311-18/+1
|\ \ | | | | | | core, eth, les, light: get rid of redundant methods
| * | core, eth, les, light: get rid of redundant methodsPéter Szilágyi2018-01-311-18/+1
| |/
* / core, ethdb: reuse database batches (#15989)Martin Holst Swende2018-01-311-1/+1
|/ | | | | | * leveldb: Update leveldb to 211f780 (poolfix) * core, ethdb: reuse database batches
* core: sorted reorg insertion order for proper head header updatingPéter Szilágyi2018-01-222-7/+54
|
* core/vm: Fix comment typoGeorge Ornbo2018-01-161-1/+1
|
* miner: avoid unnecessary work (#15883)Jim McDonald2018-01-151-0/+5
|
* all: regenerate codecs with gencodec commit 90983d99de (#15830)Felix Lange2018-01-087-16/+16
| | | Fixes #15777 because null is now allowed for hexutil.Bytes.
* all: update generated code (#15808)Felix Lange2018-01-087-23/+43
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * core/types, core/vm, eth, tests: regenerate gencodec files * Makefile: update devtools target Install protoc-gen-go and print reminders about npm, solc and protoc. Also switch to github.com/kevinburke/go-bindata because it's more maintained. * contracts/ens: update contracts and regenerate with solidity v0.4.19 The newer upstream version of the FIFSRegistrar contract doesn't set the resolver anymore. The resolver is now deployed separately. * contracts/release: regenerate with solidity v0.4.19 * contracts/chequebook: fix fallback and regenerate with solidity v0.4.19 The contract didn't have a fallback function, payments would be rejected when compiled with newer solidity. References to 'mortal' and 'owned' use the local file system so we can compile without network access. * p2p/discv5: regenerate with recent stringer * cmd/faucet: regenerate * dashboard: regenerate * eth/tracers: regenerate * internal/jsre/deps: regenerate * dashboard: avoid sed -i because it's not portable * accounts/usbwallet/internal/trezor: fix go generate warnings
* tests: update to upstream commit 2bb0c3da3b (#15806)Felix Lange2018-01-041-8/+12
| | | | Also raise traceLimit once again and print the VM error and output on failure.
* all: switch gas limits from big.Int to uint64Péter Szilágyi2018-01-0336-409/+376
|
* core, p2p/discv5: use time.NewTicker instead of time.Tick (#15747)ferhat elmas2018-01-021-2/+3
|
* accounts, consensus, core, eth: make chain maker consensus agnostic (#15497)gary rong2017-12-226-70/+82
| | | | | | | | | | * accounts, consensus, core, eth: make chain maker consensus agnostic * consensus, core: move CalcDifficulty to Engine interface * consensus: add docs for calcDifficulty function * consensus, core: minor comment fixups
* cmd, core, eth/tracers: support fancier js tracing (#15516)Péter Szilágyi2017-12-213-9/+45
| | | | | | | | | | | | | | | | | | | | | | | | | | | | * cmd, core, eth/tracers: support fancier js tracing * eth, internal/web3ext: rework trace API, concurrency, chain tracing * eth/tracers: add three more JavaScript tracers * eth/tracers, vendor: swap ottovm to duktape for tracing * core, eth, internal: finalize call tracer and needed extras * eth, tests: prestate tracer, call test suite, rewinding * vendor: fix windows builds for tracer js engine * vendor: temporary duktape fix * eth/tracers: fix up 4byte and evmdis tracer * vendor: pull in latest duktape with my upstream fixes * eth: fix some review comments * eth: rename rewind to reexec to make it more obvious * core/vm: terminate tracing using defers
* core: silence txpool reorg warning (annoying on import) (#15725)Péter Szilágyi2017-12-211-1/+1
|
* core: fix typos (#15720)Kurkó Mihály2017-12-212-14/+14
|
* core: fix panic when stat-ing a tx from a queue-only account (#15714)Péter Szilágyi2017-12-202-1/+58
|
* core/vm: Remove snapshot param from Interpreter.Run()Paweł Bylica2017-12-152-10/+10
|
* all: use gometalinter.v2, fix new gosimple issues (#15650)Zach2017-12-133-8/+3
|
* core/types: fix typo in comment (#15619)Airead2017-12-071-1/+1
|
* core/vm: track 63/64 call gas off stack (#15563)Felix Lange2017-11-294-99/+55
| | | | | | | | | | | | | | | | | * core/vm: track 63/64 call gas off stack Gas calculations in gasCall* relayed the available gas for calls by replacing it on the stack. This lead to inconsistent traces, which we papered over by copying the pre-execution stack in trace mode. This change relays available gas using a temporary variable, off the stack, and allows removing the weird copy. * core/vm: remove stackCopy * core/vm: pop call gas into pool * core/vm: to -> addr
* core/state: copy trie too, not just contentPéter Szilágyi2017-11-242-1/+52
|
* all: fix code comment typos (#15547)Ricardo Domingos2017-11-242-2/+2
| | | | | | | | | | | | * console: fix typo in comment * contracts/release: fix typo in comment * core: fix typo in comment * eth: fix typo in comment * miner: fix typo in comment
* core/vm, internal/ethapi: tracer no full storage, nicer json output (#15499)Péter Szilágyi2017-11-172-46/+4
| | | | | | * core/vm, internal/ethapi: tracer no full storage, nicer json output * core/vm, internal/ethapi: omit disabled trace fields
* core/bloombits: handle non 8-bit boundary section matchesPéter Szilágyi2017-11-152-23/+40
|
* Merge pull request #14582 from holiman/jumpdest_improvPéter Szilágyi2017-11-152-14/+96
|\ | | | | core/vm: improve jumpdest analysis
| * core/vm: copyright header on test-fileMartin Holst Swende2017-11-141-0/+16
| |
| * core/vm: improve bitvec commentsFelix Lange2017-09-111-7/+7
| |
| * core/vm: Rename + updated doc on jumpdest analysisMartin Holst Swende2017-09-082-5/+5
| |
| * core/vm: make jumpdest code nicerFelix Lange2017-08-241-3/+1
| |
| * core/vm: Address review concernsMartin Holst Swende2017-08-141-14/+19
| |
| * core/vm: improved jumpdest analysisMartin Holst Swende2017-06-052-9/+72
| |
* | Merge pull request #15470 from karalabe/clique-sametd-splitterPéter Szilágyi2017-11-151-1/+6
|\ \ | | | | | | core: split same-td blocks on block height
| * | core: split same-td blocks on block heightPéter Szilágyi2017-11-131-1/+6
| | |
* | | core/vm: fix typos in jump_table.goJay Guo2017-11-141-2/+2
|/ /
* | build: enable unconvert linter (#15456)ferhat elmas2017-11-111-2/+2
| | | | | | | | | | | | | | | | | | * build: enable unconvert linter - fixes #15453 - update code base for failing cases * cmd/puppeth: replace syscall.Stdin with os.Stdin.Fd() for unconvert linter
* | all: gofmt -w -s (#15419)ferhat elmas2017-11-085-21/+21
| |
* | core: respect price bump threshold (#15401)Jim McDonald2017-10-302-11/+14
| | | | | | | | | | | | | | | | | | | | * core: allow price bump at threshold * core: test changes to allow price bump at threshold * core: reinstate tx replacement test underneath threshold * core: minor test failure message cleanups
* | core, swarm: typo fixesferhat elmas2017-10-301-1/+1
| |
* | les, core/bloombits: post-LES/2 fixes (#15391)Felföldi Zsolt2017-10-271-1/+4
| | | | | | | | | | | | * les: fix topic ID * core/bloombits: fix interface conversion
* | core, eth, les: fix messy code (#15367)Péter Szilágyi2017-10-255-148/+99
| | | | | | | | | | | | | | | | * core, eth, les: fix messy code * les: fixed tx status test and rlp encoding * core: add a workaround for light sync
* | les, light: LES/2 protocol version (#14970)Felföldi Zsolt2017-10-247-65/+199
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This PR implements the new LES protocol version extensions: * new and more efficient Merkle proofs reply format (when replying to a multiple Merkle proofs request, we just send a single set of trie nodes containing all necessary nodes) * BBT (BloomBitsTrie) works similarly to the existing CHT and contains the bloombits search data to speed up log searches * GetTxStatusMsg returns the inclusion position or the pending/queued/unknown state of a transaction referenced by hash * an optional signature of new block data (number/hash/td) can be included in AnnounceMsg to provide an option for "very light clients" (mobile/embedded devices) to skip expensive Ethash check and accept multiple signatures of somewhat trusted servers (still a lot better than trusting a single server completely and retrieving everything through RPC). The new client mode is not implemented in this PR, just the protocol extension.
* | cmd, consensus, core, miner: instatx clique for --dev (#15323)Péter Szilágyi2017-10-244-13/+28
| | | | | | | | | | | | | | | | * cmd, consensus, core, miner: instatx clique for --dev * cmd, consensus, clique: support configurable --dev block times * cmd, core: allow --dev to use persistent storage too
* | core: avoid warning when loading the transaction journalPéter Szilágyi2017-10-201-0/+13
| |
* | core: fire tx event on replace, expand testsPéter Szilágyi2017-10-203-4/+191
| |
* | core/vm: check opcode stack before readonly enforcementPéter Szilágyi2017-10-141-13/+10
| |
* | core/types: fix test for TransactionsByPriceAndNonceJim McDonald2017-10-111-6/+6
| |
* | core: revert invalid block dedup code (#15235)Péter Szilágyi2017-10-041-5/+0
| |
* | core/types, internal: swap Receipt.Failed to StatusPéter Szilágyi2017-10-023-20/+34
| |
* | ethclient, mobile: add TransactionSender (#15127)Felix Lange2017-10-013-126/+67
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * core/types: make Signer derive address instead of public key There are two reasons to do this now: The upcoming ethclient signer doesn't know the public key, just the address. EIP 208 will introduce a new signer which derives the 'entry point' address for transactions with zero signature. The entry point has no public key. Other changes to the interface ease the path make to moving signature crypto out of core/types later. * ethclient, mobile: add TransactionSender The new method can get the right signer without any crypto, and without knowledge of the signature scheme that was used when the transaction was included.
* | core/bloombits, eth/filters: handle null topics (#15195)Péter Szilágyi2017-09-272-2/+42
| | | | | | | | | | | | | | | | | | | | When implementing the new bloombits based filter, I've accidentally broke null topics by removing the special casing of common.Hash{} filter rules, which acted as the wildcard topic until now. This PR fixes the regression, but instead of using the magic hash common.Hash{} as the null wildcard, the PR reworks the code to handle nil topics during parsing, converting a JSON null into nil []common.Hash topic.
* | Merge pull request #15181 from fjl/state-revert-log-indexPéter Szilágyi2017-09-261-0/+1
|\ \ | | | | | | core/state: revert log index when removing logs
| * | core/state: revert log index when removing logsFelix Lange2017-09-221-0/+1
| | |
* | | core/vm: standard vm traces (#15035)cdetrio2017-09-221-3/+19
|/ /
* | params: enable Byzantium on Ropsten/tests, fix failuresPéter Szilágyi2017-09-142-15/+23
| |
* | params: Updated finalized gascosts for ECMUL/MODEXP (#15135)Martin Holst Swende2017-09-141-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | * params: Updated finalized gascosts for ECMUL/MODEXP * core,tests: Updates pending new tests * tests: Updated with new tests * core: revert state transition bugfix * tests: Add expected failures due to #15119
* | consensus, core, params: rebrand Metro to ByzantiumPéter Szilágyi2017-09-148-21/+21
| |
* | core: only fire one chain head per batch (#15123)Péter Szilágyi2017-09-112-22/+33
| | | | | | | | | | | | * core: only fire one chain head per batch * miner: announce chan events synchronously
* | core, eth/downloader: commit block data using batches (#15115)Felix Lange2017-09-104-199/+133
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * ethdb: add Putter interface and Has method * ethdb: improve docs and add IdealBatchSize * ethdb: remove memory batch lock Batches are not safe for concurrent use. * core: use ethdb.Putter for Write* functions This covers the easy cases. * core/state: simplify StateSync * trie: optimize local node check * ethdb: add ValueSize to Batch * core: optimize HasHeader check This avoids one random database read get the block number. For many uses of HasHeader, the expectation is that it's actually there. Using Has avoids a load + decode of the value. * core: write fast sync block data in batches Collect writes into batches up to the ideal size instead of issuing many small, concurrent writes. * eth/downloader: commit larger state batches Collect nodes into a batch up to the ideal size instead of committing whenever a node is received. * core: optimize HasBlock check This avoids a random database read to get the number. * core: use numberCache in HasHeader numberCache has higher capacity, increasing the odds of finding the header without a database lookup. * core: write imported block data using a batch Restore batch writes of state and add blocks, tx entries, receipts to the same batch. The change also simplifies the miner. This commit also removes posting of logs when a forked block is imported. * core: fix DB write error handling * ethdb: use RLock for Has * core: fix HasBlock comment
* | core/types, miner: avoid tx sender miscaching (#14773)Mark2017-09-082-11/+13
| |
* | core/asm: use ContainsRune instead of IndexRune (#15098)Fiisio2017-09-081-3/+3
| |
* | core: delete dao.go (#15113)Pawan Singh Pal2017-09-081-75/+0
| | | | | | | | - dao.go is already present in consensus/misc - core/dao.go is not used anywhere in the codebase
* | Merge pull request #14631 from zsfelfoldi/bloombits2Péter Szilágyi2017-09-0613-236/+1441
|\ \ | | | | | | core/bloombits, eth/filter: transformed bloom bitmap based log search
| * | core/bloombits: drop nil-matcher special casePéter Szilágyi2017-09-062-10/+7
| | |
| * | core/bloombits: use general filters instead of addresses and topicsZsolt Felfoldi2017-09-062-45/+15
| | |
| * | core/bloombits: AddBloom index parameter and fixes variable namesZsolt Felfoldi2017-09-062-6/+9
| | |
| * | core, eth: clean up bloom filtering, add some testsPéter Szilágyi2017-09-0613-817/+1206
| | |
| * | core, eth: add bloombit indexer, filter based on itZsolt Felfoldi2017-09-0610-191/+1037
| | |
* | | core: use blocks and avoid deep reorgs in txpoolPéter Szilágyi2017-09-062-45/+55
|/ /
* | core: make txpool operate on immutable statePéter Szilágyi2017-09-056-290/+219
| |
* | core/vm: Make MaxCodesize non-retroactive (#15072)Martin Holst Swende2017-09-041-1/+1
| | | | | | | | | | | | * core/vm: Make max_codesize only applicable post Spurious Dragon/158/155/161/170 * tests: Remove expected failure
* | core: Fix flaw where underpriced locals were removed (#15081)Martin Holst Swende2017-09-042-1/+62
| | | | | | | | | | | | * core: Fix flaw where underpriced locals were removed * core: minor code cleanups for tx pool tests
* | core/vm: avoid state lookup during gas calc for call (#15061)Martin Holst Swende2017-09-041-1/+1
| |
* | core/vm: renamed struct member + go fmtMartin Holst Swende2017-08-281-71/+71
| |
* | core/vm: Fix testcase input for ecmulMartin Holst Swende2017-08-281-2/+2
| |
* | core/vm: more benchmarksMartin Holst Swende2017-08-271-0/+76
| |
* | core, tests: implement Metropolis EIP 684Péter Szilágyi2017-08-252-8/+17
| |
* | Merge pull request #15028 from karalabe/metropolis-iceagePéter Szilágyi2017-08-252-7/+3
|\ \ | | | | | | consensus, core, tests: implement Metropolis EIP 649
| * | consensus, core, tests: implement Metropolis EIP 649Péter Szilágyi2017-08-242-7/+3
| | |
* | | core/types: encode receipt status in PostState fieldFelix Lange2017-08-252-83/+62
| | | | | | | | | | | | | | | | | | | | | This fixes a regression where the new Failed field in ReceiptForStorage rejected previously stored receipts. Fix it by removing the new field and store status in the PostState field. This also removes massive RLP hackery around the status field.
* | | core/types: fix create indicator in Transaction.String (#15025)nkbai2017-08-241-1/+1
| | |
* | | core/state: revert metro suicide map addition (#15024)Péter Szilágyi2017-08-243-48/+28
|/ /
* | Merge pull request #15014 from rjl493456442/metropolis-eip658Péter Szilágyi2017-08-237-31/+61
|\ \ | | | | | | core: add status as a consensus field in receipt
| * | core/types: reject Metro receipts with > 0x01 status bytesPéter Szilágyi2017-08-231-4/+11
| | |
| * | core: implement Metropolis EIP 658, receipt status byterjl4934564422017-08-227-31/+54
| | |
* | | cmd/evm, core/vm, internal/ethapi: Show error when exiting (#14985)Martin Holst Swende2017-08-231-2/+5
|/ / | | | | | | | | | | * cmd/evm, core/vm, internal/ethapi: Add 'err' to tracer interface CaptureEnd * cmd/evm: fix nullpointer when there is no error
* | core/vm: fix typo in method documentation (#15019)Ti Zhou2017-08-221-1/+1
| | | | | | Signed-off-by: Ti Zhou <tizhou1986@gmail.com>
* | Merge pull request #14983 from karalabe/metropolis-revertPéter Szilágyi2017-08-217-42/+70
|\ \ | | | | | | core/vm: implement REVERT metropolis opcode
| * | core/vm: rework reversion to work on a higher levelPéter Szilágyi2017-08-176-45/+53
| | |
| * | core/vm: implement REVERT metropolis opcodeJeffrey Wilcke2017-08-164-1/+21
| | |
* | | core, light: send chain events using event.Feed (#14865)Miya Chen2017-08-1810-182/+289
| | |
* | | core/vm, crypto/bn256: fix bn256 use and pairing corner casePéter Szilágyi2017-08-172-9/+69
|/ /
* | core/vm: polish RETURNDATA, add missing returns to CALL*Péter Szilágyi2017-08-167-72/+75
| |
* | core/vm: implement RETURNDATA metropolis opcodesJeffrey Wilcke2017-08-166-171/+253
| |
* | core/vm: minor polishes, fix STATICCALL for precompilesPéter Szilágyi2017-08-152-37/+33
| | | | | | | | | | | | * Fix STATICCALL so it is able to call precompiles too * Fix write detection to use the correct value argument of CALL * Fix write protection to ignore the value in CALLCODE
* | core/vm: implement metropolis static call opcodeJeffrey Wilcke2017-08-157-3/+153
| |
* | core/vm: optimize copy-less data retrievalsPéter Szilágyi2017-08-144-54/+75
| |
* | core/vm: benchmarking of metro precompilesMartin Holst Swende2017-08-142-206/+341
| |
* | core/vm: polish precompile contract code, add tests and benchesPéter Szilágyi2017-08-144-196/+355
| | | | | | | | | | * Update modexp gas calculation to new version * Fix modexp modulo 0 special case to return zero
* | core: add Metropolis pre-compiles (EIP 197, 198 and 213)Jeffrey Wilcke2017-08-113-2/+242
| |
* | core/vm/runtime: remove unused state parameter to NewEnv (#14953)Joel Burget2017-08-112-5/+4
| | | | | | | | | | | | | | | | * core: Remove unused `state` parameter to `NewEnv`. `cfg.State` is used instead. * core/vm/runtime: remove unused import
* | Merge pull request #14522 from ethereum/go-ethereum/chainproc2Felix Lange2017-08-082-0/+630
|\ \
| * | core: polish chain indexer a bitPéter Szilágyi2017-08-072-302/+403
| | |
| * | core: implement ChainIndexerZsolt Felfoldi2017-08-072-0/+529
| | |
* | | core: fix txpool journal and test racesPéter Szilágyi2017-08-082-30/+43
|/ /
* | core: fix blockchain goroutine leaks in testsPéter Szilágyi2017-08-078-23/+79
| |
* | core: bump timeout test to avoid flakyness on overloaded ciPéter Szilágyi2017-08-071-2/+2
| |
* | core/vm: fix typo in comment (#14894)evgk2017-08-041-1/+1
| |
* | core/asm: fix hex number lexing (#14861)njupt-moon2017-07-312-6/+41
| |
* | core: avoid write existing block again (#14849)Mark2017-07-311-0/+5
| |
* | cmd, core, eth: journal local transactions to disk (#14784)Péter Szilágyi2017-07-283-82/+392
| | | | | | | | | | | | | | | | | | | | * core: reduce txpool event loop goroutines and sync structs * cmd, core, eth: journal local transactions to disk * core: journal replacement pending transactions too * core: separate transaction journal from pool
* | core/vm/runtime: fix evm command to use --gasprice flag valuecdetrio2017-07-261-1/+1
| |
* | core/vm: remove logging and add section labels to struct logs (#14782)Felix Lange2017-07-193-23/+16
| |
* | Merge pull request #14733 from karalabe/metro-eip100Péter Szilágyi2017-07-171-0/+1
|\ \ | | | | | | consensus/ethash, core: implement Metropolis EIP 100
| * | consensus, core: EIP 100 polishes, fix chain maker diffPéter Szilágyi2017-06-301-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This PR polishes the EIP 100 difficulty adjustment algorithm to match the same mechanisms as the Homestead was implemented to keep the code uniform. It also avoids a few memory allocs by reusing big1 and big2, pulling it out of the common package and into ethash. The commit also fixes chain maker to forward the uncle hash when creating a simulated chain (it wasn't needed until now so we just skipped a copy there).
* | | core, ethclient: implement Metropolis EIP 98 (#14750)Péter Szilágyi2017-07-173-18/+76
| | | | | | | | | Implements ethereum/EIPs#98
* | | core: blocknumber in genesis as hex (#14812)Martin Holst Swende2017-07-172-6/+5
| | |
* | | core: remove redundant storage of transactions and receipts (#14801)Péter Szilágyi2017-07-154-211/+98
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * core: remove redundant storage of transactions and receipts * core, eth, internal: new transaction schema usage polishes * eth: implement upgrade mechanism for db deduplication * core, eth: drop old sequential key db upgrader * eth: close last iterator on successful db upgrage * core: prefix the lookup entries to make their purpose clearer
* | | tests: update tests and implement general state tests (#14734)Felix Lange2017-07-113-24/+105
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Tests are now included as a submodule. This should make updating easier and removes ~60MB of JSON data from the working copy. State tests are replaced by General State Tests, which run the same test with multiple fork configurations. With the new test runner, consensus tests are run as subtests by walking json files. Many hex issues have been fixed upstream since the last update and most custom parsing code is replaced by existing JSON hex types. Tests can now be marked as 'expected failures', ensuring that fixes for those tests will trigger an update to test configuration. The new test runner also supports parallel execution and the -short flag.
* | | Merge pull request #14737 from holiman/txpool_localaccountsPéter Szilágyi2017-07-103-251/+371
|\ \ \ | | | | | | | | Txpool localaccounts
| * | | core: test locals support in txpool queue limits, fixPéter Szilágyi2017-07-063-83/+197
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The commit reworks the transaction pool queue limitation tests to cater for testing local accounts, also testing the nolocal flag. In addition, it also fixes a panic if local transactions exceeded the global queue allowance (no accounts left to drop from) and also fixes queue eviction to operate on all accounts, not just the one being updated.
| * | | core: handle nolocals during add, exepmt locals from expirationPéter Szilágyi2017-07-051-4/+9
| | | |
| * | | cmd, core: add --txpool.nolocals to disable local price exemptionsPéter Szilágyi2017-07-051-2/+4
| | | |
| * | | core, eth, les: polish txpool API around local/remote txsPéter Szilágyi2017-07-053-138/+143
| | | |
| * | | core: Prevent local tx:s from being discardedMartin Holst Swende2017-07-011-7/+12
| | | |
| * | | core: Change local-handling to use sender-account instead of tx hashesMartin Holst Swende2017-07-012-59/+48
| |/ /
* | | core: fix typo in error message (#14763)ligi2017-07-061-1/+1
| | |
* | | params: remove redundant consts, disable metro on AllProtocolChangesPéter Szilágyi2017-07-042-11/+11
|/ /
* | core: fix an off-by-one when the block import counts blocksMartin Holst Swende2017-06-291-1/+1
| |
* | Merge pull request #14718 from holiman/gascalc_fixPéter Szilágyi2017-06-282-17/+17
|\ \ | | | | | | core/vm: fix overflow in gas calculation formula
| * | core/vm : fix testcase for gas calculationMartin Holst Swende2017-06-281-11/+7
| | |
| * | core/vm: fix overflow in gas calculation formulaMartin Holst Swende2017-06-281-6/+10
| | |
* | | core/vm: add benchmarks for some ops and precompiles (#14641)Martin Holst Swende2017-06-281-0/+242
|/ /
* | core/state: access trie through Database interface, track errors (#14589)Felix Lange2017-06-2718-270/+354
| | | | | | | | | | | | | | | | | | With this commit, core/state's access to the underlying key/value database is mediated through an interface. Database errors are tracked in StateDB and returned by CommitTo or the new Error method. Motivation for this change: We can remove the light client's duplicated copy of core/state. The light client now supports node iteration, so tracing and storage enumeration can work with the light client (not implemented in this commit).
* | Merge pull request #14687 from markya0616/unused_eventsPéter Szilágyi2017-06-261-16/+0
|\ \ | | | | | | core: remove unused events
| * | core: remove unused eventsmark.lin2017-06-231-16/+0
| | |
* | | Merge pull request #14673 from holiman/txfixPéter Szilágyi2017-06-232-41/+199
|\ \ \ | | | | | | | | core: add testcase for txpool
| * | | core: ensure transactions correctly drop on pool limitingPéter Szilágyi2017-06-232-87/+166
| | | |
| * | | core: add testcase for txpoolMartin Holst Swende2017-06-232-0/+79
| | | |
* | | | eth/downloader: separate state sync from queue (#14460)Felix Lange2017-06-222-8/+29
|/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * eth/downloader: separate state sync from queue Scheduling of state node downloads hogged the downloader queue lock when new requests were scheduled. This caused timeouts for other requests. With this change, state sync is fully independent of all other downloads and doesn't involve the queue at all. State sync is started and checked on in processContent. This is slightly awkward because processContent doesn't have a select loop. Instead, the queue is closed by an auxiliary goroutine when state sync fails. We tried several alternatives to this but settled on the current approach because it's the least amount of change overall. Handling of the pivot block has changed slightly: the queue previously prevented import of pivot block receipts before the state of the pivot block was available. In this commit, the receipt will be imported before the state. This causes an annoyance where the pivot block is committed as fast block head even when state downloads fail. Stay tuned for more updates in this area ;) * eth/downloader: remove cancelTimeout channel * eth/downloader: retry state requests on timeout * eth/downloader: improve comment * eth/downloader: mark peers idle when state sync is done * eth/downloader: move pivot block splitting to processContent This change also ensures that pivot block receipts aren't imported before the pivot block itself. * eth/downloader: limit state node retries * eth/downloader: improve state node error handling and retry check * eth/downloader: remove maxStateNodeRetries It fails the sync too much. * eth/downloader: remove last use of cancelCh in statesync.go Fixes TestDeliverHeadersHang*Fast and (hopefully) the weird cancellation behaviour at the end of fast sync. * eth/downloader: fix leak in runStateSync * eth/downloader: don't run processFullSyncContent in LightSync mode * eth/downloader: improve comments * eth/downloader: fix vet, megacheck * eth/downloader: remove unrequested tasks anyway * eth/downloader, trie: various polishes around duplicate items This commit explicitly tracks duplicate and unexpected state delieveries done against a trie Sync structure, also adding there to import info logs. The commit moves the db batch used to commit trie changes one level deeper so its flushed after every node insertion. This is needed to avoid a lot of duplicate retrievals caused by inconsistencies between Sync internals and database. A better approach is to track not-yet-written states in trie.Sync and flush on commit, but I'm focuing on correctness first now. The commit fixes a regression around pivot block fail count. The counter previously was reset to 1 if and only if a sync cycle progressed (inserted at least 1 entry to the database). The current code reset it already if a node was delivered, which is not stong enough, because unless it ends up written to disk, an attacker can just loop and attack ad infinitum. The commit also fixes a regression around state deliveries and timeouts. The old downloader tracked if a delivery is stale (none of the deliveries were requestedt), in which case it didn't mark the node idle and did not send further requests, since it signals a past timeout. The current code did mark it idle even on stale deliveries, which eventually caused two requests to be in flight at the same time, making the deliveries always stale and mass duplicating retrievals between multiple peers. * eth/downloader: fix state request leak This commit fixes the hang seen sometimes while doing the state sync. The cause of the hang was a rare combination of events: request state data from peer, peer drops and reconnects almost immediately. This caused a new download task to be assigned to the peer, overwriting the old one still waiting for a timeout, which in turned leaked the requests out, never to be retried. The fix is to ensure that a task assignment moves any pending one back into the retry queue. The commit also fixes a regression with peer dropping due to stalls. The current code considered a peer stalling if they timed out delivering 1 item. However, the downloader never requests only one, the minimum is 2 (attempt to fine tune estimated latency/bandwidth). The fix is simply to drop if a timeout is detected at 2 items. Apart from the above bugfixes, the commit contains some code polishes I made while debugging the hang. * core, eth, trie: support batched trie sync db writes * trie: rename SyncMemCache to syncMemBatch
* / / cmd/evm, core/vm: add --nomemory, --nostack to evm (#14617)Martin Holst Swende2017-06-212-31/+31
|/ /
* | Merge pull request #14581 from holiman/byte_optPéter Szilágyi2017-06-132-7/+48
|\ \ | | | | | | core/vm: improve opByte
| * | core/vm, common/math: Add doc about Byte, fix formatMartin Holst Swende2017-06-091-1/+0
| | |