Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | various: remove redundant parentheses (#15793) | Furkan KAMACI | 2018-01-03 | 12 | -22/+22 |
| | |||||
* | eth: revert tracer preimage recording (#15800) | Felix Lange | 2018-01-03 | 1 | -4/+1 |
| | | | | This reverts commits 85a1eda59e (#15792) and c495bca4ad (#15787) because they introduce database writes during tracing. | ||||
* | eth: uncaptialize tracer preimage error message (#15792) | Felix Lange | 2018-01-03 | 1 | -1/+1 |
| | | | | | | * eth: uncaptialize tracer preimage error message * eth: improve very important error message | ||||
* | console: remove comment about 'invalid' input (#15735) | Richard Hart | 2018-01-02 | 1 | -2/+1 |
| | | | All inputs are saved into history, including 'invalid' inputs. | ||||
* | core, p2p/discv5: use time.NewTicker instead of time.Tick (#15747) | ferhat elmas | 2018-01-02 | 2 | -5/+6 |
| | |||||
* | eth: enable preimage recording when tracing (#15787) | cdetrio | 2018-01-02 | 1 | -1/+4 |
| | |||||
* | cmd/geth: remove trailing newline in license command (#15782) | Péter Szilágyi | 2018-01-02 | 1 | -2/+1 |
| | |||||
* | vendor: update github.com/rjeczalik/notify for go1.10 (#15785) | Péter Szilágyi | 2018-01-02 | 20 | -158/+229 |
| | |||||
* | build: set CC through a command-line flag (#15784) | Péter Szilágyi | 2018-01-02 | 2 | -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ágyi | 2018-01-02 | 1 | -1/+4 |
| | |||||
* | build: fix version comparison for go1.10 and beyond (#15781) | Péter Szilágyi | 2018-01-02 | 1 | -6/+15 |
| | |||||
* | containers/docker: change docker images to go1.9 (#15789) | Deepak Sharma | 2018-01-02 | 4 | -6/+10 |
| | |||||
* | whisper/whisper2: fix Go 1.10 vet issues on type mismatches (#15783) | Péter Szilágyi | 2018-01-02 | 1 | -2/+2 |
| | |||||
* | crypto: ensure private keys are < N (#15745) | Alex Wu | 2018-01-02 | 1 | -0/+10 |
| | | | Fixes #15744 | ||||
* | consensus/ethash: fix overdue link (#15786) | sunxiaojun2014 | 2017-12-31 | 1 | -1/+1 |
| | |||||
* | accounts/abi: handle named ouputs prefixed with underscores (#15766) | Péter Szilágyi | 2017-12-30 | 4 | -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 Evangelatov | 2017-12-30 | 3 | -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ágyi | 2017-12-28 | 4 | -11/+25 |
| | |||||
* | p2p/discv5: fix reg lookup, polish code, use logger (#15737) | Péter Szilágyi | 2017-12-28 | 4 | -142/+139 |
| | |||||
* | rpc: allow OPTIONS requests without Content-Type (#15759) | Sorin Neacsu | 2017-12-28 | 1 | -1/+1 |
| | | | Fixes #15740 | ||||
* | Merge pull request #15731 from holiman/revamp_abi | Martin Holst Swende | 2017-12-23 | 11 | -379/+666 |
|\ | | | | | accounts/abi refactor | ||||
| * | accounts/abi: merging of https://github.com/ethereum/go-ethereum/pull/15452 ↵ | Martin Holst Swende | 2017-12-23 | 5 | -47/+128 |
| | | | | | | | | + lookup by id | ||||
| * | acounts/abi: refactor abi, generalize abi pack/unpack to Arguments | Martin Holst Swende | 2017-12-23 | 7 | -251/+260 |
| | | |||||
| * | accounts/abi: add unpack into array test | Robert Zaremba | 2017-12-21 | 3 | -2/+17 |
| | | |||||
| * | accounts/abi: add Method Unpack tests | Robert Zaremba | 2017-12-21 | 1 | -36/+59 |
| | | | | | | | | | | + Reworked Method Unpack tests into more readable components + Added Method Unpack into slice test | ||||
| * | accounts/abi: satisfy most of the linter warnings | Robert Zaremba | 2017-12-21 | 7 | -95/+87 |
| | | | | | | | | | | | | | | + adding missing comments + small cleanups which won't significantly change function body. + unify Method receiver name | ||||
| * | accounts/abi: fix event unpack into slice | Robert Zaremba | 2017-12-21 | 5 | -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 tupleUnpack | Robert Zaremba | 2017-12-21 | 1 | -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 tests | Robert Zaremba | 2017-12-21 | 1 | -0/+154 |
| | | |||||
* | | accounts, consensus, core, eth: make chain maker consensus agnostic (#15497) | gary rong | 2017-12-22 | 23 | -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ály | 2017-12-21 | 23 | -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-http | Péter Szilágyi | 2017-12-21 | 1 | -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 port | Péter Szilágyi | 2017-12-21 | 1 | -0/+2 |
|/ / | |||||
* / | whisper/whisperv6: PoW requirement (#15701) | gluk256 | 2017-12-21 | 5 | -54/+185 |
|/ | | | | New Whisper-level message introduced (PoW requirement), corresponding logic added, plus some tests. | ||||
* | Merge pull request #15285 from yondonfu/abi-offset-fixed-arrays | Martin Holst Swende | 2017-12-21 | 2 | -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 tests | Yondon Fu | 2017-12-19 | 2 | -6/+138 |
| | | |||||
| * | Merge branch 'master' into abi-offset-fixed-arrays | Yondon Fu | 2017-12-19 | 544 | -31113/+72797 |
| |\ | |||||
| * | | accounts/abi: include fixed array size in offset for dynamic type | Yondon Fu | 2017-10-12 | 2 | -1/+62 |
| | | | |||||
* | | | Merge pull request #15729 from karalabe/faucet-fix-twitter | Péter Szilágyi | 2017-12-21 | 1 | -6/+1 |
|\ \ \ | | | | | | | | | cmd/faucet: fix removal of Twitter zlib compression | ||||
| * | | | cmd/faucet: fix removal of Twitter zlib compression | Péter Szilágyi | 2017-12-21 | 1 | -6/+1 |
| | | | | |||||
* | | | | cmd/utils: add check on fd hard limit, skip test if below target (#15684) | lash | 2017-12-21 | 4 | -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-21 | 4 | -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ágyi | 2017-12-21 | 64 | -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-bootnode | Péter Szilágyi | 2017-12-21 | 1 | -1/+3 |
|\ \ \ | | | | | | | | | params: add Rinkeby bootnode from Akasha | ||||
| * | | | params: add Rinkeby bootnode from Akasha | Péter Szilágyi | 2017-12-21 | 1 | -1/+3 |
|/ / / | |||||
* | | | cmd/ethkey: new command line tool for keys (#15438) | Steven Roose | 2017-12-21 | 6 | -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 Glickstein | 2017-12-21 | 3 | -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) | gluk256 | 2017-12-21 | 2 | -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ágyi | 2017-12-21 | 1 | -2/+2 |
| | | | |||||
* | | | core: silence txpool reorg warning (annoying on import) (#15725) | Péter Szilágyi | 2017-12-21 | 1 | -1/+1 |
| | | | |||||
* | | | core: fix typos (#15720) | Kurkó Mihály | 2017-12-21 | 2 | -14/+14 |
| | | | |||||
* | | | accounts/abi: update array length after parsing array (#15618) | Dmitry Shulyak | 2017-12-20 | 4 | -26/+78 |
| | | | | | | | | | Fixes #15617 | ||||
* | | | crypto: ensure that VerifySignature rejects malleable signatures (#15708) | Felix Lange | 2017-12-20 | 2 | -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ágyi | 2017-12-20 | 2 | -1/+58 |
| | | | |||||
* | | | console: create datadir at startup (#15700) | Armin Braun | 2017-12-19 | 1 | -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-19 | 10 | -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_nopeers | Péter Szilágyi | 2017-12-19 | 2 | -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 peers | Zsolt Felfoldi | 2017-12-18 | 2 | -2/+2 |
| | | | |||||
* | | | Merge pull request #15674 from chfast/vm-no-snapshot-param | Péter Szilágyi | 2017-12-18 | 3 | -11/+11 |
|\ \ \ | | | | | | | | | core/vm: Remove snapshot param from Interpreter.Run() | ||||
| * | | | core/vm: Remove snapshot param from Interpreter.Run() | Paweł Bylica | 2017-12-15 | 3 | -11/+11 |
| | | | | |||||
* | | | | internal/ethapi: support "input" in transaction args (#15640) | Felix Lange | 2017-12-18 | 1 | -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/15668 | Péter Szilágyi | 2017-12-18 | 1 | -0/+3 |
|\ \ \ \ | | | | | | | | | | | accounts/keystore: Improved error message | ||||
| * | | | | accounts/keystore: Improved error message | Armin | 2017-12-18 | 1 | -0/+3 |
|/ / / / | | | | | | | | | | | | | * Fix for #15668 | ||||
* | | | | Merge pull request #15696 from ferhatelmas/p2p-goroutine-leak | Péter Szilágyi | 2017-12-18 | 1 | -3/+3 |
|\ \ \ \ | | | | | | | | | | | p2p/discover: fix leaked goroutine in data expiration | ||||
| * | | | | p2p/discover: fix leaked goroutine in data expiration | ferhat elmas | 2017-12-18 | 1 | -3/+3 |
| | |/ / | |/| | | |||||
* | | | | Merge pull request #15686 from sorin/sorin-geth-attach-rinkeby | Péter Szilágyi | 2017-12-18 | 1 | -2/+6 |
|\ \ \ \ | |/ / / |/| | | | cmd/geth: add support for geth --rinkeby attach | ||||
| * | | | cmd/geth: add support for geth --rinkeby attach | Sorin Neacsu | 2017-12-16 | 1 | -2/+6 |
|/ / / | |||||
* | | | crypto, crypto/secp256k1: add CompressPubkey (#15626) | Felix Lange | 2017-12-15 | 6 | -52/+118 |
| | | | | | | | | | | | | This adds the inverse to DecompressPubkey and improves a few minor details in crypto/secp256k1. | ||||
* | | | Merge pull request #15679 from shapeshed/patch-1 | Péter Szilágyi | 2017-12-15 | 1 | -1/+1 |
|\ \ \ | | | | | | | | | crypto: Fix comment typo | ||||
| * | | | crypto: Fix comment typo | George Ornbo | 2017-12-15 | 1 | -1/+1 |
|/ / / | |||||
* / / | internal/ethapi: don't crash for missing receipts | rhaps107 | 2017-12-14 | 1 | -1/+4 |
|/ / | | | | | | | Fixes #15408 Fixes #14432 | ||||
* | | Merge pull request #15629 from holiman/relax_futuretime | Péter Szilágyi | 2017-12-14 | 1 | -4/+5 |
|\ \ | | | | | | | consensus/ethash: relax requirements when determining future-blocks | ||||
| * | | consensus/ethash: relax requirements when determining future-blocks | Martin Holst Swende | 2017-12-08 | 1 | -4/+5 |
| | | | |||||
* | | | p2p/simulations: fix gosimple nit (#15661) | Felix Lange | 2017-12-13 | 1 | -1/+1 |
| | | | |||||
* | | | rpc: use method constants instead of literal strings (#15652) | Vitaly V | 2017-12-13 | 2 | -9/+9 |
| | | | |||||
* | | | p2p/simulations: add mocker functionality (#15207) | holisticode | 2017-12-13 | 5 | -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) | Zach | 2017-12-13 | 24 | -67/+57 |
| | | | |||||
* | | | internal/ethapi: fix typo in comment (#15659) | yoza | 2017-12-13 | 1 | -1/+1 |
| | | | |||||
* | | | cmd/swarm: add config file (#15548) | holisticode | 2017-12-12 | 13 | -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 Lange | 2017-12-12 | 2 | -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 Lange | 2017-12-12 | 2 | -1/+2 |
| | | | | | | | | | Issue found by @guidovranken | ||||
* | | | whisper: sym encryption message padding includes salt (#15631) | Guillaume Ballet | 2017-12-11 | 2 | -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 Ruminer | 2017-12-10 | 1 | -2/+12 |
| | | | |||||
* | | | mobile: Add GetSign to BigInt (#15558) | Alejandro Isaza | 2017-12-10 | 1 | -0/+10 |
| | | | |||||
* | | | cmd/utils, eth: init etherbase from within eth (#15528) | Péter Szilágyi | 2017-12-10 | 2 | -11/+15 |
| | | | |||||
* | | | whisper/whisperv6: remove Version from the envelope (#15621) | Guillaume Ballet | 2017-12-08 | 5 | -65/+28 |
| | | | |||||
* | | | console: add admin.clearHistory command (#15614) | Sorin Neacsu | 2017-12-08 | 3 | -0/+20 |
| | | | |||||
* | | | whisper/whisperv6: remove aesnonce (#15578) | Guillaume Ballet | 2017-12-08 | 8 | -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 Lange | 2017-12-07 | 1 | -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) | Airead | 2017-12-07 | 1 | -1/+1 |
| | | |||||
* | | eth: return rlp-decoded values from debug_storageRangeAt (#15476) | Benoit Verkindt | 2017-12-06 | 2 | -5/+12 |
| | | | | | | Fixes #15196 | ||||
* | | crypto: add DecompressPubkey, VerifySignature (#15615) | Felix Lange | 2017-12-06 | 14 | -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 Neacsu | 2017-12-05 | 1 | -2/+10 |
| | | |||||
* | | common: improve IsHexAddress and add tests (#15551) | Steven Roose | 2017-12-05 | 4 | -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 elmas | 2017-12-04 | 2 | -2/+2 |
| | | |||||
* | | build: enable gosimple linter (#15593) | ferhat elmas | 2017-12-01 | 1 | -1/+1 |
| | | |||||
* | | crypto/bn256: fix generator on G1 (#15591) | Matthew Di Ferrante | 2017-12-01 | 1 | -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) | Rob | 2017-12-01 | 1 | -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 Ballet | 2017-12-01 | 1 | -4/+4 |
| | | |||||
* | | p2p/simulations: various stability fixes (#15198) | Lewis Marshall | 2017-12-01 | 11 | -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) | Zach | 2017-11-30 | 2 | -4/+14 |
| | | |||||
* | | Merge pull request #15577 from karalabe/common-hexconvert-singlebyte | Péter Szilágyi | 2017-11-29 | 2 | -7/+15 |
|\ \ | | | | | | | common: fix hex utils to handle 1 byte address conversions | ||||
| * | | common: fix hex utils to handle 1 byte address conversions | Péter Szilágyi | 2017-11-29 | 2 | -7/+15 |
|/ / | |||||
* | | core/vm: track 63/64 call gas off stack (#15563) | Felix Lange | 2017-11-29 | 4 | -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 Meister | 2017-11-28 | 1 | -1/+6 |
| | | |||||
* | | Merge pull request #15557 from MaximilianMeister/bootnodes-toml | Péter Szilágyi | 2017-11-28 | 1 | -0/+2 |
|\ \ | | | | | | | cmd/utils: bootstrap nodes in config file were not respected | ||||
| * | | cmd/utils: bootstrap nodes in config file were not respected | Maximilian Meister | 2017-11-26 | 1 | -0/+2 |
| | | | | | | | | | | | | Signed-off-by: Maximilian Meister <mmeister@suse.de> | ||||
* | | | build: improve ci.go synopsis (#15565) | Zach | 2017-11-28 | 1 | -1/+1 |
| | | | |||||
* | | | trie: make fullnode children hash calculation concurrently (#15131) | gary rong | 2017-11-27 | 3 | -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 Litvak | 2017-11-24 | 1 | -4/+32 |
| | | | | | | | | | | | | | | | | * Disallow --lightserv in light mode * Reformatted * cmd/utils: reduce nesting levels a bit | ||||
* | | Merge pull request #15549 from karalabe/statedb-copy | Péter Szilágyi | 2017-11-24 | 2 | -1/+52 |
|\ \ | | | | | | | core/state: copy trie too, not just content | ||||
| * | | core/state: copy trie too, not just content | Péter Szilágyi | 2017-11-24 | 2 | -1/+52 |
| | | | |||||
* | | | Merge pull request #15329 from holisticode/exact-match-fix | Péter Szilágyi | 2017-11-24 | 2 | -27/+61 |
|\ \ \ | | | | | | | | | swarm/api: bug fix exact match for manifest | ||||
| * | | | swarm/api: bug fix exact match for manifest | Fabio Barone | 2017-11-09 | 2 | -27/+61 |
| | | | | |||||
* | | | | Merge pull request #15498 from nonsense/account_cache_modtime_test_fix | Péter Szilágyi | 2017-11-24 | 1 | -1/+11 |
|\ \ \ \ | | | | | | | | | | | accounts/keystore: change modtime for test case files to be bigger than 1sec. | ||||
| * | | | | accounts/keystore: comments above time.Sleep | Anton Evangelatov | 2017-11-16 | 1 | -0/+3 |
| | | | | | |||||
| * | | | | accounts/keystore: change modtime for test cases to be bigger than 1sec. | Anton Evangelatov | 2017-11-16 | 1 | -1/+8 |
| | | | | | |||||
* | | | | | cmd, consensus, eth: split ethash related config to it own (#15520) | gary rong | 2017-11-24 | 10 | -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-nowrap | Péter Szilágyi | 2017-11-24 | 1 | -43/+42 |
|\ \ \ \ \ | |_|_|/ / |/| | | | | internal/ethapi: avoid recreating JavaScript tracer wrappers | ||||
| * | | | | internal/ethapi: avoid recreating JavaScript tracer wrappers | Péter Szilágyi | 2017-11-24 | 1 | -43/+42 |
|/ / / / | |||||
* | | | | all: fix code comment typos (#15547) | Ricardo Domingos | 2017-11-24 | 6 | -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 Nolan | 2017-11-24 | 1 | -2/+2 |
| | | | | | | | | | | | | | | | | | | | | | | | | * cmd: fix typo in comment * cmd/puppeth: tiny comment fixup | ||||
* | | | | Merge pull request #15390 from karalabe/puppeth-devcon3 | Péter Szilágyi | 2017-11-24 | 26 | -457/+1871 |
|\ \ \ \ | | | | | | | | | | | cmd/puppeth: new version as presented at devcon3 | ||||
| * | | | | cmd/puppeth: fix typos and review suggestions | Péter Szilágyi | 2017-11-23 | 13 | -25/+19 |
| | | | | | |||||
| * | | | | cmd/puppeth: fix unconvert linters | Péter Szilágyi | 2017-11-21 | 2 | -2/+2 |
| | | | | | |||||
| * | | | | cmd/puppeth: switch over to upstream alltools docker image | Péter Szilágyi | 2017-11-21 | 1 | -1/+1 |
| | | | | | |||||
| * | | | | cmd/faucet, cmd/puppeth: drop GitHub support at official request | Péter Szilágyi | 2017-11-21 | 5 | -68/+8 |
| | | | | | |||||
| * | | | | cmd/puppeth: simplifications and pre-built docker images | Péter Szilágyi | 2017-11-21 | 13 | -164/+115 |
| | | | | | |||||
| * | | | | cmd/puppeth: store genesis locally to persist restarts | Péter Szilágyi | 2017-11-21 | 9 | -49/+64 |
| | | | | | |||||
| * | | | | cmd/puppeth: skip genesis custom extra-data | Péter Szilágyi | 2017-11-21 | 2 | -12/+1 |
| | | | | | |||||
| * | | | | cmd/puppeth: fix dashboard iframes, extend with new services | Péter Szilágyi | 2017-11-21 | 5 | -51/+441 |
| | | | | | |||||
| * | | | | cmd/faucet: protocol relative websockets, noauth mode | Péter Szilágyi | 2017-11-21 | 5 | -44/+87 |
| | | | | | |||||
| * | | | | cmd/puppeth: add support for deploying web wallets | Péter Szilágyi | 2017-11-21 | 5 | -1/+366 |
| | | | | | |||||
| * | | | | cmd/puppeth: etherchain light block explorer for PoW nets | Péter Szilágyi | 2017-11-21 | 9 | -15/+569 |
| | | | | | |||||
| * | | | | cmd/puppeth: mount ethash dir from the host to cache DAGs | Péter Szilágyi | 2017-11-21 | 2 | -13/+33 |
| | | | | | |||||
| * | | | | cmd/puppeth: support deploying services with forced rebuilds | Péter Szilágyi | 2017-11-21 | 10 | -17/+52 |
| | | | | | |||||
| * | | | | cmd/puppeth: concurrent server dials and health checks | Péter Szilágyi | 2017-11-21 | 3 | -93/+142 |
| | | | | | |||||
| * | | | | cmd/puppeth: reorganize stats reports to make it readable | Péter Szilágyi | 2017-11-21 | 13 | -136/+205 |
| | | | | | |||||
* | | | | | Merge pull request #15538 from zoenolan/patch-1 | Péter Szilágyi | 2017-11-23 | 1 | -1/+1 |
|\ \ \ \ \ | | | | | | | | | | | | | build: fix typo in comment | ||||
| * | | | | | build: fix typo in comment | Zoe Nolan | 2017-11-22 | 1 | -1/+1 |
|/ / / / / | |||||
* | | | | | Merge pull request #15521 from rjl493456442/clean_tx_journal | Péter Szilágyi | 2017-11-22 | 1 | -1/+3 |
|\ \ \ \ \ | |/ / / / |/| | | | | les: clean up tx journal file after testing | ||||
| * | | | | les: use modified default txpool config to avoid creating journal file | rjl493456442 | 2017-11-21 | 1 | -1/+3 |
| | | | | | |||||
* | | | | | VERSION, params: begin 1.8.0 release cycle | Péter Szilágyi | 2017-11-21 | 2 | -5/+5 |
| | | | | | |||||
* | | | | | params: release v1.7.3 stablev1.7.3 | Péter Szilágyi | 2017-11-21 | 1 | -4/+4 |
| | | | | | |||||
* | | | | | cmd/geth: make geth account new faster with many keys (#15529) | Martin Holst Swende | 2017-11-21 | 3 | -18/+46 |
| | | | | | |||||
* | | | | | .github: add CODEOWNERS (#15507) | Felix Lange | 2017-11-21 | 1 | -0/+9 |
| | | | | | |||||
* | | | | | eth, internal: Implement getModifiedAccountsBy(Hash|Number) using trie diffs ↵ | Nick Johnson | 2017-11-20 | 2 | -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_watch | Péter Szilágyi | 2017-11-20 | 1 | -1/+5 |
|\ \ \ \ \ | | | | | | | | | | | | | accounts/keystore: Ignore initial trigger of rescan-event | ||||
| * | | | | | accounts/keystore: Ignore initial trigger of rescan-event | Martin Holst Swende | 2017-11-20 | 1 | -1/+5 |
|/ / / / / | |||||
* | | | | | Merge pull request #15526 from karalabe/accounts-new | Péter Szilágyi | 2017-11-20 | 3 | -96/+129 |
|\ \ \ \ \ | |/ / / / |/| | | | | accounts: fix two races in the account manager | ||||
| * | | | | accounts/keystore: lock file cache during scan, minor polish | Péter Szilágyi | 2017-11-20 | 2 | -91/+124 |
| | | | | | |||||
| * | | | | accounts: list, then subscribe (sub requires active reader) | Péter Szilágyi | 2017-11-20 | 1 | -5/+5 |
|/ / / / | |||||
* | | | | internal/ethapi: fix js tracer to properly decode addresses (#15297) | Pulyak Viktor | 2017-11-18 | 1 | -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/typo | Péter Szilágyi | 2017-11-17 | 1 | -1/+1 |
|\ \ \ \ | | | | | | | | | | | Fix typo in README.md | ||||
| * | | | | README: fix typo | Martin Michlmayr | 2017-11-17 | 1 | -1/+1 |
|/ / / / | |||||
* | | | | Merge pull request #15506 from tsarpaul/master | Péter Szilágyi | 2017-11-17 | 1 | -2/+2 |
|\ \ \ \ | | | | | | | | | | | internal/ethapi: changed output in txpool.inspect | ||||
| * | | | | Added output to clarify gas calculation in txpool.inspect | tsarpaul | 2017-11-17 | 1 | -2/+2 |
| | | | | | |||||
* | | | | | Merge pull request #15505 from karalabe/fix-rpc-pr | Péter Szilágyi | 2017-11-17 | 2 | -28/+38 |
|\ \ \ \ \ | |/ / / / |/| | | | | rpc: minor cleanups to RPC PR | ||||
| * | | | | rpc: minor cleanups to RPC PR | Péter Szilágyi | 2017-11-17 | 2 | -28/+38 |
|/ / / / | |||||
* | | | | rpc: disallow PUT and DELETE on HTTP (#15501) | Armani Ferrante | 2017-11-17 | 2 | -15/+68 |
| | | | | | | | | | | | | Fixes #15493 | ||||
* | | | | core/vm, internal/ethapi: tracer no full storage, nicer json output (#15499) | Péter Szilágyi | 2017-11-17 | 3 | -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-healthcheck | Péter Szilágyi | 2017-11-16 | 1 | -7/+10 |
|\ \ \ \ | |/ / / |/| | | | rpc: allow dumb empty requests for AWS health checks | ||||
| * | | | rpc: allow dumb empty requests for AWS health checks | Péter Szilágyi | 2017-11-16 | 1 | -7/+10 |
|/ / / | |||||
* | | | eth/downloader: minor comments cleanup (#15495) | jtakalai | 2017-11-16 | 1 | -5/+5 |
| | | | | | | | | | | | | | | | it's -> its pet peeve, and I like to imagine I'm not alone. | ||||
* | | | Merge pull request #15489 from karalabe/bloombits-shifted-start | Péter Szilágyi | 2017-11-15 | 3 | -23/+41 |
|\ \ \ | | | | | | | | | core/bloombits: handle non 8-bit boundary section matches | ||||
| * | | | core/bloombits: handle non 8-bit boundary section matches | Péter Szilágyi | 2017-11-15 | 3 | -23/+41 |
|/ / / | |||||
* | | | Merge pull request #14582 from holiman/jumpdest_improv | Péter Szilágyi | 2017-11-15 | 2 | -14/+96 |
|\ \ \ | | | | | | | | | core/vm: improve jumpdest analysis | ||||
| * | | | core/vm: copyright header on test-file | Martin Holst Swende | 2017-11-14 | 1 | -0/+16 |
| | | | | |||||
| * | | | core/vm: improve bitvec comments | Felix Lange | 2017-09-11 | 1 | -7/+7 |
| | | | | |||||
| * | | | core/vm: Rename + updated doc on jumpdest analysis | Martin Holst Swende | 2017-09-08 | 2 | -5/+5 |
| | | | | |||||
| * | | | core/vm: make jumpdest code nicer | Felix Lange | 2017-08-24 | 1 | -3/+1 |
| | | | | |||||
| * | | | core/vm: Address review concerns | Martin Holst Swende | 2017-08-14 | 1 | -14/+19 |
| | | | | |||||
| * | | | core/vm: improved jumpdest analysis | Martin Holst Swende | 2017-06-05 | 2 | -9/+72 |
| | | | | |||||
* | | | | Merge pull request #15470 from karalabe/clique-sametd-splitter | Péter Szilágyi | 2017-11-15 | 1 | -1/+6 |
|\ \ \ \ | | | | | | | | | | | core: split same-td blocks on block height | ||||
| * | | | | core: split same-td blocks on block height | Péter Szilágyi | 2017-11-13 | 1 | -1/+6 |
| | | | | | |||||
* | | | | | cmd, dashboard: dashboard using React, Material-UI, Recharts (#15393) | Kurkó Mihály | 2017-11-15 | 21 | -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 rong | 2017-11-15 | 2 | -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-1 | Péter Szilágyi | 2017-11-14 | 1 | -2/+2 |
|\ \ \ \ \ | |/ / / / |/| | | | | core/vm: fix typos in jump_table.go | ||||
| * | | | | core/vm: fix typos in jump_table.go | Jay Guo | 2017-11-14 | 1 | -2/+2 |
|/ / / / | |||||
* | | | | Merge pull request #15467 from karalabe/docker-alltools | Péter Szilágyi | 2017-11-13 | 2 | -1/+16 |
|\ \ \ \ | | | | | | | | | | | Dockerfile: support alltools image beside plain Geth | ||||
| * | | | | Dockerfile: support alltools image beside plain Geth | Péter Szilágyi | 2017-11-13 | 2 | -1/+16 |
|/ / / / | |||||
* | | | | Merge pull request #15457 from robert-zaremba/testify | Péter Szilágyi | 2017-11-13 | 20 | -0/+5099 |
|\ \ \ \ | | | | | | | | | | | vendor: add github.com/stretchr/testify test dependency | ||||
| * | | | | vendor: add github.com/stretchr/testify test dependency | Robert Zaremba | 2017-11-11 | 20 | -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-fix | Péter Szilágyi | 2017-11-13 | 3 | -7/+8 |
|\ \ \ \ | | | | | | | | | | | dockerignore, internal/build: forward correct git folder | ||||
| * | | | | dockerignore, internal/build: forward correct git folder | Péter Szilágyi | 2017-11-13 | 3 | -7/+8 |
|/ / / / | |||||
* | | | | puppeth: handle encrypted ssh keys (closes #15442) (#15443) | Bo | 2017-11-13 | 238 | -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 Sasmoyo | 2017-11-13 | 3 | -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 elmas | 2017-11-11 | 31 | -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 Verkindt | 2017-11-10 | 1 | -1/+1 |
| | | | | | | | | | | | | Fixes #15373 | ||||
* | | | | contracts/chequebook: update for latest Solidity (#15425) | Alex Beregszaszi | 2017-11-10 | 1 | -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-misspell | Péter Szilágyi | 2017-11-10 | 1 | -1/+1 |
|\ \ \ \ | |/ / / |/| | | | build: enable gofmt and misspell linters | ||||
| * | | | build: enable gofmt and misspell linters | Péter Szilágyi | 2017-11-10 | 1 | -1/+1 |
|/ / / | |||||
* | | | Merge pull request #15448 from karalabe/android-build-fix | Péter Szilágyi | 2017-11-09 | 1 | -5/+5 |
|\ \ \ | | | | | | | | | travis: bump Android NDK version and Android Go builder | ||||
| * | | | travis: bump Android NDK version and Android Go builder | Péter Szilágyi | 2017-11-09 | 1 | -5/+5 |
|/ / / | |||||
* | | | build: add Travis job to lint Go code #15372 (#15416) | Dan Melton | 2017-11-09 | 2 | -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-vk | 2017-11-09 | 1 | -0/+11 |
| | | | |||||
* | | | github: add remark about general questions (#15250) | bas-vk | 2017-11-09 | 1 | -0/+6 |
| | | | |||||
* | | | les: fix channel assignment data race (#15441) | b00ris | 2017-11-09 | 1 | -3/+3 |
| | | | |||||
* | | | les: fix misuse of WaitGroup (#15365) | Evgeny Danilenko | 2017-11-09 | 1 | -3/+3 |
| | | | |||||
* | | | all: gofmt -w -s (#15419) | ferhat elmas | 2017-11-08 | 19 | -79/+76 |
| | | | |||||
* | | | mobile: fix FilterLogs (#15418) | Eugene Valeyev | 2017-11-06 | 1 | -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) | gluk256 | 2017-11-04 | 18 | -0/+5589 |
| | | | |||||
* | | | core: respect price bump threshold (#15401) | Jim McDonald | 2017-10-30 | 2 | -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-typo | Péter Szilágyi | 2017-10-30 | 4 | -5/+5 |
|\ \ \ | | | | | | | | | core, swarm: typo fixes | ||||
| * | | | core, swarm: typo fixes | ferhat elmas | 2017-10-30 | 4 | -5/+5 |
|/ / / | |||||
* | | | les, core/bloombits: post-LES/2 fixes (#15391) | Felföldi Zsolt | 2017-10-27 | 2 | -2/+5 |
| | | | | | | | | | | | | | | | | | | * les: fix topic ID * core/bloombits: fix interface conversion | ||||
* | | | Merge pull request #15389 from mcdee/rlpdump | Péter Szilágyi | 2017-10-27 | 1 | -1/+1 |
|\ \ \ | | | | | | | | | cmd/rlpdump: allow hex input to have leading '0x' | ||||
| * | | | cmd/rlpdump: allow hex input to have leading '0x' | Jim McDonald | 2017-10-27 | 1 | -1/+1 |
|/ / / | |||||
* | | | core, eth, les: fix messy code (#15367) | Péter Szilágyi | 2017-10-25 | 11 | -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 Zsolt | 2017-10-24 | 34 | -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ágyi | 2017-10-24 | 16 | -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 Markelov | 2017-10-24 | 1 | -0/+2 |
| | | | |||||
* | | | Merge pull request #15343 from karalabe/txpool-replacement-propagation | Péter Szilágyi | 2017-10-20 | 5 | -7/+209 |
|\ \ \ | | | | | | | | | core: fire tx event on replace, expand tests | ||||
| * | | | core: avoid warning when loading the transaction journal | Péter Szilágyi | 2017-10-20 | 1 | -0/+13 |
| | | | | |||||
| * | | | event: fix datarace between Subscribe and Send | Péter Szilágyi | 2017-10-20 | 1 | -3/+5 |
| | | | | |||||
| * | | | core: fire tx event on replace, expand tests | Péter Szilágyi | 2017-10-20 | 3 | -4/+191 |
|/ / / | |||||
* | | | Merge pull request #15344 from karalabe/ubuntu=artful | Péter Szilágyi | 2017-10-20 | 1 | -1/+1 |
|\ \ \ | | | | | | | | | build: start shipping Ubuntu Artful Aardvark binaries | ||||
| * | | | build: start shipping Ubuntu Artful Aardvark binaries | Péter Szilágyi | 2017-10-20 | 1 | -1/+1 |
| | | | | |||||
* | | | | cmd/evm: print stateroot in evm utility (#15341) | Martin Holst Swende | 2017-10-20 | 1 | -1/+7 |
|/ / / | |||||
* | | | whisper/shhclient: fix Version return type (#15306) | baizhenxuan | 2017-10-18 | 1 | -2/+2 |
| | | | |||||
* | | | Merge pull request #15313 from karalabe/puppeth-nongithub-faucet | Péter Szilágyi | 2017-10-18 | 3 | -101/+424 |
|\ \ \ | | | | | | | | | cmd/faucet: support twitter, google+ and facebook auth too | ||||
| * | | | cmd/faucet: dynamic funding progress and visual feedback | Péter Szilágyi | 2017-10-17 | 3 | -7/+83 |
| | | | | |||||
| * | | | cmd/faucet: proper error handling all over | Péter Szilágyi | 2017-10-17 | 3 | -36/+135 |
| | | | | |||||
| * | | | cmd/faucet: support twitter, google+ and facebook auth too | Péter Szilágyi | 2017-10-16 | 3 | -67/+215 |
| | | | | |||||
* | | | | README: fix typo (#15312) | Sumit Sarin | 2017-10-17 | 1 | -1/+1 |
| | | | | |||||
* | | | | accounts/abi: improve type handling, add event support (#14743) | RJ Catalano | 2017-10-17 | 15 | -847/+903 |
|/ / / | |||||
* | | | VERSION, params: start 1.7.3 release cycle | Péter Szilágyi | 2017-10-14 | 2 | -5/+5 |
| | | | |||||
* | | | params: bump to 1.7.2 stablev1.7.2 | Péter Szilágyi | 2017-10-14 | 1 | -4/+4 |
| | | | |||||
* | | | Merge pull request #15298 from karalabe/stack-then-readonly | Péter Szilágyi | 2017-10-14 | 1 | -13/+10 |
|\ \ \ | | | | | | | | | core/vm: check opcode stack before readonly enforcement | ||||
| * | | | core/vm: check opcode stack before readonly enforcement | Péter Szilágyi | 2017-10-14 | 1 | -13/+10 |
|/ / / | |||||
* | | | Merge pull request #15288 from karalabe/trie-hash-benchmark | Péter Szilágyi | 2017-10-13 | 1 | -11/+33 |
|\ \ \ | | | | | | | | | trie: make hasher benchmark meaningful post-caches | ||||
| * | | | trie: make hasher benchmark meaningful post-caches | Péter Szilágyi | 2017-10-13 | 1 | -11/+33 |
|/ / / | |||||
* | | | Merge pull request #15275 from mcdee/master | Péter Szilágyi | 2017-10-13 | 1 | -6/+6 |
|\ \ \ | | | | | | | | | core/types: fix test for TransactionsByPriceAndNonce | ||||
| * | | | core/types: fix test for TransactionsByPriceAndNonce | Jim McDonald | 2017-10-11 | 1 | -6/+6 |
| | | | | |||||
* | | | | Merge pull request #15287 from ernestodeltoro/typo_thoretical | Péter Szilágyi | 2017-10-13 | 1 | -3/+3 |
|\ \ \ \ | |_|_|/ |/| | | | ethash: fix typo | ||||
| * | | | ethash: fix typo | Ernesto del Toro | 2017-10-13 | 1 | -3/+3 |
|/ / / | |||||
* | | | Merge pull request #15269 from karalabe/puppeth-dumb-ip-filtering | Péter Szilágyi | 2017-10-12 | 2 | -11/+33 |
|\ \ \ | | | | | | | | | cmd/puppeth: use dumb textual IP filtering | ||||
| * | | | cmd/puppeth: use dumb textual IP filtering | Péter Szilágyi | 2017-10-10 | 2 | -11/+33 |
| | | | | |||||
* | | | | Merge pull request #15280 from terasum/master | Péter Szilágyi | 2017-10-12 | 1 | -1/+1 |
|\ \ \ \ | | | | | | | | | | | miner: fix typo | ||||
| * | | | | miner: fix typo | terasum | 2017-10-12 | 1 | -1/+1 |
|/ / / / | |||||
* | | | | Merge pull request #14785 from Arachnid/downloaddb | Péter Szilágyi | 2017-10-11 | 4 | -8/+243 |
|\ \ \ \ | |_|/ / |/| | | | cmd: Added support for downloading to another DB instance | ||||
| * | | | cmd, eth: separate out FakePeer for future reuse | Péter Szilágyi | 2017-10-10 | 3 | -152/+192 |
| | | | | |||||
| * | | | cmd: Added support for copying data to another DB instance | Nick Johnson | 2017-10-10 | 2 | -1/+196 |
| |/ / | |||||
* / / | event: fix typo (#15270) | Jia Chenhui | 2017-10-10 | 1 | -1/+1 |
|/ / | |||||
* | | params: explain EIP150Hash (#15237) | Péter Szilágyi | 2017-10-10 | 1 | -2/+3 |
| | | |||||
* | | consensus/clique: add fork hash enforcement (#15236) | Péter Szilágyi | 2017-10-10 | 2 | -1/+6 |
| | | |||||
* | | eth/fetcher: check the origin of filter tasks (#14975) | Miya Chen | 2017-10-10 | 3 | -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 Herbst | 2017-10-09 | 1 | -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 Swende | 2017-10-09 | 4 | -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 Ballet | 2017-10-06 | 5 | -17/+331 |
| | |