trustedcoin: 0.8.2 -> 2024-11-15

Supports bitcoind 28.0.
This commit is contained in:
Erik Arvstedt 2024-11-15 14:27:07 +01:00
parent 951c61b8ec
commit 76ea066809
No known key found for this signature in database
GPG Key ID: 33312B944DD97846
2 changed files with 10 additions and 7 deletions

View File

@ -1,20 +1,24 @@
{ lib, buildGoModule, fetchFromGitHub }:
{ lib, buildGo123Module, fetchFromGitHub }:
buildGoModule rec {
buildGo123Module rec {
pname = "trustedcoin";
version = "0.8.2";
version = "2024-11-15";
src = fetchFromGitHub {
owner = "nbd-wtf";
repo = pname;
rev = "v${version}";
hash = "sha256-M1z5Vn3UGLJHdCZxud8jM2ewiW90zzC7Vaidv3yGNAE=";
rev = "92e6f2129f85548693b4a44b39eab9e5ade8c23d";
hash = "sha256-Blw2s0JECe01s3Wn6gY3Ladd81+wWBBeXarICa0l/bU=";
};
vendorHash = "sha256-hKaSB8/pymA7o2LuUpLjLZYn37JzEBn3a/3vkGbhLdM=";
vendorHash = "sha256-fW+EoNPC0mH8C06Q6GXNwFdzE7oQT+qd+B7hGGml+hc=";
subPackages = [ "." ];
preCheck = ''
ln -s $TMP/go/bin/trustedcoin .
'';
meta = with lib; {
description = "Light bitcoin node implementation";
homepage = "https://github.com/nbd-wtf/trustedcoin";

View File

@ -448,7 +448,6 @@ def _():
machine.wait_until_succeeds(log_has_string("clightning", str))
expect_clightning_log("plugin-trustedcoin[^^]\[0m\s+bitcoind RPC working")
expect_clightning_log("plugin-trustedcoin[^^]\[0m\s+estimatefees error: none of the esploras returned usable responses")
if "regtest" in enabled_tests:
num_blocks = test_data["num_blocks"]
expect_clightning_log(f"plugin-trustedcoin[^^]\[0m\s+returning block {num_blocks}")