+----------------------+-----------------+-----------------------------------------------------------------------------+
| Message Type (8-bit) | channel_msg bit | Message Name |
+----------------------+-----------------+-----------------------------------------------------------------------------+
| 0x00 | 0 | SetupConnection |
+----------------------+-----------------+-----------------------------------------------------------------------------+
| 0x01 | 0 | SetupConnection.Success |
+----------------------+-----------------+-----------------------------------------------------------------------------+
| 0x02 | 0 | SetupConnection.Error |
+----------------------+-----------------+-----------------------------------------------------------------------------+
| 0x03 | 1 | ChannelEndpointChanged |
+----------------------+-----------------+-----------------------------------------------------------------------------+
| Mining Protocol |
+----------------------+-----------------+-----------------------------------------------------------------------------+
| 0x10 | 0 | OpenStandardMiningChannel |
+----------------------+-----------------+-----------------------------------------------------------------------------+
| 0x11 | 0 | OpenStandardMiningChannel.Success |
+----------------------+-----------------+-----------------------------------------------------------------------------+
| 0x12 | 0 | OpenStandardMiningChannel.Error |
+----------------------+-----------------+-----------------------------------------------------------------------------+
| 0x13 | 0 | OpenExtendedMiningChannel |
+----------------------+-----------------+-----------------------------------------------------------------------------+
| 0x14 | 0 | OpenExtendedMiningChannel.Success |
+----------------------+-----------------+-----------------------------------------------------------------------------+
| 0x15 | 0 | OpenExtendedMiningChannel.Error |
+----------------------+-----------------+-----------------------------------------------------------------------------+
| 0x16 | 1 | UpdateChannel |
+----------------------+-----------------+-----------------------------------------------------------------------------+
| 0x17 | 1 | UpdateChannel.Error |
+----------------------+-----------------+-----------------------------------------------------------------------------+
| 0x18 | 1 | CloseChannel |
+----------------------+-----------------+-----------------------------------------------------------------------------+
| 0x19 | 1 | SetExtranoncePrefix |
+----------------------+-----------------+-----------------------------------------------------------------------------+
| 0x1a | 1 | SubmitSharesStandard |
+----------------------+-----------------+-----------------------------------------------------------------------------+
| 0x1b | 1 | SubmitSharesExtended |
+----------------------+-----------------+-----------------------------------------------------------------------------+
| 0x1c | 1 | SubmitShares.Success |
+----------------------+-----------------+-----------------------------------------------------------------------------+
| 0x1d | 1 | SubmitShares.Error |
+----------------------+-----------------+-----------------------------------------------------------------------------+
| 0x1e | 1 | NewMiningJob |
+----------------------+-----------------+-----------------------------------------------------------------------------+
| 0x1f | 1 | NewExtendedMiningJob |
+----------------------+-----------------+-----------------------------------------------------------------------------+
| 0x20 | 1 | SetNewPrevHash |
+----------------------+-----------------+-----------------------------------------------------------------------------+
| 0x21 | 1 | SetTarget |
+----------------------+-----------------+-----------------------------------------------------------------------------+
| 0x22 | 0 | SetCustomMiningJob |
+----------------------+-----------------+-----------------------------------------------------------------------------+
| 0x23 | 0 | SetCustomMiningJob.Success |
+----------------------+-----------------+-----------------------------------------------------------------------------+
| 0x24 | 0 | SetCustomMiningJob.Error |
+----------------------+-----------------+-----------------------------------------------------------------------------+
| 0x25 | 0 | Reconnect |
+----------------------+-----------------+-----------------------------------------------------------------------------+
| 0x26 | 0 | SetGroupChannel |
+----------------------+-----------------+-----------------------------------------------------------------------------+
| Job Negotiation Protocol |
+----------------------+-----------------+-----------------------------------------------------------------------------+
| 0x50 | 0 | AllocateMiningJobToken |
+----------------------+-----------------+-----------------------------------------------------------------------------+
| 0x51 | 0 | AllocateMiningJobToken.Success |
+----------------------+-----------------+-----------------------------------------------------------------------------+
| 0x52 | 0 | AllocateMiningJobToken.Error |
+----------------------+-----------------+-----------------------------------------------------------------------------+
| 0x53 | 0 | IdentifyTransactions |
+----------------------+-----------------+-----------------------------------------------------------------------------+
| 0x54 | 0 | IdentifyTransactions.Success |
+----------------------+-----------------+-----------------------------------------------------------------------------+
| 0x55 | 0 | ProvideMissingTransactions |
+----------------------+-----------------+-----------------------------------------------------------------------------+
| 0x56 | 0 | ProvideMissingTransactions.Success |
+----------------------+-----------------+-----------------------------------------------------------------------------+
| Template Distribution Protocol |
+----------------------+-----------------+-----------------------------------------------------------------------------+
| 0x70 | 0 | CoinbaseOutputDataSize |
+----------------------+-----------------+-----------------------------------------------------------------------------+
| 0x71 | 0 | NewTemplate |
+----------------------+-----------------+-----------------------------------------------------------------------------+
| 0x72 | 0 | SetNewPrevHash |
+----------------------+-----------------+-----------------------------------------------------------------------------+
| 0x73 | 0 | RequestTransactionData |
+----------------------+-----------------+-----------------------------------------------------------------------------+
| 0x74 | 0 | RequestTransactionData.Success |
+----------------------+-----------------+-----------------------------------------------------------------------------+
| 0x75 | 0 | RequestTransactionData.Error |
+----------------------+-----------------+-----------------------------------------------------------------------------+
| 0x76 | 0 | SubmitSolution |
+----------------------+-----------------+-----------------------------------------------------------------------------+