Crate near_primitives

Crate near_primitives 

Source

Re-exports§

pub use near_primitives_core::borsh;
pub use near_primitives_core::num_rational;

Modules§

account
action
apply
bandwidth_scheduler
block
block_body
block_header
chains
Chain IDs of commonly used environment.
challenge
chunk_apply_stats
config
congestion_info
epoch_block_info
epoch_info
epoch_manager
epoch_sync
errors
genesis
hash
merkle
network
optimistic_block
profile_data_v2
profile_data_v3
rand
receipt
sandbox
serialize
shard_layout
This file implements two data structure ShardLayout and ShardUId
sharding
signable_message
state
state_part
state_record
state_sync
stateless_validation
telemetry
Types for telemetry reporting. Can be received by any telemetry dashboard to display node count and their status across the network.
transaction
trie_key
types
upgrade_schedule
utils
validator_mandates
validator_signer
version
views
This module defines “stable” internal API to view internal data using view_client.

Macros§

unwrap_or_return
Macro to either return value if the result is Ok, or exit function logging error.