Skip to main content

serialize_getdata

Function serialize_getdata 

Source
pub fn serialize_getdata(g: &GetDataMessage) -> Result<Vec<u8>>
Expand description

Serialize GetDataMessage to Bitcoin wire format Format: identical to Inv - count (varint) + count * (type u32 LE + hash 32 bytes)