Expand description
Contains a common set of types used across all of the arweave_rs modules.
This module implements a single location where these types are managed, making them easy to reference and maintain.
Modules§
- consensus
- Aggregates Arweave consensus related constants and computations.
- decode
- Decodes hashes from
base64_urlencoded strings - stringify
- Serializes and deserializes numbers represented as Strings.
Structs§
- Arweave
Block Header - Stores deserialized fields from a JSON formatted Arweave block header.
- Base64
- A struct of
Vec<u8>used for allbase64_urlencoded fields - Base64
List - A struct of
Vec<Base64>used for lists ofBase64encoded elements - Double
Signing Proof - Stores deserialized fields from a
Double Signing ProofJSON - H256
- A 256-bit hash type (32 bytes)
- H384
- A 384-bit hash type (48 bytes)
- H256
List - A struct of
Vec<H256>used for lists ofBase64encoded hashes - Nonce
- A struct of
u64which can be parsed from big-endianbase64_urlbytes - Nonce
Limiter Info - Stores the
nonce_limiter_infoin theArweaveBlockHeader - PoaData
- Stores deserialized fields from a
poa(Proof of Access) JSON - U256
- Little-endian large integer type 256-bit unsigned integer.
- USDToAR
Rate - Stores deserialized values of the
usd_to_ar_ratefield in theArweaveBlockHeader