Péter Szilágyi
efcfa2209b
[release/1.4.4] eth/downloader: bound fork ancestry and allow heavy short forks
9 years ago
Jeffrey Wilcke
aa18aad7ad
[release/1.4.4] 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.
9 years ago
Péter Szilágyi
594328c112
[release/1.4.4] accounts/abi/bind: fix multi-value anonymous unmarshalling
...
(cherry picked from commit cc21706c50
)
9 years ago
Jeffrey Wilcke
2e6b9c141b
[release/1.4.4] 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.
(cherry picked from commit 91a7a4a786
)
9 years ago
Bas van Kervel
b38cea6654
[release/1.4.4] rpc: HTTP origin case insensitive
...
(cherry picked from commit 5479097790
)
9 years ago
Jeffrey Wilcke
f213a9d8e8
VERSION, cmd/geth: bumped version 1.4.3
9 years ago
Jeffrey Wilcke
6826b2040f
[release/1.4.3] miner: fixed pending state by not shutting down update loop
...
(cherry picked from commit a824c3f02f
)
9 years ago
Jeffrey Wilcke
2a3657d8d9
VERSION, cmd/geth: bumped version 1.4.2
9 years ago
Jeffrey Wilcke
290e851f57
VERSION, cmd/geth: bumped version 1.4.2
9 years ago
Jeffrey Wilcke
8f96d66241
Merge branch 'develop' into release/1.4
9 years ago
Péter Szilágyi
5782164a35
Merge pull request #2529 from fjl/fdlimit-bsd
...
cmd/utils: fix build on *BSD
9 years ago
Péter Szilágyi
27f657478f
Merge pull request #2524 from fjl/windows-ci-scripts
...
build: add CI scripts for windows
9 years ago
Péter Szilágyi
756b62988c
Merge pull request #2523 from fjl/shutdown
...
core, eth, miner: improve shutdown synchronisation
9 years ago
Felix Lange
f61e203c10
cmd/utils: fix build on *BSD
9 years ago
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.
9 years ago
Péter Szilágyi
dc7f202ecd
Merge pull request #2528 from karalabe/fix-web3-eth_syncing
...
jsre: hotfix web3 for the console eth.syncing formatting
9 years ago
Péter Szilágyi
1d42061e2c
jsre: hotfix web3 for the console eth.syncing formatting
9 years ago
Jeffrey Wilcke
b6135a72dd
Merge pull request #2527 from obscuren/trace-transaction-fix
...
eth: fixed tracing functions using the current header instead of parent
9 years ago
Jeffrey Wilcke
7d59c5c58d
eth: fixed tracing functions using the current header instead of parent
...
Fixes #2525
9 years ago
Péter Szilágyi
8aa4597c9e
Merge pull request #2520 from karalabe/makefile-cross-update
...
Makefile: go build instead of install (solves cross compile issues)
9 years ago
Péter Szilágyi
57ba1824ac
Merge pull request #2514 from bas-vk/startRPC_WS
...
node: start RPC/WS interface on localhost by default
9 years ago
Felix Lange
c89f4352d0
build: add CI scripts for windows
9 years ago
Péter Szilágyi
6a00a3ade1
Makefile: go build instead of install (solves cross compile issues)
9 years ago
Péter Szilágyi
f821b0188a
Merge pull request #2518 from fjl/debug-go-trace
...
internal/debug: also rename debug_startTrace to debug_startGoTrace
9 years ago
Bas van Kervel
d79f2f2656
node: start RPC/WS interface on localhost by default
9 years ago
Felix Lange
130bccc763
cmd/utils: flush trace and CPU profile data when force-qutting
...
Also reduce log messages a little bit.
9 years ago
Felix Lange
ae9ed5c420
internal/debug: also rename debug_startTrace to debug_startGoTrace
...
This was missing from the previous change.
9 years ago
Jeffrey Wilcke
a1c201a5ac
Merge pull request #2517 from fjl/debug-go-trace
...
internal/debug: rename debug_trace to debug_goTrace
9 years ago
Felix Lange
844e911129
internal/debug: rename debug_trace to debug_goTrace
...
Reduces confusion with EVM execution tracing methods.
9 years ago
Jeffrey Wilcke
4b9de75623
Merge branch 'develop' into release/1.4
9 years ago
Jeffrey Wilcke
2d7d7ef2fe
Merge pull request #2511 from obscuren/ver-fix
...
cmd/geth: fixed to use proper version string for output
9 years ago
Jeffrey Wilcke
14d5033c9d
cmd/geth: fixed to use proper version string for output
9 years ago
Jeffrey Wilcke
d52a693f80
Merge branch 'develop' into release/1.4
...
Conflicts:
cmd/geth/main.go
9 years ago
Jeffrey Wilcke
258cc73ea9
Merge pull request #2510 from fjl/p2p-fixups
...
p2p/discover: prevent bonding self
9 years ago
Jeffrey Wilcke
79b7b5eeaa
Merge pull request #2505 from karalabe/make-readme-suck-less
...
Make the README suck less :P
9 years ago
Péter Szilágyi
b4fbcd5060
README: Polish up exec section, rewrite contrib and add license.
9 years ago
Jeffrey Wilcke
488528e9e4
Merge pull request #2497 from karalabe/version-contract-3
...
Geth release oracle
9 years ago
Felix Lange
8110671960
p2p/discover: prevent bonding self
9 years ago
Felix Lange
32bb280179
p2p: improve readability of dial task scheduling code
9 years ago
Péter Szilágyi
4536b993ff
cmd/geth, release: polish and deploy live release contract
9 years ago
Péter Szilágyi
586eddfd09
release, all: integrate the release service into geth
9 years ago
Péter Szilágyi
d46da273c6
common/releases: rewrite release version contract + use native dapps
9 years ago
Gustav Simonsson
ecd7199c43
common/versions, cmd/utils: add geth version contract
9 years ago
Felix Lange
1c20313a6a
Merge pull request #2493 from almindor/develop
...
eth: add personal_importRawKey
9 years ago
Péter Szilágyi
cfa999f006
Merge pull request #2504 from Arachnid/public-vmconfig
...
Provide a public accessor for ChainConfig
9 years ago
Nicholas Johnson
c74a575725
core: Provide a public accessor for ChainConfig
...
This is necessary for external users of the go-ethereum code who want to, for instance, build a custom node that plays back transactions, as core.ApplyTransaction requires a ChainConfig as a parameter.
9 years ago
Péter Szilágyi
9672a62a38
Merge pull request #2485 from karalabe/fakepow
...
cmd: add a `--fakepow` flag to help benchmarking database changes
9 years ago
Ales Katona
572da73d4d
eth: add personal_importRawKey for runtime private key import
9 years ago
Péter Szilágyi
0f722df2d9
Merge pull request #2435 from obscuren/abi-array-fixes
...
accounts/abi: refactored ABI package
9 years ago
Jeffrey Wilcke
1b77d5090d
Merge pull request #2499 from bas-vk/reorg-logs
...
eth/filters: ignore logs that don't match filter criteria on chain reorg
9 years ago