Skip to content

Instantly share code, notes, and snippets.

@kgreenek
Created November 10, 2014 06:23
Show Gist options
  • Save kgreenek/2194b3eb10c2d513be0a to your computer and use it in GitHub Desktop.
Save kgreenek/2194b3eb10c2d513be0a to your computer and use it in GitHub Desktop.
public enum PeerConnectionMessage {
case AddressMessage(BitcoinSwift.AddressMessage)
case InventoryMessage(BitcoinSwift.InventoryMessage)
case GetDataMessage(BitcoinSwift.GetDataMessage)
case NotFoundMessage(BitcoinSwift.NotFoundMessage)
case GetBlocksMessage(BitcoinSwift.GetBlocksMessage)
case GetHeadersMessage(BitcoinSwift.GetHeadersMessage)
case Transaction(BitcoinSwift.Transaction)
case Block(BitcoinSwift.Block)
case HeadersMessage(BitcoinSwift.HeadersMessage)
case GetAddressMessage(BitcoinSwift.GetAddressMessage)
case MemPoolMessage(BitcoinSwift.MemPoolMessage)
case PingMessage(BitcoinSwift.PingMessage)
case PongMessage(BitcoinSwift.PongMessage)
case RejectMessage(BitcoinSwift.RejectMessage)
case FilterLoadMessage(BitcoinSwift.FilterLoadMessage)
case FilterAddMessage(BitcoinSwift.FilterAddMessage)
case FilterClearMessage(BitcoinSwift.FilterClearMessage)
case FilteredBlock(BitcoinSwift.FilteredBlock)
case AlertMessage(BitcoinSwift.AlertMessage)
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment