mirror of
https://github.com/alexgo-io/stacks-puppet-node.git
synced 2026-06-16 01:24:25 +08:00
refactor: use define_u8_enum! macro for mempool request message types
This commit is contained in:
@@ -852,12 +852,10 @@ pub struct NatPunchData {
|
||||
pub nonce: u32,
|
||||
}
|
||||
|
||||
#[repr(u8)]
|
||||
#[derive(Debug, Clone, PartialEq)]
|
||||
pub enum MemPoolSyncDataID {
|
||||
define_u8_enum!(MemPoolSyncDataID {
|
||||
BloomFilter = 0x01,
|
||||
TxTags = 0x02,
|
||||
}
|
||||
TxTags = 0x02
|
||||
});
|
||||
|
||||
#[derive(Debug, Clone, PartialEq)]
|
||||
pub enum MemPoolSyncData {
|
||||
|
||||
Reference in New Issue
Block a user