// Checks whether work is valid for block.
Checks whether work is valid for block.
// Checks whether work is valid for block .
func ValidateWork(work, hash string) (bool, error) {
	payload := map[string]interface{}{
		"work": work,
		"hash": hash,
	}
	return client.isSuccess("work_validate", payload, "valid")
}
func ValidateWork ( work , hash string ) ( bool , error ) { payload := map [ string ] interface { } { " " : work , " " : hash , } return client . isSuccess ( " " , payload , " " ) }
Checks whether work is valid for block.
Checks whether work is valid for block .