OperationReveal
public class OperationReveal : Operation
Operation
subclass for revealing a publickey to the network.
-
Declaration
Swift
public let publicKey: String
-
Create a base operation.
Declaration
Swift
public required init(from decoder: Decoder) throws
Parameters
from
A decoder used to convert a data fromat (such as JSON) into the model object.
-
Convert the object into a data format, such as JSON.
Declaration
Swift
public override func encode(to encoder: Encoder) throws
Parameters
to
An encoder that will allow conversions to multipel data formats.
-
A function to check if two operations are equal.
Declaration
Swift
public func isEqual(_ op: OperationReveal) -> Bool
Parameters
_
An
Operation
to compare againstReturn Value
A
Bool
indicating the result.