//! Constants for various core chain operations.
// Re-export to avoid a breaking change.
pub use MAX_PARAMETER_LEN;
/// Maximum size of a transaction payload.
pub const MAX_PAYLOAD_SIZE: u32 = MAX_WASM_MODULE_SIZE + 1 + 4 + 4;
/// Minimum valid transaction nonce. Nonces must be strictly sequential starting
/// with [`MIN_NONCE`].
pub const MIN_NONCE: crateNonce = crateNonce ;
/// Maximum allowed size of data to register via the register data transaction.
pub const MAX_REGISTERED_DATA_SIZE: usize = 256;
/// Max allowed memo size.
pub const MAX_MEMO_SIZE: usize = 256;
/// Maximum allowed size of the Wasm module to deploy on the chain.
pub const MAX_WASM_MODULE_SIZE: u32 = 8 * 65536;
/// Curve used for encrypted transfers. This is the same as the anonymity
/// revoker curve.
pub type EncryptedAmountsCurve = crateArCurve;
/// The maximum allowed length of a [`UrlText`](crate::base::UrlText) in bytes.
pub const MAX_URL_TEXT_LENGTH: usize = 2048;
/// Size of the sha256 digest in bytes.
pub const SHA256: usize = 32;
/// Size of the ed25519 signature bytes.
pub const ED25519_SIGNATURE_LENGTH: usize = SIGNATURE_LENGTH;