aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* 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
| | |
| * | Update README.mdDexaran2017-07-141-1/+1
| | |
| * | Update README.mdDexaran2017-07-141-1/+1
| | |
| * | Update README.mdDexaran2017-07-141-1/+1
| | |
| * | Update README.mdDexaran2017-07-141-1/+1
| | |
* | | Merge pull request #14733 from karalabe/metro-eip100Péter Szilágyi2017-07-172-12/+70
|\ \ \ | | | | | | | | consensus/ethash, core: implement Metropolis EIP 100
| * | | consensus, core: EIP 100 polishes, fix chain maker diffPéter Szilágyi2017-06-302-29/+39
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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).
| * | | consensus/ethash: implement Metropolis EIP 100Jeffrey Wilcke2017-06-301-0/+48
| | | |
* | | | core, ethclient: implement Metropolis EIP 98 (#14750)Péter Szilágyi2017-07-174-20/+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-1512-628/+274
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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
* | | VERSION, params: begin 1.7.0 cycle (cannot downgrade)Péter Szilágyi2017-07-142-3/+3
| |/ |/|
* | params, VERSION: v1.6.8 unstableFelix Lange2017-07-112-5/+5
| |
* | params: v1.6.7 stablev1.6.7Felix Lange2017-07-111-4/+4
| |
* | Merge pull request #14792 from karalabe/slim-docker-imagePéter Szilágyi2017-07-111-1/+4
|\ \ | | | | | | dockerignore: ignore all git metadata and all tests
| * | dockerignore: ignore all git metadata and all testsPéter Szilágyi2017-07-111-1/+4
|/ /
* | tests: update tests and implement general state tests (#14734)Felix Lange2017-07-11903-2505430/+1596
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | vendor: update go-stack to fix a sigpanic panic (#14790)Péter Szilágyi2017-07-113-42/+23
| |
* | internal/web3ext: fix debug.traceBlockFromFile wrapper (#14774)Daniel Sloof2017-07-101-2/+2
| | | | | | | | | | As stated in the documentation, this method should be called traceBlockFromFile and not traceBlockByFile. Previously this would result in a 'The method ... does not exist/is not available' error.
* | Merge pull request #14737 from holiman/txpool_localaccountsPéter Szilágyi2017-07-1013-285/+390
|\ \ | | | | | | 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-054-2/+13
| | |
| * | eth: drop leftover from previous nonce protection schemePéter Szilágyi2017-07-052-23/+0
| | |
| * | core, eth, les: polish txpool API around local/remote txsPéter Szilágyi2017-07-059-149/+153
| | |
| * | 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
| |/
* | README: add missing full stop (#14766)Emin Mahrt2017-07-071-1/+1
| |
* | Merge pull request #14723 from Arachnid/downloadrefactorNick Johnson2017-07-068-446/+458
|\ \ | | | | | | Refactor downloader to use interfaces instead of callbacks
| * | eth/downloader: Doc fixesNick Johnson2017-07-052-3/+7
| | |
| * | eth/downloader, les, light: Changes in response to reviewNick Johnson2017-07-035-51/+52
| | |
| * | eth, les: Refactor downloader peer to use structsNick Johnson2017-06-297-300/+319
| | |
| * | eth, les, light: Refactor downloader to use blockchain interfaceNick Johnson2017-06-286-146/+134
| | |
* | | core: fix typo in error message (#14763)ligi2017-07-061-1/+1
| | |
* | | Merge pull request #14749 from karalabe/disable-metro-allprotocolsPéter Szilágyi2017-07-0410-107/+57
|\ \ \ | |_|/ |/| | params: remove redundant consts, disable metro on AllProtocolChanges
| * | params: remove redundant consts, disable metro on AllProtocolChangesPéter Szilágyi2017-07-0410-107/+57
|/ /
* | Merge pull request #14732 from ethersphere/swarm-remove-ethapiPéter Szilágyi2017-06-303-16/+15
|\ \ | | | | | | cmd/swarm: Exit if --ethapi is set