e949a2ed2f
cmd/bzzd: swarm daemon fixes ( #3359 )
...
* 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
2016-11-28 13:29:33 +01:00
8d0108fc5d
Merge pull request #3355 from fjl/hexutil-2
...
Improve hex encoding/decoding
2016-11-28 13:29:16 +02:00
ba41efa8a0
Merge pull request #3362 from karalabe/cocoapods-fix-3000
...
build: use single CocoaPods package, pre-release dev builds
2016-11-28 13:28:02 +02:00
f81660b6db
build: use single CocoaPods package, pre-release dev builds
2016-11-28 13:09:43 +02:00
91bceb4ace
ethclient: "addresses" -> "address" in filter query encoding
2016-11-28 11:37:13 +01:00
be746628c7
eth/filters: simplify query object decoding
2016-11-28 11:37:13 +01:00
ec5f531f4b
accounts: don't use common.Address for address field
...
common.Address JSON encoding now enforces the 0x prefix, but key files
don't have the prefix.
2016-11-28 11:37:13 +01:00
37e5816bcd
common: use package hexutil for fixed size type encoding
2016-11-28 11:37:13 +01:00
665bb43a4c
light: implemented VMState.Empty() ( #3357 )
2016-11-28 11:31:15 +01:00
e4bf004560
build/ci: add swarm related executables (bzzd, bzzup, bzzhash) to binary packages ( #3354 )
2016-11-28 11:25:19 +01:00
1609df3275
ethclient: use package hexutil for JSON handling
2016-11-28 11:22:52 +01:00
24f288770e
core/types: use package hexutil for JSON handling
2016-11-28 11:22:52 +01:00
65e6319b12
core/vm: use package hexutil for JSON handling
2016-11-28 11:22:52 +01:00
ec75953f50
common/hexutil: new package for 0x hex encoding
...
The new package is purpose-built to handle the encoding consumed and
produced by the RPC API.
2016-11-28 11:22:52 +01:00
801a13f791
core: fixed unwinding bad hash ( #3347 )
...
Fixed unwinding of bad hashes when already on the canon chain
2016-11-28 10:37:42 +01:00
eea8d6aa96
Merge pull request #3356 from fjl/accounts-no-watch-on-windows
...
accounts: disable file system watcher on windows
2016-11-28 10:36:39 +02:00
2b9cd71d67
Merge pull request #3352 from fjl/build-git-tag
...
internal/build: use 'git tag --points-at' to get the current tag
2016-11-28 10:33:12 +02:00
5df83e3bd9
accounts: disable file system watcher on windows
...
The watcher is unreliable and causes test failures on Windows.
Disable it until we have a better solution.
2016-11-28 03:09:58 +01:00
6061707371
core: eip unit tests ( #3309 )
2016-11-28 01:33:28 +01:00
20899c05a4
internal/build: use 'git tag --points-at' to get the current tag
...
This should restore support for building with git 1.x.
2016-11-27 18:42:48 +01:00
4c8c5e2f74
cmd, ethstats, les, mobile, params: native netstats ( #3336 )
2016-11-25 16:55:06 +01:00
d1a95c643e
Merge pull request #3325 from fjl/p2p-netrestrict
...
Prevent relay of invalid IPs, add --netrestrict
2016-11-25 13:59:18 +01:00
9c3ea0d32d
Merge pull request #3346 from obscuren/registrar-removal
...
common/registrar, eth: removed registrar (tech debt)
2016-11-25 14:22:53 +02:00
67e0894d9e
common/httpclient, les: removed httpclient
2016-11-25 13:10:44 +01:00
6cc87a31c6
cmd/utils, internal/web3ext: removed httpGet
2016-11-25 12:31:06 +01:00
b8c766a9c5
eth: removed http doc backend api
2016-11-25 12:17:10 +01:00
66441c9b4b
Merge pull request #3345 from karalabe/cleanup-mobile-crossbuilds
...
Makefile, build: do proper mobile builds, not cross builds
2016-11-25 13:15:57 +02:00
18d51d1de8
common/registrar: delete the old registrar code
...
The registrar was broken, unmaintained and there is a much better
replacement: ENS.
(cherry picked from commit 6ca8f57b08
)
2016-11-25 12:15:28 +01:00
01d5fc670b
internal/web3ext: remove registrar-related extensions
...
(cherry picked from commit d54ad55c60
)
2016-11-25 12:15:12 +01:00
0f1cbfd3da
Makefile, build: do proper mobile builds, not cross builds
2016-11-25 12:51:10 +02:00
586f10ecb1
cmd/utils, VERSION: 1.5.4 unstable
2016-11-24 23:06:25 +01:00
978737f5d5
cmd/utils: 1.5.3 stable
v1.5.3
2016-11-24 23:03:13 +01:00
fa0e057f8a
Merge pull request #3341 from obscuren/touch-delete-fix
...
core, core/state: fixed consensus issue added touch revert
2016-11-24 23:01:34 +01:00
bca7bfa927
tests: update from github.com/ethereum/tests @ f21c49dc816e
2016-11-24 22:54:50 +01:00
12d654a6fc
core, core/state: fixed consensus issue added touch revert
...
Implemented proper touch revert journal entries and copied a Parity
consensus bug in order to remain in sync with the current longest chain.
2016-11-24 22:12:54 +01:00
8e64e4383c
Merge pull request #3338 from karalabe/miner-driveby-cleanup
...
miner: remove dead code, add gas price getter
2016-11-24 15:35:38 +02:00
f59d8cde26
Merge pull request #3337 from karalabe/core-driveby-cleanup
...
core: remove dead event
2016-11-24 15:34:51 +02:00
94c0519be2
miner: remove dead code, add gas price getter
2016-11-24 15:24:49 +02:00
529c502876
core: remove dead event
2016-11-24 15:23:01 +02:00
c04c8f10f0
core: improved bad block error reporting ( #3320 )
2016-11-23 13:32:25 +01:00
e05d35e6e0
Merge pull request #3317 from fjl/build-unstable-simplify
...
build, internal/build: simplify unstable build checks
2016-11-23 12:24:28 +02:00
e1e2df656a
internal/build: add support for git tag in local Environment
...
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.
2016-11-23 10:40:22 +01:00
f7da5b29f0
Merge pull request #3327 from karalabe/cocoapods-version-round2
...
build: remove hash metadata from cocoapod version
2016-11-23 11:32:49 +02:00
2b4c236773
build: remove hash metadata from cocoapod version
2016-11-23 10:49:25 +02:00
a8ca75738a
core: implemented new ropsten testnet
2016-11-23 09:34:01 +01:00
aad4890082
cmd/geth, core, light, mobile: removed state account StartingNonce
...
All account's nonce start at 0.
2016-11-23 09:34:01 +01:00
e5edd3b983
cmd/bootnode, cmd/geth, cmd/bzzd: add --netrestrict
2016-11-22 22:21:18 +01:00
a47341cf96
p2p, p2p/discover, p2p/discv5: add IP network restriction feature
...
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.
2016-11-22 22:21:18 +01:00
e46bda5093
swarm/network: prevent relay of invalid IPs
2016-11-22 22:21:18 +01:00
a98d1d67d6
p2p/discover, p2p/discv5: prevent relay of invalid IPs and low ports
...
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.
2016-11-22 22:21:18 +01:00