Skip to content

Instantly share code, notes, and snippets.

@dr-orlovsky
Last active September 19, 2020 13:08
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dr-orlovsky/0bed924ee8ca7aafd2bc94d436490909 to your computer and use it in GitHub Desktop.
Save dr-orlovsky/0bed924ee8ca7aafd2bc94d436490909 to your computer and use it in GitHub Desktop.
New c-Lightning signet chainparams
diff --git a/bitcoin/chainparams.c b/bitcoin/chainparams.c
index 5a79e7e8e..7e0501271 100644
--- a/bitcoin/chainparams.c
+++ b/bitcoin/chainparams.c
@@ -80,9 +80,14 @@ const struct chainparams networks[] = {
.bip32_privkey_version = BIP32_VER_TEST_PRIVATE},
.is_elements = false},
{.network_name = "signet",
- .bip173_name = "sb",
+ .bip173_name = "tb",
.bip70_name = "signet",
- .genesis_blockhash = {{{.u.u8 = {0xce, 0xbd, 0x8f, 0x6e, 0x69, 0x77, 0x30, 0xb7, 0x4c, 0x70, 0x9c, 0xdd, 0x1e, 0x6a, 0xba, 0xaf, 0x2a, 0xfc, 0x98, 0xbf, 0x4c, 0xff, 0xb2, 0x39, 0xf3, 0xdb, 0x44, 0x27, 0x64, 0x29, 0x00, 0x00}}}},
+ // 00000008819873e925422c1ff0f99f7cc9bbb232af63a077a480a3633bee1ef6
+ .genesis_blockhash = {{{.u.u8 = {0xf6, 0x1e, 0xee, 0x3b, 0x63, 0xa3, 0x80,
+ 0xa4, 0x77, 0xa0, 0x63, 0xaf, 0x32, 0xb2,
+ 0xbb, 0xc9, 0x7c, 0x9f, 0xf9, 0xf0, 0x1f,
+ 0x2c, 0x42, 0x25, 0xe9, 0x73, 0x98, 0x81,
+ 0x08, 0x00, 0x00, 0x00}}}},
.rpc_port = 38332,
.cli = "bitcoin-cli",
.cli_args = "-signet",
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment