Giulio rebuffo
c2b3d137f7
implemented eth_getblockbyhash in rpcdaemon ( #963 )
2020-08-22 21:13:38 +01:00
Alex Sharov
a6be18b915
ticker-based logs ( #954 )
...
* timer-based logs
* timer-based logs
* delegate progress calculation to user
* delegate progress calculation to user
* delegate progress calculation to user
* clear
* add logs to senders recovery
* use default dir in integration
* more logs
* more logs
2020-08-22 12:12:33 +02:00
Igor Mandrigin
18df6cd182
Fix parallel recovery senders ( #962 )
...
* fix parallel context creation
* fix a typo
2020-08-22 12:08:47 +02:00
ledgerwatch
7c16160087
Add IntraBlockState copy function to RPC API ( #960 )
2020-08-21 21:53:23 +01:00
Igor Mandrigin
a119a3a35f
Simplify build system ( #955 )
2020-08-21 14:38:11 +02:00
Giulio rebuffo
0ffe32ae16
State growth restore ( #951 )
...
* new state growth
* lint
2020-08-21 07:32:11 +01:00
Alex Sharov
ebbaa55672
sub-transaction to not call fsync, sub-transactions to not call runtime.LockThread() ( #945 )
2020-08-21 07:31:43 +01:00
Igor Mandrigin
f46a72bdd9
Print approximate progress for ETL stages ( #950 )
2020-08-21 07:30:30 +01:00
Igor Mandrigin
fbcf48f29d
Store ethash datafiles in a separate directory. ( #949 )
2020-08-20 15:59:06 +01:00
ledgerwatch
01f211f3b8
Revert "IH: no retain list ( #946 )" ( #948 )
...
This reverts commit f86ed64288
.
2020-08-20 13:37:34 +01:00
Alex Sharov
f86ed64288
IH: no retain list ( #946 )
...
* experiment of not using retain list
* better handle sub-tx
* save progress
* don't touch collector
* don't run collector on sub-tx because of `mdb_cursor_put: MDB_TXN_FULL: Transaction has too many dirty pages - transaction too big`
* clear
* clear
2020-08-20 11:42:43 +01:00
Igor Mandrigin
3f81472831
Never store Ethash caches to disk ( #944 )
...
* always keep ethash caches in ram
* fix tests
2020-08-20 11:12:51 +01:00
Alex Sharov
f827f86c11
Rpcdaemon as lib 2 ( #943 )
2020-08-20 10:52:27 +07:00
ledgerwatch
fd7e91a51c
Update skip_analysis ( #942 )
2020-08-19 20:34:45 +01:00
ledgerwatch
53f7efb4b0
Fix cmd/state flags ( #941 )
2020-08-19 14:52:03 +01:00
Alex Sharov
1dcc2b141a
Rpcdaemon as lib ( #940 )
...
* share config object
* create default config and logger
* move db connection to common func
* move server start to cli package
* clear
* clear
* rename cli to rpc
* use unified SetupLogger func
* make all root flag persistent
* use common flags in different packages
* use common flags in different packages
* move TraceTx method to eth package
* use native slice flags
* create package "turbo"
* disable geth api
* disable geth api
* move more data types to turbo/adapter package
* add support for customApiList
* run more
* run more
* run more
* dog-food
* move DoCall
* move DoCall
* fix tests
* fix test
2020-08-19 12:46:20 +01:00
b00ris
eb46dd68df
Account range testing ( #938 )
...
* save state
* save state
* save new timeouts
* compare passed
* save state
* cleanup
2020-08-19 07:33:49 +01:00
Evgeny Danilenko
3b40819444
grpc regenerate ( #936 )
...
* grpc regenerate
* use string type for id in net_version
2020-08-18 20:22:49 +03:00
ledgerwatch
09440dccd3
Print memory stats ( #934 )
2020-08-17 16:27:42 +01:00
Evgeny Danilenko
6976f58f6a
net api service ( #933 )
2020-08-17 16:27:29 +01:00
Alex Sharov
081d02920d
Remove "Bucket" class from KV abstraction ( #928 )
...
* drop Bucket object from KV abstraction
* add some non-public methods
* rebase master
* rebase master
2020-08-17 08:24:59 +01:00
Alex Sharov
7138d6740e
add logging to ih stage ( #921 )
...
* add logging to loader
* better logging
2020-08-17 08:24:48 +01:00
Alex Sharov
b2e35eb63f
rename "remote2" to "remote" ( #932 )
2020-08-17 07:47:06 +01:00
Alex Sharov
820d6d0adf
[merge after release] enable IH sequence feature ( #920 )
...
* add logging to loader
* enable IH sequence feature
* clean
2020-08-17 07:46:22 +01:00
Alex Sharov
0e253e7336
lmdb transactions of unlimited size ( #918 )
...
* add logging to loader
* use pure tx in etl loading, logs in mutation commit
* clean
* bletter logging and more cleanup
* bletter logging and more cleanup
* increase batch size to 500M
* better batch commit logging
* async fsync
* sync fsync
* sync fsync
* unify logging
* fix corner-case when etl can use empty bucket name
* fix tests
* better logging
* better logging
* rebase master
* remove lmdb.NoMetaSync flag for now
* consistent walk and multi-walk
* clean
* sub tx
* add consistent multi-put
* implement dupsort support in one new cursor method
* clear
2020-08-17 07:45:52 +01:00
Alex Sharov
6379516a0f
add support of blocks compression to txpool stage ( #925 )
2020-08-17 10:17:40 +07:00
Igor Mandrigin
2f881f3865
Use batches when unwinding indexes ( #931 )
2020-08-16 18:54:33 +02:00
Igor Mandrigin
440be6d8e6
Merge pull request #927 from ledgerwatch/geth-1.9.19
...
Geth 1.9.19
2020-08-15 23:00:41 +02:00
Igor Mandrigin
382cfdd889
fix a failing test
2020-08-15 22:47:18 +02:00
Igor Mandrigin
e10c89d39e
go mod tidy
2020-08-15 22:34:25 +02:00
Igor Mandrigin
6549c34f8b
linters
2020-08-15 22:29:04 +02:00
Igor Mandrigin
e9912b6ae1
linters
2020-08-15 22:22:05 +02:00
Igor Mandrigin
db6a0c43ee
linter
2020-08-15 22:17:38 +02:00
Igor Mandrigin
5d591109cd
linters
2020-08-15 22:10:55 +02:00
Igor Mandrigin
ae784e4b0a
fixups1
2020-08-15 22:08:57 +02:00
Igor Mandrigin
d848233275
Merge branch 'master' into geth-1.9.19
...
# Conflicts:
# cmd/geth/consolecmd.go
# cmd/rpcdaemon/service/service.go
# cmd/utils/flags.go
# eth/backend.go
2020-08-15 21:55:09 +02:00
Igor Mandrigin
3f07adec57
fix even more tests
2020-08-15 21:40:23 +02:00
Igor Mandrigin
71758e1fcc
fixups
2020-08-15 21:34:22 +02:00
Igor Mandrigin
8346124959
fix core/types
2020-08-15 21:15:44 +02:00
Igor Mandrigin
19ffb68e8c
fix fetcher
2020-08-15 21:04:45 +02:00
Igor Mandrigin
9cc5690483
fix downloader tests
2020-08-15 20:32:50 +02:00
Igor Mandrigin
201524c33e
fix node tests
2020-08-15 20:21:30 +02:00
Igor Mandrigin
43af021083
fix compilation of remote_reader
2020-08-15 20:00:25 +02:00
Igor Mandrigin
d6fe697ee1
fixups. make geth successful
2020-08-15 19:32:05 +02:00
Igor Mandrigin
9da7a7c608
fixez
2020-08-15 17:30:34 +02:00
ledgerwatch
baf3b90dcb
Calculating ETH supply from the plain state ( #926 )
...
* First supply script
* Supply in hack.go
2020-08-15 14:49:52 +01:00
Alex Sharov
90fa69a9e5
Swap IH and HashState stages ( #922 )
...
* move ih stage v0
* save progress
* save working version
* baby step
* baby step
* baby step
* non-baby step
* cleanup
2020-08-15 14:49:36 +01:00
Evgeny Danilenko
beb123f784
fix ( #924 )
2020-08-15 12:51:06 +01:00
Alex Sharov
bf596c26f3
[merge after release] dupsort of plain state ( #913 )
...
* dupsort of plain state
* rebase master
2020-08-15 08:11:40 +01:00
Alex Sharov
3aed624521
[do not merge] Trie Loader: use only "retain=false" IH ( #891 )
2020-08-15 07:52:36 +07:00