aboutsummaryrefslogtreecommitdiffstats
path: root/core
Commit message (Collapse)AuthorAgeFilesLines
* 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
| | |
| * | common/math, core/vm: Un-expose bigEndianByteAt, use correct terms for ↵Martin Holst Swende2017-06-071-2/+2
| | | | | | | | | | | | endianness
| * | core/vm, common/math: Add fast getByte for bigints, improve opByteMartin Holst Swende2017-06-052-7/+49
| |/
* | cmd/evm: add --prestate, --sender, --json flags for fuzzing (#14476)Martin Holst Swende2017-06-074-19/+142
| |
* | core/types: use Header.Hash for block hashes (#14587)bailantaotao2017-06-071-1/+1
| | | | | | Fixes #14586
* | core: Fix VM error loggingLewis Marshall2017-06-061-1/+1
|/ | | | Signed-off-by: Lewis Marshall <lewis@lmars.net>
* core/vm: Use a bitmap instead of a map for jumpdest analysisNick Johnson2017-06-021-14/+12
| | | | t push --force
* core: only reorg changed account, not allPéter Szilágyi2017-06-012-21/+35
|
* core: don't uselessly recheck transactions on dumpPéter Szilágyi2017-06-011-19/+8
|
* core: check for gas limit exceeding txs too on new blockPéter Szilágyi2017-05-303-31/+72
|
* cmd, core, eth: configurable txpool parametersPéter Szilágyi2017-05-294-75/+120
|
* core: fix minor accidental typos and comment errorsPéter Szilágyi2017-05-253-8/+8
|
* core: typos and comments improvechanghong2017-05-2511-323/+324
| | | | | | | | 1. fix typos 2. methods recevier of struct should be same 3. comments improve (cherry picked from commit 1ba979539582a00b7fd1a7c8a37a6852e59eac0d)
* core/vm: allocate stack to 1024Jeffrey Wilcke2017-05-251-1/+1
| | | | | Pre allocate the stack to 1024 optimising stack pushing, reducing calls to runtime.makeslice and runtime.mallocgc
* Merge pull request #14502 from karalabe/mobile-import-ecdsaFelix Lange2017-05-251-1/+1
|\ | | | | Enforce 256 bit keys on raw import, support raw mobile imports
| * accounts/keystore, crypto: enforce 256 bit keys on importPéter Szilágyi2017-05-231-1/+1
| |
* | core/vm: expose intpool to stack dup methodJeffrey Wilcke2017-05-232-3/+3
| | | | | | | | | | Improve the duplication method of the stack to reuse big ints by passing in an existing integer pool.
* | core/vm: capped int poolJeffrey Wilcke2017-05-231-0/+6
| |
* | core/vm: improved push instructionsJeffrey Wilcke2017-05-232-35/+48
| | | | | | | | | | Improved push instructions by removing unnecessary big int allocations and by making it int instead of big.Int
* | core/vm: improve error message for invalid opcodesValentin Wüstholz2017-05-221-1/+1
| |
* | core/state: fixed (self)destructed objectsJeffrey Wilcke2017-05-182-2/+9
| | | | | | | | | | | | Add the object to the list of destructed objects during a selfdestruct / suicide operation and also remove it from the list once the journal reverts.
* | consensus, core, core/vm, parems: review fixesJeffrey Wilcke2017-05-184-23/+13
| |
* | core/types: corrected abstract signing addressJeffrey Wilcke2017-05-181-1/+1
| |
* | consensus, core/*, params: metropolis preparation refactorJeffrey Wilcke2017-05-1811-133/+233
|/ | | | | | | | | | | | | | | | | | | | | | | | This commit is a preparation for the upcoming metropolis hardfork. It prepares the state, core and vm packages such that integration with metropolis becomes less of a hassle. * Difficulty calculation requires header instead of individual parameters * statedb.StartRecord renamed to statedb.Prepare and added Finalise method required by metropolis, which removes unwanted accounts from the state (i.e. selfdestruct) * State keeps record of destructed objects (in addition to dirty objects) * core/vm pre-compiles may now return errors * core/vm pre-compiles gas check now take the full byte slice as argument instead of just the size * core/vm now keeps several hard-fork instruction tables instead of a single instruction table and removes the need for hard-fork checks in the instructions * core/vm contains a empty restruction function which is added in preparation of metropolis write-only mode operations * Adds the bn256 curve * Adds and sets the metropolis chain config block parameters (2^64-1)
* cmd, core, eth, miner: remove txpool gas price limits (#14442)Péter Szilágyi2017-05-174-101/+599
|
* core: fix processing regression during receipt importPéter Szilágyi2017-05-082-8/+5
|
* cmd, core, params: add --rinkeby flag for fast connectivityPéter Szilágyi2017-05-042-0/+13
|
* Merge pull request #14350 from fjl/trie-iterator-skip-2Péter Szilágyi2017-04-254-7/+24
|\ | | | | eth: add debug_storageRangeAt
| * eth: add debug_storageRangeAtFelix Lange2017-04-252-2/+18
| |
| * trie: add start key to NodeIterator constructorsFelix Lange2017-04-253-5/+5
| | | | | | | | | | | | | | | | | | The 'step' method is split into two parts, 'peek' and 'push'. peek returns the next state but doesn't make it current. The end of iteration was previously tracked by setting 'trie' to nil. End of iteration is now tracked using the 'iteratorEnd' error, which is slightly cleaner and requires less code.
| * trie: clean up iterator constructorsFelix Lange2017-04-253-4/+5
| | | | | | | | | | | | | | Make it so each iterator has exactly one public constructor: - NodeIterators can be created through a method. - Iterators can be created through NewIterator on any NodeIterator.
* | core, light: delete SplitStatTy, ChainSplitEvent (unused)Felix Lange2017-04-222-12/+3
| |
* | core: make genesis incompatibility error more explicitPéter Szilágyi2017-04-201-1/+1
|/
* all: update license informationFelix Lange2017-04-149-2/+114
|
* core: don't import genesis block in TestDAOForkRangeExtradataFelix Lange2017-04-131-4/+4
| | | | The genesis block doesn't have a valid ancestor.
* consensus, core, ethstats: use engine specific block beneficiary (#14318)Péter Szilágyi2017-04-125-11/+29
| | | | | | * consensus, core, ethstats: use engine specific block beneficiary * core, eth, les, miner: use explicit beneficiary during mining
* core: fix comment typoJustin2017-04-101-1/+1
|
* consensus/clique: Proof of Authority (#3753)Péter Szilágyi2017-04-101-4/+1
| | | | This PR is a prototype implementation of plugable consensus engines and the Clique PoA protocol ethereum/EIPs#225
* consensus, core: drop all the legacy custom core error typesPéter Szilágyi2017-04-068-220/+38
|
* core, core/types: regenerate JSON marshaling, add "hash" to headers (#13868)Felix Lange2017-04-0611-259/+250
| | | | | | | | | | * Makefile: fix devtools target * core: regenerate genesis marshaling with fjl/gencodec@cbfa5be5a8a8 * core/types: regenerate marshaling methods with fjl/gencodec@cbfa5be5a8a8 * core/types: add "hash" to JSON headers
* core/state: make TestSnapshotRandom work again (#3816)gary rong2017-04-053-5/+8
| | | | | | In `touch` operation, only `touched` filed has been changed. Therefore in the related undo function, only `touched` field should be reverted. In addition, whether remove this obj from dirty map should depend on prevDirty flag.
* core, consensus: pluggable consensus engines (#3817)Péter Szilágyi2017-04-0516-962/+335
| | | | | This commit adds pluggable consensus engines to go-ethereum. In short, it introduces a generic consensus interface, and refactors the entire codebase to use this interface.
* core/types: rename txdata.gasLimit -> txdata.gas in JSON (#13848)bas-vk2017-03-292-4/+4
|
* core, core/types: use non-pointer receiver for Marshal* methodsFelix Lange2017-03-277-112/+106
| | | | | Regenerated with fjl/gencodec@1a75a2161009 Also add ,omitempty to optional GenesisAccount fields.
* core/types: ensure all EIP155 signer fields are set by deriveSignerFelix Lange2017-03-251-1/+1
| | | | Fixes #3819
* core: refactor genesis handlingFelix Lange2017-03-2318-529/+813
| | | | | | | | | | | | | | | | | | | | | | | | This commit solves several issues concerning the genesis block: * Genesis/ChainConfig loading was handled by cmd/geth code. This left library users in the cold. They could specify a JSON-encoded string and overwrite the config, but didn't get any of the additional checks performed by geth. * Decoding and writing of genesis JSON was conflated in WriteGenesisBlock. This made it a lot harder to embed the genesis block into the forthcoming config file loader. This commit changes things so there is a single Genesis type that represents genesis blocks. All uses of Write*Genesis* are changed to use the new type instead. * If the chain config supplied by the user was incompatible with the current chain (i.e. the chain had already advanced beyond a scheduled fork), it got overwritten. This is not an issue in practice because previous forks have always had the highest total difficulty. It might matter in the future though. The new code reverts the local chain to the point of the fork when upgrading configuration. The change to genesis block data removes compression library dependencies from package core.
* core/types: handle nil ChainId in NewEIP155SignerFelix Lange2017-03-231-0/+3
| | | | | | All uses of ChainConfig.ChainId eventually end up in NewEIP155Signer. This fixes the case where users forget to set the ChainId in their config.
* core/state: expose CommitToFelix Lange2017-03-231-2/+3
|
* les: implement request distributor, fix blocking issues (#3660)Felföldi Zsolt2017-03-232-5/+15
| | | | | * les: implement request distributor, fix blocking issues * core: moved header validation before chain mutex lock
* core/vm: use uint64 instead of *big.Int in tracer (#3805)Yohann Leon2017-03-223-14/+10
|
* core, eth, les: support resuming fast sync on heavy rollback (#3743)Péter Szilágyi2017-03-221-24/+49
|
* Merge pull request #3756 from fjl/core-types-gencodecFelix Lange2017-03-229-312/+510
|\ | | | | core/types: use gencodec for JSON marshaling code
| * core/types: use gencodec for JSON marshaling codeFelix Lange2017-03-079-312/+510
| |
* | all: swap out the C++ ethash to the pure Go one (mining todo)Péter Szilágyi2017-03-0910-58/+52
|/
* Merge pull request #3739 from karalabe/logger-updates-4Péter Szilágyi2017-03-041-2/+0
|\ | | | | all: update light logs (and a few others) to the new model
| * all: update light logs (and a few others) to the new modelPéter Szilágyi2017-03-031-2/+0
| |
* | core: reorg logs crashed, add a check for corner casesPéter Szilágyi2017-03-031-6/+9
|/