aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* core/vm: improved EVM run loop & instruction calling (#3378)Jeffrey Wilcke2017-01-0544-1996/+1653
| | | | | | | | | | | | | | | The run loop, which previously contained custom opcode executes have been removed and has been simplified to a few checks. Each operation consists of 4 elements: execution function, gas cost function, stack validation function and memory size function. The execution function implements the operation's runtime behaviour, the gas cost function implements the operation gas costs function and greatly depends on the memory and stack, the stack validation function validates the stack and makes sure that enough items can be popped off and pushed on and the memory size function calculates the memory required for the operation and returns it. This commit also allows the EVM to go unmetered. This is helpful for offline operations such as contract calls.
* accounts/abi: add support for function types (#3405)RJ2017-01-054-4/+24
|
* cmd/utils: disallow `--fakepow` for live operation (#3512)Péter Szilágyi2017-01-051-1/+0
|
* accounts, core, crypto, internal: use normalised V during signature handling ↵Péter Szilágyi2017-01-0510-201/+91
| | | | | | | | | (#3455) To address increasing complexity in code that handles signatures, this PR discards all notion of "different" signature types at the library level. Both the crypto and accounts package is reduced to only be able to produce plain canonical secp256k1 signatures. This makes the crpyto APIs much cleaner, simpler and harder to abuse.
* Merge pull request #3511 from karalabe/live-fakepowPéter Szilágyi2017-01-043-10/+11
|\ | | | | cmd/utils, eth, les: bubble --fakepow flag into eth/les too
| * cmd/utils, eth, les: bubble --fakepow flag into eth/les tooPéter Szilágyi2017-01-043-10/+11
| |
* | Merge pull request #3505 from bas-vk/txinblockPéter Szilágyi2017-01-041-1/+1
|\ \ | |/ |/| ethclient: hex encode request args for TransactionInBlock
| * ethclient: hex encode request args for TransactionInBlockBas van Kervel2017-01-031-1/+1
| |
* | Merge pull request #3486 from bas-vk/txbyhashPéter Szilágyi2017-01-031-1/+1
|\ \ | | | | | | ethclient: pass ptr when parsing eth_getTransactionByHash result
| * | ethclient: pass ptr when parsing eth_getTransactionByHash resultBas van Kervel2016-12-221-1/+1
| | |
* | | mobile: add SetVerbosity (#3492)Guillaume NICOLAS2017-01-031-0/+26
| |/ |/|
* | Merge pull request #3490 from karalabe/fix-miner-apiPéter Szilágyi2016-12-231-2/+2
|\ \ | | | | | | eth: fix miner start API to accept int, not hexint
| * | eth: fix miner start API to accept int, not hexintPéter Szilágyi2016-12-231-2/+2
|/ /
* | Merge pull request #3475 from fjl/rpc-hex-improvementsPéter Szilágyi2016-12-2213-637/+287
|\ \ | |/ |/| rpc: remove HexBytes, HexNumber
| * internal/ethapi: fix hex handling for eth_call input and eth_sendRawTransactionFelix Lange2016-12-202-6/+6
| |
| * rpc: remove HexNumber, replace all uses with hexutil typesFelix Lange2016-12-2011-534/+234
| | | | | | | | | | This change couldn't be automated because HexNumber was used for numbers of all sizes.
| * rpc: remove HexBytes, replace all uses with hexutil.BytesFelix Lange2016-12-204-66/+15
| |
| * rpc: improve error messages for invalid argumentsFelix Lange2016-12-201-31/+32
| | | | | | | | The message now includes the index of the invalid arg.
| * internal/jsre: fix built-in inspect functionFelix Lange2016-12-202-4/+4
| | | | | | | | | | inspect was broken by ffaf58f0a98 (May 2016!). Looks like nobody uses this function.
* | accounts/abi: add support for "anonymous" and "indexed" for events (#3464)bas-vk2016-12-224-20/+61
| |
* | cmd/disasm: fix off-by-one error and improve error handling (#3482)Valentin Wüstholz2016-12-221-2/+7
| |
* | swarm/http: check error returned by reader.Size (#3470)Aron Fischer2016-12-221-1/+13
| |
* | swarm/storage: call size before seek-from-end (#3469)Aron Fischer2016-12-221-2/+5
| |
* | swarm/api: check for zero length manifest error (#3468)Aron Fischer2016-12-221-0/+5
| |
* | Merge pull request #3479 from karalabe/android-ropsten-daoPéter Szilágyi2016-12-211-1/+1
|\ \ | |/ |/| mobile: fix ropsten chain configs
| * mobile: fix ropsten chain configsPéter Szilágyi2016-12-211-1/+1
|/
* eth, miner: verify PoW in the remote agent to notify submitter (#3438)Péter Szilágyi2016-12-202-13/+22
|
* eth/filters: add FindOnce for iterator-like operation (#3435)Nick Johnson2016-12-201-20/+50
| | | | | | | | | | | This commit introduces a FindOnce method for filters. FindOnce finds the next block that matches the filter and returns all matching logs from that block. If there are no further matching logs, it returns a nil slice. This method allows callers to iterate over large sets of logs progressively. The changes introduce a small inefficiency relating to mipmaps: the first time a filter is called, it acts as if all mipmaps are matched, and thus iterates several blocks near the requested start point. This is in the interest of simplicity and avoiding duplicate mipmap lookups each time FindOnce is called.
* whisper: refactoring (#3411)gluk2562016-12-2012-66/+253
| | | | | | | | | * whisper: refactored message processing * whisper: final polishing * whisper: logging updated * whisper: moved the check, changed the default PoW * whisper: refactoring of message queuing * whisper: refactored parameters
* Merge pull request #3403 from VoR0220/fixedPointsAbiPéter Szilágyi2016-12-192-7/+85
|\ | | | | accounts/abi: prepare ABI to handle fixed point types
| * accounts/abi: clean up PR and add type parsing testsPéter Szilágyi2016-12-192-5/+82
| |
| * accounts/abi: prepare ABI to handle fixed point typesVoR02202016-12-191-5/+6
| | | | | | | | Signed-off-by: VoR0220 <rj@erisindustries.com>
* | Merge pull request #3454 from karalabe/allow-zeroprice-txPéter Szilágyi2016-12-193-32/+9
|\ \ | | | | | | core: allow zero priced transactions from inexistent accounts too
| * | core, light: allow zero cost txs from inexistent accounts tooPéter Szilágyi2016-12-163-32/+9
| | |
* | | Merge pull request #3453 from fjl/api-sign-recover-hexPéter Szilágyi2016-12-191-29/+14
|\ \ \ | |/ / |/| | internal/ethapi: fix hex handling for eth_sign, personal_{sign,recover}
| * | internal/ethapi: fix hex handling for eth_sign, personal_{sign,recover}Felix Lange2016-12-161-29/+14
|/ /
* | Merge pull request #3445 from karalabe/govet-ip-signalPéter Szilágyi2016-12-151-2/+1
|\ \ | | | | | | p2p/nat: fix a bytes based net.IP comparison
| * | p2p/nat: fix a bytes based net.IP comparisonPéter Szilágyi2016-12-151-2/+1
| | |
* | | Merge pull request #3442 from karalabe/discv5-fix-ip-comparisonPéter Szilágyi2016-12-154-5/+4
|\| | | | | | | | p2p/discover, p2p/discv5: use flexible comparison for IPs
| * | p2p/discover, p2p/discv5: use flexible comparison for IPsPéter Szilágyi2016-12-154-5/+4
|/ /
* | Merge pull request #3433 from karalabe/badblock-order-fixPéter Szilágyi2016-12-142-3/+40
|\ \ | | | | | | core: import future blocks one-by-one, enfore chain ancestry
| * | core: import future blocks one-by-one, enfore chain ancestryPéter Szilágyi2016-12-132-3/+40
| | |
* | | Merge pull request #3441 from karalabe/begin-1.5.6-cyclePéter Szilágyi2016-12-142-5/+5
|\ \ \ | | | | | | | | VERSION, params: start Geth 1.5.6 development cycle
| * | | VERSION, params: start Geth 1.5.6 development cyclePéter Szilágyi2016-12-142-5/+5
|/ / /
* | | Merge pull request #3440 from karalabe/release-1.5.5v1.5.5Péter Szilágyi2016-12-141-4/+4
|\ \ \ | | | | | | | | params: stable version 1.5.5
| * | | params: stable version 1.5.5Péter Szilágyi2016-12-141-4/+4
|/ / /
* | | Merge pull request #3430 from karalabe/miner-pending-racePéter Szilágyi2016-12-143-74/+217
|\ \ \ | | | | | | | | miner: clean up unconfirmed mined block tracking
| * | | miner: rename pending to unconformed, add bounds and ops testsPéter Szilágyi2016-12-133-30/+117
| | | |
| * | | miner: clean up unconfirmed mined block trackingPéter Szilágyi2016-12-132-74/+130
| |/ /
* | | Merge pull request #3421 from ethersphere/s/swarm-cmdPéter Szilágyi2016-12-146-76/+178
|\ \ \ | | | | | | | | cmd/swarm: one command with subcommands
| * | | cmd/swarm: testnet bootnodes IP address changezelig2016-12-141-5/+5
| | | |
| * | | cmd/swarm: improve uploader output and add defaultpath optionzelig2016-12-132-22/+68
| | | |
| * | | cmd/swarm: ethapi not requiredzelig2016-12-131-6/+4
| | | |
| * | | cmd/swarm: trim trailing slash from bzzapi urlzelig2016-12-131-1/+1
| | | |
| * | | cmd/swarm: add default bootnodes for testnet 3zelig2016-12-131-6/+13
| | | |
| * | | swarm/network, cmd/swarm: swarm default network id is 3 (to match Ropsten)zelig2016-12-132-2/+2
| | | |
| * | | build: add swarm command to binary packages, update READMEzelig2016-12-132-16/+4
| | | |
| * | | cmd/swarm: subsume cmd/bzz* as subcommands under swarmzelig2016-12-133-27/+90
| | | | | | | | | | | | | | | | cmd/swarm: subsume cmd/bzz* under cmd/swarm as subcommands
* | | | Merge pull request #3439 from karalabe/drop-deprecated-wilyPéter Szilágyi2016-12-141-1/+2
|\ \ \ \ | | | | | | | | | | build: Ubuntu wily was officially deprecated, drop support
| * | | | build: Ubuntu wily was officially deprecated, drop supportPéter Szilágyi2016-12-141-1/+2
|/ / / /
* | | | Merge pull request #3429 from bas-vk/txpool-crashPéter Szilágyi2016-12-141-10/+4
|\ \ \ \ | | | | | | | | | | core: init pending state in tx pool on creation
| * | | | core: init pending state in tx pool on creationBas van Kervel2016-12-131-10/+4
| |/ / /
* | | | Merge pull request #3427 from Arachnid/gzipdumpPéter Szilágyi2016-12-142-5/+45
|\ \ \ \ | | | | | | | | | | cmd/utils, eth: Add gzip support for chain dump and restore
| * | | | cmd/utils, eth: Add gzip support for chain dump and restoreNick Johnson2016-12-142-5/+45
| | | | |
* | | | | Merge pull request #3437 from karalabe/update-ci-go1.7.4Péter Szilágyi2016-12-142-6/+6
|\ \ \ \ \ | | | | | | | | | | | | travis, appveyor: build with Go 1.7.4
| * | | | | travis, appveyor: build with Go 1.7.4Péter Szilágyi2016-12-142-6/+6
|/ / / / /
* | | | | Merge pull request #3434 from karalabe/drop-legacy-androidPéter Szilágyi2016-12-143-126/+0
|\ \ \ \ \ | |_|_|/ / |/| | | | cmd/geth: drop legacy android code
| * | | | cmd/geth: drop legacy android codePéter Szilágyi2016-12-143-126/+0
|/ / / /
* | | | Merge pull request #3431 from karalabe/miner-race-fixesPéter Szilágyi2016-12-133-21/+26
|\ \ \ \ | |_|/ / |/| | | Miner race fixes
| * | | miner: fix data race on setting etherbase/extradataPéter Szilágyi2016-12-132-10/+12
| | | |
| * | | miner: fix a race between remote agent start/loopPéter Szilágyi2016-12-131-11/+14
|/ / /
* | | Merge pull request #3413 from zsfelfoldi/light-topic4Felix Lange2016-12-1321-546/+1913
|\ \ \ | |/ / |/| | les, p2p/discv5: implement server pool, improve peer selection, light fetcher and topic searching
| * | les, light: add block availability check for ODR requestsZsolt Felfoldi2016-12-107-14/+71
| | |
| * | eth, les: defer starting LES service until ETH initial sync is finishedZsolt Felfoldi2016-12-105-5/+42
| | |
| * | les: using random request IDsZsolt Felfoldi2016-12-103-11/+10
| | |
| * | les: improved header fetcher and server statisticsZsolt Felfoldi2016-12-1010-481/+812
| | |
| * | les: fixed light fetcher request ID matchingZsolt Felfoldi2016-12-082-5/+11
| | |
| * | p2p/discv5: search and lookup improvementZsolt Felfoldi2016-12-082-64/+99
| | |
| * | les: implement light server poolZsolt Felfoldi2016-12-085-45/+947
| | |
* | | Merge pull request #3425 from karalabe/netstats-time-fixupPéter Szilágyi2016-12-121-38/+197
|\ \ \ | | | | | | | | netstats: time and block history
| * | | ethstats: implement block history retrievalsPéter Szilágyi2016-12-121-38/+190
| | | |
| * | | ethstats: fix timestamps and add custom proto supportPéter Szilágyi2016-12-121-1/+8
|/ / /
* | | build: safe update of PATH on Windows (#3419)bas-vk2016-12-115-3/+164
| | | | | | | | | | | | | | | | | | | | | NSIS has a default MAX_STR_LEN of 1024. If $ENV{PATH} is longer the returned string is truncated to an empty string. Its then not possible to distinguis between the variable not set or too long. As a result the variable is set with the location where geth and/or dev tools are installed. This may override any previous set values.
* | | core: bugfix state change race condition in txpool (#3412)bas-vk2016-12-1112-56/+171
|/ / | | | | | | | | | | | | | | The transaction pool keeps track of the current nonce in its local pendingState. When a new block comes in the pendingState is reset. During the reset it fetches multiple times the current state through the use of the currentState callback. When a second block comes in during the reset its possible that the state changes during the reset. If that block holds transactions that are currently in the pool the local pendingState that is used to determine nonces can get out of sync.
* | mobile: iOS naming and API fixes for generators and Swift (#3408)Péter Szilágyi2016-12-0815-147/+151
| | | | | | | | | | * build: modify the iOS namespace to iGeth (gomobile limitation) * mobile: assign names to return types for ObjC wrapper * mobile: use more expanded names for iOS/Swift API
* | core, core/vm: implemented a generic environment (#3348)Jeffrey Wilcke2016-12-0639-1253/+952
| | | | | | | | | | | | | | | | Environment is now a struct (not an interface). This reduces a lot of tech-debt throughout the codebase where a virtual machine environment had to be implemented in order to test or run it. The new environment is suitable to be used en the json tests, core consensus and light client.
* | Merge pull request #3402 from fjl/ethclient-api-fixesFelix Lange2016-12-0612-190/+327
|\ \ | |/ |/| eth/filters, ethclient, ethereum: API improvements
| * ethereum: document use of Removed field for SubscribeFilterLogsFelix Lange2016-12-051-0/+3
| |
| * core, core/vm, eth/filters: move Removed field into vm.LogFelix Lange2016-12-058-165/+252
| | | | | | | | | | | | | | | | | | | | | | | | This field used to be assigned by the filter system and returned through the RPC API. Now that we have a Go client that uses the underlying type, the field needs to move. It is now assigned to true when the RemovedLogs event is generated so the filter system doesn't need to care about the field at all. While here, remove the log list from ChainSideEvent. There are no users of this field right now and any potential users could subscribe to RemovedLogsEvent instead.
| * ethclient, ethereum: add NotFound, split transactions out of ChainReaderFelix Lange2016-12-054-23/+67
| | | | | | | | | | | | | | | | | | ethclient now returns ethereum.NotFound if the server returns null and no error while accessing blockchain data. The light client cannot provide arbitrary transactions. The change to split transaction access into its own interface emphasizes that transactions should not be relied on and recommends use of logs.
| * ethclient: use package hexutil for number encodingFelix Lange2016-12-051-2/+2
| |
| * ethclient: don't crash if server returns null uncle headerFelix Lange2016-12-051-0/+3
|/ | | | | It should never return null for a known uncle, but even if it does we can't just crash.
* whisper/shhapi, whisper/whisperv5: refactoring (#3364)gluk2562016-12-0214-650/+828
| | | | | | | | | | * Filter refactoring * API tests added + bugfix * fixed the error logs * FilterID fixed * test cases fixed * key generation updated * POW updated * got rid of redundant stuff
* swarm/api: Update ENS root address for Ropsten & prod (#3391)Nick Johnson2016-12-022-5/+4
|
* Merge pull request #3390 from bas-vk/statsd-stopPéter Szilágyi2016-12-011-1/+9
|\ | | | | ethstats: check if received event is valid
| * ethstats: check if received event is validBas van Kervel2016-12-011-1/+9
| |
* | README: removed develop mentionsMaran2016-12-011-3/+1
|/
* cmd/geth: tidied up the source (#3385)Péter Szilágyi2016-11-303-133/+174
| | | cmd/geth: tidied up the source
* Merge pull request #3373 from karalabe/ethstats-block-fieldsPéter Szilágyi2016-11-301-16/+16
|\ | | | | ethstats: don't drop concurrent head reports (mini forks)
| * ethstats: don't drop concurrent head reports (mini forks)Péter Szilágyi2016-11-291-16/+16
| |
* | Merge pull request #3368 from bas-vk/sha3Péter Szilágyi2016-11-301-3/+3
|\ \ | | | | | | node: improve error handling for web3_sha3 RPC method
| * | node: improve error handling for web3_sha3 RPC methodBas van Kervel2016-11-291-3/+3
| | |
* | | eth, miner: removed unnecessary state.Copy()Martin Holst Swende2016-11-303-2/+26
| | | | | | | | | | | | | | | | | | | | | | | | * miner: removed unnecessary state.Copy() * eth: made use of new miner method without state copying * miner: More documentation about new method
* | | cmd/utils: update helpscreen's testnet description (#3377)Luca Zeug2016-11-291-1/+1
| | |
* | | Merge pull request #3376 from karalabe/drop-dao-flagsPéter Szilágyi2016-11-293-88/+17
|\ \ \ | |_|/ |/| | cmd: drop DAO related choice flags since ETC diverged
| * | cmd: drop DAO related choice flags since ETC divergedPéter Szilágyi2016-11-293-88/+17
|/ /
* | Merge pull request #3370 from karalabe/ethstats-block-fieldsPéter Szilágyi2016-11-291-6/+12
|\ \ | | | | | | ethstats: report block miner, gas limit and gas consumption
| * | ethstats: report block miner, gas limit and gas consumptionPéter Szilágyi2016-11-291-6/+12
|/ /
* / core/types: Document Transaction.To (#3366)Steven Roose2016-11-291-0/+2
|/
* VERSION, params: bump unstable version 1.5.5 (#3361)Jeffrey Wilcke2016-11-282-5/+5
|
* params: stable version 1.5.4 (#3360)v1.5.4Jeffrey Wilcke2016-11-281-4/+4
|
* eth/filter: add support for pending logs (#3219)bas-vk2016-11-287-92/+319
|
* common/hexutil: fix Test{Decode,Unmarshal}Uint64 on 32bit arch (#3363)Felix Lange2016-11-282-2/+2
|
* cmd/bzzd: swarm daemon fixes (#3359)Viktor Trón2016-11-287-46/+56
| | | | | | | | | | | | * cmd/bzzd: add missing p2p/discovery flags * cmd/bzzd: fix two bugs crashing bzzd if bootnodes flag given * cmd/bzzd: make no swap default, renamed flag bzznoswap->bzzswap * internal/web3ext: correct methods for bzz IPC module * cmd/bzzd: ethapi param not mandatory. Warning if no blockchain * cmd/bzzd: correct default IPC modules in help string * cmd/utils: fix help description for networkId - add Ropsten * cmd/bzz, swarm/api, swarm/network: add swarm networkId flag * cmd/bzzd: change nosync flag to sync and BootTFlag
* Merge pull request #3355 from fjl/hexutil-2Péter Szilágyi2016-11-2817-566/+1125
|\ | | | | Improve hex encoding/decoding
| * ethclient: "addresses" -> "address" in filter query encodingFelix Lange2016-11-281-1/+1
| |
| * eth/filters: simplify query object decodingFelix Lange2016-11-281-47/+44
| |
| * accounts: don't use common.Address for address fieldFelix Lange2016-11-281-4/+5
| | | | | | | | | | common.Address JSON encoding now enforces the 0x prefix, but key files don't have the prefix.
| * common: use package hexutil for fixed size type encodingFelix Lange2016-11-282-60/+30
| |
| * ethclient: use package hexutil for JSON handlingFelix Lange2016-11-281-34/+35
| |
| * core/types: use package hexutil for JSON handlingFelix Lange2016-11-286-392/+40
| |
| * core/vm: use package hexutil for JSON handlingFelix Lange2016-11-282-28/+23
| |
| * common/hexutil: new package for 0x hex encodingFelix Lange2016-11-284-0/+947
| | | | | | | | | | The new package is purpose-built to handle the encoding consumed and produced by the RPC API.
* | Merge pull request #3362 from karalabe/cocoapods-fix-3000Péter Szilágyi2016-11-282-8/+6
|\ \ | | | | | | build: use single CocoaPods package, pre-release dev builds
| * | build: use single CocoaPods package, pre-release dev buildsPéter Szilágyi2016-11-282-8/+6
|/ /
* | light: implemented VMState.Empty() (#3357)Felföldi Zsolt2016-11-282-2/+14
| |
* | build/ci: add swarm related executables (bzzd, bzzup, bzzhash) to binary ↵Viktor Trón2016-11-281-0/+15
|/ | | | packages (#3354)
* core: fixed unwinding bad hash (#3347)Jeffrey Wilcke2016-11-281-3/+8
| | | Fixed unwinding of bad hashes when already on the canon chain
* Merge pull request #3356 from fjl/accounts-no-watch-on-windowsPéter Szilágyi2016-11-282-2/+2
|\ | | | | accounts: disable file system watcher on windows
| * accounts: disable file system watcher on windowsFelix Lange2016-11-282-2/+2
| | | | | | | | | | The watcher is unreliable and causes test failures on Windows. Disable it until we have a better solution.
* | Merge pull request #3352 from fjl/build-git-tagPéter Szilágyi2016-11-281-1/+6
|\ \ | | | | | | internal/build: use 'git tag --points-at' to get the current tag
| * | internal/build: use 'git tag --points-at' to get the current tagFelix Lange2016-11-281-1/+6
| |/ | | | | | | This should restore support for building with git 1.x.
* / core: eip unit tests (#3309)Jeffrey Wilcke2016-11-281-7/+71
|/
* cmd, ethstats, les, mobile, params: native netstats (#3336)Péter Szilágyi2016-11-258-46/+533
|
* Merge pull request #3325 from fjl/p2p-netrestrictFelix Lange2016-11-2525-230/+643
|\ | | | | Prevent relay of invalid IPs, add --netrestrict
| * cmd/bootnode, cmd/geth, cmd/bzzd: add --netrestrictFelix Lange2016-11-236-2/+35
| |
| * p2p, p2p/discover, p2p/discv5: add IP network restriction featureFelix Lange2016-11-239-34/+124
| | | | | | | | | | | | The p2p packages can now be configured to restrict all communication to a certain subset of IP networks. This feature is meant to be used for private networks.
| * swarm/network: prevent relay of invalid IPsFelix Lange2016-11-231-0/+5
| |
| * p2p/discover, p2p/discv5: prevent relay of invalid IPs and low portsFelix Lange2016-11-236-28/+56
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The discovery DHT contains a number of hosts with LAN and loopback IPs. These get relayed because some implementations do not perform any checks on the IP. go-ethereum already prevented relay in most cases because it verifies that the host actually exists before adding it to the local table. But this verification causes other issues. We have received several reports where people's VPSs got shut down by hosting providers because sending packets to random LAN hosts is indistinguishable from a slow port scan. The new check prevents sending random packets to LAN by discarding LAN IPs sent by Internet hosts (and loopback IPs from LAN and Internet hosts). The new check also blacklists almost all currently registered special-purpose networks assigned by IANA to avoid inciting random responses from services in the LAN. As another precaution against abuse of the DHT, ports below 1024 are now considered invalid.
| * p2p/discover, p2p/discv5: use netutil.IsTemporaryErrorFelix Lange2016-11-238-248/+2
| |
| * p2p/netutil: new package for network utilitiesFelix Lange2016-11-236-0/+503
| | | | | | | | | | | | | | | | The new package contains three things for now: - IP network list parsing and matching - The WSAEMSGSIZE workaround, which is duplicated in p2p/discover and p2p/discv5.
* | Merge pull request #3346 from obscuren/registrar-removalPéter Szilágyi2016-11-2511-1296/+5
|\ \ | | | | | | common/registrar, eth: removed registrar (tech debt)
| * | common/httpclient, les: removed httpclientJeffrey Wilcke2016-11-254-210/+4
| | |
| * | cmd/utils, internal/web3ext: removed httpGetJeffrey Wilcke2016-11-252-6/+1
| | |
| * | eth: removed http doc backend apiJeffrey Wilcke2016-11-251-7/+0
| | |
| * | common/registrar: delete the old registrar codeFelix Lange2016-11-255-1043/+0
| | | | | | | | | | | | | | | | | | | | | The registrar was broken, unmaintained and there is a much better replacement: ENS. (cherry picked from commit 6ca8f57b08d550613175260cab7633adcacbe6ab)
| * | internal/web3ext: remove registrar-related extensionsFelix Lange2016-11-251-30/+0
| | | | | | | | | | | | (cherry picked from commit d54ad55c6079ae6eab93d7f34ce5c4ec829f8e5b)
* | | Merge pull request #3345 from karalabe/cleanup-mobile-crossbuildsPéter Szilágyi2016-11-252-16/+29
|\ \ \ | |/ / |/| | Makefile, build: do proper mobile builds, not cross builds
| * | Makefile, build: do proper mobile builds, not cross buildsPéter Szilágyi2016-11-252-16/+29
|/ /
* | cmd/utils, VERSION: 1.5.4 unstableFelix Lange2016-11-252-5/+5
| |
* | cmd/utils: 1.5.3 stablev1.5.3Felix Lange2016-11-251-4/+4
| |
* | Merge pull request #3341 from obscuren/touch-delete-fixFelix Lange2016-11-2538-1096/+1971
|\ \ | | | | | | core, core/state: fixed consensus issue added touch revert
| * | tests: update from github.com/ethereum/tests @ f21c49dc816eFelix Lange2016-11-2531-1065/+1799
| | |
| * | core, core/state: fixed consensus issue added touch revertJeffrey Wilcke2016-11-258-31/+172
| | | | | | | | | | | | | | | Implemented proper touch revert journal entries and copied a Parity consensus bug in order to remain in sync with the current longest chain.
* | | Merge pull request #3338 from karalabe/miner-driveby-cleanupPéter Szilágyi2016-11-241-3/+4
|\ \ \ | | | | | | | | miner: remove dead code, add gas price getter
| * | | miner: remove dead code, add gas price getterPéter Szilágyi2016-11-241-3/+4
| |/ /
* | | Merge pull request #3337 from karalabe/core-driveby-cleanupPéter Szilágyi2016-11-241-3/+0
|\ \ \ | |/ / |/| | core: remove dead event
| * | core: remove dead eventPéter Szilágyi2016-11-241-3/+0
|/ /
* | core: improved bad block error reporting (#3320)Jeffrey Wilcke2016-11-235-18/+47
| |
* | Merge pull request #3317 from fjl/build-unstable-simplifyPéter Szilágyi2016-11-234-10/+15
|\ \ | | | | | | build, internal/build: simplify unstable build checks
| * | internal/build: add support for git tag in local EnvironmentFelix Lange2016-11-232-3/+9
| | | | | | | | | | | | | | | | | | I didn't add this initially because the command I tried was too slow. The 'git for-each-ref ...' invocation takes 40ms on my machine. That ought to be acceptable.
| * | appveyor: use native 32bit goFelix Lange2016-11-211-6/+5
| | | | | | | | | | | | | | | This simplifies the build and should speed it up a bit because the standard library doesn't need to be cross compiled on the 32bit builder.
| * | build: simplify unstable build checkFelix Lange2016-11-191-1/+1
| |/ | | | | | | | | | | | | | | | | ci.go decides whether a build is unstable by looking at the branch and tag. This causes issues when a GitHub release is created on the master branch because the build is considered unstable (the CI environment reports the branch as "master"). Fix this by looking at the tag only. Any tagged build is stable.
* | Merge pull request #3327 from karalabe/cocoapods-version-round2Péter Szilágyi2016-11-231-1/+1
|\ \ | | | | | | build: remove hash metadata from cocoapod version
| * | build: remove hash metadata from cocoapod versionPéter Szilágyi2016-11-231-1/+1
|/ /
* | core: implemented new ropsten testnetJeffrey Wilcke2016-11-238-66/+42
| |
* | cmd/geth, core, light, mobile: removed state account StartingNonceJeffrey Wilcke2016-11-237-33/+5
| | | | | | | | All account's nonce start at 0.
* | build: mobile CI fixes (#3322)Péter Szilágyi2016-11-232-8/+10
| | | | | | | | | | * build: use metatags on cocoapods, not prerelease tags * build: fix Maven and CocoaPods author email addresses
* | README: Changed http:// to https:// for swarm link (#3312)sandakersmann2016-11-211-1/+1
| | | | | | Changed http:// to https:// on one link in README.md
* | cmd/bzzup: trim directory in the manifest entry path (#3299)Aron Fischer2016-11-181-2/+2
|/
* node: Remove redundant filepath.Join in parsePersistentNodes (#3300)FrankWang2016-11-181-2/+1
|
* cmd/utils, VERSION: 1.5.3 unstable (#3306)Nick Johnson2016-11-182-3/+3
|
* core: Don't perform EIP150 hash check on uncles (#3303)v1.5.2Nick Johnson2016-11-181-1/+1
|
* cmd/utils: Set version string to stable (#3304)Nick Johnson2016-11-181-1/+1
|
* README: add documentation for bzz related executables to the table (#3294)Viktor Trón2016-11-181-1/+4
|
* travis: dash of black magic to summon the cache daemon (#3288)Péter Szilágyi2016-11-172-11/+9
|
* Dockerfile: Add git dependency to Dockerfile (#3295)Nick Johnson2016-11-171-2/+2
|
* cmd/utils, VERSION: 1.5.2 unstableFelix Lange2016-11-172-5/+5
|
* Merge pull request #3278 from obscuren/version-1-5-1v1.5.1Jeffrey Wilcke2016-11-161-4/+4
|\ | | | | utils: bump stable 1.5.1
| * utils: bump stableJeffrey Wilcke2016-11-161-4/+4
| |
* | Merge pull request #3280 from fjl/fix-go15Jeffrey Wilcke2016-11-161-1/+2
|\ \ | |/ |/| build: set GO15VENDOREXPERIMENT in env.sh
| * build: set GO15VENDOREXPERIMENT in env.shFelix Lange2016-11-161-1/+2
|/ | | | This should fix the 'make' build with Go 1.5.
* cmd/utils, mobile, params: set the correct field on testnet EIP 155 (#3272)Péter Szilágyi2016-11-164-50/+35
|
* travis: only install the needed three android platforms (#3274)Péter Szilágyi2016-11-161-1/+1
|
* Merge pull request #3275 from obscuren/les-print-fixPéter Szilágyi2016-11-161-1/+1
|\ | | | | les: fixed logging
| * les: fixed loggingJeffrey Wilcke2016-11-161-1/+1
| |
* | Merge pull request #3271 from Arachnid/dockerfilesJeffrey Wilcke2016-11-163-2/+16
|\ \ | | | | | | Dockerfile revamp
| * | containers/docker: Fix dockerfiles for new branch layout; add dockerfile in rootNick Johnson2016-11-163-2/+16
| | |
* | | cmd/utils: remove jit flag handling (#3273)Felix Lange2016-11-161-14/+0
|/ / | | | | | | The jit config options are not handled, but random selection still took place, printing confusing messages.
* | Merge pull request #3270 from fjl/version-1.5.1Péter Szilágyi2016-11-152-19/+5
|\ \ | |/ |/| README, VERSION: update for 1.5 release
| * README: update for develop->master switch, remove old build tableFelix Lange2016-11-151-18/+4
| |
| * VERSION: bump unstable version to 1.5.1Felix Lange2016-11-151-1/+1
|/
* Merge pull request #3260 from obscuren/version-1-5-1Jeffrey Wilcke2016-11-151-4/+4
|\ | | | | utils: unstable 1.5.1
| * utils: unstable 1.5.1Jeffrey Wilcke2016-11-151-4/+4
| |
* | Merge pull request #3259 from obscuren/version-1-5-0v1.5.0Jeffrey Wilcke2016-11-151-4/+4
|\| | | | | utils: stable 1.5.0
| * utils: stable 1.5.0Jeffrey Wilcke2016-11-151-4/+4
| |
* | Merge pull request #3268 from fjl/build-master-unstableJeffrey Wilcke2016-11-151-2/+2
|\ \ | | | | | | build: master is unstable
| * | build: master is unstableFelix Lange2016-11-151-2/+2
|/ /
* | Merge pull request #3266 from fjl/travis-ppa-livePéter Szilágyi2016-11-152-2/+2
|\ \ | | | | | | travis.yml: upload to the real PPA
| * | travis.yml: upload to the real PPAFelix Lange2016-11-152-2/+2
|/ /
* | travis: force xcode to finish iOS simulator configs (#3265)Péter Szilágyi2016-11-151-0/+2
| |
* | params: hardfork blocknumber (#3264)Jeffrey Wilcke2016-11-151-2/+2
| |
* | Merge pull request #3263 from karalabe/travis-cocoapods-gpg2Péter Szilágyi2016-11-153-15/+16
|\ \ | | | | | | travis, build: further maven and gpg refinements
| * | travis, build: further maven and gpg refinementsPéter Szilágyi2016-11-153-15/+16
| | |
* | | Merge pull request #3262 from karalabe/travis-cocoapods-gpg2Péter Szilágyi2016-11-152-1/+2
|\| | | |/ |/| travis, build: fix mobile build issues on travis
| * travis, build: fix mobile build issues on travisPéter Szilágyi2016-11-152-1/+2
|/
* Merge pull request #3258 from karalabe/unfuckup-travisPéter Szilágyi2016-11-151-1/+1
|\ | | | | travis: work around "timeout features"
| * travis: work around "timeout features"Péter Szilágyi2016-11-151-1/+1
| |
* | core, core/types: refactored tx chain id checking (#3257)Jeffrey Wilcke2016-11-156-12/+58
|\ \ | |/ |/| | | | | | | | | | | * core, core/types: refactored tx chain id checking Refactored explicit chain id checking in to the Sender deriviation method * cmd/utils, params: define chain ids
| * cmd/utils, params: define chain idsJeffrey Wilcke2016-11-152-0/+10
| |
| * core, core/types: refactored tx chain id checkingJeffrey Wilcke2016-11-144-12/+48
| | | | | | | | Refactored explicit chain id checking in to the Sender deriviation method
* | Merge pull request #2977 from karalabe/initial-mobile-suportFelix Lange2016-11-1544-112/+3278
|\ \ | | | | | | mobile: initial wrappers for mobile support
| * | cmd/utils, mobile: place bootnodes in LGPL packagesPéter Szilágyi2016-11-154-22/+22
| | |
| * | mobile: port wrappers to EIP155 and EIP158 forkPéter Szilágyi2016-11-156-48/+58
| | |
| * | travis, build: cocoapods build fixes and travis cachesPéter Szilágyi2016-11-154-3/+18
| | |
| * | accounts/abi/bind, mobile: review fixes and android testsPéter Szilágyi2016-11-153-8/+215
| | |
| * | cmd, mobile, node, p2p: surface the discovery V5 bootnodesPéter Szilágyi2016-11-158-68/+101
| | |
| * | cmd/utils, mobile: update to reprice HF and light clientPéter Szilágyi2016-11-143-31/+55
| | |
| * | build: iOS XCode framework build and uploadPéter Szilágyi2016-11-144-25/+140
| | |
| * | .travis, build: Build step to push .aar to Maven CentralPéter Szilágyi2016-11-146-15/+216
| | |
| * | mobile: initial wrappers for mobile supportPéter Szilágyi2016-11-1433-33/+2594
|/ /
* | Merge pull request #3253 from zsfelfoldi/light-topic3Felix Lange2016-11-1413-100/+148
|\ \ | |/ |/| Light client bugfixes and updates
| * core/types: turn off nonce checking for Call messagesZsolt Felfoldi2016-11-146-22/+25
| |
| * light: updated CHTs for mainnet and testnetZsolt Felfoldi2016-11-141-4/+4
| |
| * p2p/discv5: added new bootnodesZsolt Felfoldi2016-11-141-1/+2
| |
| * p2p/discv5: fixed bootnode connect issuesZsolt Felfoldi2016-11-145-69/+110
| |
| * les/flowcontrol: fixed locking schemeZsolt Felfoldi2016-11-141-4/+7
|/
* Merge pull request #3179 from obscuren/eip-158Felix Lange2016-11-14961-58765/+141709
|\ | | | | EIP158 & 160 Hardfork
| * core/vm/runtime: fixed go vetJeffrey Wilcke2016-11-141-1/+9
| |
| * core, params: EIP#170Jeffrey Wilcke2016-11-142-6/+6
| |
| * tests: updatedJeffrey Wilcke2016-11-14156-56657/+55468
| |
| * cmd/utils: set temporary HF numberJeffrey Wilcke2016-11-132-13/+31
| |
| * core/types, params: EIP#155Jeffrey Wilcke2016-11-1346-464/+1068
| |
| * tests: added new EIP158 testsJeffrey Wilcke2016-11-13731-1158/+84508
| |
| * core/vm, params: EIP160: EXP repriceJeffrey Wilcke2016-11-132-9/+6
| |
| * core, core/state, trie: EIP158, reprice & skip empty account writeJeffrey Wilcke2016-11-1374-561/+717
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This commit implements EIP158 part 1, 2, 3 & 4 1. If an account is empty it's no longer written to the trie. An empty account is defined as (balance=0, nonce=0, storage=0, code=0). 2. Delete an empty account if it's touched 3. An empty account is redefined as either non-existent or empty. 4. Zero value calls and zero value suicides no longer consume the 25k reation costs. params: moved core/config to params Signed-off-by: Jeffrey Wilcke <jeffrey@ethereum.org>
* | les: cleaned up logging (#3256)Jeffrey Wilcke2016-11-132-24/+29
|/
* Merge pull request #3248 from zsfelfoldi/light-topic3Felix Lange2016-11-112-2/+8
|\ | | | | Topic discovery bugfix
| * les: add missing nil check and handle quit in findServersZsolt Felfoldi2016-11-111-2/+5
| |
| * discv5: fixed state machine lockup bugZsolt Felfoldi2016-11-111-0/+3
| |
* | Merge pull request #3247 from fjl/bzzdFelix Lange2016-11-1111-117/+492
|\ \ | |/ |/| cmd: add swarm command line tools
| * cmd/bzzhash: add swarm hashing toolFelix Lange2016-11-111-0/+49
| |
| * cmd/bzzup: add swarm upload toolFelix Lange2016-11-111-0/+161
| |
| * cmd/bzzd: add swarm server daemonFelix Lange2016-11-111-0/+246
| |
| * swarm/api/http: reject requests without content-lengthFelix Lange2016-11-111-1/+5
| |
| * swarm/network: skip TestSyncDbFelix Lange2016-11-111-0/+2
| |
| * swarm/api: add bzz prefix to swarm directoryFelix Lange2016-11-112-12/+7
| |
| * node: add InstanceDir methodFelix Lange2016-11-112-2/+15
| |
| * accounts: add Find methodFelix Lange2016-11-111-1/+7
| |
| * cmd/v5test: delete the v5test toolFelix Lange2016-11-111-101/+0
|/