Changeset View
Changeset View
Standalone View
Standalone View
src/net.h
Show First 20 Lines • Show All 992 Lines • ▼ Show 20 Lines | public: | ||||
// m_tx_relay == nullptr if we're not relaying transactions with this peer | // m_tx_relay == nullptr if we're not relaying transactions with this peer | ||||
std::unique_ptr<TxRelay> m_tx_relay; | std::unique_ptr<TxRelay> m_tx_relay; | ||||
struct AvalancheState { | struct AvalancheState { | ||||
AvalancheState() {} | AvalancheState() {} | ||||
avalanche::Delegation delegation; | avalanche::Delegation delegation; | ||||
SchnorrSig sig; | |||||
}; | }; | ||||
// m_avalanche_state == nullptr if we're not using avalanche with this peer | // m_avalanche_state == nullptr if we're not using avalanche with this peer | ||||
std::unique_ptr<AvalancheState> m_avalanche_state; | std::unique_ptr<AvalancheState> m_avalanche_state; | ||||
// Used for headers announcements - unfiltered blocks to relay | // Used for headers announcements - unfiltered blocks to relay | ||||
std::vector<BlockHash> vBlockHashesToAnnounce GUARDED_BY(cs_inventory); | std::vector<BlockHash> vBlockHashesToAnnounce GUARDED_BY(cs_inventory); | ||||
▲ Show 20 Lines • Show All 179 Lines • Show Last 20 Lines |