summaryrefslogtreecommitdiff
path: root/src/modules/m_spanningtree/treeserver.h
AgeCommit message (Collapse)Author
2019-04-28Textual improvements and fixes such as typos, casing, etc. (#1612)Robby
2017-12-19Show server versions in /MAP for opersB00mX0r
This resolves #1203
2017-07-12Add CXX11_OVERRIDE to overridden members that lack it.Peter Powell
This fixes a ton of warnings when building on compilers that default to C++11 or newer.
2015-05-13m_spanningtree Use uint64_t for the burst start time to avoid overflowsAttila Molnar
2015-01-25m_spanningtree Rewrite PING logic to use TimersAttila Molnar
2015-01-20m_spanningtree Remove public TreeServer methods that are only called from ↵Attila Molnar
TreeServer
2015-01-20m_spanningtree Get rid of some boilerplateAttila Molnar
Make methods const while at it
2014-07-28m_spanningtree Change type of num_lost_* to be unsignedAttila Molnar
2014-07-28m_spanningtree Quit all split users in one goAttila Molnar
2014-07-28m_spanningtree Mark servers awaiting destruction after being lost in a ↵Attila Molnar
netsplit, add TreeServer::IsDead()
2014-07-28m_spanningtree Remove now unused TreeServer::Tidy()Attila Molnar
2014-07-28m_spanningtree Remove split servers from the hash maps in ↵Attila Molnar
TreeServer::SQuitInternal()
2014-07-28m_spanningtree Move squit logic into TreeServer from TreeSocketAttila Molnar
2014-07-27m_spanningtree Keep track of whether servers are behind a bursting server, ↵Attila Molnar
use it to implement quietbursts
2014-07-27m_spanningtree Add TreeServer::BeginBurst() that marks a server as burstingAttila Molnar
Don't mark servers as bursting in the constructor
2014-07-27m_spanningtree Use the value of StartBurst to determine whether a server is ↵Attila Molnar
bursting, remove TreeServer::bursting
2014-07-27m_spanningtree Replace direct access of TreeServer::bursting with IsBursting()Attila Molnar
2014-06-17m_spanningtree Share server description updates via SINFO descAttila Molnar
2014-06-17m_spanningtree Add a field to TreeServer for storing full version stringsAttila Molnar
2014-01-05Move server description field from TreeServer into Server; remove ↵Attila Molnar
OnGetServerDescription hook
2014-01-05Introduce Server classAttila Molnar
- Replaces std::string server in User - Replaces InspIRCd::ULine() and SilentULine()
2013-08-22m_spanningtree Add TreeServer::GetChildren() that replaces ChildCount() and ↵attilamolnar
GetChild()
2013-08-22m_spanningtree Change TreeServer::GetSocket() to always return the socket ↵attilamolnar
that can be used to talk to the server The only exception is the tree root (us) which has no associated socket (NULL) Add TreeServer::IsRoot() and IsLocal() helpers
2013-08-19m_spanningtree Minor cleanup of functionsattilamolnar
2013-08-17m_spanningtree Remove SpanningTreeUtilities* fields and parametersattilamolnar
2013-07-24m_spanningtree Change the type of TreeServer::ServerName to std::stringattilamolnar
2013-07-24m_spanningtree Cleanup TreeServer and TreeSocket construction/destructionattilamolnar
2013-04-12m_spanningtree Remove encapsulation on UserCount/OperCountattilamolnar
2013-04-12Tidy up source files:Peter Powell
- Use #pragma once instead of include guards. - Move header files in src/modules to include/modules. - Fixed various spacing issues.
2012-09-30m_spanningtree Return const references from several TreeServer getter functionsattilamolnar
2012-04-19Replace copyright headers with headers granting specific authors copyrightRobby-
2012-04-14Fix some of the include guard names (requested by SaberUK)Justin Crawford
2012-04-14Fixes for bug #12Justin Crawford
2010-01-18Move lots of spanningtree items to commandsdanieldg
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12296 e03df62e-2008-0410-955e-edbf42e46eb7
2010-01-18Remove excessive gettimeofday system callsdanieldg
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12293 e03df62e-2008-0410-955e-edbf42e46eb7
2010-01-11...because every now and again, i have to do a massive commit.brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12248 e03df62e-2008-0410-955e-edbf42e46eb7
2009-10-23Make User::uuid and User::server constdanieldg
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11962 e03df62e-2008-0410-955e-edbf42e46eb7
2009-09-26Remove InspIRCd* parameters and fieldsdanieldg
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11763 e03df62e-2008-0410-955e-edbf42e46eb7
2009-09-02Remove unneeded Extensible inheritance and remove "age" field from classbasedanieldg
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11611 e03df62e-2008-0410-955e-edbf42e46eb7
2009-04-22Fix PingFlag not being set correctly for servers whose burst takes longer ↵danieldg
than PingFreq git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11324 e03df62e-2008-0410-955e-edbf42e46eb7
2009-03-15Update all wiki links to point to the new wiki. This was done automatically ↵psychon
with the following command, only .Makefile.inc got some indent fixups by hand. for file in $(find -type f -and -not -path '*/.svn/*' -and -not -name '*.so') ; do sed -e 's#http://www.inspircd.org/wiki#http://wiki.inspircd.org#' -e 's#http://wiki.inspircd.org/index.php/#http://wiki.inspircd.org/#' -i $file ; done git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11223 e03df62e-2008-0410-955e-edbf42e46eb7
2009-03-14Mark children of remote servers as bursting while their parent is burstingdanieldg
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11217 e03df62e-2008-0410-955e-edbf42e46eb7
2009-03-05Fix crash when services (or a misbehaving remote server) introduces a server ↵danieldg
with duplicate SID git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11171 e03df62e-2008-0410-955e-edbf42e46eb7
2009-02-14Nuke trailing spacespeavey
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11105 e03df62e-2008-0410-955e-edbf42e46eb7
2009-01-02Update copyrights for 2009.w00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10932 e03df62e-2008-0410-955e-edbf42e46eb7
2008-02-03Propegate BURST and ENDBURST network-wide for timing of bursts, and to keep ↵w00t
XLine application pending until the most opportune moment. Also do some general cleaning up. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8806 e03df62e-2008-0410-955e-edbf42e46eb7
2008-02-03Broken, but.. show how many milliseconds a burst takes. Someone care to tell ↵w00t
me why this is fucked/fix it? git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8801 e03df62e-2008-0410-955e-edbf42e46eb7
2008-02-03Remove an obsolete valuew00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8800 e03df62e-2008-0410-955e-edbf42e46eb7
2008-01-10Header update: 2007 -> 2008w00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8694 e03df62e-2008-0410-955e-edbf42e46eb7
2008-01-07Fix up some usercounts stuff.. to be tested.w00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8655 e03df62e-2008-0410-955e-edbf42e46eb7