Merge pull request #9620 from guggero/testnet4

chain: add testnet4 support
This commit is contained in:
Olaoluwa Osuntokun authored and GitHub committed 2025-03-24 15:48:26 -07:00
commit 67d2eac437
16 files changed
+83 -30

No files matched your search

+2 -2
View File
@@ -6265,8 +6265,8 @@ type GetInfoResponse struct {
SyncedToChain bool `protobuf:"varint,9,opt,name=synced_to_chain,json=syncedToChain,proto3" json:"synced_to_chain,omitempty"`
// Whether we consider ourselves synced with the public channel graph.
SyncedToGraph bool `protobuf:"varint,18,opt,name=synced_to_graph,json=syncedToGraph,proto3" json:"synced_to_graph,omitempty"`
// Whether the current node is connected to testnet. This field is
// deprecated and the network field should be used instead
// Whether the current node is connected to testnet or testnet4. This field is
// deprecated and the network field should be used instead.
//
// Deprecated: Marked as deprecated in lightning.proto.
Testnet bool `protobuf:"varint,10,opt,name=testnet,proto3" json:"testnet,omitempty"`
+2 -2
View File
@@ -2008,8 +2008,8 @@ message GetInfoResponse {
bool synced_to_graph = 18;
/*
Whether the current node is connected to testnet. This field is
deprecated and the network field should be used instead
Whether the current node is connected to testnet or testnet4. This field is
deprecated and the network field should be used instead.
*/
bool testnet = 10 [deprecated = true];
+1 -1
View File
@@ -5196,7 +5196,7 @@
},
"testnet": {
"type": "boolean",
"title": "Whether the current node is connected to testnet. This field is\ndeprecated and the network field should be used instead"
"description": "Whether the current node is connected to testnet or testnet4. This field is\ndeprecated and the network field should be used instead."
},
"chains": {
"type": "array",