erigon-pulse/turbo
racytech 42e8db3958
eip-4844: modified DecodeTransaction version 1 (#7442)
Blob transactions are SSZ encoded, so it had to be added to decoding.
There are 2 encoding forms: `network` and `minimal` (usual). Network
encoded blob transactions include "wrapper data" which are `kzgs`,
`blobs` and `proofs`, and decoded by `DecodeWrappedTransaction`. For
previous types of transactions the network encoding is no different.
Execution-payloads / blocks use the minimal encoding of transactions. In
the transaction-pool and local transaction-journal the network encoding
is used.

Concerns: 
1. Possible performance reduction caused by these changes, not sure if
streams are better then slices. Go slices in this modifications are
read-only, so they should be referred to the same underlying array and
passed by a reference.
2. If `DecodeWrappedTransaction` and `DecodeTransaction` will create
confusion and should be merged into one function.
2023-05-09 18:44:53 +01:00
..
adapter eip-4844: RPCTransactions to support BlobTx (#7407) 2023-04-30 14:03:38 +07:00
app [devnet tool] side-quest: logging, step 3 (#7471) 2023-05-09 18:11:31 +01:00
backup new command "erigon alpha_backup" - an alpha version of command to all Erigon's databases (#7415) 2023-05-01 08:27:34 +07:00
builder blockValue should use gasUsed rather than gasLimit (#6875) 2023-02-14 15:05:27 +00:00
cli fix cli metrics flag 2023-05-05 09:36:02 +07:00
cmdtest move all packages from "internal" folder - to simplify users live (#5857) 2022-10-25 09:58:25 +07:00
debug [Devnet tool] Side-quest to improve logging - part 1 (#7445) 2023-05-07 07:28:15 +01:00
engineapi go 1.19 atomics (#7164) 2023-03-23 05:11:28 +00:00
logging [Devnet tool] Side-quest to improve logging - part 1 (#7445) 2023-05-07 07:28:15 +01:00
mock reference hash, address, and chain config from lib (#6536) 2023-01-13 18:12:18 +00:00
node [devnet tool] side-quest: logging, step 3 (#7471) 2023-05-09 18:11:31 +01:00
rlphacks Use go:build lines and remove obsolete +build lines (#4175) 2022-05-17 14:46:53 +07:00
rpchelper eip-4844: modified DecodeTransaction version 1 (#7442) 2023-05-09 18:44:53 +01:00
services reference hash, address, and chain config from lib (#6536) 2023-01-13 18:12:18 +00:00
shards [interfaces] lower_snake_case field names (#7293) 2023-04-12 10:35:54 +00:00
snapshotsync eip-4844: modified DecodeTransaction version 1 (#7442) 2023-05-09 18:44:53 +01:00
stages [devnet tool] side-quest: logging, step 3 (#7471) 2023-05-09 18:11:31 +01:00
testlog move all packages from "internal" folder - to simplify users live (#5857) 2022-10-25 09:58:25 +07:00
transactions Proper Gnosis Chain rewards in trace_block (#7473) 2023-05-09 17:19:23 +02:00
trie [devnet tool] Side-quest logging - replace quiet parameter (#7464) 2023-05-08 17:52:31 +01:00
README.md Rename to Erigon (#2018) 2021-05-26 11:35:39 +01:00

Erigon-API

Erigon-API is a set of tools for building applications containing Erigon node.

Our own binary erigon is built using it.

Modules

  • cli - erigon-cli, methods & helpers to run a CLI app with Erigon node.

  • node - represents an Ethereum node, running devp2p and sync and writing state to the database.

  • stagedsync - staged sync algorithm.

Examples

  • erigon - our binary is using erigon-api with all defaults

  • erigoncustom - a very simple example of adding a custom stage, a custom bucket and a custom command-line parameter

  • erigon-examples - a series of examples for Erigon api