OperationDoubleBakingEvidence
public class OperationDoubleBakingEvidence : Operation
Operation to report a baking of baking the same block twice
-
The block header of the first baked block
Declaration
Swift
public let bh1: OperationBlockHeader
-
The block header of the second baked block
Declaration
Swift
public let bh2: OperationBlockHeader
-
Init with wallet and two block headers
Declaration
Swift
public init(wallet: Wallet, bh1: OperationBlockHeader, bh2: OperationBlockHeader)
-
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: OperationDoubleBakingEvidence) -> Bool