aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* eth: enable preimage recording when tracing (#15787)cdetrio2018-01-021-1/+4
|
* cmd/geth: remove trailing newline in license command (#15782)Péter Szilágyi2018-01-021-2/+1
|
* vendor: update github.com/rjeczalik/notify for go1.10 (#15785)Péter Szilágyi2018-01-0220-158/+229
|
* build: set CC through a command-line flag (#15784)Péter Szilágyi2018-01-022-9/+13
| | | This avoids setting CC for the go run invocation, which fails on go1.10.
* eth/downloader: avoid hidden reference to finished statesync request (#15545)Péter Szilágyi2018-01-021-1/+4
|
* build: fix version comparison for go1.10 and beyond (#15781)Péter Szilágyi2018-01-021-6/+15
|
* containers/docker: change docker images to go1.9 (#15789)Deepak Sharma2018-01-024-6/+10
|
* whisper/whisper2: fix Go 1.10 vet issues on type mismatches (#15783)Péter Szilágyi2018-01-021-2/+2
|
* crypto: ensure private keys are < N (#15745)Alex Wu2018-01-021-0/+10
| | | Fixes #15744
* consensus/ethash: fix overdue link (#15786)sunxiaojun20142017-12-311-1/+1
|
* accounts/abi: handle named ouputs prefixed with underscores (#15766)Péter Szilágyi2017-12-304-4/+153
| | | | | | | | * accounts/abi: handle named ouputs prefixed with underscores * accounts/abi: handle collinding outputs for struct unpacks * accounts: handle purely underscore output names
* p2p/enr: initial implementation (#15585)Anton Evangelatov2017-12-303-0/+768
| | | | Initial implementation of ENR according to ethereum/EIPs#778
* eth, les, light: expose chain config in les node info too (#15732)Péter Szilágyi2017-12-284-11/+25
|
* p2p/discv5: fix reg lookup, polish code, use logger (#15737)Péter Szilágyi2017-12-284-142/+139
|
* rpc: allow OPTIONS requests without Content-Type (#15759)Sorin Neacsu2017-12-281-1/+1
| | | Fixes #15740
* Merge pull request #15731 from holiman/revamp_abiMartin Holst Swende2017-12-2311-379/+666
|\ | | | | accounts/abi refactor
| * accounts/abi: merging of https://github.com/ethereum/go-ethereum/pull/15452 ↵Martin Holst Swende2017-12-235-47/+128
| | | | | | | | + lookup by id
| * acounts/abi: refactor abi, generalize abi pack/unpack to ArgumentsMartin Holst Swende2017-12-237-251/+260
| |
| * accounts/abi: add unpack into array testRobert Zaremba2017-12-213-2/+17
| |
| * accounts/abi: add Method Unpack testsRobert Zaremba2017-12-211-36/+59
| | | | | | | | | | + Reworked Method Unpack tests into more readable components + Added Method Unpack into slice test
| * accounts/abi: satisfy most of the linter warningsRobert Zaremba2017-12-217-95/+87
| | | | | | | | | | | | | | + adding missing comments + small cleanups which won't significantly change function body. + unify Method receiver name
| * accounts/abi: fix event unpack into sliceRobert Zaremba2017-12-215-23/+36
| | | | | | | | | | | | | | | | | | | | | | | | | | | | + The event slice unpacker doesn't correctly extract element from the slice. The indexed arguments are not ignored as they should be (the data offset should not include the indexed arguments). + The `Elem()` call in the slice unpack doesn't work. The Slice related tests fails because of that. + the check in the loop are suboptimal and have been extracted out of the loop. + extracted common code from event and method tupleUnpack
| * accounts/abi: fix event tupleUnpackRobert Zaremba2017-12-211-7/+7
| | | | | | | | | | Event.tupleUnpack doesn't handle correctly Indexed arguments, hence it can't unpack an event with indexed arguments.
| * accounts/abi: adding event unpacker testsRobert Zaremba2017-12-211-0/+154
| |
* | accounts, consensus, core, eth: make chain maker consensus agnostic (#15497)gary rong2017-12-2223-99/+145
| | | | | | | | | | | | | | | | | | | | * accounts, consensus, core, eth: make chain maker consensus agnostic * consensus, core: move CalcDifficulty to Engine interface * consensus: add docs for calcDifficulty function * consensus, core: minor comment fixups
* | dashboard: integrate Flow, sketch message API (#15713)Kurkó Mihály2017-12-2123-620/+49960
| | | | | | | | | | | | | | | | * dashboard: minor design change * dashboard: Flow integration, message API * dashboard: minor polishes, exclude misspell linter
* | Merge pull request #15730 from karalabe/puppeth-expose-faucet-httpPéter Szilágyi2017-12-211-0/+2
|\ \ | | | | | | cmd/puppeth: fix faucet 502 error due to non-exposed HTTP port
| * | cmd/puppeth: fix faucet 502 error due to non-exposed HTTP portPéter Szilágyi2017-12-211-0/+2
|/ /
* / whisper/whisperv6: PoW requirement (#15701)gluk2562017-12-215-54/+185
|/ | | | New Whisper-level message introduced (PoW requirement), corresponding logic added, plus some tests.
* Merge pull request #15285 from yondonfu/abi-offset-fixed-arraysMartin Holst Swende2017-12-212-1/+194
|\ | | | | accounts/abi: include fixed array size in offset for dynamic type
| * accounts/abi: update array type check in method.go. Add more packing testsYondon Fu2017-12-192-6/+138
| |
| * Merge branch 'master' into abi-offset-fixed-arraysYondon Fu2017-12-19544-31113/+72797
| |\
| * | accounts/abi: include fixed array size in offset for dynamic typeYondon Fu2017-10-122-1/+62
| | |
* | | Merge pull request #15729 from karalabe/faucet-fix-twitterPéter Szilágyi2017-12-211-6/+1
|\ \ \ | | | | | | | | cmd/faucet: fix removal of Twitter zlib compression
| * | | cmd/faucet: fix removal of Twitter zlib compressionPéter Szilágyi2017-12-211-6/+1
| | | |
* | | | cmd/utils: add check on fd hard limit, skip test if below target (#15684)lash2017-12-214-1/+37
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * cmd/utils: Add check on hard limit, skip test if below target * cmd/utils: Cross platform compatible fd limit test * cmd/utils: Remove syscall.Rlimit in test * cmd/utils: comment fd utility method
* | | | swarm/api: url scheme bzz-hash to get hashes of swarm content (#15238) (#15715)Janoš Guljaš2017-12-214-16/+80
|/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * swarm/api: url scheme bzz-hash to get hashes of swarm content (#15238) Update URI to support bzz-hash scheme and handle such HTTP requests by responding with hash of the content as a text/plain response. * swarm/api: return hash of the content for bzz-hash:// requests * swarm/api: revert "return hash of the content for bzz-hash:// requests" Return hashes of the content that would be returned by bzz-raw request. * swarm/api/http: handle error in TestBzzGetPath * swarm/api: remove extra blank line in comment
* | | cmd, core, eth/tracers: support fancier js tracing (#15516)Péter Szilágyi2017-12-2164-685/+109115
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * cmd, core, eth/tracers: support fancier js tracing * eth, internal/web3ext: rework trace API, concurrency, chain tracing * eth/tracers: add three more JavaScript tracers * eth/tracers, vendor: swap ottovm to duktape for tracing * core, eth, internal: finalize call tracer and needed extras * eth, tests: prestate tracer, call test suite, rewinding * vendor: fix windows builds for tracer js engine * vendor: temporary duktape fix * eth/tracers: fix up 4byte and evmdis tracer * vendor: pull in latest duktape with my upstream fixes * eth: fix some review comments * eth: rename rewind to reexec to make it more obvious * core/vm: terminate tracing using defers
* | | Merge pull request #15727 from karalabe/rinkeby-akasha-bootnodePéter Szilágyi2017-12-211-1/+3
|\ \ \ | | | | | | | | params: add Rinkeby bootnode from Akasha
| * | | params: add Rinkeby bootnode from AkashaPéter Szilágyi2017-12-211-1/+3
|/ / /
* | | cmd/ethkey: new command line tool for keys (#15438)Steven Roose2017-12-216-0/+533
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ethkey is a new tool that serves as a command line interface to the basic key management functionalities of geth. It currently supports: - generating keyfiles - inspecting keyfiles (print public and private key) - signing messages - verifying signed messages
* | | accounts/abi: remove check for len%32==0 when unpacking events (#15670)Bob Glickstein2017-12-213-13/+47
| | | | | | | | | | | | | | | | | | This change inlines the logic of bytesAreProper at its sole callsite, ABI.Unpack, and applies the multiple-of-32 test only in the case of unpacking methods. Event data is not required to be a multiple of 32 bytes long.
* | | whisper/whisperv6: message bundling (#15666)gluk2562017-12-212-20/+33
| | | | | | | | | | | | | | | Changed the communication protocol for ordinary message, according to EIP 627. Messages will be send in bundles, i.e. array of messages will be sent instead of single message.
* | | appveyor: bump Go to 1.9.2 (#15726)Péter Szilágyi2017-12-211-2/+2
| | |
* | | core: silence txpool reorg warning (annoying on import) (#15725)Péter Szilágyi2017-12-211-1/+1
| | |
* | | core: fix typos (#15720)Kurkó Mihály2017-12-212-14/+14
| | |
* | | accounts/abi: update array length after parsing array (#15618)Dmitry Shulyak2017-12-204-26/+78
| | | | | | | | | Fixes #15617
* | | crypto: ensure that VerifySignature rejects malleable signatures (#15708)Felix Lange2017-12-202-0/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * crypto: ensure that VerifySignature rejects malleable signatures It already rejected them when using libsecp256k1, make sure the nocgo version does the same thing. * crypto: simplify check * crypto: fix build
* | | core: fix panic when stat-ing a tx from a queue-only account (#15714)Péter Szilágyi2017-12-202-1/+58
| | |
* | | console: create datadir at startup (#15700)Armin Braun2017-12-191-1/+4
| | | | | | | | | | | | | | | Fixes #15672 by creating the datadir when creating the console. This prevents failing to save the history if no datadir exists.
* | | swarm: bzz-list, bzz-raw and bzz-immutable schemes (#15667)Janoš Guljaš2017-12-1910-48/+202
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * swarm/api: url scheme bzz-list for getting list of files from manifest Replace query parameter list=true for listing all files contained in a swarm manifest with a new URL scheme bzz-list. * swarm: replaace bzzr and bzzi schemes with bzz-raw and bzz-immutable New URI Shemes are added and old ones are deprecated, but not removed. Old Schemes bzzr and bzzi are functional for backward compatibility. * swarm/api: completely remove bzzr and bzzi schemes Remove old schemes in favour of bzz-raw and bzz-immutable. * swarm/api: revert "completely remove bzzr and bzzi schemes" Keep bzzr and bzzi schemes for backward compatibility. At least until 0.3 swarm release.
* | | Merge pull request #15693 from zsfelfoldi/wait_nopeersPéter Szilágyi2017-12-192-2/+2
|\ \ \ | |_|/ |/| | contracts/release: do not print error log if les backend has no peers
| * | contracts/release: do not print error log if les backend has no peersZsolt Felfoldi2017-12-182-2/+2
| | |
* | | Merge pull request #15674 from chfast/vm-no-snapshot-paramPéter Szilágyi2017-12-183-11/+11
|\ \ \ | | | | | | | | core/vm: Remove snapshot param from Interpreter.Run()
| * | | core/vm: Remove snapshot param from Interpreter.Run()Paweł Bylica2017-12-153-11/+11
| | | |
* | | | internal/ethapi: support "input" in transaction args (#15640)Felix Lange2017-12-181-3/+16
| | | | | | | | | | | | | | | | | | | | The tx data field is called "input" in returned objects and "data" in argument objects. Make it so "input" can be used, but bail if both are set.
* | | | Merge pull request #15698 from original-brownbear/15668Péter Szilágyi2017-12-181-0/+3
|\ \ \ \ | | | | | | | | | | accounts/keystore: Improved error message
| * | | | accounts/keystore: Improved error messageArmin2017-12-181-0/+3
|/ / / / | | | | | | | | | | | | * Fix for #15668
* | | | Merge pull request #15696 from ferhatelmas/p2p-goroutine-leakPéter Szilágyi2017-12-181-3/+3
|\ \ \ \ | | | | | | | | | | p2p/discover: fix leaked goroutine in data expiration
| * | | | p2p/discover: fix leaked goroutine in data expirationferhat elmas2017-12-181-3/+3
| | |/ / | |/| |
* | | | Merge pull request #15686 from sorin/sorin-geth-attach-rinkebyPéter Szilágyi2017-12-181-2/+6
|\ \ \ \ | |/ / / |/| | | cmd/geth: add support for geth --rinkeby attach
| * | | cmd/geth: add support for geth --rinkeby attachSorin Neacsu2017-12-161-2/+6
|/ / /
* | | crypto, crypto/secp256k1: add CompressPubkey (#15626)Felix Lange2017-12-156-52/+118
| | | | | | | | | | | | This adds the inverse to DecompressPubkey and improves a few minor details in crypto/secp256k1.
* | | Merge pull request #15679 from shapeshed/patch-1Péter Szilágyi2017-12-151-1/+1
|\ \ \ | | | | | | | | crypto: Fix comment typo
| * | | crypto: Fix comment typoGeorge Ornbo2017-12-151-1/+1
|/ / /
* / / internal/ethapi: don't crash for missing receiptsrhaps1072017-12-141-1/+4
|/ / | | | | | | Fixes #15408 Fixes #14432
* | Merge pull request #15629 from holiman/relax_futuretimePéter Szilágyi2017-12-141-4/+5
|\ \ | | | | | | consensus/ethash: relax requirements when determining future-blocks
| * | consensus/ethash: relax requirements when determining future-blocksMartin Holst Swende2017-12-081-4/+5
| | |
* | | p2p/simulations: fix gosimple nit (#15661)Felix Lange2017-12-131-1/+1
| | |
* | | rpc: use method constants instead of literal strings (#15652)Vitaly V2017-12-132-9/+9
| | |
* | | p2p/simulations: add mocker functionality (#15207)holisticode2017-12-135-2/+480
| | | | | | | | | | | | This commit adds mocker functionality to p2p/simulations. A mocker allows to starting/stopping of nodes via the HTTP API.
* | | all: use gometalinter.v2, fix new gosimple issues (#15650)Zach2017-12-1324-67/+57
| | |
* | | internal/ethapi: fix typo in comment (#15659)yoza2017-12-131-1/+1
| | |
* | | cmd/swarm: add config file (#15548)holisticode2017-12-1213-288/+1011
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This commit adds a TOML configuration option to swarm. It reuses the TOML configuration structure used in geth with swarm customized items. The commit: * Adds a "dumpconfig" command to the swarm executable which allows printing the (default) configuration to stdout, which then can be redirected to a file in order to customize it. * Adds a "--config <file>" option to the swarm executable which will allow to load a configuration file in TOML format from the specified location in order to initialize the Swarm node The override priorities are like follows: environment variables override command line arguments override config file override default config.
* | | crypto: fix error check in toECDSA (#15632)Felix Lange2017-12-122-0/+12
| | | | | | | | | | | | | | | | | | | | | | | | With this change, key, err := crypto.HexToECDSA("000000...") returns nil key and an error instead of a non-nil key with nil X and Y inside. Issue found by @guidovranken.
* | | rlp: fix string size check in readKind (#15625)Felix Lange2017-12-122-1/+2
| | | | | | | | | Issue found by @guidovranken
* | | whisper: sym encryption message padding includes salt (#15631)Guillaume Ballet2017-12-112-0/+60
| | | | | | | | | | | | | | | Now that the AES salt has been moved to the payload, padding must be adjusted to hide it, lest an attacker guesses that the packet uses symmetric encryption.
* | | eth: make tracing API errors more user friendly (#15589)Michael Ruminer2017-12-101-2/+12
| | |
* | | mobile: Add GetSign to BigInt (#15558)Alejandro Isaza2017-12-101-0/+10
| | |
* | | cmd/utils, eth: init etherbase from within eth (#15528)Péter Szilágyi2017-12-102-11/+15
| | |
* | | whisper/whisperv6: remove Version from the envelope (#15621)Guillaume Ballet2017-12-085-65/+28
| | |
* | | console: add admin.clearHistory command (#15614)Sorin Neacsu2017-12-083-0/+20
| | |
* | | whisper/whisperv6: remove aesnonce (#15578)Guillaume Ballet2017-12-088-73/+168
|/ / | | | | | | As per EIP-627, the salt for symmetric encryption is now part of the payload. This commit does that.
* | travis.yml: avoid submodules on builders without tests (#15620)Felix Lange2017-12-071-16/+12
| | | | | | | | | | Also remove installation steps for fuse and golang.org/x/tools/cmd/cover because they're not required anymore.
* | core/types: fix typo in comment (#15619)Airead2017-12-071-1/+1
| |
* | eth: return rlp-decoded values from debug_storageRangeAt (#15476)Benoit Verkindt2017-12-062-5/+12
| | | | | | Fixes #15196
* | crypto: add DecompressPubkey, VerifySignature (#15615)Felix Lange2017-12-0614-230/+327
| | | | | | | | | | | | | | We need those operations for p2p/enr. Also upgrade github.com/btcsuite/btcd/btcec to the latest version and improve BenchmarkSha3. The benchmark printed extra output that confused tools like benchstat and ignored N.
* | cmd/geth: add support for geth attach --testnet (#15597)Sorin Neacsu2017-12-051-2/+10
| |
* | common: improve IsHexAddress and add tests (#15551)Steven Roose2017-12-054-28/+65
| | | | | | | | | | Also unexport isHex, hasHexPrefix because IsHexAddress is the only caller. Fixes #15550
* | p2p, swarm/network/kademlia: use IsZero to check for zero time (#15603)ferhat elmas2017-12-042-2/+2
| |
* | build: enable gosimple linter (#15593)ferhat elmas2017-12-011-1/+1
| |
* | crypto/bn256: fix generator on G1 (#15591)Matthew Di Ferrante2017-12-011-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | Generator in the current lib uses -2 as the y point when doing ScalarBaseMult, this makes it so that points/signatures generated from libs like py_ecc don't match/validate as pretty much all other libs (including libsnark) have (1, 2) as the standard generator. This does not affect consensus as the generator is never used in the VM, points are always explicitly defined and there is not ScalarBaseMult op - it only makes it so that doing "import github.com/ethereum/go-ethereum/crypto/bn256" doesn't generate bad points in userland tools.
* | eth/downloader: update tests for reliability (#15337)Rob2017-12-011-12/+49
| | | | | | | | | | Updated use of Parallel and added some subtests to help isolate them. Increased timeout in RequestHeadersByNumber so it doesn't time out and causes other tests to break.
* | whisper: rename EnvNonce to Nonce in the v6 Envelope (#15579)Guillaume Ballet2017-12-011-4/+4
| |
* | p2p/simulations: various stability fixes (#15198)Lewis Marshall2017-12-0111-69/+171
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | p2p/simulations: introduce dialBan - Refactor simulations/network connection getters to support avoiding simultaneous dials between two peers If two peers dial simultaneously, the connection will be dropped to help avoid that, we essentially lock the connection object with a timestamp which serves as a ban on dialing for a period of time (dialBanTimeout). - The connection getter InitConn can be wrapped and passed to the nodes via adapters.NodeConfig#Reachable field and then used by the respective services when they initiate connections. This massively stablise the emerging connectivity when running with hundreds of nodes bootstrapping a network. p2p: add Inbound public method to p2p.Peer p2p/simulations: Add server id to logs to support debugging in-memory network simulations when multiple peers are logging. p2p: SetupConn now returns error. The dialer checks the error and only calls resolve if the actual TCP dial fails.
* | buld: enable goconst linter (#15566)Zach2017-11-302-4/+14
| |
* | Merge pull request #15577 from karalabe/common-hexconvert-singlebytePéter Szilágyi2017-11-292-7/+15
|\ \ | | | | | | common: fix hex utils to handle 1 byte address conversions
| * | common: fix hex utils to handle 1 byte address conversionsPéter Szilágyi2017-11-292-7/+15
|/ /
* | core/vm: track 63/64 call gas off stack (#15563)Felix Lange2017-11-294-99/+55
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * core/vm: track 63/64 call gas off stack Gas calculations in gasCall* relayed the available gas for calls by replacing it on the stack. This lead to inconsistent traces, which we papered over by copying the pre-execution stack in trace mode. This change relays available gas using a temporary variable, off the stack, and allows removing the weird copy. * core/vm: remove stackCopy * core/vm: pop call gas into pool * core/vm: to -> addr
* | cmd/geth: fix geth attach --datadir=... (#15517)Maximilian Meister2017-11-281-1/+6
| |
* | Merge pull request #15557 from MaximilianMeister/bootnodes-tomlPéter Szilágyi2017-11-281-0/+2
|\ \ | | | | | | cmd/utils: bootstrap nodes in config file were not respected
| * | cmd/utils: bootstrap nodes in config file were not respectedMaximilian Meister2017-11-261-0/+2
| | | | | | | | | | | | Signed-off-by: Maximilian Meister <mmeister@suse.de>
* | | build: improve ci.go synopsis (#15565)Zach2017-11-281-1/+1
| | |
* | | trie: make fullnode children hash calculation concurrently (#15131)gary rong2017-11-273-32/+88
|/ / | | | | | | | | | | | | | | | | | | * trie: make fullnode children hash calculation concurrently * trie: thread out only on topmost fullnode * trie: clean up full node children hash calculation * trie: minor code fixups
* | cmd/utils: disallow --lightserv in light mode (#15514)Paul Litvak2017-11-241-4/+32
| | | | | | | | | | | | | | | | * Disallow --lightserv in light mode * Reformatted * cmd/utils: reduce nesting levels a bit
* | Merge pull request #15549 from karalabe/statedb-copyPéter Szilágyi2017-11-242-1/+52
|\ \ | | | | | | core/state: copy trie too, not just content
| * | core/state: copy trie too, not just contentPéter Szilágyi2017-11-242-1/+52
| | |
* | | Merge pull request #15329 from holisticode/exact-match-fixPéter Szilágyi2017-11-242-27/+61
|\ \ \ | | | | | | | | swarm/api: bug fix exact match for manifest
| * | | swarm/api: bug fix exact match for manifestFabio Barone2017-11-092-27/+61
| | | |
* | | | Merge pull request #15498 from nonsense/account_cache_modtime_test_fixPéter Szilágyi2017-11-241-1/+11
|\ \ \ \ | | | | | | | | | | accounts/keystore: change modtime for test case files to be bigger than 1sec.
| * | | | accounts/keystore: comments above time.SleepAnton Evangelatov2017-11-161-0/+3
| | | | |
| * | | | accounts/keystore: change modtime for test cases to be bigger than 1sec.Anton Evangelatov2017-11-161-1/+8
| | | | |
* | | | | cmd, consensus, eth: split ethash related config to it own (#15520)gary rong2017-11-2410-129/+154
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * cmd, consensus, eth: split ethash related config to it own * eth, consensus: minor polish * eth, consenus, console: compress pow testing config field to single one * consensus, eth: document pow mode
* | | | | Merge pull request #15552 from karalabe/javascript-tracers-nowrapPéter Szilágyi2017-11-241-43/+42
|\ \ \ \ \ | |_|_|/ / |/| | | | internal/ethapi: avoid recreating JavaScript tracer wrappers
| * | | | internal/ethapi: avoid recreating JavaScript tracer wrappersPéter Szilágyi2017-11-241-43/+42
|/ / / /
* | | | all: fix code comment typos (#15547)Ricardo Domingos2017-11-246-7/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * console: fix typo in comment * contracts/release: fix typo in comment * core: fix typo in comment * eth: fix typo in comment * miner: fix typo in comment
* | | | cmd/puppeth: fix typo in comment (#15539)Zoe Nolan2017-11-241-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | * cmd: fix typo in comment * cmd/puppeth: tiny comment fixup
* | | | Merge pull request #15390 from karalabe/puppeth-devcon3Péter Szilágyi2017-11-2426-457/+1871
|\ \ \ \ | | | | | | | | | | cmd/puppeth: new version as presented at devcon3
| * | | | cmd/puppeth: fix typos and review suggestionsPéter Szilágyi2017-11-2313-25/+19
| | | | |
| * | | | cmd/puppeth: fix unconvert lintersPéter Szilágyi2017-11-212-2/+2
| | | | |
| * | | | cmd/puppeth: switch over to upstream alltools docker imagePéter Szilágyi2017-11-211-1/+1
| | | | |
| * | | | cmd/faucet, cmd/puppeth: drop GitHub support at official requestPéter Szilágyi2017-11-215-68/+8
| | | | |
| * | | | cmd/puppeth: simplifications and pre-built docker imagesPéter Szilágyi2017-11-2113-164/+115
| | | | |
| * | | | cmd/puppeth: store genesis locally to persist restartsPéter Szilágyi2017-11-219-49/+64
| | | | |
| * | | | cmd/puppeth: skip genesis custom extra-dataPéter Szilágyi2017-11-212-12/+1
| | | | |
| * | | | cmd/puppeth: fix dashboard iframes, extend with new servicesPéter Szilágyi2017-11-215-51/+441
| | | | |
| * | | | cmd/faucet: protocol relative websockets, noauth modePéter Szilágyi2017-11-215-44/+87
| | | | |
| * | | | cmd/puppeth: add support for deploying web walletsPéter Szilágyi2017-11-215-1/+366
| | | | |
| * | | | cmd/puppeth: etherchain light block explorer for PoW netsPéter Szilágyi2017-11-219-15/+569
| | | | |
| * | | | cmd/puppeth: mount ethash dir from the host to cache DAGsPéter Szilágyi2017-11-212-13/+33
| | | | |
| * | | | cmd/puppeth: support deploying services with forced rebuildsPéter Szilágyi2017-11-2110-17/+52
| | | | |
| * | | | cmd/puppeth: concurrent server dials and health checksPéter Szilágyi2017-11-213-93/+142
| | | | |
| * | | | cmd/puppeth: reorganize stats reports to make it readablePéter Szilágyi2017-11-2113-136/+205
| | | | |
* | | | | Merge pull request #15538 from zoenolan/patch-1Péter Szilágyi2017-11-231-1/+1
|\ \ \ \ \ | | | | | | | | | | | | build: fix typo in comment
| * | | | | build: fix typo in commentZoe Nolan2017-11-221-1/+1
|/ / / / /
* | | | | Merge pull request #15521 from rjl493456442/clean_tx_journalPéter Szilágyi2017-11-221-1/+3
|\ \ \ \ \ | |/ / / / |/| | | | les: clean up tx journal file after testing
| * | | | les: use modified default txpool config to avoid creating journal filerjl4934564422017-11-211-1/+3
| | | | |
* | | | | VERSION, params: begin 1.8.0 release cyclePéter Szilágyi2017-11-212-5/+5
| | | | |
* | | | | params: release v1.7.3 stablePéter Szilágyi2017-11-211-4/+4
| | | | |
* | | | | cmd/geth: make geth account new faster with many keys (#15529)Martin Holst Swende2017-11-213-18/+46
| | | | |
* | | | | .github: add CODEOWNERS (#15507)Felix Lange2017-11-211-0/+9
| | | | |
* | | | | eth, internal: Implement getModifiedAccountsBy(Hash|Number) using trie diffs ↵Nick Johnson2017-11-202-0/+95
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (#15512) * eth, internal: Implement using trie diffs * eth, internal: Changes in response to review * eth: More fixes to getModifiedAccountsBy* * eth: minor polishes on error capitalization
* | | | | Merge pull request #15527 from holiman/bump_watchPéter Szilágyi2017-11-201-1/+5
|\ \ \ \ \ | | | | | | | | | | | | accounts/keystore: Ignore initial trigger of rescan-event
| * | | | | accounts/keystore: Ignore initial trigger of rescan-eventMartin Holst Swende2017-11-201-1/+5
|/ / / / /
* | | | | Merge pull request #15526 from karalabe/accounts-newPéter Szilágyi2017-11-203-96/+129
|\ \ \ \ \ | |/ / / / |/| | | | accounts: fix two races in the account manager
| * | | | accounts/keystore: lock file cache during scan, minor polishPéter Szilágyi2017-11-202-91/+124
| | | | |
| * | | | accounts: list, then subscribe (sub requires active reader)Péter Szilágyi2017-11-201-5/+5
|/ / / /
* | | | internal/ethapi: fix js tracer to properly decode addresses (#15297)Pulyak Viktor2017-11-181-10/+10
| | | | | | | | | | | | | | | | | | | | | | | | * Add method getBalanceFromJs for work with address as bytes * expect []byte instead of common.Address in ethapi tracer
* | | | Merge pull request #15509 from tbm/typoPéter Szilágyi2017-11-171-1/+1
|\ \ \ \ | | | | | | | | | | Fix typo in README.md
| * | | | README: fix typoMartin Michlmayr2017-11-171-1/+1
|/ / / /
* | | | Merge pull request #15506 from tsarpaul/masterPéter Szilágyi2017-11-171-2/+2
|\ \ \ \ | | | | | | | | | | internal/ethapi: changed output in txpool.inspect
| * | | | Added output to clarify gas calculation in txpool.inspecttsarpaul2017-11-171-2/+2
| | | | |
* | | | | Merge pull request #15505 from karalabe/fix-rpc-prPéter Szilágyi2017-11-172-28/+38
|\ \ \ \ \ | |/ / / / |/| | | | rpc: minor cleanups to RPC PR
| * | | | rpc: minor cleanups to RPC PRPéter Szilágyi2017-11-172-28/+38
|/ / / /
* | | | rpc: disallow PUT and DELETE on HTTP (#15501)Armani Ferrante2017-11-172-15/+68
| | | | | | | | | | | | Fixes #15493
* | | | core/vm, internal/ethapi: tracer no full storage, nicer json output (#15499)Péter Szilágyi2017-11-173-71/+36
| | | | | | | | | | | | | | | | | | | | | | | | * core/vm, internal/ethapi: tracer no full storage, nicer json output * core/vm, internal/ethapi: omit disabled trace fields
* | | | Merge pull request #15496 from karalabe/rpc-get-healthcheckPéter Szilágyi2017-11-161-7/+10
|\ \ \ \ | |/ / / |/| | | rpc: allow dumb empty requests for AWS health checks
| * | | rpc: allow dumb empty requests for AWS health checksPéter Szilágyi2017-11-161-7/+10
|/ / /
* | | 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
| |