Skip to content

Commit

Permalink
Add constants
Browse files Browse the repository at this point in the history
  • Loading branch information
febo committed Nov 24, 2023
1 parent 5eea733 commit 00f9564
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions clients/rust/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -20,3 +20,9 @@ pub const MAX_CREATOR_LIMIT: usize = 5;

/// Maximum number of bytes used by a creator data.
pub const MAX_CREATOR_LEN: usize = 32 + 1 + 1;

/// Maximum number of bytes used by a edition marker.
pub const MAX_EDITION_MARKER_SIZE: usize = 32;

/// Number of bits used by a edition marker.
pub const EDITION_MARKER_BIT_SIZE: u64 = 248;

0 comments on commit 00f9564

Please sign in to comment.