Péter Szilágyi
b750cab56a
miner: fix a race between remote agent start/loop
2016-12-13 14:03:57 +02:00
zelig
485748c416
cmd/swarm: improve uploader output and add defaultpath option
2016-12-13 12:54:13 +01:00
zelig
080699f7df
cmd/swarm: ethapi not required
2016-12-13 12:54:13 +01:00
zelig
8e35f54931
cmd/swarm: trim trailing slash from bzzapi url
2016-12-13 12:54:13 +01:00
zelig
d44f1a77ee
cmd/swarm: add default bootnodes for testnet 3
2016-12-13 12:54:13 +01:00
zelig
4181046488
swarm/network, cmd/swarm: swarm default network id is 3 (to match Ropsten)
2016-12-13 12:54:13 +01:00
zelig
d7c398b638
build: add swarm command to binary packages, update README
2016-12-13 12:54:13 +01:00
zelig
5f5d0aa4ff
cmd/swarm: subsume cmd/bzz* as subcommands under swarm
...
cmd/swarm: subsume cmd/bzz* under cmd/swarm as subcommands
2016-12-13 12:54:05 +01:00
Bas van Kervel
9f1520b4c0
core: init pending state in tx pool on creation
2016-12-13 10:38:04 +01:00
Felix Lange
a98e8c0889
Merge pull request #3413 from zsfelfoldi/light-topic4
...
les, p2p/discv5: implement server pool, improve peer selection, light fetcher and topic searching
2016-12-12 20:46:15 +01:00
Péter Szilágyi
ee445a2ba4
Merge pull request #3425 from karalabe/netstats-time-fixup
...
netstats: time and block history
2016-12-12 14:55:00 +02:00
Péter Szilágyi
b2c226cb7d
ethstats: implement block history retrievals
2016-12-12 14:01:52 +02:00
Péter Szilágyi
13614f4e1c
ethstats: fix timestamps and add custom proto support
2016-12-11 20:16:30 +02:00
bas-vk
4f9ccdd70f
build: safe update of PATH on Windows ( #3419 )
...
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.
2016-12-11 00:01:57 +01:00
bas-vk
4e36b1e3da
core: bugfix state change race condition in txpool ( #3412 )
...
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.
2016-12-10 23:54:58 +01:00
Zsolt Felfoldi
f12f8a6c14
les, light: add block availability check for ODR requests
2016-12-10 09:53:25 +01:00
Zsolt Felfoldi
c57c54ce96
eth, les: defer starting LES service until ETH initial sync is finished
2016-12-10 09:53:25 +01:00
Zsolt Felfoldi
c8130df1d9
les: using random request IDs
2016-12-10 09:53:25 +01:00
Zsolt Felfoldi
af8a742d00
les: improved header fetcher and server statistics
2016-12-10 09:53:08 +01:00
Zsolt Felfoldi
e67500aa15
les: fixed light fetcher request ID matching
2016-12-08 13:38:15 +01:00
Zsolt Felfoldi
a6d3bf6fc3
p2p/discv5: search and lookup improvement
2016-12-08 13:38:15 +01:00
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 )
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