Jeffrey Wilcke
b4dd3209b2
Merge pull request #2597 from fabioberger/develop
...
core: Simplify bloom9 tests
2016-05-23 13:15:32 +02:00
Jeffrey Wilcke
262d92834a
Merge pull request #2575 from bas-vk/filter
...
eth/filter: bugfix which can cause a nil pointer crash when parsing f…
2016-05-23 12:54:35 +02:00
Fabio Berger
faf663133b
core: Simplify bloom9 tests with available convenience method TestBytes
2016-05-22 16:42:46 -07:00
Bas van Kervel
64a6c2c1b6
eth: add new RPC method (personal.) SignAndSendTransaction
2016-05-20 15:54:18 +02:00
Jeffrey Wilcke
847aaffbb8
Merge pull request #2589 from karalabe/estimate-remove-codecheck
...
accounts/abi/bind, eth: rely on getCode for sanity checks, not estimate and call
2016-05-20 15:13:29 +02:00
Jeffrey Wilcke
a8472e0fdb
Merge pull request #2315 from karalabe/concurrent-headers-2
...
eth/downloader: concurrent header downloads
2016-05-20 14:25:28 +02:00
Péter Szilágyi
1580ec1804
accounts/abi/bind, eth: rely on getCode for sanity checks, not estimate and call
2016-05-20 12:29:28 +03:00
Péter Szilágyi
8906b2fe09
eth/downloader: fix reviewer comments
2016-05-20 10:56:01 +03:00
Jeffrey Wilcke
e798e4fd75
Merge pull request #2582 from obscuren/fix-sign-tx
...
eth: fixed regression in eth_signTransaction fixes #2578
2016-05-19 14:22:24 +02:00
Jeffrey Wilcke
4b1a7d3868
eth: fixed regression in eth_signTransaction fixes #2578
...
Sign transaction returned the unsigned transaction rather than the
signed one.
2016-05-18 17:25:34 +02:00
Felix Lange
e27af97a3c
Merge pull request #2580 from fjl/p2p-config
...
node, p2p: move network config out of Server
2016-05-18 12:37:15 +02:00
Felix Lange
542b839ec7
node, p2p: move network config out of Server
...
This silences a go vet message about copying p2p.Server in package node.
2016-05-18 12:19:04 +02:00
Bas van Kervel
67cd4ee8d2
eth/filter: bugfix which can cause a nil pointer crash when parsing filter arguments
2016-05-17 16:17:54 +02:00
Jeffrey Wilcke
c8a8ad97f7
Merge pull request #2574 from karalabe/notx-during-fastsync
...
eth: skip transaction handling during fast sync
2016-05-17 14:56:57 +02:00
Péter Szilágyi
d87f7a1e81
eth: skip transaction handling during fast sync
2016-05-17 14:17:20 +03:00
Jeffrey Wilcke
adc1b50395
Merge pull request #2567 from fjl/console-history-exclude
...
cmd/geth: fix console history exclusion
2016-05-17 12:04:58 +02:00
Péter Szilágyi
e86619e75d
eth/downloader: stream partial skeleton filling to processor
2016-05-17 10:03:34 +03:00
Péter Szilágyi
b40dc8a1da
eth/downloader: implement concurrent header downloads
2016-05-17 10:03:34 +03:00
Felix Lange
86da6feb40
cmd/geth: fix console history exclusion
...
Calls to 'personal' API should be excluded from console history because
they can be called with an account passphrase as argument. The check for
such calls was inverted and didn't work.
2016-05-14 00:10:41 +02:00
Jeffrey Wilcke
fe532a98f9
core: fixed pointer assignment
...
This fixes an issue where it's theoretical possible to cause a consensus
failure when hitting the lower end of the difficulty, though pratically
impossible it's worth a fix.
2016-05-13 12:12:46 +02:00
Péter Szilágyi
39ce85cf5d
eth/downloader: bound fork ancestry and allow heavy short forks
2016-05-13 12:12:13 +02:00
Jeffrey Wilcke
72e60dea36
Merge pull request #2563 from obscuren/rpcaddr-fix
...
eth: fixed double close of channel. Fixes #2555
2016-05-12 20:50:40 +02:00
Jeffrey Wilcke
7c1f74713e
event: fixed subscribtions to stopped event mux
...
This fixes an issue where the following would lead to a panic due to a
channel being closed twice:
* Start mux
* Stop mux
* Sub to mux
* Unsub
This is fixed by setting the subscriptions status to closed resulting in
the Unsubscribe to ignore the request when called.
2016-05-12 20:38:09 +02:00
Péter Szilágyi
a5ff487889
Merge pull request #2559 from karalabe/abigen-unmarshal
...
accounts/abi/bind: fix multi-value anonymous unmarshalling
2016-05-12 17:49:09 +03:00
Péter Szilágyi
331b815300
Merge pull request #2560 from 6londe/patch-3
...
README: fix typos
2016-05-12 16:52:09 +03:00
Changhoon Lee
2348f8e2a8
README: fix typos
...
README: fix typos
2016-05-12 22:40:47 +09:00
Péter Szilágyi
251b3c6406
accounts/abi: fix abi test for go vet...
2016-05-12 16:36:58 +03:00
Péter Szilágyi
cc21706c50
accounts/abi/bind: fix multi-value anonymous unmarshalling
2016-05-12 16:28:18 +03:00
Péter Szilágyi
25931f12c1
Merge pull request #2551 from obscuren/abi-interface-slice-fix
...
accounts/abi: fixed unpacking in to already sliced interfaces
2016-05-12 16:27:26 +03:00
Jeffrey Wilcke
91a7a4a786
accounts/abi: fixed unpacking in to already slice interfaces
...
Previously it was assumed that wheneven type `[]interface{}` was given
that the interface was empty. The abigen rightfully assumed that
interface slices which already have pre-allocated variable sets to be
assigned.
This PR fixes that by checking that the given `[]interface{}` is larger
than zero and assigns each value using the generic `set` function (this
function has also been moved to abi/reflect.go) and checks whether the
assignment was possible.
The generic assignment function `set` now also deals with pointers
(useful for interface slice mentioned above) by dereferencing the
pointer until it finds a setable type.
2016-05-11 13:36:27 +02:00
Péter Szilágyi
d89e57ea8d
Merge pull request #2549 from karalabe/geth-tester-text-templates
...
cmd/geth: use text/templates in the tester, not html
2016-05-11 13:51:11 +03:00
Péter Szilágyi
5a901bb555
Merge pull request #2548 from karalabe/surface-rpc-endpoint
...
cmd/geth, internal/web3ext, rpc: surface rpc module, fix shh, fix miner
2016-05-11 12:37:26 +03:00
Péter Szilágyi
284f1d6beb
cmd/geth: use text/templates in the tester, not html
2016-05-11 11:58:48 +03:00
Péter Szilágyi
bc6fdad786
cmd/geth, internal/web3ext, rpc: surface rpc module, fix shh, fix miner
2016-05-11 11:49:44 +03:00
Jeffrey Wilcke
c05db38a5e
Merge pull request #2515 from karalabe/multigo-travis
...
travis: run CI builds against multiple Go versions
2016-05-11 10:10:28 +02:00
Jeffrey Wilcke
34c56766b7
Merge pull request #2539 from bas-vk/origin-case
...
rpc: HTTP origin case insensitive
2016-05-11 10:10:04 +02:00
Bas van Kervel
5479097790
rpc: HTTP origin case insensitive
2016-05-10 18:01:58 +02:00
Jeffrey Wilcke
20d4e527bd
Merge pull request #2537 from obscuren/hotfix-pending-statu
...
miner: fixed pending state by not shutting down update loop
2016-05-10 13:43:07 +02:00
Jeffrey Wilcke
a824c3f02f
miner: fixed pending state by not shutting down update loop
2016-05-10 13:35:01 +02:00
Péter Szilágyi
5782164a35
Merge pull request #2529 from fjl/fdlimit-bsd
...
cmd/utils: fix build on *BSD
2016-05-09 16:39:34 +03:00
Péter Szilágyi
27f657478f
Merge pull request #2524 from fjl/windows-ci-scripts
...
build: add CI scripts for windows
2016-05-09 15:59:49 +03:00
Péter Szilágyi
756b62988c
Merge pull request #2523 from fjl/shutdown
...
core, eth, miner: improve shutdown synchronisation
2016-05-09 15:59:41 +03:00
Felix Lange
f61e203c10
cmd/utils: fix build on *BSD
2016-05-09 13:13:44 +02:00
Felix Lange
56ed6152a1
core, eth, miner: improve shutdown synchronisation
...
Shutting down geth prints hundreds of annoying error messages in some
cases. The errors appear because the Stop method of eth.ProtocolManager,
miner.Miner and core.TxPool is asynchronous. Left over peer sessions
generate events which are processed after Stop even though the database
has already been closed.
The fix is to make Stop synchronous using sync.WaitGroup.
For eth.ProtocolManager, in order to make use of WaitGroup safe, we need
a way to stop new peer sessions from being added while waiting on the
WaitGroup. The eth protocol Run function now selects on a signaling
channel and adds to the WaitGroup only if ProtocolManager is not
shutting down.
For miner.worker and core.TxPool the number of goroutines is static,
WaitGroup can be used in the usual way without additional
synchronisation.
2016-05-09 13:03:08 +02:00
Péter Szilágyi
dc7f202ecd
Merge pull request #2528 from karalabe/fix-web3-eth_syncing
...
jsre: hotfix web3 for the console eth.syncing formatting
2016-05-09 12:46:48 +03:00
Péter Szilágyi
1d42061e2c
jsre: hotfix web3 for the console eth.syncing formatting
2016-05-09 11:59:59 +03:00
Jeffrey Wilcke
b6135a72dd
Merge pull request #2527 from obscuren/trace-transaction-fix
...
eth: fixed tracing functions using the current header instead of parent
2016-05-09 10:34:53 +02:00
Jeffrey Wilcke
7d59c5c58d
eth: fixed tracing functions using the current header instead of parent
...
Fixes #2525
2016-05-09 10:24:31 +02:00
Péter Szilágyi
8aa4597c9e
Merge pull request #2520 from karalabe/makefile-cross-update
...
Makefile: go build instead of install (solves cross compile issues)
2016-05-09 11:12:28 +03:00
Péter Szilágyi
57ba1824ac
Merge pull request #2514 from bas-vk/startRPC_WS
...
node: start RPC/WS interface on localhost by default
2016-05-08 17:37:35 +03:00