Crates.io | arweave_rs_types |
lib.rs | arweave_rs_types |
version | 0.1.0 |
source | src |
created_at | 2024-02-14 23:26:54.758355 |
updated_at | 2024-02-14 23:26:54.758355 |
description | Contains the run time types for validating Arweave block headers (including deserialization methods). |
homepage | |
repository | https://github.com/ThePeopleOfTheNetwork/arweave_rs |
max_upload_size | |
id | 1140324 |
size | 39,251 |
This library package contains the constants related to Arweaves consensus mechanisims as well as the utility functions that combine inputs for use in consensus.
Most of the effort in this package goes in to deserializing an Arweave Block Header JSON into run time types suitable for validating consensus rules. The run time types defined in this package are widely used across the other packages in this workspace.
Checkout the comments on the ArweaveBlockHeader
struct to learn what each of the fields is for.
ArweaveBlockHeaderhttps://github.com/ThePeopleOfTheNetwork/arweave_rs/blob/d40635a758c28679ccb2dbdf29d1ad55350a6f0a/types/src/lib.rs#L22-L40