package rpc // handleGetBlockCount implements the getBlockCount command. func handleGetBlockCount(s *Server, cmd interface{}, closeChan <-chan struct{}) (interface{}, error) { return s.cfg.DAG.BlockCount(), nil }