- Nov 08, 2019
-
-
Guillaume Ballet authored
* travis: Enable ARM support * Include fixes from 20039 * Add a trace to debug the invalid lookup issue * Try increasing the timeout to see if the arm test passes * Investigate the resolver issue * Increase arm64 timeout for clique test * increase timeout in tests for arm64 * Only test the failing tests * Review feedback: don't export epsilon * Remove investigation tricks+include fjl's feeback * Revert the retry ahead of using the mock resolver * Fix rebase errors
-
- Nov 04, 2019
-
-
Martin Holst Swende authored
* core/evm, contracts: avoid copying memory for input in calls + make ecrecover not modify input buffer * core/vm: optimize mstore a bit * core/vm: change Get -> GetCopy in vm memory access
-
- Oct 29, 2019
-
-
Péter Szilágyi authored
-
Martin Holst Swende authored
-
- Oct 28, 2019
-
-
Gary Rong authored
When we flush a batch of trie nodes into database during the state sync, we should guarantee that all children should be flushed before parent. Actually the trie nodes commit order is strict by: children -> parent. But when we flush all ready nodes into db, we don't need the order anymore since (1) they are all ready nodes (no more dependency) (2) underlying database provides write atomicity
-
- Sep 26, 2019
-
-
Ryan Schneider authored
This change adds support for EIP-1898.
-
- Sep 10, 2019
-
-
Nguyen Kien Trung authored
-
- Aug 30, 2019
-
-
Martin Holst Swende authored
-
- Aug 23, 2019
-
-
Péter Szilágyi authored
-
- Aug 21, 2019
-
-
Piotr Dyraga authored
The precompile at 0x09 wraps the BLAKE2b F compression function: https://tools.ietf.org/html/rfc7693#section-3.2 The precompile requires 6 inputs tightly encoded, taking exactly 213 bytes, as explained below. - `rounds` - the number of rounds - 32-bit unsigned big-endian word - `h` - the state vector - 8 unsigned 64-bit little-endian words - `m` - the message block vector - 16 unsigned 64-bit little-endian words - `t_0, t_1` - offset counters - 2 unsigned 64-bit little-endian words - `f` - the final block indicator flag - 8-bit word [4 bytes for rounds][64 bytes for h][128 bytes for m][8 bytes for t_0] [8 bytes for t_1][1 byte for f] The boolean `f` parameter is considered as `true` if set to `1`. The boolean `f` parameter is considered as `false` if set to `0`. All other values yield an invalid encoding of `f` error. The precompile should compute the F function as specified in the RFC (https://tools.ietf.org/html/rfc7693#section-3.2) and return the updated state vector `h` with unchanged encoding (little-endian). See EIP-152 for details.
-
- Jul 25, 2019
-
-
Gary Rong authored
-
- Jul 23, 2019
-
-
Gary Rong authored
* eth, interal, les: add getHeaderBy* APIs * internal: address the comment * eth, internal, les: getHeader nits, missing TD, console callable
-
- Jul 22, 2019
-
-
Christian Muehlhaeuser authored
Fixed assigning values to variables we don't end up using.
-
Kitten King authored
-
- Jul 17, 2019
-
-
大彬 authored
-
- Jul 13, 2019
-
-
jwasinger authored
This adds the debug_accountRange method which returns all accounts in the state for a given block and transaction index.
-
- Jul 12, 2019
-
-
Casey Detrio authored
-
- Jul 11, 2019
-
-
Gary Rong authored
* eth: fix error when dump config with nil checkpoint * cmd/utils: ignore default datadir if it's already set.
-
- Jul 10, 2019
-
-
Péter Szilágyi authored
-
- Jul 09, 2019
-
-
Péter Szilágyi authored
-
Péter Szilágyi authored
-
- Jul 08, 2019
-
-
Péter Szilágyi authored
* eth: chain config (genesis + fork) ENR entry * core/forkid, eth: protocol independent fork ID, update to CRC32 spec * core/forkid, eth: make forkid a struct, next uint64, enr struct, RLP * core/forkid: change forkhash rlp encoding from int to [4]byte * eth: fixup eth entry a bit and update it every block * eth: fix lint * eth: fix crash in ethclient tests
-
Martin Holst Swende authored
This PR adds some hardening in the lower levels of the protocol stack, to bail early on invalid data. Primarily, attacks that this PR protects against are on the "annoyance"-level, which would otherwise write a couple of megabytes of data into the log output, which is a bit resource intensive.
-
- Jul 02, 2019
-
-
Péter Szilágyi authored
-
- Jun 28, 2019
-
-
Gary Rong authored
* all: implement simple checkpoint syncing cmd, les, node: remove callback mechanism cmd, node: remove callback definition les: simplify the registrar les: expose checkpoint rpc services in the light client les, light: don't store untrusted receipt cmd, contracts, les: discard stale checkpoint cmd, contracts/registrar: loose restriction of registeration cmd, contracts: add replay-protection all: off-chain multi-signature contract params: deploy checkpoint contract for rinkeby cmd/registrar: add raw signing mode for registrar cmd/registrar, contracts/registrar, les: fixed messages * cmd/registrar, contracts/registrar: fix lints * accounts/abi/bind, les: address comments * cmd, contracts, les, light, params: minor checkpoint sync cleanups * cmd, eth, les, light: move checkpoint config to config file * cmd, eth, les, params: address comments * eth, les, params: address comments * cmd: polish up the checkpoint admin CLI * cmd, contracts, params: deploy new version contract * cmd/checkpoint-admin: add another flag for clef mode signing * cmd, contracts, les: rename and regen checkpoint oracle with abigen
-
- Jun 26, 2019
-
-
Gary Rong authored
* eth: fix sync bloom panic * eth: delete useless test cases
-
- Jun 24, 2019
-
-
Martin Holst Swende authored
* core/state, cmd/geth: streaming json output dump cmd + optional code+storage * dump: add option to continue even if preimages are missing * core, evm: lint nits * cmd: use local flags for dump, omit empty code/storage * core/state: fix state dump test
-
- Jun 12, 2019
-
-
Péter Szilágyi authored
-
- Jun 11, 2019
-
-
Gary Rong authored
* eth, les: reject stale request * les: reuse local head number
-
Péter Szilágyi authored
-
- Jun 06, 2019
-
-
Nguyen Kien Trung authored
This makes the test work if NetworkId is changed in forks of go-ethereum.
-
- Jun 05, 2019
-
-
Gary Rong authored
-
- May 26, 2019
-
-
Gary Rong authored
* eth, les: reject light client connection is server is not synced * eth, les: rename function and variables * les: format
-
- May 16, 2019
-
-
Péter Szilágyi authored
-
Péter Szilágyi authored
-
Gary Rong authored
* core, eth: some fixes for freezer * vendor, core/rawdb, cmd/geth: add db inspector * core, cmd/utils: check ancient store path forceily * cmd/geth, common, core/rawdb: a few fixes * cmd/geth: support windows file rename and fix rename error * core: support ancient plugin * core, cmd: streaming file copy * cmd, consensus, core, tests: keep genesis in leveldb * core: write txlookup during ancient init * core: bump database version
-
Gary Rong authored
* all: freezer style syncing core, eth, les, light: clean up freezer relative APIs core, eth, les, trie, ethdb, light: clean a bit core, eth, les, light: add unit tests core, light: rewrite setHead function core, eth: fix downloader unit tests core: add receipt chain insertion test core: use constant instead of hardcoding table name core: fix rollback core: fix setHead core/rawdb: remove canonical block first and then iterate side chain core/rawdb, ethdb: add hasAncient interface eth/downloader: calculate ancient limit via cht first core, eth, ethdb: lots of fixes * eth/downloader: print ancient disable log only for fast sync
-
Péter Szilágyi authored
-
- May 13, 2019
-
-
Péter Szilágyi authored
* core, eth, trie: bloom filter for trie node dedup during fast sync * eth/downloader, trie: address review comments * core, ethdb, trie: restart fast-sync bloom construction now and again * eth/downloader: initialize fast sync bloom on startup * eth: reenable eth/62 until we properly remove it
-
Zsolt Felföldi authored
* les, light: implement ODR transaction lookup by hash * les: delete useless file * internal/ethapi: always use backend to find transaction * les, eth, internal/ethapi: renamed GetCanonicalTransaction to GetTransaction * light: add canonical header verification to GetTransaction
-