code: func NewServerNode(params ServerParams, clock mclock.Clock) *ServerNode {
  	node := &ServerNode{
  		clock:       clock,
  		bufEstimate: params.BufLimit,
  		bufRecharge: false,
  		lastTime:    clock.Now(),
  		params:      params,
  		pending:     make(map[uint64]uint64),
  	}
  	if keepLogs > 0 {
  		node.log = newLogger(keepLogs)
  	}
  	return node
  }
docs: // NewServerNode returns a new ServerNode