|
std::map< uint256, COrphanTx > mapOrphanTransactions | GUARDED_BY (g_cs_orphans) |
|
void | EraseOrphansFor (NodeId peer) |
|
void | Misbehaving (NodeId nodeid, int howmuch, const std::string &message="") EXCLUSIVE_LOCKS_REQUIRED(cs_main) |
|
int nSyncStarted | anonymous_namespace{net_processing.cpp}::GUARDED_BY (cs_main)=0 |
|
std::atomic< int64_t > | anonymous_namespace{net_processing.cpp}::g_last_tip_update (0) |
|
std::map< COutPoint, std::set< std::map< uint256, COrphanTx >::iterator, IteratorComparator > > mapOrphanTransactionsByPrev | anonymous_namespace{net_processing.cpp}::GUARDED_BY (g_cs_orphans)=0 |
| For random eviction. More...
|
|
static CNodeState * | anonymous_namespace{net_processing.cpp}::State (NodeId pnode) EXCLUSIVE_LOCKS_REQUIRED(cs_main) |
|
static void | anonymous_namespace{net_processing.cpp}::UpdatePreferredDownload (CNode *node, CNodeState *state) EXCLUSIVE_LOCKS_REQUIRED(cs_main) |
|
static void | anonymous_namespace{net_processing.cpp}::PushNodeVersion (CNode *pnode, CConnman *connman, int64_t nTime) |
|
static bool | anonymous_namespace{net_processing.cpp}::MarkBlockAsReceived (const uint256 &hash) EXCLUSIVE_LOCKS_REQUIRED(cs_main) |
|
static bool | anonymous_namespace{net_processing.cpp}::MarkBlockAsInFlight (NodeId nodeid, const uint256 &hash, const CBlockIndex *pindex=nullptr, std::list< QueuedBlock >::iterator **pit=nullptr) EXCLUSIVE_LOCKS_REQUIRED(cs_main) |
|
static void | anonymous_namespace{net_processing.cpp}::ProcessBlockAvailability (NodeId nodeid) EXCLUSIVE_LOCKS_REQUIRED(cs_main) |
|
static void | anonymous_namespace{net_processing.cpp}::UpdateBlockAvailability (NodeId nodeid, const uint256 &hash) EXCLUSIVE_LOCKS_REQUIRED(cs_main) |
|
static void | anonymous_namespace{net_processing.cpp}::MaybeSetPeerAsAnnouncingHeaderAndIDs (NodeId nodeid, CConnman *connman) EXCLUSIVE_LOCKS_REQUIRED(cs_main) |
|
static bool | anonymous_namespace{net_processing.cpp}::TipMayBeStale (const Consensus::Params &consensusParams) EXCLUSIVE_LOCKS_REQUIRED(cs_main) |
|
static bool | anonymous_namespace{net_processing.cpp}::CanDirectFetch (const Consensus::Params &consensusParams) EXCLUSIVE_LOCKS_REQUIRED(cs_main) |
|
static bool | anonymous_namespace{net_processing.cpp}::PeerHasHeader (CNodeState *state, const CBlockIndex *pindex) EXCLUSIVE_LOCKS_REQUIRED(cs_main) |
|
static void | anonymous_namespace{net_processing.cpp}::FindNextBlocksToDownload (NodeId nodeid, unsigned int count, std::vector< const CBlockIndex * > &vBlocks, NodeId &nodeStaller, const Consensus::Params &consensusParams) EXCLUSIVE_LOCKS_REQUIRED(cs_main) |
|
void | anonymous_namespace{net_processing.cpp}::EraseTxRequest (const uint256 &txid) EXCLUSIVE_LOCKS_REQUIRED(cs_main) |
|
int64_t | anonymous_namespace{net_processing.cpp}::GetTxRequestTime (const uint256 &txid) EXCLUSIVE_LOCKS_REQUIRED(cs_main) |
|
void | anonymous_namespace{net_processing.cpp}::UpdateTxRequestTime (const uint256 &txid, int64_t request_time) EXCLUSIVE_LOCKS_REQUIRED(cs_main) |
|
int64_t | anonymous_namespace{net_processing.cpp}::CalculateTxGetDataTime (const uint256 &txid, int64_t current_time, bool use_inbound_delay) EXCLUSIVE_LOCKS_REQUIRED(cs_main) |
|
void | anonymous_namespace{net_processing.cpp}::RequestTx (CNodeState *state, const uint256 &txid, int64_t nNow) EXCLUSIVE_LOCKS_REQUIRED(cs_main) |
|
void | UpdateLastBlockAnnounceTime (NodeId node, int64_t time_in_seconds) |
|
static bool | IsOutboundDisconnectionCandidate (const CNode *node) |
|
bool | GetNodeStateStats (NodeId nodeid, CNodeStateStats &stats) |
|
static void | AddToCompactExtraTransactions (const CTransactionRef &tx) EXCLUSIVE_LOCKS_REQUIRED(g_cs_orphans) |
|
bool | AddOrphanTx (const CTransactionRef &tx, NodeId peer) EXCLUSIVE_LOCKS_REQUIRED(g_cs_orphans) |
|
static int | EraseOrphanTx (uint256 hash) EXCLUSIVE_LOCKS_REQUIRED(g_cs_orphans) |
|
unsigned int | LimitOrphanTxSize (unsigned int nMaxOrphans) |
|
static bool | TxRelayMayResultInDisconnect (const CValidationState &state) |
|
static bool | MaybePunishNode (NodeId nodeid, const CValidationState &state, bool via_compact_block, const std::string &message="") |
|
static bool | BlockRequestAllowed (const CBlockIndex *pindex, const Consensus::Params &consensusParams) EXCLUSIVE_LOCKS_REQUIRED(cs_main) |
|
static std::shared_ptr< const CBlock > most_recent_block | GUARDED_BY (cs_most_recent_block) |
|
static bool | AlreadyHave (const CInv &inv) EXCLUSIVE_LOCKS_REQUIRED(cs_main) |
|
static void | RelayTransaction (const CTransaction &tx, CConnman *connman) |
|
static void | RelayAddress (const CAddress &addr, bool fReachable, CConnman *connman) |
|
static void | ProcessGetBlockData (CNode *pfrom, const CChainParams &chainparams, const CInv &inv, CConnman *connman) |
|
static void | ProcessGetData (CNode *pfrom, const CChainParams &chainparams, CConnman *connman, const std::atomic< bool > &interruptMsgProc) LOCKS_EXCLUDED(cs_main) |
|
static uint32_t | GetFetchFlags (CNode *pfrom) EXCLUSIVE_LOCKS_REQUIRED(cs_main) |
|
static void | SendBlockTransactions (const CBlock &block, const BlockTransactionsRequest &req, CNode *pfrom, CConnman *connman) |
|
static bool | ProcessHeadersMessage (CNode *pfrom, CConnman *connman, const std::vector< CBlockHeader > &headers, const CChainParams &chainparams, bool via_compact_block) |
|
static void | ProcessOrphanTx (CConnman *connman, std::set< uint256 > &orphan_work_set, std::list< CTransactionRef > &removed_txn) EXCLUSIVE_LOCKS_REQUIRED(cs_main |
|
| AssertLockHeld (g_cs_orphans) |
|
| while (!done &&!orphan_work_set.empty()) |
|
static bool | ProcessMessage (CNode *pfrom, const std::string &strCommand, CDataStream &vRecv, int64_t nTimeReceived, const CChainParams &chainparams, CConnman *connman, const std::atomic< bool > &interruptMsgProc, bool enable_bip61) |
|