Yondon Fu
cf7aba36c8
accounts/abi: update array type check in method.go. Add more packing tests
7 years ago
Yondon Fu
3857cdc267
Merge branch 'master' into abi-offset-fixed-arrays
7 years ago
Janos Guljas
0d6a735a72
swarm/api: implement NoResolverError with information about TLD
...
MultiResolver needs to provide information about TLD that has
no resolver configured for.
7 years ago
Zsolt Felfoldi
48648bc2f8
contracts/release: do not print error log if les backend has no peers
7 years ago
Janos Guljas
c0a4d9e1e6
cmd/swarm, swarm: disable ENS API by default
...
Specifying ENS API CLI flag, env variable or configuration
field is required for ENS resolving. Backward compatibility is
preserved with --ens-api="" CLI flag value.
7 years ago
Péter Szilágyi
fe070ab5c3
Merge pull request #15674 from chfast/vm-no-snapshot-param
...
core/vm: Remove snapshot param from Interpreter.Run()
7 years ago
Felix Lange
8c33ac10bf
internal/ethapi: support "input" in transaction args ( #15640 )
...
The tx data field is called "input" in returned objects and "data" in
argument objects. Make it so "input" can be used, but bail if both
are set.
7 years ago
Péter Szilágyi
3b79bac05b
Merge pull request #15698 from original-brownbear/15668
...
accounts/keystore: Improved error message
7 years ago
Armin
afc2039f22
accounts/keystore: Improved error message
...
* Fix for #15668
7 years ago
Péter Szilágyi
13db4af345
Merge pull request #15696 from ferhatelmas/p2p-goroutine-leak
...
p2p/discover: fix leaked goroutine in data expiration
7 years ago
Péter Szilágyi
64ee3e92ea
Merge pull request #15686 from sorin/sorin-geth-attach-rinkeby
...
cmd/geth: add support for geth --rinkeby attach
7 years ago
ferhat elmas
afa3c72c40
p2p/discover: fix leaked goroutine in data expiration
7 years ago
Sorin Neacsu
1d7d7f57d0
cmd/geth: add support for geth --rinkeby attach
7 years ago
Paweł Bylica
fb5f25eeee
core/vm: Remove snapshot param from Interpreter.Run()
7 years ago
Felix Lange
c6069a627c
crypto, crypto/secp256k1: add CompressPubkey ( #15626 )
...
This adds the inverse to DecompressPubkey and improves a few minor
details in crypto/secp256k1.
7 years ago
Péter Szilágyi
1f2176dedc
Merge pull request #15679 from shapeshed/patch-1
...
crypto: Fix comment typo
7 years ago
George Ornbo
7bb2a489b2
crypto: Fix comment typo
7 years ago
rhaps107
e9971d356b
internal/ethapi: don't crash for missing receipts
...
Fixes #15408
Fixes #14432
7 years ago
Janos Guljas
47a8014559
cmd/swarm: Merge branch 'master' into multiple-ens-endpoints
...
Fix a conflict in cmd/swarm envVarsOverride function.
7 years ago
Péter Szilágyi
5129ef22c2
Merge pull request #15629 from holiman/relax_futuretime
...
consensus/ethash: relax requirements when determining future-blocks
7 years ago
Janos Guljas
19982f9467
swarm, cmd/swarm: Merge branch 'master' into multiple-ens-endpoints
...
Merge with changes that implement config file PR #15548 .
Field *EnsApi string* in swarm/api.Config is replaced with
*EnsAPIs []string*.
A new field *EnsDisabled bool* is added to swarm/api.Config for
easy way to disable ENS resolving with config file.
Signature of function swarm.NewSwarm is changed and simplified.
7 years ago
Felix Lange
3654aeaa4f
p2p/simulations: fix gosimple nit ( #15661 )
7 years ago
Vitaly V
f258a21a63
rpc: use method constants instead of literal strings ( #15652 )
7 years ago
holisticode
fd777bb210
p2p/simulations: add mocker functionality ( #15207 )
...
This commit adds mocker functionality to p2p/simulations. A
mocker allows to starting/stopping of nodes via the HTTP API.
7 years ago
Zach
3da1bf8ca1
all: use gometalinter.v2, fix new gosimple issues ( #15650 )
7 years ago
yoza
bbea4b2b53
internal/ethapi: fix typo in comment ( #15659 )
7 years ago
holisticode
32516c768e
cmd/swarm: add config file ( #15548 )
...
This commit adds a TOML configuration option to swarm. It reuses
the TOML configuration structure used in geth with swarm
customized items.
The commit:
* Adds a "dumpconfig" command to the swarm executable which
allows printing the (default) configuration to stdout, which
then can be redirected to a file in order to customize it.
* Adds a "--config <file>" option to the swarm executable which will
allow to load a configuration file in TOML format from the
specified location in order to initialize the Swarm node The
override priorities are like follows: environment variables
override command line arguments override config file override
default config.
7 years ago
Felix Lange
1a32bdf92c
crypto: fix error check in toECDSA ( #15632 )
...
With this change,
key, err := crypto.HexToECDSA("000000...")
returns nil key and an error instead of a non-nil key with nil X
and Y inside. Issue found by @guidovranken .
7 years ago
Felix Lange
2499b1b139
rlp: fix string size check in readKind ( #15625 )
...
Issue found by @guidovranken
7 years ago
Guillaume Ballet
e7610eadfe
whisper: sym encryption message padding includes salt ( #15631 )
...
Now that the AES salt has been moved to the payload, padding must
be adjusted to hide it, lest an attacker guesses that the packet
uses symmetric encryption.
7 years ago
Michael Ruminer
732f5468d3
eth: make tracing API errors more user friendly ( #15589 )
7 years ago
Alejandro Isaza
bbfe0b8d04
mobile: Add GetSign to BigInt ( #15558 )
7 years ago
Péter Szilágyi
46e5583993
cmd/utils, eth: init etherbase from within eth ( #15528 )
7 years ago
Guillaume Ballet
bf62acf033
whisper/whisperv6: remove Version from the envelope ( #15621 )
7 years ago
Sorin Neacsu
586198ccea
console: add admin.clearHistory command ( #15614 )
7 years ago
Guillaume Ballet
d95962cd5d
whisper/whisperv6: remove aesnonce ( #15578 )
...
As per EIP-627, the salt for symmetric encryption is now
part of the payload. This commit does that.
7 years ago
Martin Holst Swende
79d5e5593f
consensus/ethash: relax requirements when determining future-blocks
7 years ago
Felix Lange
b5874273ce
travis.yml: avoid submodules on builders without tests ( #15620 )
...
Also remove installation steps for fuse and golang.org/x/tools/cmd/cover
because they're not required anymore.
7 years ago
Airead
8092106abc
core/types: fix typo in comment ( #15619 )
7 years ago
Benoit Verkindt
eab2201f80
eth: return rlp-decoded values from debug_storageRangeAt ( #15476 )
...
Fixes #15196
7 years ago
Felix Lange
e85b68ef53
crypto: add DecompressPubkey, VerifySignature ( #15615 )
...
We need those operations for p2p/enr.
Also upgrade github.com/btcsuite/btcd/btcec to the latest version
and improve BenchmarkSha3. The benchmark printed extra output
that confused tools like benchstat and ignored N.
7 years ago
Sorin Neacsu
6e613cf3de
cmd/geth: add support for geth attach --testnet ( #15597 )
7 years ago
Janos Guljas
1dc19de5da
swarm/api: use path.Ext instead strings.LastIndex in MultiResolver.Resolve
7 years ago
Janos Guljas
e451b65fae
swarm: deprecate --ens-addr CLI flag with a warning message
7 years ago
Janos Guljas
3732c15faa
swarm/api: remove unneeded blank assignement
7 years ago
Janos Guljas
a758b5cf7a
swarm/api: initialize map with make to comply with the convention
7 years ago
Janos Guljas
34edbc8868
swarm/api: remove unneeded assignment in MultiResolverOptionWithResolver
7 years ago
Janos Guljas
15ad6f27da
swarm: check if "--ens-api ''" is specified in order to disable ENS
7 years ago
Janos Guljas
b33a051a48
swarm: add comment for parseFlagEnsAPI and fix a mistake in comment in code
7 years ago
Steven Roose
afb8154eab
common: improve IsHexAddress and add tests ( #15551 )
...
Also unexport isHex, hasHexPrefix because IsHexAddress is the only caller.
Fixes #15550
7 years ago