mirror of
https://github.com/fort-nix/nix-bitcoin.git
synced 2024-11-25 10:12:42 +03:00
trustedcoin: 0.8.2 -> 2024-11-15
Supports bitcoind 28.0.
This commit is contained in:
parent
951c61b8ec
commit
76ea066809
@ -1,20 +1,24 @@
|
|||||||
{ lib, buildGoModule, fetchFromGitHub }:
|
{ lib, buildGo123Module, fetchFromGitHub }:
|
||||||
|
|
||||||
buildGoModule rec {
|
buildGo123Module rec {
|
||||||
pname = "trustedcoin";
|
pname = "trustedcoin";
|
||||||
version = "0.8.2";
|
version = "2024-11-15";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "nbd-wtf";
|
owner = "nbd-wtf";
|
||||||
repo = pname;
|
repo = pname;
|
||||||
rev = "v${version}";
|
rev = "92e6f2129f85548693b4a44b39eab9e5ade8c23d";
|
||||||
hash = "sha256-M1z5Vn3UGLJHdCZxud8jM2ewiW90zzC7Vaidv3yGNAE=";
|
hash = "sha256-Blw2s0JECe01s3Wn6gY3Ladd81+wWBBeXarICa0l/bU=";
|
||||||
};
|
};
|
||||||
|
|
||||||
vendorHash = "sha256-hKaSB8/pymA7o2LuUpLjLZYn37JzEBn3a/3vkGbhLdM=";
|
vendorHash = "sha256-fW+EoNPC0mH8C06Q6GXNwFdzE7oQT+qd+B7hGGml+hc=";
|
||||||
|
|
||||||
subPackages = [ "." ];
|
subPackages = [ "." ];
|
||||||
|
|
||||||
|
preCheck = ''
|
||||||
|
ln -s $TMP/go/bin/trustedcoin .
|
||||||
|
'';
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "Light bitcoin node implementation";
|
description = "Light bitcoin node implementation";
|
||||||
homepage = "https://github.com/nbd-wtf/trustedcoin";
|
homepage = "https://github.com/nbd-wtf/trustedcoin";
|
||||||
|
@ -448,7 +448,6 @@ def _():
|
|||||||
machine.wait_until_succeeds(log_has_string("clightning", str))
|
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+bitcoind RPC working")
|
||||||
expect_clightning_log("plugin-trustedcoin[^^]\[0m\s+estimatefees error: none of the esploras returned usable responses")
|
|
||||||
if "regtest" in enabled_tests:
|
if "regtest" in enabled_tests:
|
||||||
num_blocks = test_data["num_blocks"]
|
num_blocks = test_data["num_blocks"]
|
||||||
expect_clightning_log(f"plugin-trustedcoin[^^]\[0m\s+returning block {num_blocks}")
|
expect_clightning_log(f"plugin-trustedcoin[^^]\[0m\s+returning block {num_blocks}")
|
||||||
|
Loading…
Reference in New Issue
Block a user