Struct Lock
Contains a tag and either a Hash or set of opcodes
struct Lock
;
Fields
Name | Type | Description |
---|---|---|
bytes
|
const(ubyte)[] | May either be a Hash, or a sequence of opcodes |
type
|
LockType | Specifies the type of lock script |
Methods
Name | Description |
---|---|
opCmp
(rhs)
|
Support for sorting |
sizeInBytes
()
|
The size of the Lock object |
toString
(sink)
|