func (b *Bitcoind) GetBlockCount() (uint64, error) {
	log.Println("Calling 'getblockcount'")
	r, err := b.client.call("getblockcount", nil)
	if err = handleError(err, &r); err != nil {
		return 0, err
	}

	count, err := strconv.ParseUint(string(r.Result), 10, 64)

	return count, err
}
// GetBlockCount returns the number of blocks in the longest block chain.
GetBlockCount returns the number of blocks in the longest block chain.
// GetBlockCount returns the number of blocks in the longest block chain .
func (b *Bitcoind) GetBlockCount() (uint64, error) {
	log.Println("Calling 'getblockcount'")
	r, err := b.client.call("getblockcount", nil)
	if err = handleError(err, &r); err != nil {
		return 0, err
	}
	count, err := strconv.ParseUint(string(r.Result), 10, 64)
	return count, err
}
func ( b * Bitcoind ) GetBlockCount ( ) ( uint64 , error ) { log . Println ( " " ) r , err := b . client . call ( " " , nil ) if err = handleError ( err , & r ) ; err != nil { return 0 , err } count , err := strconv . ParseUint ( string ( r . Result ) , 10 , 64 ) return count , err }
GetBlockCount returns the number of blocks in the longest block chain.
GetBlockCount returns the number of blocks in the longest block chain .