func (c *SiadClient) ChainHeight() (types.BlockHeight, error) {
	cg, err := c.siad.ConsensusGet()
	return cg.Height, err
}
ChainHeight returns the current block height.
package renterutil
import (
	"errors"
	"math"
	"reflect"
	"sort"
	"strings"
	"go.sia.tech/siad/crypto"
	"go.sia.tech/siad/modules"
	"go.sia.tech/siad/node/api/client"
	"go.sia.tech/siad/types"
	"lukechampine.com/frand"
	"lukechampine.com/us/hostdb"
	"lukechampine.com/us/renter"
	"lukechampine.com/us/renter/proto"
	"lukechampine.com/us/wallet"
)
var ErrNoHostAnnouncement = errors.New("host announcement not found")
type SiadClient struct {
	siad *client.Client
}