-
Notifications
You must be signed in to change notification settings - Fork 27
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use OP_PUSHNUM_13 as rune protocol identifier (#11)
- Loading branch information
1 parent
1f3743a
commit d19c38b
Showing
4 changed files
with
67 additions
and
83 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,9 @@ | ||
import * as bitcoin from 'bitcoinjs-lib'; | ||
import { u128 } from './u128'; | ||
|
||
export const MAX_DIVISIBILITY = 38; | ||
export const MAX_LIMIT = u128(1n << 64n); | ||
export const RESERVED = u128(6402364363415443603228541259936211926n); | ||
export const SUBSIDY_HALVING_INTERVAL = 210_000; | ||
export const MAX_SCRIPT_ELEMENT_SIZE = 520; | ||
export const MAGIC_NUMBER = bitcoin.opcodes.OP_13; |
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
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