-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #3 from lfglabs-dev/feat/parse_opreturn
feat: parse op_return
- Loading branch information
Showing
18 changed files
with
4,043 additions
and
88 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
pub const OP_RETURN: u8 = 0x6a; | ||
pub const OP_13: u8 = 0x5d; | ||
pub const ETCHING_MAX_DIVISIBILITY: u8 = 38; | ||
pub const ETCHING_MAX_SPACERS: u32 = 0b00000111_11111111_11111111_11111111; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,26 @@ | ||
pub mod parser; | ||
pub mod types; | ||
pub mod constants; | ||
|
||
pub mod runestone { | ||
pub mod flag; | ||
pub mod tag; | ||
pub mod message; | ||
} | ||
|
||
pub mod utils { | ||
pub mod varint; | ||
pub mod fields; | ||
pub mod char; | ||
} | ||
|
||
#[cfg(test)] | ||
mod tests { | ||
mod parser; | ||
mod opcodes; | ||
mod cenotaph; | ||
mod utils; | ||
mod varint; | ||
mod flag; | ||
mod transactions; | ||
} |
Oops, something went wrong.