Skip to main content

Module service_flags

Module service_flags 

Source
Expand description

Service flags for Bitcoin P2P protocol

Defines service flags used in Version messages to indicate node capabilities. Includes standard Bitcoin flags and Commons-specific extensions.

Re-exports§

pub use commons::*;
pub use standard::*;

Modules§

commons
Commons-specific service flags
standard
Standard Bitcoin service flags (from Bitcoin Core)

Functions§

clear_flag
Clear a service flag
get_commons_flags
Get all Commons-specific flags
has_flag
Check if a service flag is set
set_flag
Set a service flag
supports_commons
Check if node supports Commons features