Created
November 10, 2014 06:18
-
-
Save kgreenek/66e5d7e94922c05e49b7 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
extension PeerConnection { | |
public enum Message { | |
case AddressMessage(AddressMessage) | |
case InventoryMessage(InventoryMessage) | |
case GetDataMessage(GetDataMessage) | |
case NotFoundMessage(NotFoundMessage) | |
case GetBlocksMessage(GetBlocksMessage) | |
case GetHeadersMessage(GetHeadersMessage) | |
case Transaction(Transaction) | |
case Block(Block) | |
case HeadersMessage(HeadersMessage) | |
case GetAddressMessage(GetAddressMessage) | |
case MemPoolMessage(MemPoolMessage) | |
case PingMessage(PingMessage) | |
case PongMessage(PongMessage) | |
case RejectMessage(RejectMessage) | |
case FilterLoadMessage(FilterLoadMessage) | |
case FilterAddMessage(FilterAddMessage) | |
case FilterClearMessage(FilterClearMessage) | |
case FilteredBlock(FilteredBlock) | |
case AlertMessage(AlertMessage) | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment