Felix Lange
3caf16b15f
core: remove stray account creations in state transition ( #16470 )
...
The 'from' and 'to' methods on StateTransitions are reader methods and
shouldn't have inadvertent side effects on state.
It is safe to remove the check in 'from' because account existence is
implicitly checked by the nonce and balance checks. If the account has
non-zero balance or nonce, it must exist. Even if the sender account has
nonce zero at the start of the state transition or no balance, the nonce
is incremented before execution and the account will be created at that
time.
It is safe to remove the check in 'to' because the EVM creates the
account if necessary.
Fixes #15119
7 years ago
ligi
30deb6067f
build: add -e and -X flags to get more information on #16433 ( #16443 )
7 years ago
Péter Szilágyi
989ab26028
Merge pull request #16478 from karalabe/fix-alltools-dockerfile
...
Dockerfile.alltools: fix invalid command
7 years ago
Felix Lange
c7ab3e5544
common: delete StringToAddress, StringToHash ( #16436 )
...
* common: delete StringToAddress, StringToHash
These functions are confusing because they don't parse hex, but use the
bytes of the string. This change removes them, replacing all uses of
StringToAddress(s) by BytesToAddress([]byte(s)).
* eth/filters: remove incorrect use of common.BytesToAddress
7 years ago
Péter Szilágyi
29213b1f8f
Dockerfile.alltools: fix invalid command
7 years ago
Péter Szilágyi
149f706fde
Merge pull request #16477 from karalabe/puppeth-dockerfile-permission-fix
...
cmd/puppeth: fix node deploys for updated dockerfile user
7 years ago
Péter Szilágyi
7c1e9a5004
cmd/puppeth: fix node deploys for updated dockerfile user
7 years ago
Péter Szilágyi
39f4c80155
Merge pull request #15225 from holiman/test_removefrom_dirtyset
...
Change handling of dirty objects in state
7 years ago
Martin Holst Swende
8c31d2897b
core: add blockchain benchmarks
7 years ago
Martin Holst Swende
14c9215dd3
state: handle nil in journal dirties
7 years ago
gary rong
1100e8ba63
eth/downloader: flush state sync data before exit ( #16280 )
7 years ago
Felix Lange
0fac705ed0
compression/rle: delete RLE compression ( #16468 )
7 years ago
Ivo Georgiev
315b9b18df
ethclient: remove empty object in newHeads subscription call ( #16454 )
7 years ago
DoubleWoodH
8de655ef3a
bmt: fix comment typos ( #16461 )
7 years ago
dm4
3ebcf92b42
cmd/evm: print vm output when debug flag is on ( #16326 )
7 years ago
Zhenguo Niu
c43792a42c
cmd/geth: update template for 'geth bug' command ( #16350 )
7 years ago
Federico Gimenez
50dbe8e244
Dockerfile: use non-privileged user account ( #16052 )
7 years ago
Steven Roose
ec8ee611ca
core/types: remove String methods from struct types ( #16205 )
...
Most of these methods did not contain all the relevant information
inside the object and were not using a similar formatting type.
Moreover, the existence of a suboptimal String method breaks usage
with more advanced data dumping tools like go-spew.
7 years ago
Giovanni HoSang
1e248f3a6e
README: change 'built in' to 'built-in'
7 years ago
Ricardo Domingos
6ab9f0a19f
accounts/abi: improve test coverage ( #16044 )
7 years ago
Yusup
7aad81f881
eth: fix typos ( #16414 )
7 years ago
Nguyen Sy Thanh Son
2a4bd55b43
cmd/geth: remove relOracle variable ( #16434 )
7 years ago
Jia Chenhui
5909482fb5
core/state: avoid redundant addition to code size cache ( #16427 )
7 years ago
David Huie
d1af4e1a9e
crypto/secp256k1: catch curve parameter parse errors ( #16392 )
7 years ago
Li Xuanji
6cdfb9a3eb
.gitattributes: enable solidity highlighting on github ( #16425 )
7 years ago
Felix Lange
a095b84ec5
travis.yml: remove sudo requirement for PPA and Azure purge builders ( #16404 )
...
This is supposed to fix the FTP upload issue according to
travis-ci/travis-ci#9391 .
7 years ago
Péter Szilágyi
d985b9052a
core/state: avoid linear overhead on journal dirty listing
7 years ago
Martin Holst Swende
958ed4f3d9
core/state: rework dirty handling to avoid quadratic overhead
7 years ago
Jia Chenhui
1a8894b3d5
core/state: uniform parameter style ( #16398 )
...
- Uniform code style.
7 years ago
Guillaume Ballet
80449719bd
whisper: fix issue in topic list copy ( #16381 )
...
- Fixes #16271 . What was appeneded was a pointer to
an object that changes during the iteration.
- The topic is allocated as a 4-byte array, fill partial topics
with 0s. Partial topics are currently disabled, but would
crash as they rely on the presence of byte number 3.
7 years ago
Felföldi Zsolt
45bd4fedde
light: new CHT for ropsten ( #16393 )
7 years ago
Péter Szilágyi
d763e20d55
Merge pull request #16394 from hydai/fix_typo
...
core/vm: Fixed typos in core/vm/interpreter.go
7 years ago
hydai
6134990709
core/vm: Fixed typos in core/vm/interpreter.go
7 years ago
Felix Lange
85ea9159d0
params, VERSION: v1.8.4 unstable
7 years ago
Felix Lange
329ac18ef6
params: v1.8.3 stable
7 years ago
Felix Lange
89cc604a50
light: new mainnet CHT ( #16390 )
7 years ago
Guillaume Ballet
cf799e5eaa
whisper: switch all remaining components from v5 to v6
7 years ago
Péter Szilágyi
c053f1146d
Merge pull request #16388 from hydai/fix_comments
...
core/vm: Fixed typos
7 years ago
hydai
c3dc814fea
core/vm: Fixed typo in core/vm/evm.go
7 years ago
Zhenguo Niu
db9b2f5405
cmd/puppeth: add constraints to network name ( #16336 )
...
* cmd/puppeth: add constraints to network name
* cmd/puppeth: update usage of network arg
* cmd/puppeth: avoid package dependency on utils
7 years ago
Felix Lange
e9b5e22ad1
rpc: limit chunked requests ( #16343 )
7 years ago
Jia Chenhui
e506d384e9
core/state: fix typo ( #16370 )
7 years ago
Péter Szilágyi
dd708c1636
Merge pull request #16319 from rjl493456442/dump_preimages
...
cmd: implement preimage dump and import cmds
7 years ago
Péter Szilágyi
495bdb0c71
cmd: export preimages in RLP, support GZIP, uniform with block export
7 years ago
hydai
7c131f4d6d
core/asm: fixed typo (posititon -> position) ( #16366 )
7 years ago
hydai
84c5db5409
core/vm: remove JIT VM codes ( #16362 )
7 years ago
David Huie
23ac783332
ecies: drop randomness parameter from `PrivateKey.Decrypt` ( #16374 )
...
The parameter `rand` is unused in `PrivateKey.Decrypt`. Decryption in
the ECIES encryption scheme is deterministic, so randomness isn't
needed.
7 years ago
Péter Szilágyi
e9a1d8de34
Merge pull request #16387 from karalabe/evm-polsihes
...
core: minor evm polishes and optimizations
7 years ago
rjl493456442
b6b6f52ec8
cmd: implement preimage dump and import cmds
7 years ago
Péter Szilágyi
1fae50a199
core: minor evm polishes and optimizations
7 years ago