aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* swarm/api: fixed 404 handling on missing default entry (#15139)holisticode2017-10-066-39/+311
|
* p2p/nat: delete port mapping before adding (#15222)Darrel Herbst2017-10-061-0/+1
| | | Fixes #1024
* eth: fix typo (#15252)Lio李欧2017-10-061-1/+1
|
* mobile: fix variadic argument expansionligi2017-10-061-1/+1
|
* Merge pull request #15241 from karalabe/puppeth-fork-managementPéter Szilágyi2017-10-064-11/+77
|\ | | | | cmd/puppeth: support managing fork block in the chain config
| * cmd/puppeth: support managing fork block in the chain configPéter Szilágyi2017-10-044-11/+77
| |
* | Merge pull request #15248 from karalabe/update-linerPéter Szilágyi2017-10-054-20/+84
|\ \ | |/ |/| vendor: update liner to fix docker and mips bugs
| * vendor: update liner to fix docker and mips bugsPéter Szilágyi2017-10-054-20/+84
|/
* params, VERSION: v1.7.2 unstableFelix Lange2017-10-042-5/+5
|
* params: v1.7.1 stablev1.7.1Felix Lange2017-10-041-4/+4
|
* core: revert invalid block dedup code (#15235)Péter Szilágyi2017-10-041-5/+0
|
* Merge pull request #15232 from karalabe/macos-usbhw-fixesPéter Szilágyi2017-10-031-4/+8
|\ | | | | accounts/usbwallet: handle bad interface number on macOS
| * accounts/usbwallet: handle bad interface number on macOSPéter Szilágyi2017-10-031-4/+8
|/
* Merge pull request #15030 from rjl493456442/expose_vm_failedPéter Szilágyi2017-10-023-28/+33
|\ | | | | internal, accounts, eth: utilize vm failed flag to help gas estimation
| * internal, accounts, eth: utilize vm failed flag to help gas estimationrjl4934564422017-10-023-28/+33
| |
* | Merge pull request #15224 from karalabe/byzantium-block-numbersPéter Szilágyi2017-10-022-3/+3
|\ \ | |/ |/| cmd/puppeth, params: enable Byzantium on all networks
| * cmd/puppeth, params: enable Byzantium on all networksPéter Szilágyi2017-10-022-3/+3
| |
* | Merge pull request #15042 from rjl493456442/receipt_rpcPéter Szilágyi2017-10-024-21/+41
|\ \ | |/ |/| internal/ethapi: add status code to receipt rpc return
| * core/types, internal: swap Receipt.Failed to StatusPéter Szilágyi2017-10-024-28/+37
| |
| * internal/ethapi: add status code to receipt rpc returnrjl4934564422017-10-021-3/+14
|/
* ethclient, mobile: add TransactionSender (#15127)Felix Lange2017-10-017-149/+204
| | | | | | | | | | | | | | | | | * 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.
* tests: add ethash difficulty tests (#15191)Martin Holst Swende2017-09-276-8/+234
|
* core/bloombits, eth/filters: handle null topics (#15195)Péter Szilágyi2017-09-277-48/+68
| | | | | | | | | | 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 #15208 from ayeowch/fix-typoPéter Szilágyi2017-09-271-1/+1
|\ | | | | cmd/geth: fix --password typo
| * cmd/geth: fix --password typoayeowch2017-09-271-1/+1
|/
* 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
| |
* | p2p: snappy encoding for devp2p (version bump to 5) (#15106)Péter Szilágyi2017-09-262-1/+45
| | | | | | | | | | | | * p2p: snappy encoding for devp2p (version bump to 5) * p2p: remove lazy decompression, enforce 16MB limit
* | internal/ethapi: remove code duplication around tx sending (#15158)slumber11222017-09-251-21/+7
| |
* | contracts/chequebook: fix two contract issues (#15086)Derek Chiang2017-09-251-2/+3
| | | | | | | | | | | | This patch fixes the following issues: * The contract executes send() when it does not have enough balance. * The contract always sends a total amount of zero.
* | p2p: add network simulation framework (#14982)Lewis Marshall2017-09-2534-69/+6522
| | | | | | | | | | | | This commit introduces a network simulation framework which can be used to run simulated networks of devp2p nodes. The intention is to use this for testing protocols, performing benchmarks and visualising emergent network behaviour.
* | core/vm: standard vm traces (#15035)cdetrio2017-09-222-4/+20
| |
* | swarm/storage: pyramid chunker re-write (#14382)Zahoor Mohamed2017-09-2212-235/+1010
| |
* | eth, internal/ethapi: fix spelling of 'Ethereum' (#15164)Ernesto del Toro2017-09-203-9/+9
| |
* | params: rename EIP150 gas table (#15167)gary rong2017-09-202-4/+2
| |
* | miner: make starting of CPU agent more reliable (#15148)Mark2017-09-191-11/+12
|/
* trie: fix typo (#15152)Paul Litvak2017-09-191-1/+1
|
* travis.yml: update go versions (#15154)Davor Kapsa2017-09-191-8/+8
|
* accounts/abi/backends: add AdjustTime (#15077)Dave Appleton2017-09-151-0/+17
|
* ethereum: fix typos in interfaces.go (#15149)Kyuntae Ethan Kim2017-09-151-2/+2
|
* containers/docker: bump docker images to 1.7 release branchPéter Szilágyi2017-09-142-2/+2
|
* VERSION, params: begin 1.7.1 release cyclePéter Szilágyi2017-09-142-5/+5
|
* params: release Geth 1.7.0 - Megarav1.7.0Péter Szilágyi2017-09-141-4/+4
|
* Merge pull request #15147 from karalabe/enable-byzantium-ropstenPéter Szilágyi2017-09-143-18/+26
|\ | | | | params: enable Byzantium on Ropsten/tests, fix failures
| * params: enable Byzantium on Ropsten/tests, fix failuresPéter Szilágyi2017-09-143-18/+26
|/
* params: Updated finalized gascosts for ECMUL/MODEXP (#15135)Martin Holst Swende2017-09-145-8/+14
| | | | | | | | | | | | * 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
* Merge pull request #15146 from karalabe/byzantium-rebrandPéter Szilágyi2017-09-1412-86/+86
|\ | | | | consensus, core, params: rebrand Metro to Byzantium
| * consensus, core, params: rebrand Metro to ByzantiumPéter Szilágyi2017-09-1412-86/+86
|/
* Merge pull request #15141 from karalabe/rinkeby-infura-bootnodePéter Szilágyi2017-09-131-0/+2
|\ | | | | params: add Infura bootnode to Rinkeby
| * params: add Infura bootnode to RinkebyPéter Szilágyi2017-09-131-0/+2
|/
* Merge pull request #15138 from karalabe/statesync-peer-dropsPéter Szilágyi2017-09-122-9/+42
|\ | | | | eth/downloader: track peer drops and deassign state sync tasks
| * eth/downloader: track peer drops and deassign state sync tasksPéter Szilágyi2017-09-122-9/+42
|/
* Merge pull request #15137 from karalabe/puppeth-keywordsPéter Szilágyi2017-09-121-1/+1
|\ | | | | cmd/puppeth: reserve "yournode" as a non-allowed ethstats user
| * cmd/puppeth: reserve "yournode" as a non-allowed ethstats userPéter Szilágyi2017-09-121-1/+1
|/
* Merge pull request #15129 from zsfelfoldi/cht1040Péter Szilágyi2017-09-121-1/+6
|\ | | | | light: new CHTs for mainnet and ropsten
| * light: new CHTs for mainnet and ropstenZsolt Felfoldi2017-09-121-1/+6
|/
* Merge pull request #14973 from rjl493456442/fix_downloaderPéter Szilágyi2017-09-111-0/+4
|\ | | | | eth/downloader: exit loop when there is no more available task
| * eth/downloader: exit loop when there is no more available taskrjl4934564422017-08-141-0/+4
| |
* | Merge pull request #15124 from fjl/debug-gcpercentPéter Szilágyi2017-09-112-0/+11
|\ \ | | | | | | internal/debug: add debug_setGCPercent
| * | internal/debug: add debug_setGCPercentFelix Lange2017-09-112-0/+11
|/ /
* | core: only fire one chain head per batch (#15123)Péter Szilágyi2017-09-113-67/+63
| | | | | | | | | | | | * core: only fire one chain head per batch * miner: announce chan events synchronously
* | internal/debug: add debug_freeOSMemory (#15122)Felix Lange2017-09-112-71/+68
| |
* | core, eth/downloader: commit block data using batches (#15115)Felix Lange2017-09-1018-280/+247
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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
* | swarm/api/http: add error pages (#14967)holisticode2017-09-096-20/+662
| |
* | accounts/abi/bind: pass non-empty directory when calling goimports (#15070)nkbai2017-09-082-2/+2
| |
* | common: improve documentation of Hash.SetBytes (#15062)Martin Holst Swende2017-09-081-2/+2
| | | | | | Fixes #15004
* | core/types, miner: avoid tx sender miscaching (#14773)Mark2017-09-083-13/+15
| |
* | contracts/chequebook: fix race in test (#15058)Benoit Verkindt2017-09-081-19/+19
| |
* | core/asm: use ContainsRune instead of IndexRune (#15098)Fiisio2017-09-081-3/+3
| |
* | swarm/fuse: use Equal instead of Compare (#15097)Fiisio2017-09-081-1/+1
| |
* | 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 #15103 from karalabe/disable-fastsync-postpivotPéter Szilágyi2017-09-082-11/+12
|\ \ | | | | | | eth: disable fast sync after pivot is committed
| * | eth: disable fast sync after pivot is committedPéter Szilágyi2017-09-062-11/+12
|/ /
* | Merge pull request #14631 from zsfelfoldi/bloombits2Péter Szilágyi2017-09-0626-575/+2054
|\ \ | | | | | | 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-063-46/+33
| | |
| * | core/bloombits: AddBloom index parameter and fixes variable namesZsolt Felfoldi2017-09-064-8/+11
| | |
| * | core, eth: clean up bloom filtering, add some testsPéter Szilágyi2017-09-0626-1199/+1584
| | |
| * | core, eth: add bloombit indexer, filter based on itZsolt Felfoldi2017-09-0623-483/+1590
| | |
* | | Merge pull request #15095 from karalabe/txpool-avoid-deep-reorgPéter Szilágyi2017-09-062-45/+55
|\ \ \ | |/ / |/| | core: use blocks and avoid deep reorgs in txpool
| * | core: use blocks and avoid deep reorgs in txpoolPéter Szilágyi2017-09-062-45/+55
| | |
* | | Merge pull request #15094 from karalabe/eth-auto-maxpeersPéter Szilágyi2017-09-068-33/+24
|\ \ \ | |/ / |/| | eth: use maxpeers from p2p layer instead of extra config
| * | eth: use maxpeers from p2p layer instead of extra configPéter Szilágyi2017-09-068-33/+24
|/ /
* | Merge pull request #15092 from karalabe/puppeth-main-docker-imagesNick Johnson2017-09-052-4/+5
|\ \ | | | | | | Dockerfile, cmd/puppeth: fix missing SSL certificates, use main image in puppeth
| * | cmd/puppeth: switch node containers to main onesPéter Szilágyi2017-09-051-4/+4
| | |
| * | Dockerfile: fix missing SSL certificatesPéter Szilágyi2017-09-051-0/+1
| | |
* | | vendor: pull in latest changes for goleveldb (#15090)Péter Szilágyi2017-09-058-35/+68
|/ /
* | Merge pull request #15085 from karalabe/txpool-immutablePéter Szilágyi2017-09-0510-307/+233
|\ \ | | | | | | core: make txpool operate on immutable state
| * | core: make txpool operate on immutable statePéter Szilágyi2017-09-0510-307/+233
| | |
* | | bmt: Binary Merkle Tree Hash (#14334)Viktor Trón2017-09-055-1/+1131
| | | | | | | | | | | | | | | | | | bmt is a new package that provides hashers for binary merkle tree hashes on size-limited chunks. the main motivation is that using BMT hash as the chunk hash of the swarm hash offers logsize inclusion proofs for arbitrary files on a 32-byte resolution completely viable to use in challenges on the blockchain.
* | | Merge pull request #15089 from karalabe/docker-multistagePéter Szilágyi2017-09-051-8/+10
|\ \ \ | | | | | | | | Dockerfile: multi-stage builds, Go 1.9
| * | | Dockerfile: multi-stage builds, Go 1.9Péter Szilágyi2017-09-051-8/+10
| | | |
* | | | cmd/evm: adds ability to run individual state test file (#14998)Martin Holst Swende2017-09-054-7/+128
|/ / / | | | | | | | | | | | | | | | | | | | | | * cmd/evm: adds ability to run individual state test file * cmd/evm: Fix statetest runner to be more json friendly * cmd/evm, tests: minor polishes, dump state on fail
* / / build: bump PPA builders to Go 1.9 (#15083)Péter Szilágyi2017-09-053-5/+5
|/ /
* | core/vm: Make MaxCodesize non-retroactive (#15072)Martin Holst Swende2017-09-042-3/+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
| |
* | p2p: change ping ticker to timer (#15071)Martin Holst Swende2017-09-041-1/+2
| | | | | | | | | | | | Using a Timer over Ticker seems to be a lot better, though I cannot fully account for why that it behaves so (since Ticker should be more bursty, but not necessarily more active over time, but that may depend on how long window it uses to decide on when to tick next)
* | Merge pull request #15047 from holiman/ecmul_benchmarksPéter Szilágyi2017-08-281-0/+76
|\ \ | | | | | | core/vm: more benchmarks
| * | 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
| | |
* | | Merge pull request #15054 from karalabe/go-1.9Péter Szilágyi2017-08-282-9/+21
|\ \ \ | |/ / |/| | travis, appveyor: bump Go to 1.9 stable
| * | travis, appveyor: bump Go to 1.9 stablePéter Szilágyi2017-08-282-9/+21
| | |
* | | cmd/geth: fix --nousb typo (#15040)Oli Bye2017-08-251-1/+1
| | |
* | | Merge pull request #15039 from karalabe/metropolis-contract-clashPéter Szilágyi2017-08-255-11/+17
|\ \ \ | |/ / |/| | core, tests: implement Metropolis EIP 684
| * | core, tests: implement Metropolis EIP 684Péter Szilágyi2017-08-255-11/+17
|/ /
* | Merge pull request #15028 from karalabe/metropolis-iceagePéter Szilágyi2017-08-258-128/+49
|\ \ | | | | | | consensus, core, tests: implement Metropolis EIP 649
| * | consensus, core, tests: implement Metropolis EIP 649Péter Szilágyi2017-08-248-128/+49
| | |
* | | Merge pull request #15033 from fjl/core-receipt-status-bytesPéter Szilágyi2017-08-252-83/+62
|\ \ \ | | | | | | | | core/types: encode receipt status in PostState field
| * | | 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-244-49/+28
| | |
* | | Merge pull request #15029 from karalabe/rlp-raw-decodePéter Szilágyi2017-08-242-11/+26
|\ \ \ | |/ / |/| | rlp: fix decoding long strings into RawValue types
| * | rlp: fix decoding long strings into RawValue typesPéter Szilágyi2017-08-242-11/+26
|/ /
* | Merge pull request #15014 from rjl493456442/metropolis-eip658Péter Szilágyi2017-08-2318-49/+86
|\ \ | | | | | | 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
| | |
| * | tests: pull in new test suite, enable most block testsPéter Szilágyi2017-08-222-3/+4
| | |
| * | core: implement Metropolis EIP 658, receipt status byterjl4934564422017-08-2216-46/+75
| | |
* | | cmd/evm, core/vm, internal/ethapi: Show error when exiting (#14985)Martin Holst Swende2017-08-234-9/+16
| | | | | | | | | | | | | | | | | | * cmd/evm, core/vm, internal/ethapi: Add 'err' to tracer interface CaptureEnd * cmd/evm: fix nullpointer when there is no error
* | | Merge pull request #15000 from fjl/node-flockPéter Szilágyi2017-08-2310-24/+551
|\ \ \ | | | | | | | | node: fix instance dir locking and improve error message
| * | | node: fix instance dir locking and improve error messageFelix Lange2017-08-1810-24/+551
| | | | | | | | | | | | | | | | | | | | | | | | The lock file was ineffective because opening leveldb storage in read-only mode doesn't really take the lock. Fix it by including a dedicated flock library (which is actually split out of goleveldb).
* | | | Merge pull request #15018 from Bo-Ye/masterPéter Szilágyi2017-08-231-1/+1
|\ \ \ \ | | | | | | | | | | metrics: change MetricsEnabledFlag to be const
| * | | | metrics: change MetricsEnabledFlag to be constBo Ye2017-08-221-1/+1
| | | | |
* | | | | Merge pull request #15022 from karalabe/enable-byzantium-state-testsPéter Szilágyi2017-08-221-2/+2
|\ \ \ \ \ | |_|_|/ / |/| | | | tests: enable Byzantium state tests for CI
| * | | | tests: enable Byzantium state tests for CIPéter Szilágyi2017-08-221-2/+2
|/ / / /
* / / / 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 #15017 from karalabe/usbhid-macos-thread-fixPéter Szilágyi2017-08-216-6/+25
|\ \ \ | | | | | | | | vendor: update USB HID lib (fix macOS crash)
| * | | vendor: update USB HID lib (fix macOS crash)Péter Szilágyi2017-08-216-6/+25
| | | |
* | | | Dockerfile: use alpine:3.6, clean up apk incovation (#15006)George Angel2017-08-211-9/+7
|/ / /
* | | Merge pull request #14983 from karalabe/metropolis-revertPéter Szilágyi2017-08-218-42/+73
|\ \ \ | | | | | | | | core/vm: implement REVERT metropolis opcode
| * | | tests: skip the bad tests from colliding account touchesPéter Szilágyi2017-08-171-0/+3
| | | |
| * | | 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
| | | |
* | | | whisper: Fix spelling and grammar in error (#15009)Noman2017-08-211-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | * whisper: Fix spelling and grammar in error * whisper: Fix grammar in comments
* | | | Merge pull request #15016 from gurrpi/patch-1Péter Szilágyi2017-08-211-1/+1
|\ \ \ \ | | | | | | | | | | README: add missing full stop
| * | | | Adding period at end of sentencegurrpi2017-08-211-1/+1
|/ / / / | | | | | | | | missing period at line 119
* | | | core, light: send chain events using event.Feed (#14865)Miya Chen2017-08-1837-373/+787
| | | |
* | | | Merge pull request #14996 from markya0616/send_not_announcePéter Szilágyi2017-08-181-0/+1
|\ \ \ \ | | | | | | | | | | eth: send but not announce block to peers if propagate is true
| * | | | eth: send but not announce block to peers if propagate is truemark.lin2017-08-181-0/+1
| | | | |
* | | | | Merge pull request #14999 from karalabe/puppeth-ethstats-blacklistPéter Szilágyi2017-08-183-7/+60
|\ \ \ \ \ | |_|_|/ / |/| | | | cmd/puppeth: support blacklisting malicious IPs on ethstats
| * | | | cmd/puppeth: support blacklisting malicious IPs on ethstatsPéter Szilágyi2017-08-183-7/+60
|/ / / /
* | | | Merge pull request #14993 from karalabe/bn256-precompile-fixesPéter Szilágyi2017-08-174-16/+81
|\ \ \ \ | |_|/ / |/| | | core/vm, crypto/bn256: fix bn256 use and pairing corner case
| * | | core/vm, crypto/bn256: fix bn256 use and pairing corner casePéter Szilágyi2017-08-174-16/+81
|/ / /
* | | Merge pull request #14981 from karalabe/metropolis-returndataPéter Szilágyi2017-08-169-194/+279
|\ \ \ | | | | | | | | core/vm: implement RETURNDATA metropolis opcodes
| * | | tests: pull in latest tests from upstreamPéter Szilágyi2017-08-161-0/+0
| | | |
| * | | 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
|/ / /
* | | Merge pull request #14978 from karalabe/metropolis-staticcallPéter Szilágyi2017-08-167-22/+168
|\ \ \ | | | | | | | | core/vm: implement metropolis static call opcode
| * | | 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
| | | |
* | | | cmd/evm: add --receiver, support code from stdin (#14873)Martin Holst Swende2017-08-152-27/+39
|/ / /
* | | Merge pull request #14959 from karalabe/metropolis-precompilesPéter Szilágyi2017-08-157-147/+710
|\ \ \ | | | | | | | | core/vm: metropolis precompiles
| * | | 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-145-204/+371
| | | | | | | | | | | | | | | | | | | | * 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
| | |/ | |/|
* | | Merge pull request #14951 from egonelbre/megacheck_swarmPéter Szilágyi2017-08-1518-108/+39
|\ \ \ | | | | | | | | swarm: fix megacheck warnings
| * | | swarm: fix megacheck warningsEgon Elbre2017-08-1418-108/+39
| |/ /
* | | Merge pull request #14885 from karalabe/trezor-boomPéter Szilágyi2017-08-1441-1018/+17523
|\ \ \ | |/ / |/| | accounts, console, internal: support trezor hardware wallet
| * | console: use keypad based pinpad (Trezor request)Péter Szilágyi2017-08-141-8/+3
| | |
| * | accounts: refactor API for generalized USB walletsPéter Szilágyi2017-08-0913-1965/+1450
| | |
| * | accounts, console, internal: support trezor hardware walletPéter Szilágyi2017-08-0938-38/+17063
| | |
* | | Merge pull request #14964 from fjl/tests-update-2Péter Szilágyi2017-08-116-84/+110
|\ \ \ | | | | | | | | tests: update tests, use blockchain test "network" field
| * | | tests: update tests, use blockchain test "network" fieldFelix Lange2017-08-116-84/+110
| |/ / | | | | | | | | | | | | | | | | | | | | | | | | Blockchain tests now include the "network" which determines the chain config to use. Remove config matching based on test name and share the name-to-config index with state tests. Byzantium/Constantinople tests are still skipped because most of them fail anyway.
* | | 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
* | | cmd/geth, cmd/swarm: sort commands and flags by name (#3462)Maximilian Meister2017-08-1113-56/+197
| | |
* | | ethdb: return copied value from MemDatabase.Get (#14958)gary rong2017-08-112-1/+16
|/ /
* | eth/downloader: fix race in downloadTesterPeer (#14942)Ivan Daniluk2017-08-091-7/+25
| | | | | | | | | | | | | | | | * eth/downloader: fix race in downloadTesterPeer Signed-off-by: Ivan Daniluk <ivan.daniluk@gmail.com> * eth/downloader: minor datarace fix cleanup
* | contracts: fix megacheck errors (#14916)Egon Elbre2017-08-092-11/+7
| | | | | | | | | | | | * contracts: fix megacheck errors * contracts: drop useless sleep, lets see what breaks
* | les: fix megacheck warnings (#14941)Felföldi Zsolt2017-08-098-96/+6
| | | | | | | | | | | | * les: fix megacheck warnings * les: fixed testGetProofs
* | whisper: fix megacheck warnings (#14925)Egon Elbre2017-08-089-20/+18
| | | | | | | | | | | | * whisper: fix megacheck warnings * whisper/whisperv5: regenerate json codec to fix unused override type
* | 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
| | |
* | | crypto: fix megacheck warnings (#14917)Egon Elbre2017-08-086-870/+19
| | | | | | | | | | | | | | | | | | * crypto: fix megacheck warnings * crypto/ecies: remove ASN.1 support
* | | Merge pull request #14940 from karalabe/txpool-racesPéter Szilágyi2017-08-082-30/+43
|\ \ \ | | | | | | | | core: fix txpool journal and test races
| * | | core: fix txpool journal and test racesPéter Szilágyi2017-08-082-30/+43
| | | |
* | | | ethdb: add basic and parallel sanity tests (#14938)Egon Elbre2017-08-081-9/+152
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * ethdb: add basic sanity test * ethdb: test MemDatabase * ethdb: add parallel tests
* | | | rpc: fix megacheck warningsEgon Elbre2017-08-085-62/+24
| | | |
* | | | Merge pull request #14933 from egonelbre/megacheck_ethPéter Szilágyi2017-08-087-40/+17
|\ \ \ \ | |/ / / |/| | | eth: fix megacheck warnings
| * | | eth: fix megacheck warningsEgon Elbre2017-08-087-40/+17
|/ / /
* | | light: fix megacheck warnings (#14920)Egon Elbre2017-08-073-19/+1
| | |
* | | internal: fix megacheck warnings (#14919)Egon Elbre2017-08-072-34/+3
| | |
* | | Merge pull request #14928 from fjl/build-goroot-explainPéter Szilágyi2017-08-072-6/+15
|\ \ \ | |/ / |/| | internal/build: add GoTool and document why it uses GOROOT
| * | internal/build: add GoTool and document why it uses GOROOTFelix Lange2017-08-072-6/+15
| | |
* | | Merge pull request #14927 from karalabe/blockchain-test-cleanupsPéter Szilágyi2017-08-078-23/+79
|\ \ \ | |/ / |/| | core: fix blockchain goroutine leaks in tests
| * | core: fix blockchain goroutine leaks in testsPéter Szilágyi2017-08-078-23/+79
|/ /
* | Merge pull request #14914 from egonelbre/megacheck_consensusPéter Szilágyi2017-08-071-2/+2
|\ \ | | | | | | consensus: fix megacheck warnings
| * | consensus: revert time.Until changeEgon Elbre2017-08-071-1/+1
| | |
| * | consensus: fix megacheck warningsEgon Elbre2017-08-072-3/+3
| | |
* | | cmd: fix megacheck warnings (#14912)Egon Elbre2017-08-074-19/+16
| | | | | | | | | | | | | | | | | | * cmd: fix megacheck warnings * cmd: revert time.Until changes, keep readFloat
* | | Merge pull request #14922 from egonelbre/megacheck_minerPéter Szilágyi2017-08-072-13/+5
|\ \ \ | | | | | | | | miner: fix megacheck warnings
| * | | miner: fix megacheck warningsEgon Elbre2017-08-072-13/+5
| |/ /
* | | Merge pull request #14923 from egonelbre/megacheck_nodePéter Szilágyi2017-08-072-4/+2
|\ \ \ | | | | | | | | node: fix megacheck warnings
| * | | node: fix megacheck warningsEgon Elbre2017-08-072-4/+2
| |/ /
* | | Merge pull request #14918 from egonelbre/megacheck_ethstatsPéter Szilágyi2017-08-071-3/+0
|\ \ \ | | | | | | | | ethstats: fix megacheck warnings
| * | | ethstats: fix megacheck warningsEgon Elbre2017-08-071-3/+0
| |/ /
* | | Merge pull request #14921 from egonelbre/megacheck_logPéter Szilágyi2017-08-071-1/+1
|\ \ \ | | | | | | | | log: fix megacheck warnings
| * | | log: fix megacheck warningsEgon Elbre2017-08-071-1/+1
| |/ /
* | | Merge pull request #14915 from egonelbre/megacheck_consolePéter Szilágyi2017-08-071-2/+0
|\ \ \ | | | | | | | | console: fix megacheck warnings
| * | | console: fix megacheck warningsEgon Elbre2017-08-071-2/+0
| |/ /
* | | Merge pull request #14913 from egonelbre/megacheck_commonPéter Szilágyi2017-08-072-9/+8
|\ \ \ | | | | | | | | common: fix megacheck warnings
| * | | common: fix megacheck warningsEgon Elbre2017-08-072-9/+8
| |/ /
* | | accounts: fix megacheck warnings (#14903)Egon Elbre2017-08-073-15/+6
| | | | | | | | | | | | | | | | | | * accounts: fix megacheck warnings * accounts: don't modify abi in favor of full cleanup
* | | Merge pull request #14911 from karalabe/txpool-flaky-testPéter Szilágyi2017-08-071-2/+2
|\ \ \ | |/ / |/| | core: bump timeout test to avoid flakyness on overloaded ci
| * | core: bump timeout test to avoid flakyness on overloaded ciPéter Szilágyi2017-08-071-2/+2
| | |
* | | Merge pull request #14910 from karalabe/drop-yakkety-supportPéter Szilágyi2017-08-071-1/+2
|\ \ \ | |/ / |/| | build: drop yakkety builds (launchpad end of life)
| * | build: drop yakkety builds (launchpad end of life)Péter Szilágyi2017-08-071-1/+2
|/ /
* | Merge pull request #14905 from armellini13/patch-1Péter Szilágyi2017-08-071-1/+1
|\ \ | | | | | | node: fix doc typo
| * | node: fix doc typoAgustin Armellini Fischer2017-08-061-1/+1
|/ /
* | Merge pull request #14897 from karalabe/cardinal-sinPéter Szilágyi2017-08-051-18/+14
|\ \ | | | | | | cmd/puppeth: remove wrapping loop in single reads
| * | cmd/puppeth: remove wrapping loop in single readsPéter Szilágyi2017-08-041-18/+14
| | |
* | | Merge pull request #14898 from detailyang/patch-1Péter Szilágyi2017-08-051-1/+1
|\ \ \ | |/ / |/| | Makefile: call shell function to get pwd
| * | Makefile: call shell function to get pwddetailyang2017-08-041-1/+1
|/ /
* | core/vm: fix typo in comment (#14894)evgk2017-08-041-1/+1
| |
* | Merge pull request #14889 from karalabe/ethash-cache-on-importPéter Szilágyi2017-08-043-27/+42
|\ \ | | | | | | cmd: add makecache cmd, use caches during import cmd
| * | cmd: add makecache cmd, use caches during import cmdPéter Szilágyi2017-08-043-27/+42
| | |
* | | Makefile, README: remove evm target, add puppeth to table (#14886)akiva2017-08-032-5/+1
|/ /
* | ethclient: add NetworkID method (#14791)Jim McDonald2017-08-011-0/+13
| | | | | | | | There is currently no simple way to obtain the network ID from a Client. This adds a NetworkID method that wraps the net_version JSON-RPC call.
* | swarm/api: make api.NewManifest synchronous (#14880)Lewis Marshall2017-07-313-3/+2
| | | | | | | | | | Previously, NewManifest was asynchronous so subsequent code which tried to use the returned manifest could error as the manifest was not yet persisted.
* | cmd/swarm: support exporting, importing chunk db (#14868)Lewis Marshall2017-07-314-41/+254
| |
* | core/asm: fix hex number lexing (#14861)njupt-moon2017-07-312-6/+41
| |
* | common: EIP55-compliant Address.Hex() (#14815)Felix Lange2017-07-313-7/+60
|\ \ | | | | | | | | | | | | This patch updates the Address type in common/types.go so that the Hex function provides an EIP55-compliant output string. The implementation is pretty lightweight; on my laptop the benchmark gives 1100ns/op, with the majority of that value due to the Keccak hash.
| * | cmd/geth: update tests for EIP55-compliant Address.Hex()Jim McDonald2017-07-161-6/+6
| | |
| * | common: tests for EIP55-compliant Address.Hex()Jim McDonald2017-07-161-0/+31
| | |
| * | common: Address.Hex() outputs EIP55-compliant stringJim McDonald2017-07-161-1/+23
| |/
* | light: update txpool signer to EIP155 (#14720)bas-vk2017-07-311-1/+1
| |
* | Makefile: fixed GOBIN absolute path issue (#14854)Lee Hyeon2017-07-311-1/+1
| |
* | core: avoid write existing block again (#14849)Mark2017-07-311-0/+5
| |
* | Merge pull request #14882 from am2rican5/rinkeby-genesisPéter Szilágyi2017-07-311-0/+9
|\ \ | | | | | | mobile: add RinkebyGenesis method
| * | mobile: add RinkebyGenesis methodam2rican52017-07-311-0/+9
|/ /
* | cmd, core, eth: journal local transactions to disk (#14784)Péter Szilágyi2017-07-287-84/+416
| | | | | | | | | | | | | | | | | | | | * 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
* | Merge pull request #14858 from xmikus01/patch-1Péter Szilágyi2017-07-261-1/+1
|\ \ | | | | | | trie: typo in comment
| * | trie: typo in commentPetr Mikusek2017-07-261-1/+1
| | |
* | | Merge pull request #14859 from cdetrio/evm-flag-gaspricePéter Szilágyi2017-07-261-1/+1
|\ \ \ | |/ / |/| | core/vm/runtime: fix evm command to use --gasprice flag value
| * | core/vm/runtime: fix evm command to use --gasprice flag valuecdetrio2017-07-261-1/+1
|/ /
* | swarm/api/http: redirect root manifest requests to include trailing slash ↵Lewis Marshall2017-07-252-0/+68
| | | | | | | | (#14806)
* | cmd/abigen: update generated go file header text (#14845)Leo Shklovskii2017-07-241-2/+2
| | | | | | | | As per https://golang.org/s/generatedcode. This will allow other tools such as golint to properly ignore the files.
* | core/vm: remove logging and add section labels to struct logs (#14782)Felix Lange2017-07-193-23/+16
| |
* | node: Rename TrusterNodes (#14827)Chase Wright2017-07-182-3/+3
| | | | | | | | | | | | * node: Rename TrusterNodes * node: Rename TrusterNodes
* | Merge pull request #14824 from karalabe/faucet-ignore-whitespacePéter Szilágyi2017-07-181-2/+3
|\ \ | | | | | | cmd/faucet: ignore whitespace in gist content
| * | cmd/faucet: ignore whitespace in gist contentPéter Szilágyi2017-07-181-2/+3
| | |
* | | Merge pull request #14823 from karalabe/puppeth-limited-loggingPéter Szilágyi2017-07-185-0/+25
|\ \ \ | |/ / |/| | cmd/puppeth: limit cotnainers to 10MB logs
| * | cmd/puppeth: limit cotnainers to 10MB logsPéter Szilágyi2017-07-185-0/+25
|/ /
* | mobile: don't retain transient []byte in CallMsg.SetData (#14804)Elias Naur2017-07-177-17/+21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * mobile: don't retain transient []byte in CallMsg.SetData Go mobile doesn't copy []byte parameters, for performance and to allow writes to the byte array be reflected in the native byte array. Unfortunately, that means []byte arguments are only valid during the call it is being passed into. CallMsg.SetData retains such a byte array. Copy it instead Fixes #14675 * mobile: copy all []byte arguments from gomobile To avoid subtle errors when accidentially retaining an otherwise transient byte slice coming from gomobile, copy all byte slices before use. * mobile: replace copySlice with common.CopyBytes
* | mobile: use EIP155 signer (#14817)ligi2017-07-171-5/+10
| | | | | | | | | | | | * mobile: Use EIP155Signer - closes #14762 * mobile: Correctly fall back on HomesteadSigner when no chainID is passed in
* | Merge pull request #14807 from Dexaran/masterPéter Szilágyi2017-07-171-1/+0
|\ \ | | | | | | README: get rid of the non-existent disasm command
| * | README: get rid of the on-existent disasm commandPéter Szilágyi2017-07-171-1/+0
| | |
| * | Update README.mdDexaran2017-07-141-1/+1
| | |