aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* swarm: deprecate --ens-addr CLI flag with a warning messageJanos Guljas2017-12-051-6/+10
|
* swarm/api: remove unneeded blank assignementJanos Guljas2017-12-051-1/+1
|
* swarm/api: initialize map with make to comply with the conventionJanos Guljas2017-12-051-1/+1
|
* swarm/api: remove unneeded assignment in MultiResolverOptionWithResolverJanos Guljas2017-12-051-3/+0
|
* swarm: check if "--ens-api ''" is specified in order to disable ENSJanos Guljas2017-12-051-0/+4
|
* swarm: add comment for parseFlagEnsAPI and fix a mistake in comment in codeJanos Guljas2017-12-051-1/+3
|
* swarm: multiple --ens-api flagsJanos Guljas2017-12-042-20/+32
| | | | | | | | | | | | | | | | Allow multiple --ens-api flags to be specified with value format [tld:][contract-addr@]url. Backward compatibility with only one --ens-api flag and --ens-addr flag is preserved and conflict cases are handled: - multiple --ens-api with --ens-addr returns an error - single --ens-api with contract address and --ens-addr with different contract address returns an error Previously implemented --ens-endpoint is removed. Its functionality is replaced with multiple --ens-api flags.
* swarm: add CLI --ens-endpoint flag (#14386)Janos Guljas2017-12-015-63/+459
| | | | | Implement a CLI flag that can be repeated to allow multiple ENS resolvers for different TLDs.
* eth/downloader: minor comments cleanup (#15495)jtakalai2017-11-161-5/+5
| | | | | it's -> its pet peeve, and I like to imagine I'm not alone.
* Merge pull request #15489 from karalabe/bloombits-shifted-startPéter Szilágyi2017-11-153-23/+41
|\ | | | | core/bloombits: handle non 8-bit boundary section matches
| * core/bloombits: handle non 8-bit boundary section matchesPéter Szilágyi2017-11-153-23/+41
|/
* 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
| | |
* | | cmd, dashboard: dashboard using React, Material-UI, Recharts (#15393)Kurkó Mihály2017-11-1521-8/+1512
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * cmd, dashboard: dashboard using React, Material-UI, Recharts * cmd, dashboard, metrics: initial proof of concept dashboard * dashboard: delete blobs * dashboard: gofmt -s -w . * dashboard: minor text and code polishes
* | | accounts, internal: fail if no suitable estimated gas found (#15477)gary rong2017-11-152-24/+52
| | | | | | | | | | | | | | | | | | * accounts, internal: return an error if no suitable estimated gas found * accounts, internal: minor polishes on the gas estimator
* | | Merge pull request #15479 from guoger/patch-1Péter Szilágyi2017-11-141-2/+2
|\ \ \ | |/ / |/| | core/vm: fix typos in jump_table.go
| * | core/vm: fix typos in jump_table.goJay Guo2017-11-141-2/+2
|/ /
* | Merge pull request #15467 from karalabe/docker-alltoolsPéter Szilágyi2017-11-132-1/+16
|\ \ | | | | | | Dockerfile: support alltools image beside plain Geth
| * | Dockerfile: support alltools image beside plain GethPéter Szilágyi2017-11-132-1/+16
|/ /
* | Merge pull request #15457 from robert-zaremba/testifyPéter Szilágyi2017-11-1320-0/+5099
|\ \ | | | | | | vendor: add github.com/stretchr/testify test dependency
| * | vendor: add github.com/stretchr/testify test dependencyRobert Zaremba2017-11-1120-0/+5099
| | | | | | | | | | | | | | | | | | github.com/stretchr/testify is a useful library for doing assertion in tests. It makes assertions in test more less verbose and more comfortable to read and use.
* | | Merge pull request #15464 from karalabe/docker-fixPéter Szilágyi2017-11-133-7/+8
|\ \ \ | | | | | | | | dockerignore, internal/build: forward correct git folder
| * | | dockerignore, internal/build: forward correct git folderPéter Szilágyi2017-11-133-7/+8
|/ / /
* | | puppeth: handle encrypted ssh keys (closes #15442) (#15443)Bo2017-11-13238-27559/+51116
| | | | | | | | | | | | | | | | | | * cmd/puppeth: handle encrypted ssh keys * cmd/puppeth: fix unconvert linter error
* | | .dockerignore, internal/build: Read git information directly from file (#15458)Arba Sasmoyo2017-11-133-5/+21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * .dockerignore, internal/build: Read git information directly from file This commit changes the way of retrieving git commit and branch for build environment from running git command to reading git files directly. This commit also adds required git files into Docker build context. fixes: #15346 * .dockerignore: workaround for including some files in .git
* | | build: enable unconvert linter (#15456)ferhat elmas2017-11-1131-53/+56
| | | | | | | | | | | | | | | | | | | | | | | | | | | * build: enable unconvert linter - fixes #15453 - update code base for failing cases * cmd/puppeth: replace syscall.Stdin with os.Stdin.Fd() for unconvert linter
* | | rpc: warn on WebSocket origin mismatch (#15451)Benoit Verkindt2017-11-101-1/+1
| | | | | | | | | Fixes #15373
* | | contracts/chequebook: update for latest Solidity (#15425)Alex Beregszaszi2017-11-101-10/+9
| | | | | | | | | | | | | | | | | | This changes behaviour: before if the owner/amount didn't match, it resulted in a successful execution without doing anything; now it results in a failed execution using the revert opcode (remainder gas is not consumed).
* | | Merge pull request #15450 from karalabe/lint-gofmt-misspellPéter Szilágyi2017-11-101-1/+1
|\ \ \ | |/ / |/| | build: enable gofmt and misspell linters
| * | build: enable gofmt and misspell lintersPéter Szilágyi2017-11-101-1/+1
|/ /
* | Merge pull request #15448 from karalabe/android-build-fixPéter Szilágyi2017-11-091-5/+5
|\ \ | | | | | | travis: bump Android NDK version and Android Go builder
| * | travis: bump Android NDK version and Android Go builderPéter Szilágyi2017-11-091-5/+5
|/ /
* | build: add Travis job to lint Go code #15372 (#15416)Dan Melton2017-11-092-32/+35
| | | | | | | | | | | | * build: [finishes #15372] implements generalized linter and travis job * .travis, build: minor polishes, disable deadcode
* | rpc: check content-type for HTTP requests (#15220)bas-vk2017-11-091-0/+11
| |
* | github: add remark about general questions (#15250)bas-vk2017-11-091-0/+6
| |
* | les: fix channel assignment data race (#15441)b00ris2017-11-091-3/+3
| |
* | les: fix misuse of WaitGroup (#15365)Evgeny Danilenko2017-11-091-3/+3
| |
* | all: gofmt -w -s (#15419)ferhat elmas2017-11-0819-79/+76
| |
* | mobile: fix FilterLogs (#15418)Eugene Valeyev2017-11-061-2/+2
| | | | | | | | All logs in the FilterLog return value would be the same object because the for loop captured the pointer to the iteration variable.
* | whisper/whisperv6: initial commit (clone of v5) (#15324)gluk2562017-11-0418-0/+5589
| |
* | 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
* | Merge pull request #15398 from ferhatelmas/core-swarm-typoPéter Szilágyi2017-10-304-5/+5
|\ \ | | | | | | core, swarm: typo fixes
| * | core, swarm: typo fixesferhat elmas2017-10-304-5/+5
|/ /
* | les, core/bloombits: post-LES/2 fixes (#15391)Felföldi Zsolt2017-10-272-2/+5
| | | | | | | | | | | | * les: fix topic ID * core/bloombits: fix interface conversion
* | Merge pull request #15389 from mcdee/rlpdumpPéter Szilágyi2017-10-271-1/+1
|\ \ | | | | | | cmd/rlpdump: allow hex input to have leading '0x'
| * | cmd/rlpdump: allow hex input to have leading '0x'Jim McDonald2017-10-271-1/+1
|/ /
* | core, eth, les: fix messy code (#15367)Péter Szilágyi2017-10-2511-203/+175
| | | | | | | | | | | | | | | | * 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-2434-481/+2049
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-2416-57/+114
| | | | | | | | | | | | | | | | * 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
* | README: add docker RPC access docs (#15362)Anton Markelov2017-10-241-0/+2
| |
* | Merge pull request #15343 from karalabe/txpool-replacement-propagationPéter Szilágyi2017-10-205-7/+209
|\ \ | | | | | | core: fire tx event on replace, expand tests
| * | core: avoid warning when loading the transaction journalPéter Szilágyi2017-10-201-0/+13
| | |
| * | event: fix datarace between Subscribe and SendPéter Szilágyi2017-10-201-3/+5
| | |
| * | core: fire tx event on replace, expand testsPéter Szilágyi2017-10-203-4/+191
|/ /
* | Merge pull request #15344 from karalabe/ubuntu=artfulPéter Szilágyi2017-10-201-1/+1
|\ \ | | | | | | build: start shipping Ubuntu Artful Aardvark binaries
| * | build: start shipping Ubuntu Artful Aardvark binariesPéter Szilágyi2017-10-201-1/+1
| | |
* | | cmd/evm: print stateroot in evm utility (#15341)Martin Holst Swende2017-10-201-1/+7
|/ /
* | whisper/shhclient: fix Version return type (#15306)baizhenxuan2017-10-181-2/+2
| |
* | Merge pull request #15313 from karalabe/puppeth-nongithub-faucetPéter Szilágyi2017-10-183-101/+424
|\ \ | | | | | | cmd/faucet: support twitter, google+ and facebook auth too
| * | cmd/faucet: dynamic funding progress and visual feedbackPéter Szilágyi2017-10-173-7/+83
| | |
| * | cmd/faucet: proper error handling all overPéter Szilágyi2017-10-173-36/+135
| | |
| * | cmd/faucet: support twitter, google+ and facebook auth tooPéter Szilágyi2017-10-163-67/+215
| | |
* | | README: fix typo (#15312)Sumit Sarin2017-10-171-1/+1
| | |
* | | accounts/abi: improve type handling, add event support (#14743)RJ Catalano2017-10-1715-847/+903
|/ /
* | VERSION, params: start 1.7.3 release cyclePéter Szilágyi2017-10-142-5/+5
| |
* | params: bump to 1.7.2 stablePéter Szilágyi2017-10-141-4/+4
| |
* | Merge pull request #15298 from karalabe/stack-then-readonlyPéter Szilágyi2017-10-141-13/+10
|\ \ | | | | | | core/vm: check opcode stack before readonly enforcement
| * | core/vm: check opcode stack before readonly enforcementPéter Szilágyi2017-10-141-13/+10
|/ /
* | Merge pull request #15288 from karalabe/trie-hash-benchmarkPéter Szilágyi2017-10-131-11/+33
|\ \ | | | | | | trie: make hasher benchmark meaningful post-caches
| * | trie: make hasher benchmark meaningful post-cachesPéter Szilágyi2017-10-131-11/+33
|/ /
* | Merge pull request #15275 from mcdee/masterPéter Szilágyi2017-10-131-6/+6
|\ \ | | | | | | core/types: fix test for TransactionsByPriceAndNonce
| * | core/types: fix test for TransactionsByPriceAndNonceJim McDonald2017-10-111-6/+6
| | |
* | | Merge pull request #15287 from ernestodeltoro/typo_thoreticalPéter Szilágyi2017-10-131-3/+3
|\ \ \ | | | | | | | | ethash: fix typo
| * | | ethash: fix typoErnesto del Toro2017-10-131-3/+3
|/ / /
* | | Merge pull request #15269 from karalabe/puppeth-dumb-ip-filteringPéter Szilágyi2017-10-122-11/+33
|\ \ \ | | | | | | | | cmd/puppeth: use dumb textual IP filtering
| * | | cmd/puppeth: use dumb textual IP filteringPéter Szilágyi2017-10-102-11/+33
| | | |
* | | | Merge pull request #15280 from terasum/masterPéter Szilágyi2017-10-121-1/+1
|\ \ \ \ | | | | | | | | | | miner: fix typo
| * | | | miner: fix typoterasum2017-10-121-1/+1
|/ / / /
* | | | Merge pull request #14785 from Arachnid/downloaddbPéter Szilágyi2017-10-114-8/+243
|\ \ \ \ | |_|/ / |/| | | cmd: Added support for downloading to another DB instance
| * | | cmd, eth: separate out FakePeer for future reusePéter Szilágyi2017-10-103-152/+192
| | | |
| * | | cmd: Added support for copying data to another DB instanceNick Johnson2017-10-102-1/+196
| |/ /
* / / event: fix typo (#15270)Jia Chenhui2017-10-101-1/+1
|/ /
* | params: explain EIP150Hash (#15237)Péter Szilágyi2017-10-101-2/+3
| |
* | consensus/clique: add fork hash enforcement (#15236)Péter Szilágyi2017-10-102-1/+6
| |
* | eth/fetcher: check the origin of filter tasks (#14975)Miya Chen2017-10-103-45/+56
| | | | | | | | | | | | * eth/fetcher: check the origin of filter task * eth/fetcher: add some details to fetcher logs
* | swarm/fuse: return amount of data written if the file exists (#15261)Darrel Herbst2017-10-091-1/+1
| | | | | | | | | | | | | | If the file already existed, the WriteResponse.Size was being set as the length of the entire file, not just the amount that was written to the existing file. Fixes #15216
* | accounts/keystore: scan key directory without locks held (#15171)Martin Holst Swende2017-10-094-102/+297
| | | | | | | | | | | | The accountCache contains a file cache, and remembers from scan to scan what files were present earlier. Thus, whenever there's a change, the scan phase only bothers processing new and removed files.
* | whisper/whisperv5: set filter SymKeyHash on creation (#15165)Guillaume Ballet2017-10-065-17/+331
| |
* | internal/web3ext: make whisper v5 methods work (#15111)Guillaume Ballet2017-10-063-2977/+351
| |
* | 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 stableFelix 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 - MegaraPé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
| | | | |