OperationDoubleEndorsementEvidence
public class OperationDoubleEndorsementEvidence : Operation
Operation to report a baker trying to endorse a block twice
-
Internal struct used to amtch expected struct of data
See moreDeclaration
Swift
public struct InlinedEndorsement : Codable, Equatable -
The first endorsement
Declaration
Swift
public let op1: InlinedEndorsement -
The second endorsement (should be matching details of first)
Declaration
Swift
public let op2: InlinedEndorsement -
Init with wallet and 2 suspected endorsements
Declaration
Swift
public init(wallet: Wallet, op1: InlinedEndorsement, op2: InlinedEndorsement) -
Declaration
Swift
public required init(from decoder: Decoder) throws -
Declaration
Swift
public override func encode(to encoder: Encoder) throws -
Declaration
Swift
public func isEqual(_ op: OperationDoubleEndorsementEvidence) -> Bool
Install in Dash