package
0.7.2
Repository: https://github.com/dnaproject/dna.git
Documentation: pkg.go.dev

# Packages

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Functions

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Constants

The input is made positive.
a is added to b.
Boolean and between each bit in the inputs.
No description provided by the author
No description provided by the author
Array.
If both a and b are not 0, the output is 1.
If a or b is not 0, the output is 1.
No description provided by the author
No description provided by the author
Concatenates two strings.
For each signature and public key pair CHECKSIG is executed.
The entire transaction's outputs inputs and script (from the most recently-executed CODESEPARATOR to the end) are hashed.
No description provided by the author
1 is subtracted from the input.
Puts the number of stack items onto the stack.
a is divided by b.
Removes the top stack item.
Duplicates the top stack item.
Stack.
Returns 1 if the inputs are exactly equal, 0 otherwise.
No description provided by the author
Puts the input onto the top of the main stack.
Returns 1 if a is greater than b, 0 otherwise.
Returns 1 if a is greater than or equal to b, 0 otherwise.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
1 is added to the input.
No description provided by the author
Flips all of the bits in the input.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Keeps only characters left of the specified point in a string.
Returns 1 if a is less than b, 0 otherwise.
Returns 1 if a is less than or equal to b, 0 otherwise.
Returns the larger of a and b.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Returns the smaller of a and b.
Returns the remainder after dividing a by b.
a is multiplied by b.
The sign of the input is flipped.
No description provided by the author
No description provided by the author
No description provided by the author
Removes the second top stack item.
No description provided by the author
Does nothing.
If the input is 0 or 1, it is flipped.
Returns 1 if the numbers are equal, 0 otherwise.
Returns 1 if the numbers are not equal, 0 otherwise.
Returns 0 if the input is 0.
Boolean or between each bit in the inputs.
Copies the second top stack item to the top.
No description provided by the author
The item n back in the stack is copied to the top.
No description provided by the author
An empty array of bytes is pushed onto the stack.
The number 1 is pushed onto the stack.
The number 10 is pushed onto the stack.
The number 11 is pushed onto the stack.
The number 12 is pushed onto the stack.
The number 13 is pushed onto the stack.
The number 14 is pushed onto the stack.
The number 15 is pushed onto the stack.
The number 16 is pushed onto the stack.
The number 2 is pushed onto the stack.
The number 3 is pushed onto the stack.
The number 4 is pushed onto the stack.
The number 5 is pushed onto the stack.
The number 6 is pushed onto the stack.
The number 7 is pushed onto the stack.
The number 8 is pushed onto the stack.
The number 9 is pushed onto the stack.
0x01-0x4B The next opcode bytes is data to be pushed onto the stack.
No description provided by the author
The next byte contains the number of bytes to be pushed onto the stack.
The next two bytes contain the number of bytes to be pushed onto the stack.
The next four bytes contain the number of bytes to be pushed onto the stack.
No description provided by the author
The number -1 is pushed onto the stack.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Keeps only characters right of the specified point in a string.
The item n back in the stack is moved to the top.
Move third top item on the top of stack.
No description provided by the author
The input is hashed using SHA-1.
The input is hashed using SHA-256.
Shifts a left b bits, preserving sign.
Shifts a right b bits, preserving sign.
No description provided by the author
Returns the length of the input string.
No description provided by the author
b is subtracted from a.
Returns a section of a string.
The top two items on the stack are swapped.
No description provided by the author
No description provided by the author
Exception.
No description provided by the author
Puts the input onto the top of the alt stack.
The item at the top of the stack is copied and inserted before the second-to-top item.
No description provided by the author
No description provided by the author
No description provided by the author
Returns 1 if x is within the specified range (left-inclusive), 0 otherwise.
No description provided by the author
Boolean exclusive or between each bit in the inputs.
No description provided by the author
No description provided by the author

# Variables

No description provided by the author

# Structs

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Type aliases

No description provided by the author
No description provided by the author
No description provided by the author