Zsolt Felfoldi
3e617f3cd6
les: implement light server pool
2016-12-08 13:38:15 +01:00
Péter Szilágyi
0fe35b907a
mobile: iOS naming and API fixes for generators and Swift ( #3408 )
...
* 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
2016-12-08 13:09:26 +01:00
Jeffrey Wilcke
3fc7c97827
core, core/vm: implemented a generic environment ( #3348 )
...
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.
2016-12-06 02:16:03 +01:00
Felix Lange
7f79d249a6
Merge pull request #3402 from fjl/ethclient-api-fixes
...
eth/filters, ethclient, ethereum: API improvements
2016-12-05 20:08:18 +01:00
Felix Lange
f138374027
ethereum: document use of Removed field for SubscribeFilterLogs
2016-12-05 10:57:11 +01:00
Felix Lange
f52a1ae849
core, core/vm, eth/filters: move Removed field into vm.Log
...
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.
2016-12-05 10:57:11 +01:00
Felix Lange
3bc0fe1ee3
ethclient, ethereum: add NotFound, split transactions out of ChainReader
...
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.
2016-12-05 10:57:11 +01:00
Felix Lange
fa0cc27400
ethclient: use package hexutil for number encoding
2016-12-04 19:45:55 +01:00
Felix Lange
4cb29bde2e
ethclient: don't crash if server returns null uncle header
...
It should never return null for a known uncle, but even if it does
we can't just crash.
2016-12-04 19:45:55 +01:00
gluk256
2dcf75a722
whisper/shhapi, whisper/whisperv5: refactoring ( #3364 )
...
* 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
2016-12-01 20:09:22 +01:00
Nick Johnson
671fd94e25
swarm/api: Update ENS root address for Ropsten & prod ( #3391 )
2016-12-01 19:33:10 +01:00
Péter Szilágyi
717d2f6f9e
Merge pull request #3390 from bas-vk/statsd-stop
...
ethstats: check if received event is valid
2016-12-01 10:30:19 +02:00
Maran
8cb95cb916
README: removed develop mentions
2016-11-30 19:39:05 +01:00
Bas van Kervel
56b446190a
ethstats: check if received event is valid
2016-11-30 17:47:39 +01:00
Péter Szilágyi
86f9e836be
cmd/geth: tidied up the source ( #3385 )
...
cmd/geth: tidied up the source
2016-11-30 13:34:24 +02:00
Péter Szilágyi
a90a170361
Merge pull request #3373 from karalabe/ethstats-block-fields
...
ethstats: don't drop concurrent head reports (mini forks)
2016-11-30 12:36:22 +02:00
Péter Szilágyi
889a5e0cf1
Merge pull request #3368 from bas-vk/sha3
...
node: improve error handling for web3_sha3 RPC method
2016-11-30 12:10:05 +02:00
Martin Holst Swende
9f8bc00cf5
eth, miner: removed unnecessary state.Copy()
...
* miner: removed unnecessary state.Copy()
* eth: made use of new miner method without state copying
* miner: More documentation about new method
2016-11-30 11:48:48 +02:00
Luca Zeug
3363a1c227
cmd/utils: update helpscreen's testnet description ( #3377 )
2016-11-29 16:23:11 +02:00
Péter Szilágyi
fc9939c4e1
Merge pull request #3376 from karalabe/drop-dao-flags
...
cmd: drop DAO related choice flags since ETC diverged
2016-11-29 16:12:40 +02:00
Péter Szilágyi
7267f796e6
cmd: drop DAO related choice flags since ETC diverged
2016-11-29 15:50:27 +02:00
Péter Szilágyi
7dfeceb8cc
ethstats: don't drop concurrent head reports (mini forks)
2016-11-29 14:17:20 +02:00
Péter Szilágyi
3807e520ec
Merge pull request #3370 from karalabe/ethstats-block-fields
...
ethstats: report block miner, gas limit and gas consumption
2016-11-29 13:15:58 +02:00
Péter Szilágyi
7625b1a4f4
ethstats: report block miner, gas limit and gas consumption
2016-11-29 11:39:56 +02:00
Bas van Kervel
1fc5cc1b59
node: improve error handling for web3_sha3 RPC method
2016-11-29 09:36:51 +01:00
Steven Roose
61ccb43487
core/types: Document Transaction.To ( #3366 )
2016-11-28 21:56:38 +01:00
Jeffrey Wilcke
bf24b120d7
VERSION, params: bump unstable version 1.5.5 ( #3361 )
2016-11-28 15:09:12 +01:00
Jeffrey Wilcke
b70acf3c5b
params: stable version 1.5.4 ( #3360 )
v1.5.4
2016-11-28 14:59:26 +01:00
bas-vk
b5be6b72cb
eth/filter: add support for pending logs ( #3219 )
2016-11-28 14:59:06 +01:00
Felix Lange
318ad3c1e4
common/hexutil: fix Test{Decode,Unmarshal}Uint64 on 32bit arch ( #3363 )
2016-11-28 13:55:56 +01:00
Viktor Trón
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
Péter Szilágyi
8d0108fc5d
Merge pull request #3355 from fjl/hexutil-2
...
Improve hex encoding/decoding
2016-11-28 13:29:16 +02:00
Péter Szilágyi
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
Péter Szilágyi
f81660b6db
build: use single CocoaPods package, pre-release dev builds
2016-11-28 13:09:43 +02:00
Felix Lange
91bceb4ace
ethclient: "addresses" -> "address" in filter query encoding
2016-11-28 11:37:13 +01:00
Felix Lange
be746628c7
eth/filters: simplify query object decoding
2016-11-28 11:37:13 +01:00
Felix Lange
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
Felix Lange
37e5816bcd
common: use package hexutil for fixed size type encoding
2016-11-28 11:37:13 +01:00
Felföldi Zsolt
665bb43a4c
light: implemented VMState.Empty() ( #3357 )
2016-11-28 11:31:15 +01:00
Viktor Trón
e4bf004560
build/ci: add swarm related executables (bzzd, bzzup, bzzhash) to binary packages ( #3354 )
2016-11-28 11:25:19 +01:00
Felix Lange
1609df3275
ethclient: use package hexutil for JSON handling
2016-11-28 11:22:52 +01:00
Felix Lange
24f288770e
core/types: use package hexutil for JSON handling
2016-11-28 11:22:52 +01:00
Felix Lange
65e6319b12
core/vm: use package hexutil for JSON handling
2016-11-28 11:22:52 +01:00
Felix Lange
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
Jeffrey Wilcke
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
Péter Szilágyi
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
Péter Szilágyi
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
Felix Lange
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
Jeffrey Wilcke
6061707371
core: eip unit tests ( #3309 )
2016-11-28 01:33:28 +01:00
Felix Lange
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