我爱占星网 我爱占星网
首页
编程
java
php
前端
首页 编程 java php 前端

在make btcd上出错:undefined:time.Until

I am trying to install btcd as part of LND.

I've already installed LND successfully: https://github.com/lightningnetwork/lnd/blob/master/docs/INSTALL.md

But when I go to make btcd I get this error:

# github.com/btcsuite/btcd
../../btcsuite/btcd/server.go:1564: /
make: *** [btcd] Error 2

How do I correct this error so that I can install and run btcd?

The time.Until function was added only recently. Make sure you use the latest version of Go. It seems that this function was added in Go version 1.8.

近期文章

  • 如何在Golang中使用Openssl RSA公私钥对加密和解密数据?
  • Google数据存储区无效密钥错误
  • 选择并获取sqlx的用法
  • Golang的smtp客户端的自定义拨号程序?
  • 特拉维斯(Travis)看到了GO函数的旧签名,因此无法构建
  • 为什么Go会对数组范围的循环产生运行时开销?
  • 更新字段将创建新的外键项,而不是对其进行更新
  • 使用golang dep从同一个github源获得不同的软件包版本
  • 如何使用VSCode在GOARCH = 386中的64位GO项目上使用32位DLL
  • 如何将S3数据加载到本地内存中,而不是保存到文件中
  • 递归定义SNMP消息
  • 将CSV文件服务器发送到客户端
  • 无法使用* DB.Rows()获取所有行
  • 网址重复
  • 将字符串转换为字符串
  • Golang Facebook对结构的回应
  • 安装和使用godef
  • Golang同步Goroutines
  • 通过API访问用户GMail帐户
  • 在Golang中绘制两个半径的圆

Copyright ©2022 我爱占星 All Rights Reserved.

浙ICP备2022030071号-1

部分图文来自网络,如有侵犯您的版权,请告诉我们删除

友情链接:代码精华