Commit Graph

62 Commits

Author SHA1 Message Date
battlmonstr
cedb4865c3
docs: update libmdbx links (#3929) 2022-04-21 17:32:25 +01:00
ledgerwatch
6b43aac65e
Delete header_download.md 2021-11-15 17:17:12 +00:00
alex.sharov
96ea5438d9 save snippet to add Geth to dev net 2021-10-20 15:26:13 +07:00
Sylvain Laurent
6becda8ff1
Update db_walkthrough.MD (#2565)
Typo
2021-08-22 13:08:29 +07:00
Alex Sharov
bc271f92ce
To break dependency to db implementation - move all db classes to "ethdb/kv" and leave in "ethdb" only interfaces (#2195) 2021-06-19 15:21:53 +07:00
Artem Vorotnikov
af836a6200
Nuke LMDB (#2167) 2021-06-16 13:57:58 +03:00
Alex Sharov
b0c9862ed3
Update db_faq.md 2021-06-06 20:28:14 +07:00
alex.sharov
3aeb186bd1 db faq about RAM 2021-06-06 20:02:15 +07:00
alex.sharov
f432bdf468 add mdbx docs links 2021-06-05 21:25:26 +07:00
Alex Sharov
6fc8905ce5
Docs read db (#2103)
* docs for

* allow anonymous viewers of grafana board
2021-06-05 15:10:01 +01:00
Alex Sharov
a4ff299afb
Change set docs (#2062) 2021-05-31 15:29:46 +07:00
Evgeny Danilenko
74847d77e6
Rename to Erigon (#2018)
* turbo-geth to erigon

* tg, turbo to erigon
2021-05-26 11:35:39 +01:00
ledgerwatch
d2048f0530
Add files via upload 2021-05-25 13:49:56 +01:00
ledgerwatch
2789cd24d9
Add files via upload 2021-05-25 12:57:23 +01:00
ledgerwatch
589ed0e34c
Delete Consensus Engine-Page-3.png 2021-05-10 08:55:01 +01:00
ledgerwatch
2919c3cb88
Delete Consensus Engine-Page-2.png 2021-05-10 08:54:54 +01:00
ledgerwatch
23f6c1dab6
Delete Consensus Engine-Page-1.png 2021-05-10 08:54:47 +01:00
ledgerwatch
51b94db1b4
Add files via upload 2021-05-10 08:51:43 +01:00
ledgerwatch
c62d36b390
Add files via upload 2021-04-04 17:05:44 +01:00
ledgerwatch
2f9bf300fb
Add files via upload 2021-04-04 09:33:20 +01:00
ledgerwatch
5f262d75db
Add files via upload 2021-04-03 22:47:53 +01:00
ledgerwatch
b192177d71
Add files via upload 2021-04-03 22:13:48 +01:00
ledgerwatch
6705bf2727
Delete find-tip.png 2021-04-03 22:11:42 +01:00
ledgerwatch
54f761d571
Add files via upload 2021-04-03 22:11:13 +01:00
ledgerwatch
5aa0ea8644
Add files via upload 2021-04-03 19:02:28 +01:00
ledgerwatch
279a4bb279
Add files via upload 2021-04-03 18:43:41 +01:00
ledgerwatch
e5cb5df027
Add files via upload 2021-04-03 18:10:01 +01:00
ledgerwatch
1d102b059f
Add files via upload 2021-04-03 16:03:39 +01:00
ledgerwatch
ef29d79766
Add files via upload (#1662) 2021-04-02 17:25:30 +01:00
ledgerwatch
24331da135
Add files via upload (#1652) 2021-04-01 19:53:16 +01:00
ledgerwatch
0b3779b874
Add files via upload (#1650) 2021-04-01 13:55:03 +01:00
ledgerwatch
81ea5bab78
More updates to downloader, new p2psentry protocol (#1559)
* Initial commit

* Add sentry gRPC interface

* p2psentry directory

* Update README.md

* Update README.md

* Update README.md

* Add go package

* Correct syntax

* add external downloader interface (#2)

* Add txpool (#3)

* Add private API (#4)

* Invert control.proto, add PeerMinBlock, Separare incoming Tx message into a separate stream (#5)

Co-authored-by: Alexey Sharp <alexeysharp@Alexeys-iMac.local>

* Separate upload messages into its own stream (#6)

Co-authored-by: Alexey Sharp <alexeysharp@Alexeys-iMac.local>

* Only send changed accounts to listeners (#7)

* Txpool interface doc (#9)

* More additions

* More additions

* Fix locking

* Intermediate

* Fix separation of phases

* Intermediate

* Fix test

* More transformations

* New simplified way of downloading headers

* Fix hard-coded header sync

* Fixed syncing near the tip of the chain

* Add architecture diagram source and picture (#10)

* More fixes

* rename tip to link

* Use preverified hashes instead of preverified headers

* Fix preverified hashes generation

* more parametrisation

* Continue parametrisation

* Fix grpc data limit, interruption of headers stage

* Add ropsten preverified hashes

* Typed hashes (#11)

* Typed hashes

* Fix PeerId

* 64-bit tx nonce

* Disable penalties

* Add goerli settings, bootstrap nodes

* Try to fix goerly sync

* Remove interfaces

* Add proper golang packages, max_block into p2p sentry Status

* Prepare for proto overhaul

* Squashed 'interfaces/' content from commit ce36053c2

git-subtree-dir: interfaces
git-subtree-split: ce36053c24db2f56e48ac752808de60afa1dfb4b

* Change EtherReply to address

* Adaptations to new types

* Switch to new types

* Fixes

* Fix formatting

* Fix lint

* Lint fixes, reverse order in types

* Fix lint

* Fix lint

* Fix lint

* Fix test

* Not supporting eth/66 yet

* Fix shutdown

* Fix lint

* Fix lint

* Fix lint

* return stopped check

Co-authored-by: Artem Vorotnikov <artem@vorotnikov.me>
Co-authored-by: b00ris <b00ris@mail.ru>
Co-authored-by: Alexey Sharp <alexeysharp@Alexeys-iMac.local>
Co-authored-by: lightclient <14004106+lightclient@users.noreply.github.com>
Co-authored-by: canepat <16927169+canepat@users.noreply.github.com>
2021-03-19 21:24:49 +00:00
Peter Lai
8b8999078d
Update broken link (#1434) 2021-01-11 12:01:35 +00:00
ledgerwatch
722c4562f0
Some additions to the DB walkthrough (#1309)
* Fix tables

* Some corrections to DB walkthrough
2020-10-28 07:18:48 +00:00
canepat
5b62588ad3
Update description of table Headers (#1258)
* Update description of table Headers

* Complete the table Headers description
2020-10-19 20:15:27 +01:00
lightclient
8009a30149
make some minor edits to db walkthrough doc to improve readability (#1169) 2020-10-01 21:57:46 +01:00
ledgerwatch
5aab794c9b
Headers poc 4 - intermediate changes (#1125)
* Process BlockHeadersMsg

* Print invalidations

* Print reason for parent-child mismatch

* Fix off by one error

* Fix ExtendDown

* Replace tipLimiter with an LRU cache

* Retrieve 256 headers at a time

* Hard coding of tips, process new block hashes

* extract headers

* Write hard-coded headers into a file

* Add total difficulty

* Insert hard coded headers

* Log i

* Initiate download from hard-coded anchors

* Print the state of anchors

* Add hard-coded headers as tips

* Spare the peers

* Refine LRU caching of tips

* Print length of anchor trees

* Limit requests to 192 headers

* range error fix

* Print better, retain at least one tip in the LRU cache

* Skip duplicate line ends

* Throttle requests, display peer name

* Back off, intermediate tip queue

* Print block header timestamp

* Better logging

* Log less

* More logging of evictions

* Fix queue push

* Fix queue pop

* Exclude duplicate tips

* Fix tips logging

* Fix moving

* Add port flag

* Check headers

* Print extra

* Add mixDigest to serialisation

* Fix difficulty in hard-coded headers

* Avoid duplicate header requests

* Update peer characteristics on NewBlockMsg

* Remove backoff when peer responds

* Fix tests

* Fix lint

* Fix lint
2020-09-20 10:47:24 +01:00
Alex Sharov
e690103c2a
Docs for Cursors and KV (#1046) 2020-09-05 14:26:24 +07:00
Alex Sharov
b9bdd003a7
KV: Raw (no custom logic) cursors for DupSort and DupFixed buckets (#1020) 2020-09-04 10:54:15 +07:00
Alex Sharov
e02f2f6dfc
Revert "simplify cursor.Next and cursor.First implementation (#1019)" (#1039)
This reverts commit f19bb0a345.
2020-09-03 13:21:11 +07:00
Alex Sharov
fc9d767cc2
Gen new images for docs (#1038) 2020-09-03 13:06:32 +07:00
Alex Sharov
f19bb0a345
simplify cursor.Next and cursor.First implementation (#1019) 2020-09-01 12:50:23 +01:00
ledgerwatch
1a0e9275e1
Headers PoC - intermediate changes (#1016)
* First algorithm

* Update doc

* Second algorithm implemented

* Prepend (unfinished)

* More on prepend

* More fixes

* Change CalcDifficulty interface

* fix make test

* Fix formatting

* Another test

* More on Preprend

* Another test for Prepend

* More tests for Prepend

* More tests for Prepend

* Move files to turbo

* Add another test for Prepend

* Started adding Append algorithm

* More work on Append

* Start changing the terminology

* Split trees into segments

* More fixes

* Fix compilation

* Connect

* FindAnchors, FindTip

* Tip has anchor and not anchorParent field

* Remove Prepend and Append

* Add Connect

* NewAnchor algorithm

* More to recovery from files

* Add more to AddAnchor

* Request more headers

* Header fix-sizes serialisation

* Upgrade CI to 1.15

* Fix lint

* Fix lint

* replace RLP with fixed-sized serialisation

* Fix lint

* More algos

* Fix lint
2020-08-31 06:27:51 +01:00
Alex Sharov
ada52a8cd5
indices.md (#1010)
* init

* up

* link to db walkthrough
2020-08-30 18:34:29 +01:00
Alex Sharov
af81bb0de6
[merge after release] Simplified loader (#979)
* v0

* more docs, less customization

* more docs, less customization

* more docs, less customization

* don't store db reference

* rely on fact that lmdb key/value valid until end of transaction

* clean

* clean
2020-08-27 19:21:50 +01: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
ec559db1c8
Formal semantics: more instructions (#366) 2020-02-17 19:56:30 +03:00
Igor Mandrigin
eb0a772070
BRANCH formal semantics (#337) 2020-02-06 13:39:31 +03:00
Alex Sharov
0dd4386a37
Intermediate trie hashes phase 1 (#334)
* add intermediate trie hashes bucket
* update docs
* use version of CompressNibbles with buf pool (less GC) but without io.ByteWriter (slow)
2020-01-31 11:11:20 +07:00
Guillaume Ballet
55283053a6 docs: fix a few typos in the db walkthough doc (#336) 2020-01-27 13:50:00 +00:00