@@ -376,7 +376,7 @@ void MarkBlockAsInFlight(NodeId nodeid, const uint256& hash, const Consensus::Pa
376376 mapBlocksInFlight[hash] = std::make_pair (nodeid, it);
377377}
378378
379- /* * Check whether the last unknown block a peer advertized is not yet known. */
379+ /* * Check whether the last unknown block a peer advertised is not yet known. */
380380void ProcessBlockAvailability (NodeId nodeid) {
381381 CNodeState *state = State (nodeid);
382382 assert (state != NULL );
@@ -4456,11 +4456,11 @@ bool static ProcessMessage(CNode* pfrom, string strCommand, CDataStream& vRecv,
44564456 CAddress addr = GetLocalAddress (&pfrom->addr );
44574457 if (addr.IsRoutable ())
44584458 {
4459- LogPrintf (" ProcessMessages: advertizing address %s\n " , addr.ToString ());
4459+ LogPrintf (" ProcessMessages: advertising address %s\n " , addr.ToString ());
44604460 pfrom->PushAddress (addr);
44614461 } else if (IsPeerAddrLocalGood (pfrom)) {
44624462 addr.SetIP (pfrom->addrLocal );
4463- LogPrintf (" ProcessMessages: advertizing address %s\n " , addr.ToString ());
4463+ LogPrintf (" ProcessMessages: advertising address %s\n " , addr.ToString ());
44644464 pfrom->PushAddress (addr);
44654465 }
44664466 }
@@ -5469,7 +5469,7 @@ bool SendMessages(CNode* pto)
54695469 // Address refresh broadcast
54705470 int64_t nNow = GetTimeMicros ();
54715471 if (!IsInitialBlockDownload () && pto->nNextLocalAddrSend < nNow) {
5472- AdvertizeLocal (pto);
5472+ AdvertiseLocal (pto);
54735473 pto->nNextLocalAddrSend = PoissonNextSend (nNow, AVG_LOCAL_ADDRESS_BROADCAST_INTERVAL);
54745474 }
54755475
0 commit comments