mirror of
https://github.com/hl-archive-node/nanoreth.git
synced 2025-12-06 10:59:55 +00:00
docs: add warning notes about using NippyJar and Compact encoding formats with untrusted data (#8345)
This commit is contained in:
@ -155,5 +155,9 @@ None of this would have been possible without them, so big shoutout to the teams
|
|||||||
- [Erigon](https://github.com/ledgerwatch/erigon) (fka Turbo-Geth): Erigon pioneered the ["Staged Sync" architecture](https://erigon.substack.com/p/erigon-stage-sync-and-control-flows) that Reth is using, as well as [introduced MDBX](https://github.com/ledgerwatch/erigon/wiki/Choice-of-storage-engine) as the database of choice. We thank Erigon for pushing the state of the art research on the performance limits of Ethereum nodes.
|
- [Erigon](https://github.com/ledgerwatch/erigon) (fka Turbo-Geth): Erigon pioneered the ["Staged Sync" architecture](https://erigon.substack.com/p/erigon-stage-sync-and-control-flows) that Reth is using, as well as [introduced MDBX](https://github.com/ledgerwatch/erigon/wiki/Choice-of-storage-engine) as the database of choice. We thank Erigon for pushing the state of the art research on the performance limits of Ethereum nodes.
|
||||||
- [Akula](https://github.com/akula-bft/akula/): Reth uses forks of the Apache versions of Akula's [MDBX Bindings](https://github.com/paradigmxyz/reth/pull/132), [FastRLP](https://github.com/paradigmxyz/reth/pull/63) and [ECIES](https://github.com/paradigmxyz/reth/pull/80) . Given that these packages were already released under the Apache License, and they implement standardized solutions, we decided not to reimplement them to iterate faster. We thank the Akula team for their contributions to the Rust Ethereum ecosystem and for publishing these packages.
|
- [Akula](https://github.com/akula-bft/akula/): Reth uses forks of the Apache versions of Akula's [MDBX Bindings](https://github.com/paradigmxyz/reth/pull/132), [FastRLP](https://github.com/paradigmxyz/reth/pull/63) and [ECIES](https://github.com/paradigmxyz/reth/pull/80) . Given that these packages were already released under the Apache License, and they implement standardized solutions, we decided not to reimplement them to iterate faster. We thank the Akula team for their contributions to the Rust Ethereum ecosystem and for publishing these packages.
|
||||||
|
|
||||||
|
## Warning
|
||||||
|
|
||||||
|
The `NippyJar` and `Compact` encoding formats and their implementations are designed for storing and retrieving data internally. They are not hardened to safely read potentially malicious data.
|
||||||
|
|
||||||
[book]: https://paradigmxyz.github.io/reth/
|
[book]: https://paradigmxyz.github.io/reth/
|
||||||
[tg-url]: https://t.me/paradigm_reth
|
[tg-url]: https://t.me/paradigm_reth
|
||||||
|
|||||||
@ -1,5 +1,9 @@
|
|||||||
//! Compact codec.
|
//! Compact codec.
|
||||||
//!
|
//!
|
||||||
|
//! *Warning*: The `Compact` encoding format and its implementations are
|
||||||
|
//! designed for storing and retrieving data internally. They are not hardened
|
||||||
|
//! to safely read potentially malicious data.
|
||||||
|
//!
|
||||||
//! ## Feature Flags
|
//! ## Feature Flags
|
||||||
//!
|
//!
|
||||||
//! - `alloy`: [Compact] implementation for various alloy types.
|
//! - `alloy`: [Compact] implementation for various alloy types.
|
||||||
|
|||||||
@ -1,4 +1,8 @@
|
|||||||
//! Immutable data store format.
|
//! Immutable data store format.
|
||||||
|
//!
|
||||||
|
//! *Warning*: The `NippyJar` encoding format and its implementations are
|
||||||
|
//! designed for storing and retrieving data internally. They are not hardened
|
||||||
|
//! to safely read potentially malicious data.
|
||||||
|
|
||||||
#![doc(
|
#![doc(
|
||||||
html_logo_url = "https://raw.githubusercontent.com/paradigmxyz/reth/main/assets/reth-docs.png",
|
html_logo_url = "https://raw.githubusercontent.com/paradigmxyz/reth/main/assets/reth-docs.png",
|
||||||
|
|||||||
Reference in New Issue
Block a user