1
2
3
4
5
6
7
8
9
10
11
12
13
14
crate::ix!();

#[EXCLUSIVE_LOCKS_REQUIRED(cs_main)]
pub fn get_fetch_flags(pfrom: &dyn NodeInterface) -> GetDataMsg {
    
    todo!();
        /*
            uint32_t nFetchFlags = 0;
        if (State(pfrom.GetId())->fHaveWitness) {
            nFetchFlags |= MSG_WITNESS_FLAG;
        }
        return nFetchFlags;
        */
}