BlockExtension

public enum BlockExtension : Equatable

Block extensions used for signaling.

  • Unknown block extension.

    Declaration

    Swift

    case unknown
  • Witness version reporting.

    Declaration

    Swift

    case version(String)
  • Witness hardfork vote.

    Declaration

    Swift

    case hardforkVersionVote(String, Date)
  • Declaration

    Swift

    public init(from decoder: Decoder) throws
  • Declaration

    Swift

    public func encode(to encoder: Encoder) throws