Thanks to visit codestin.com
Credit goes to github.com

Skip to content

2020.06.05#2231

Merged
mandrigin merged 37 commits into
stablefrom
stable-2020-06-05
Jun 24, 2021
Merged

2020.06.05#2231
mandrigin merged 37 commits into
stablefrom
stable-2020-06-05

Conversation

@mandrigin

Copy link
Copy Markdown
Contributor

No description provided.

mandrigin and others added 30 commits June 17, 2021 19:24
* Implement API and protobuf

* Squashed 'interfaces/' content from commit cd3eca28e

git-subtree-dir: interfaces
git-subtree-split: cd3eca28e50367af9de52fca863b1d7528bff774

* Implement net_peerCount RPC call

* Squashed 'interfaces/' content from commit cd3eca28e

git-subtree-dir: interfaces
git-subtree-split: cd3eca28e50367af9de52fca863b1d7528bff774

* Fixing merge conflicts

* Remove p2p.Server from Ethereum backend

* Fix peerCount calculation for internal sentries

* Bump eth backend API version

* Update rpcdaemon README

* Document version change
* Try to solve sentry hanging problem + p2p impovement from geth

* Fix import

* Finer stream lock

Co-authored-by: Alexey Sharp <[email protected]>
* net_peerCount for remote sentries

* cleanup

* Simplify NetPeerCount using SentryClient

* Refactor id -> count
…hdb/kv" and leave in "ethdb" only interfaces (#2195)
* move mdbx to submodule

* move mdbx to submodule

* move mdbx to submodule

* move mdbx to submodule

* move mdbx to submodule

* move mdbx to submodule

* move mdbx to submodule

* move mdbx to submodule

* move mdbx to submodule

* move mdbx to submodule

* move mdbx to submodule

* move mdbx to submodule

* move mdbx to submodule
* Remove unused tables, soft rename, take 3

* Bump db schema version

* nil check in migration
* extractHeaders

* Print diff

* Fix for state corruption without performance regression

Co-authored-by: Alex Sharp <[email protected]>
* tx.AsMessage was called twice

* noopWriter - one is enough
* Detect broken ancestry

* Print last canonical headers

* Add backExec

* Cleanup

* Add unwind util

* Add trimTxs utility

* Actually delete tx records

* Avoid infinite loop

* Change strategy

* Close cursor after commmit

* Fix RwBegin issue

* 10m records per transaction

Co-authored-by: Alex Sharp <[email protected]>
…rs hourly (#2216)

* add table size logs and metrics

* log stale readers

* - don't collect db metrics in background
- do check stale readers once an hour

* execution to update metrics when print logs

* hide file exists err

* hide file exists err
* rewrite everything

* remove stacked defers

* debug

* fix panic on nil tx

* use db.View

* panic

* block based progress

* errors

* - assume that batches are big  enough to not worry about saving carefully logTime
- use only 1 digit as progress indicator
- log only if processing > 16 blocks

* - update metric when printing logs

* remove excluded

Co-authored-by: alex.sharov <[email protected]>
* Change MDBX build location so it does not dirty submodule

* Update README.md

* Update README.md
* Scan receipts

* Not check tx type before Berlin

* Reverse

* scan receipt code in the migration

* Turn migration on

* Apply migration

* Fix

* Print last

* Remove last

* Not remove last

* Not updata in migration

* no cursors in migration

* Handle empty blocks

* Handle empty blocks

* Use the same code in hack

* Print

* Print

* Save

* Fix

* Fix lint

* Fix lint

* Fix for empty DB

Co-authored-by: Alexey Sharp <[email protected]>
Co-authored-by: Alex Sharp <[email protected]>
* Remove root from eth_getTransactionReceipt

* Simplifaction of status

Co-authored-by: Alex Sharp <[email protected]>
Co-authored-by: Alexey Sharp <[email protected]>
AlexeyAkhunov and others added 7 commits June 23, 2021 23:33
* Fix range for eth_getLogs

* Use Or and measure time

* more measurement

* more measurement

* Not compute tx hashes

* Not compute tx hashes

* Not compute tx hashes

* filter logs before derive fields

* Fix filtering by block number

* fix

Co-authored-by: Alex Sharp <[email protected]>
* Scan txs

* Find examples with access lists

Co-authored-by: Alex Sharp <[email protected]>
Update preverified hashes for mainnet and ropsten
@mandrigin mandrigin merged commit cc360ec into stable Jun 24, 2021
@mandrigin mandrigin deleted the stable-2020-06-05 branch June 24, 2021 11:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants