Thomas Bocek
89c6c5bb85
accounts/abi: Negative numbers not properly converted in ABI encoding
...
When converting a negative number e.g., -2, the resulting ABI encoding
should look as follows:
fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe.
However, since the check of the type is for an uint instead of an
int, it results in the following ABI encoding:
0101010101010101010101010101010101010101010101010101010101010102. The
Ethereum ABI
(https://github.com/ethereum/wiki/wiki/Ethereum-Contract-ABI ) says,
that signed integers are stored in two's complement which should be
of the form ffffff.... and not 01010101..... for e.g. -1. Thus, I
removed the type check in numbers.go as well as the function S256
as I don't think they are correct. Or maybe I'm missing something?
9 years ago
Péter Szilágyi
fdd61b83ff
Merge pull request #2649 from karalabe/omit-startup-tx-processing
...
eth: don't accept transactions until we sync up with the network
9 years ago
Péter Szilágyi
32559ccad1
eth: don't accept transactions until we sync up with the network
9 years ago
Péter Szilágyi
826efc2295
Merge pull request #2630 from karalabe/adaptive-qos-tuning
...
eth/downloader: adaptive quality of service tuning
9 years ago
Péter Szilágyi
88f174a014
eth/downloader: adaptive quality of service tuning
9 years ago
Péter Szilágyi
780bdb3e80
Merge pull request #2647 from karalabe/fastsync-critical-resilience
...
eth/downloader: make fast sync resilient to critical section fails
9 years ago
Péter Szilágyi
828e1e35fd
Merge pull request #2655 from fjl/txpool-lock
...
core: add missing lock in TxPool.GetTransaction
9 years ago
Felix Lange
fc85dd175e
core: add missing lock in TxPool.{GetTransaction,RemoveTx}
...
Fixes #2650
9 years ago
Felix Lange
89ba380b3c
Merge pull request #2656 from fjl/console-test
...
cmd/geth: make console tests more robust
9 years ago
Felix Lange
b57b6e341e
cmd/geth: make console tests more robust
...
* use --port 0 to avoid p2p port conflicts
* use --maxpeers 0 so it doesn't connect to bootstrap nodes
* use geth.expectExit() to wait for termination
9 years ago
Felix Lange
ad0e6e971e
console: remove unnecessary JS evaluation in Welcome
9 years ago
Felix Lange
fdba0cb03c
internal/jsre: ensure Stop can be called more than once
...
This makes "geth js file.js" terminate again.
9 years ago
Péter Szilágyi
61ee9f299d
eth/downloader: make fast sync resilient to critical section fails
9 years ago
Péter Szilágyi
16a23ff740
Merge pull request #2637 from karalabe/downloader-always-cancel
...
eth/downloader: ensure cancel channel is closed post sync
9 years ago
Péter Szilágyi
1d5d21726a
Merge pull request #2627 from karalabe/concurrent-head-sync
...
eth/downloader, trie: pull head state concurrently with chain
9 years ago
Péter Szilágyi
7b662103a0
Merge pull request #2535 from karalabe/modularize-console
...
cmd, console: split off the console into a reusable package
9 years ago
Péter Szilágyi
da729e5b38
cmd/geth, console: fix reviewer issues
9 years ago
Jeffrey Wilcke
5c39a1bb26
Merge pull request #2585 from karalabe/trie-dirty-tracking
...
core, core/state, trie: enterprise hand-tuned multi-level caching
9 years ago
Péter Szilágyi
14ae5708d6
console, internal/jsre: colorize JavaScript exceptions too
9 years ago
Péter Szilágyi
ffaf58f0a9
cmd, console: split off the console into a reusable package
9 years ago
Péter Szilágyi
4496a44f68
eth/downloader: ensure cancel channel is closed post sync
9 years ago
Péter Szilágyi
4f1d92b332
eth/downloader, trie: pull head state concurrently with chain
9 years ago
Péter Szilágyi
ab664c7e17
Merge pull request #2626 from karalabe/fix-testnet-zero-nonce
...
core/state: return the starting nonce for non-existent accs (testnet)
9 years ago
Péter Szilágyi
8ee84584a4
core/state: return the starting nonce for non-existent accs (testnet)
9 years ago
Péter Szilágyi
748d1c171d
core, core/state, trie: enterprise hand-tuned multi-level caching
9 years ago
Jeffrey Wilcke
a7434fd008
Merge pull request #2614 from fjl/bad-block-report
...
eth: enable bad block reports
9 years ago
Jeffrey Wilcke
d9bb8179d3
Merge pull request #2617 from obulpathi/develop
...
misc: fix spelling mistake
9 years ago
Jeffrey Wilcke
ee36057dd5
Merge pull request #2612 from remyroy/fix-eth-getCompilers
...
eth/api: fixed GetCompilers when there is no error creating Solc
9 years ago
Jeffrey Wilcke
a476aabf1a
Merge pull request #2613 from remyroy/rel-path-solc
...
common/compiler: support relative path to solc
9 years ago
Obulapathi N Challa
f3769a97d5
misc: fix spelling mistake
9 years ago
Felix Lange
ca18202eb9
eth: enable bad block reports
...
We used to have reporting of bad blocks, but it was disabled
before the Frontier release. We need it back because users
are usually unable to provide the full RLP data of a bad
block when it occurs.
A shortcoming of this particular implementation is that the
origin peer is not tracked for blocks received during eth/63
sync. No origin peer info is still better than no report at
all though.
9 years ago
Rémy Roy
5eb60a6da2
common/compiler: support relative path to solc
9 years ago
Rémy Roy
f86ea9aad5
eth/api: fixed GetCompilers when there is no error creating Solc
9 years ago
Felix Lange
5bcdbb1ce4
Merge pull request #2603 from Digital-Contraptions-Imaginarium/develop
...
README: make it clear how to build all executables
9 years ago
Gianfranco Cecconi
2e530f4889
Just to make it clear how to build all executables
9 years ago
Jeffrey Wilcke
7f515b0e88
Merge pull request #2564 from bas-vk/submit-tx
...
eth: add new RPC method (personal.) SignAndSendTransaction
9 years ago
Jeffrey Wilcke
b4dd3209b2
Merge pull request #2597 from fabioberger/develop
...
core: Simplify bloom9 tests
9 years ago
Jeffrey Wilcke
262d92834a
Merge pull request #2575 from bas-vk/filter
...
eth/filter: bugfix which can cause a nil pointer crash when parsing f…
9 years ago
Fabio Berger
faf663133b
core: Simplify bloom9 tests with available convenience method `TestBytes`
9 years ago
Bas van Kervel
64a6c2c1b6
eth: add new RPC method (personal.) SignAndSendTransaction
9 years ago
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
9 years ago
Jeffrey Wilcke
a8472e0fdb
Merge pull request #2315 from karalabe/concurrent-headers-2
...
eth/downloader: concurrent header downloads
9 years ago
Péter Szilágyi
1580ec1804
accounts/abi/bind, eth: rely on getCode for sanity checks, not estimate and call
9 years ago
Péter Szilágyi
8906b2fe09
eth/downloader: fix reviewer comments
9 years ago
Jeffrey Wilcke
e798e4fd75
Merge pull request #2582 from obscuren/fix-sign-tx
...
eth: fixed regression in eth_signTransaction fixes #2578
9 years ago
Jeffrey Wilcke
4b1a7d3868
eth: fixed regression in eth_signTransaction fixes #2578
...
Sign transaction returned the unsigned transaction rather than the
signed one.
9 years ago
Felix Lange
e27af97a3c
Merge pull request #2580 from fjl/p2p-config
...
node, p2p: move network config out of Server
9 years ago
Felix Lange
542b839ec7
node, p2p: move network config out of Server
...
This silences a go vet message about copying p2p.Server in package node.
9 years ago
Bas van Kervel
67cd4ee8d2
eth/filter: bugfix which can cause a nil pointer crash when parsing filter arguments
9 years ago
Jeffrey Wilcke
c8a8ad97f7
Merge pull request #2574 from karalabe/notx-during-fastsync
...
eth: skip transaction handling during fast sync
9 years ago