Commit Graph

12500 Commits

Author SHA1 Message Date
gary rong
f5b6ae0da1 core, eth, internal: include read storage entries in structlog output (#21204)
* core, eth, internal: extend structLog tracer

* core/vm, internal: add storage view

* core, internal: add slots to storage directly

* core: remove useless

* core: address martin's comment

* core/vm: fix tests
# Conflicts:
#	core/vm/logger.go
#	core/vm/logger_test.go
2020-08-07 11:17:27 +02:00
Martin Holst Swende
bb5f890c0c eth/downloader: fix spuriously failing tests (#21149)
* eth/downloader tests: fix spurious failing test due to race between receipts/headers

* miner tests: fix travis failure on arm64

* eth/downloader: tests - store td in ancients too
# Conflicts:
#	eth/downloader/downloader_test.go
#	miner/worker_test.go
2020-08-07 11:15:45 +02:00
Natsu Kagami
7034679fd7 accounts/abi: make GetType public again (#21157) 2020-08-07 11:13:20 +02:00
Pau
4be8cfe42c accounts/keystore: fix typo in error message (#21200) 2020-08-07 11:13:12 +02:00
Péter Szilágyi
d25bb87a6f core/state: avoid escape analysis fault when accessing cached state
# Conflicts:
#	core/state/state_object.go
#	core/state/statedb.go
2020-08-07 11:04:56 +02:00
Paweł Bylica
924c03abf9 core/vm: use uint256 in EVM implementation (#20787)
* core/vm: use fixed uint256 library instead of big

* core/vm: remove intpools

* core/vm: upgrade uint256, fixes uint256.NewFromBig

* core/vm: use uint256.Int by value in Stack

* core/vm: upgrade uint256 to v1.0.0

* core/vm: don't preallocate space for 1024 stack items (only 16)

Co-authored-by: Martin Holst Swende <martin@swende.se>
# Conflicts:
#	core/vm/common.go
#	core/vm/contract.go
#	core/vm/eips.go
#	core/vm/evm.go
#	core/vm/gas_table.go
#	core/vm/instructions.go
#	core/vm/instructions_test.go
#	core/vm/interpreter.go
#	core/vm/logger.go
#	core/vm/logger_json.go
#	core/vm/logger_test.go
#	core/vm/stack/stack.go
#	go.mod
#	go.sum
2020-08-07 11:04:19 +02:00
Igor Mandrigin
bbb918ea6c etl: update docs with the correct sort method 2020-08-06 18:22:58 +02:00
ledgerwatch
2f3cc6f62c
Header download spec - first draft (#879)
* header download docs

* Continue

* Fix

* More picture and text

* Push

* More doc

* More docs

* First version of the doc
2020-08-06 15:37:41 +01:00
Igor Mandrigin
715874f060 update version 2020-08-06 14:09:36 +02:00
ucwong
f30682ce7c ethstats: use timer instead of time.sleep (#20924) 2020-08-06 14:08:02 +02:00
libby kent
70112ee9de cmd/ethkey: support --passwordfile in generate command (#21183) 2020-08-06 14:07:43 +02:00
Felix Lange
9df275d7e0 params: begin v1.9.16 release cycle 2020-08-06 14:07:26 +02:00
Hao Duan
1ca4a9263f core: filter out txs with invalid signatures as soon as possible
Once we detect an invalid transaction during recovering signatures, we should
directly exclude this transaction to avoid validating the signatures hereafter.

This should optimize the validations times of transactions with invalid signatures
to only one time.
2020-08-06 14:06:31 +02:00
Igor Mandrigin
d1bf85ddeb add merging thing 2020-08-06 14:05:34 +02:00
Igor Mandrigin
ba9f9ee7dd
Add docs for common/etl (#878)
* ETL readme

* add a link to the explainer

* fixups

* a note on marshaling
2020-08-06 14:02:41 +02:00
Igor Mandrigin
1495979983
etl: only print file sizes for actual files, not RAM (#877) 2020-08-06 09:33:09 +02:00
pk
25ec16f223
Update Readme.md (#876) 2020-08-05 18:29:54 +01:00
Igor Mandrigin
fa89cdefd5
log ETL temp files datasize (#873) 2020-08-05 16:33:58 +01:00
Alex Sharov
f41959f030
drop badger support (#869)
* drop badger support

* rebase master
2020-08-05 16:33:45 +01:00
Alexey Akhunov
b72fae75c9 Fix some snags in stage 6 2020-08-05 11:31:41 +01:00
Alexey Akhunov
11637c4c89 Fix some snags in stage 6 2020-08-05 11:25:57 +01:00
Alex Sharov
d458c4cc1e
Migrations: use stage name as db key (#868) 2020-08-05 17:13:35 +07:00
Igor Mandrigin
8bc293b3f7
Remove unnecessary memory profiling (#872)
* remove separate memory profiling from staged sync

* don’t run pprof globally always
2020-08-05 10:54:19 +01:00
Igor Mandrigin
422282fe7b
Merge pull request #870 from ledgerwatch/lmdb-kv-override
Add lmdb.mapSize param
2020-08-05 11:03:27 +02:00
Igor Mandrigin
d48b9141be
Merge pull request #871 from ledgerwatch/staged-sync-piechart
docs: add a piechart with stages
2020-08-05 11:03:12 +02:00
Igor Mandrigin
8b5903f6f2 docs: add a piechart with stages 2020-08-05 10:29:15 +02:00
Igor Mandrigin
6c815b3f6a fix cmd/integration 2020-08-05 10:21:08 +02:00
Igor Mandrigin
e732ccd438 add lmdb.mapSize param 2020-08-05 10:17:50 +02:00
ledgerwatch
0514501937
Revert "Use stage name as db key (#858)" (#867)
This reverts commit 7290bf519e.
2020-08-04 11:05:27 +01:00
Alex Sharov
7290bf519e
Use stage name as db key (#858) 2020-08-04 16:25:28 +07:00
Alex Sharov
b5345a712a
resident_memory_docs (#864)
* resident_memory_docs

* add glossary

* add glossary

* add glossary

* add glossary

* add glossary
2020-08-04 09:03:59 +01:00
pk
91baa688bd
Update stagedsync.go (#866)
fixed a typo from `compiting` to `computing `
2020-08-04 09:03:47 +01:00
Alex Sharov
a5c1089d58
optimize .get (#863) 2020-08-04 10:31:37 +07:00
Alex Sharov
9c0f6cd166
stage3_block_compression_support (#859) 2020-08-03 14:42:10 +03:00
Igor Mandrigin
7a8872bf5f
Update README.md 2020-08-02 18:27:13 +02:00
Igor Mandrigin
6611e8c060
Update README.md 2020-08-02 18:24:07 +02:00
Igor Mandrigin
d77c13aa68
Update README.md 2020-08-02 18:23:40 +02:00
Igor Mandrigin
09bdb272ff
Update README.md 2020-08-02 17:57:23 +02:00
Igor Mandrigin
38ae733cdb
Update README.md 2020-08-02 17:56:56 +02:00
Igor Mandrigin
7750a0b80f
Merge pull request #861 from ledgerwatch/staged-sync-docs
Add an explainer for staged sync
2020-08-02 17:51:33 +02:00
Igor Mandrigin
ad15e52391 fixup 2020-08-02 14:47:30 +02:00
Igor Mandrigin
a933ab6985 add links to source files 2020-08-02 14:47:30 +02:00
Igor Mandrigin
afdf89ee07 add an explainer for staged sync 2020-08-02 14:47:30 +02:00
Alex Sharov
590b59dc30
integration_use_storage_mode_from_db (#857) 2020-08-02 12:53:42 +01:00
Alex Sharov
f4d3081b98
add get/sec chart (#856) 2020-08-02 12:53:30 +01:00
Alex Sharov
ecc94a63f0
DupSort for Plain and Hashed state buckets (behind feature flags) (#854)
* return error from rawdb

* squash

* v14

* improve performance of put

* clean

* clean

* hide feature behind ENV variable

* cleanup

* cleanup

* disable ipc and make Readme less confusing (people thought points are depend on each-other)

* fix test

* cleanup

* cleanup
2020-08-02 12:53:08 +01:00
Alex Sharov
6f742c3696
Disable ipc RPC (#853)
* disable ipc and make Readme less confusing (people thought points are depend on each-other)

* disable ipc and make Readme less confusing (people thought points are depend on each-other)
2020-08-02 12:49:01 +01:00
Igor Mandrigin
04e5970bd1
Merge pull request #860 from ledgerwatch/fix-tempdir-in-index-generator
Use datadir for temp files when generating indexes
2020-08-02 12:52:00 +02:00
Igor Mandrigin
3aedcbcd7d Use datadir for temp files when generating indexes 2020-08-02 12:32:41 +02:00
ledgerwatch
cf799157cc
Jumpdest skip optimisation (#851)
* Jumpdest skipping optimisation

* Fix formatting

* Move skipAnalysis into vmConfig, introduce tracing ability

* Improve detection logging

* Added release instructions

* Fix lint
2020-08-01 17:56:57 +01:00