Zsolt Felfoldi
5515f364ae
les: removed les/1 protocol messages
6 years ago
Péter Szilágyi
3996bc1ad9
Merge pull request #19411 from holiman/uncle_abort_early
...
consensus,core: shortcut uncle validation
6 years ago
Péter Szilágyi
2a8a07c2b3
Merge pull request #19412 from karalabe/rinkeby-petersburg
...
params: set Rinkeby Petersburg fork block (4th May, 2019)
6 years ago
Péter Szilágyi
dd0cfe5e11
params: set Rinkeby Petersburg fork block (4th May, 2019)
6 years ago
Martin Holst Swende
d763b49ae3
consensus,core: shortcut uncle validation
6 years ago
Péter Szilágyi
78644f0377
Merge pull request #19405 from SamuelMarks/go1.12.2
...
appveyor: Upgrade to go1.12.2
6 years ago
Péter Szilágyi
de195bf152
travis: update builders to xenial to shadow Go releases
6 years ago
Samuel Marks
212b25869d
appveyor.yml: Upgrade to go1.12.2
6 years ago
Péter Szilágyi
bca140b73d
Merge pull request #19400 from karalabe/nuke-bug
...
cmd: nuke geth bug, nobody is using it anyway
6 years ago
Péter Szilágyi
8b427296c9
Merge pull request #19402 from karalabe/trie-disallow-metaroot-retrieval
...
trie: there's no point in retrieving the metaroot
6 years ago
Péter Szilágyi
4bf0d11e7c
trie: there's no point in retrieving the metaroot
6 years ago
Péter Szilágyi
da19f302b8
cmd: nuke geth bug, nobody is using it anyway
6 years ago
Péter Szilágyi
ee376f6766
Merge pull request #19399 from karalabe/nuke-monitor
...
cmd/geth, internal, node, vendor: nuke geth monitor
6 years ago
Péter Szilágyi
29bc982d75
cmd/geth, internal, node, vendor: nuke geth monitor
6 years ago
gary rong
36f81118f6
core/state: fix state iterator ( #19127 )
...
* core/state: fix state iterator
* core: fix state iterator more elegant
6 years ago
Péter Szilágyi
7dd3194710
Merge pull request #18322 from rjl493456442/reomit-log-events
...
core: re-emit new log event when logs rebirth
6 years ago
Steve Ruckdashel
a8dd1f93c6
node: switching prometheus flock location to tsdb ( #19376 )
...
* node: switching prometheus flock location to tsdb
* rookie mistake
6 years ago
Péter Szilágyi
43631aa1d6
core: minor code polishes + rebase fixes
6 years ago
rjl493456442
690bd8a417
core: re-omit new log event when logs rebirth
6 years ago
gary rong
d5cae48bae
accounts, cmd, internal: disable unlock account on open HTTP ( #17037 )
...
* cmd, accounts, internal, node, rpc, signer: insecure unlock protect
* all: strict unlock API by rpc
* cmd/geth: check before printing warning log
* accounts, cmd/geth, internal: tiny polishes
6 years ago
hydai
9b3601cfce
core/vm: fix typos in comments ( #19391 )
6 years ago
Martin Holst Swende
36b78abe61
core/vm: instruction tests ( #16327 )
...
This PR makes it easy to generate and execute testcases for VM arithmetic operations. By enabling and running the testcase TestWriteExpectedValues, a set of json files are created which contain input and output for each arith operation.
The test TestJsonTestcases executes all of those tests.
While meaningless as is, this PR makes it less risky to make changes (optimizations) to the vm operations, since there will be a larger body of testcases.
6 years ago
Felföldi Zsolt
5164274872
les: extend error message for coinbase API calls ( #19380 )
6 years ago
Martin Holst Swende
0b4fe8d192
all: simplify timestamps to uint64 ( #19372 )
...
* all: simplify timestamps to uint64
* tests: update definitions
* clef, faucet, mobile: leftover uint64 fixups
* ethash: fix tests
* graphql: update schema for timestamp
* ethash: remove unused variable
6 years ago
Péter Szilágyi
e14f8a408c
Merge pull request #19328 from karalabe/preload
...
core: prefetch next block state concurrently
6 years ago
Péter Szilágyi
88d7119ebb
Merge pull request #19374 from karalabe/console-fix-coinbase-printout
...
console: handle eth.coinbase throws
6 years ago
Péter Szilágyi
3baed8dd9a
console: handle eth.coinbase throws
6 years ago
Runchao Han
c4109d790f
core: fix typo in insertChain method doc ( #19371 )
6 years ago
Péter Szilágyi
6caf35684d
Merge pull request #19369 from karalabe/les-update-chts
...
light, params: update CHTs, integrate CHT for Goerli too
6 years ago
Péter Szilágyi
ccffad5553
light, params: update CHTs, integrate CHT for Goerli too
6 years ago
William Setzer
72c98dc41f
cmd/flags: fix typo in --exitwhensynced flag ( #19364 )
...
Corrected error for ExitWhenSyncedFlag, clarifying that the program exits after syncing completes.
6 years ago
Viktor Trón
0529015091
swarm/network: hive bug: needed shallow peers are not sent to nodes beyond connection's proximity order ( #19326 )
...
* swarm/network: fix hive bug not sending shallow peers
- hive bug: needed shallow peers were not sent to nodes beyond connection's proximity order
- add extensive protocol exchange tests for initial subPeersMsg-peersMsg exchange
- modify bzzProtocolTester to allow pregenerated overlay addresses
* swarm/network: attempt to fix hive persistance test
* swarm/network: fix TestHiveStatePersistance (#1320 )
* swarm/network: remove trace lines from the hive persistance test
* address PR review comments
* swarm/network: address PR comments on TestInitialPeersMsg
* eliminate *testing.T argument from bzz/hive protocoltesters
* add sorting (only runs in test code) on peersMsg payload
* add random (0 to MaxPeersPerPO) peers for each po
* add extra peers closer to pivot than control
6 years ago
Péter Szilágyi
92faf1bf7a
Merge pull request #19348 from LiangMa/overflowPR
...
core/vm: Correct the Memory Gas Overflow condition
6 years ago
Péter Szilágyi
9294b8f10f
core/vm: polish gas PR, fix tests, make table driven
6 years ago
Ian Norden
cd79bc61a9
accounts/abi: generic unpacking of event logs into map[string]interface{} ( #18440 )
...
Add methods that allow for the unpacking of event logs into maps (allows for agnostic unpacking of logs)
6 years ago
Péter Szilágyi
ed34a5e08a
cmd, core, eth: support disabling the concurrent state prefetcher
6 years ago
Péter Szilágyi
bb9631c399
core: prefetch next block state concurrently
6 years ago
Péter Szilágyi
86e77900c5
Merge pull request #19351 from karalabe/txpool-precache-signatures
...
core: cache tx signature before obtaining lock
6 years ago
贺鹏飞
fbe7caf136
core: cache tx signature before obtaining lock
6 years ago
Liang Ma
157f09e5b6
core/vm: Correct the Memory Gas Overflow condition
...
previous overflow condition is too big to use.
0x7FFFFFFFF squre operation is overflowed uint64.
0x7FFFFFFFF^2 = 0x3F FFFF FFF0 0000 0001
6 years ago
Mats Julian Olsen
5b0d3fa393
accounts/abi: Add the original name as json-structtag for tuples.
6 years ago
Elad
67fc0377e1
contracts/ens: revert bmt to keccak256 ( #19323 )
...
* contracts/ens: revert bmt to keccak256
* contracts/ens: fix keccak256 hash code comment
6 years ago
Brent
7fb89697fd
core/types: add block location fields to receipt ( #17662 )
...
Solves #15210 without changing consensus, in a backwards compatible way,
by adding tx inclusion information to the Receipt struct.
6 years ago
Péter Szilágyi
42e2c586fd
Merge pull request #19343 from karalabe/trie-metrics-split
...
core: 3rd try on splitting the trie metrics correctly
6 years ago
Péter Szilágyi
b17e4a8713
Merge pull request #19344 from karalabe/eth-remove-redundant-chainconfig
...
eth: remove redundant chain config fields
6 years ago
Péter Szilágyi
ac3e7c9b3d
eth: remove redundant chain config fields
6 years ago
Jonas
dba336e612
eth: fix EIP158 account cleanup on chain tracing ( #19341 )
...
Fixes #19337
6 years ago
Péter Szilágyi
a732c93309
core: 3rd try on splitting the trie metrics correctly
6 years ago
Martin Holst Swende
59e1953246
core, ethdb, trie: mode dirty data to clean cache on flush ( #19307 )
...
This PR is a more advanced form of the dirty-to-clean cacher (#18995 ),
where we reuse previous database write batches as datasets to uncache,
saving a dirty-trie-iteration and a dirty-trie-rlp-reencoding per block.
6 years ago
Guillaume Ballet
df717abc99
whisper/whisperv6: fix PoW calculations to match the spec ( #19330 )
...
This PR fixes two issues in the PoW calculation of a Whisper envelope,
compared to the spec (see PoW Requirements):
- The pow is supposed to take the leading number of zeroes (i.e. most
significant zeroes) and what it did was to take the number of trailing
zeroes (i.e. least significant zeroes). It has been fixed to match what
the spec and Parity does.
- The spec expects to use the size of the RLP encoded envelope, and it took
something else, as described in #18070 .
6 years ago