diff --git a/libs/Cargo.lock b/libs/Cargo.lock index 4f87358b6..acc161f92 100644 --- a/libs/Cargo.lock +++ b/libs/Cargo.lock @@ -406,6 +406,9 @@ name = "bytes" version = "1.5.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "a2bd12c1caf447e69cd4528f47f94d203fd2582878ecb9e9465484c4148a8223" +dependencies = [ + "serde", +] [[package]] name = "cc" diff --git a/libs/gl-client-py/Makefile b/libs/gl-client-py/Makefile index 063c05f23..f34a36a77 100644 --- a/libs/gl-client-py/Makefile +++ b/libs/gl-client-py/Makefile @@ -11,7 +11,7 @@ PYDIR=${REPO}/libs/gl-client-py PROTODIR=${REPO}/libs/proto PYPROTOC_OPTS = \ - -I${PROTODIR} \ + -I ${PROTODIR} \ --python_out=${PYDIR}/glclient \ --grpc_python_out=${PYDIR}/glclient \ --experimental_allow_proto3_optional \ @@ -30,9 +30,7 @@ PROTOSRC = \ GENALL += ${PYPROTOS} -pygrpc: ${PYPROTOS} - -${PYPROTOS}: ${PROTOSRC} +pygrpc: ${PROTOSRC} python -m grpc_tools.protoc ${PYPROTOC_OPTS} scheduler.proto python -m grpc_tools.protoc ${PYPROTOC_OPTS} greenlight.proto sed -i 's/import scheduler_pb2 as scheduler__pb2/from . import scheduler_pb2 as scheduler__pb2/g' ${PYDIR}/glclient/scheduler_pb2_grpc.py diff --git a/libs/gl-client-py/glclient/__init__.py b/libs/gl-client-py/glclient/__init__.py index 0d091e1c1..e03f6c594 100644 --- a/libs/gl-client-py/glclient/__init__.py +++ b/libs/gl-client-py/glclient/__init__.py @@ -524,6 +524,12 @@ def get_lsp_client( native_lsps = self.inner.get_lsp_client() return LspClient(native_lsps) + def configure(self, close_to_addr: str) -> None: + req = nodepb.GlConfig( + close_to_addr=close_to_addr + ).SerializeToString() + + return self.inner.configure(bytes(req)) def normalize_node_id(node_id, string=False): if len(node_id) == 66: diff --git a/libs/gl-client-py/glclient/greenlight_pb2.py b/libs/gl-client-py/glclient/greenlight_pb2.py index 1761543de..a549a7812 100644 --- a/libs/gl-client-py/glclient/greenlight_pb2.py +++ b/libs/gl-client-py/glclient/greenlight_pb2.py @@ -13,7 +13,7 @@ -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x10greenlight.proto\x12\ngreenlight\"H\n\x11HsmRequestContext\x12\x0f\n\x07node_id\x18\x01 \x01(\x0c\x12\x0c\n\x04\x64\x62id\x18\x02 \x01(\x04\x12\x14\n\x0c\x63\x61pabilities\x18\x03 \x01(\x04\"b\n\x0bHsmResponse\x12\x12\n\nrequest_id\x18\x01 \x01(\r\x12\x0b\n\x03raw\x18\x02 \x01(\x0c\x12\x32\n\x0csigner_state\x18\x05 \x03(\x0b\x32\x1c.greenlight.SignerStateEntry\"\xbf\x01\n\nHsmRequest\x12\x12\n\nrequest_id\x18\x01 \x01(\r\x12.\n\x07\x63ontext\x18\x02 \x01(\x0b\x32\x1d.greenlight.HsmRequestContext\x12\x0b\n\x03raw\x18\x03 \x01(\x0c\x12\x32\n\x0csigner_state\x18\x04 \x03(\x0b\x32\x1c.greenlight.SignerStateEntry\x12,\n\x08requests\x18\x05 \x03(\x0b\x32\x1a.greenlight.PendingRequest\"\x07\n\x05\x45mpty\"O\n\x07\x41\x64\x64ress\x12(\n\x04type\x18\x01 \x01(\x0e\x32\x1a.greenlight.NetAddressType\x12\x0c\n\x04\x61\x64\x64r\x18\x02 \x01(\t\x12\x0c\n\x04port\x18\x03 \x01(\r\"\x10\n\x0eGetInfoRequest\"\xb2\x01\n\x0fGetInfoResponse\x12\x0f\n\x07node_id\x18\x01 \x01(\x0c\x12\r\n\x05\x61lias\x18\x02 \x01(\t\x12\r\n\x05\x63olor\x18\x03 \x01(\x0c\x12\x11\n\tnum_peers\x18\x04 \x01(\r\x12&\n\taddresses\x18\x05 \x03(\x0b\x32\x13.greenlight.Address\x12\x0f\n\x07version\x18\x06 \x01(\t\x12\x13\n\x0b\x62lockheight\x18\x07 \x01(\r\x12\x0f\n\x07network\x18\x08 \x01(\t\"\r\n\x0bStopRequest\"\x0e\n\x0cStopResponse\"/\n\x0e\x43onnectRequest\x12\x0f\n\x07node_id\x18\x01 \x01(\t\x12\x0c\n\x04\x61\x64\x64r\x18\x02 \x01(\t\"4\n\x0f\x43onnectResponse\x12\x0f\n\x07node_id\x18\x01 \x01(\t\x12\x10\n\x08\x66\x65\x61tures\x18\x02 \x01(\t\"#\n\x10ListPeersRequest\x12\x0f\n\x07node_id\x18\x01 \x01(\t\"\x81\x01\n\x04Htlc\x12\x11\n\tdirection\x18\x01 \x01(\t\x12\n\n\x02id\x18\x02 \x01(\x04\x12\x0e\n\x06\x61mount\x18\x03 \x01(\t\x12\x0e\n\x06\x65xpiry\x18\x04 \x01(\x04\x12\x14\n\x0cpayment_hash\x18\x05 \x01(\t\x12\r\n\x05state\x18\x06 \x01(\t\x12\x15\n\rlocal_trimmed\x18\x07 \x01(\x08\"(\n\x07\x41liases\x12\r\n\x05local\x18\x01 \x01(\t\x12\x0e\n\x06remote\x18\x02 \x01(\t\"\x8f\x03\n\x07\x43hannel\x12\r\n\x05state\x18\x01 \x01(\t\x12\r\n\x05owner\x18\x02 \x01(\t\x12\"\n\x05\x61lias\x18\x12 \x01(\x0b\x32\x13.greenlight.Aliases\x12\x18\n\x10short_channel_id\x18\x03 \x01(\t\x12\x11\n\tdirection\x18\x04 \x01(\r\x12\x12\n\nchannel_id\x18\x05 \x01(\t\x12\x14\n\x0c\x66unding_txid\x18\x06 \x01(\t\x12\x15\n\rclose_to_addr\x18\x07 \x01(\t\x12\x10\n\x08\x63lose_to\x18\x08 \x01(\t\x12\x0f\n\x07private\x18\t \x01(\x08\x12\r\n\x05total\x18\n \x01(\t\x12\x12\n\ndust_limit\x18\x0b \x01(\t\x12\x11\n\tspendable\x18\x0c \x01(\t\x12\x12\n\nreceivable\x18\r \x01(\t\x12\x1b\n\x13their_to_self_delay\x18\x0e \x01(\r\x12\x19\n\x11our_to_self_delay\x18\x0f \x01(\r\x12\x0e\n\x06status\x18\x10 \x03(\t\x12\x1f\n\x05htlcs\x18\x11 \x03(\x0b\x32\x10.greenlight.Htlc\"\x86\x01\n\x04Peer\x12\n\n\x02id\x18\x01 \x01(\x0c\x12\x11\n\tconnected\x18\x02 \x01(\x08\x12&\n\taddresses\x18\x03 \x03(\x0b\x32\x13.greenlight.Address\x12\x10\n\x08\x66\x65\x61tures\x18\x04 \x01(\t\x12%\n\x08\x63hannels\x18\x05 \x03(\x0b\x32\x13.greenlight.Channel\"4\n\x11ListPeersResponse\x12\x1f\n\x05peers\x18\x01 \x03(\x0b\x32\x10.greenlight.Peer\"3\n\x11\x44isconnectRequest\x12\x0f\n\x07node_id\x18\x01 \x01(\t\x12\r\n\x05\x66orce\x18\x02 \x01(\x08\"\x14\n\x12\x44isconnectResponse\"B\n\x0eNewAddrRequest\x12\x30\n\x0c\x61\x64\x64ress_type\x18\x01 \x01(\x0e\x32\x1a.greenlight.BtcAddressType\"T\n\x0fNewAddrResponse\x12\x30\n\x0c\x61\x64\x64ress_type\x18\x01 \x01(\x0e\x32\x1a.greenlight.BtcAddressType\x12\x0f\n\x07\x61\x64\x64ress\x18\x02 \x01(\t\"=\n\x10ListFundsRequest\x12)\n\x07minconf\x18\x01 \x01(\x0b\x32\x18.greenlight.Confirmation\"\xc3\x01\n\x0fListFundsOutput\x12$\n\x06output\x18\x01 \x01(\x0b\x32\x14.greenlight.Outpoint\x12\"\n\x06\x61mount\x18\x02 \x01(\x0b\x32\x12.greenlight.Amount\x12\x0f\n\x07\x61\x64\x64ress\x18\x04 \x01(\t\x12(\n\x06status\x18\x05 \x01(\x0e\x32\x18.greenlight.OutputStatus\x12\x10\n\x08reserved\x18\x06 \x01(\x08\x12\x19\n\x11reserved_to_block\x18\x07 \x01(\r\"\xac\x01\n\x10ListFundsChannel\x12\x0f\n\x07peer_id\x18\x01 \x01(\x0c\x12\x11\n\tconnected\x18\x02 \x01(\x08\x12\x18\n\x10short_channel_id\x18\x03 \x01(\x04\x12\x17\n\x0four_amount_msat\x18\x04 \x01(\x04\x12\x13\n\x0b\x61mount_msat\x18\x05 \x01(\x04\x12\x14\n\x0c\x66unding_txid\x18\x06 \x01(\x0c\x12\x16\n\x0e\x66unding_output\x18\x07 \x01(\r\"q\n\x11ListFundsResponse\x12,\n\x07outputs\x18\x01 \x03(\x0b\x32\x1b.greenlight.ListFundsOutput\x12.\n\x08\x63hannels\x18\x02 \x03(\x0b\x32\x1c.greenlight.ListFundsChannel\"a\n\x07\x46\x65\x65rate\x12+\n\x06preset\x18\x01 \x01(\x0e\x32\x19.greenlight.FeeratePresetH\x00\x12\x0f\n\x05perkw\x18\x05 \x01(\x04H\x00\x12\x0f\n\x05perkb\x18\x06 \x01(\x04H\x00\x42\x07\n\x05value\"\x1e\n\x0c\x43onfirmation\x12\x0e\n\x06\x62locks\x18\x01 \x01(\r\"\xc0\x01\n\x0fWithdrawRequest\x12\x13\n\x0b\x64\x65stination\x18\x01 \x01(\t\x12\"\n\x06\x61mount\x18\x02 \x01(\x0b\x32\x12.greenlight.Amount\x12$\n\x07\x66\x65\x65rate\x18\x03 \x01(\x0b\x32\x13.greenlight.Feerate\x12)\n\x07minconf\x18\x07 \x01(\x0b\x32\x18.greenlight.Confirmation\x12#\n\x05utxos\x18\x08 \x03(\x0b\x32\x14.greenlight.Outpoint\",\n\x10WithdrawResponse\x12\n\n\x02tx\x18\x01 \x01(\x0c\x12\x0c\n\x04txid\x18\x02 \x01(\x0c\"\xbe\x01\n\x12\x46undChannelRequest\x12\x0f\n\x07node_id\x18\x01 \x01(\x0c\x12\"\n\x06\x61mount\x18\x02 \x01(\x0b\x32\x12.greenlight.Amount\x12$\n\x07\x66\x65\x65rate\x18\x03 \x01(\x0b\x32\x13.greenlight.Feerate\x12\x10\n\x08\x61nnounce\x18\x07 \x01(\x08\x12)\n\x07minconf\x18\x08 \x01(\x0b\x32\x18.greenlight.Confirmation\x12\x10\n\x08\x63lose_to\x18\n \x01(\t\"(\n\x08Outpoint\x12\x0c\n\x04txid\x18\x01 \x01(\x0c\x12\x0e\n\x06outnum\x18\x02 \x01(\r\"o\n\x13\x46undChannelResponse\x12\n\n\x02tx\x18\x01 \x01(\x0c\x12&\n\x08outpoint\x18\x02 \x01(\x0b\x32\x14.greenlight.Outpoint\x12\x12\n\nchannel_id\x18\x03 \x01(\x0c\x12\x10\n\x08\x63lose_to\x18\x04 \x01(\t\"\x1a\n\x07Timeout\x12\x0f\n\x07seconds\x18\x01 \x01(\r\"!\n\x0e\x42itcoinAddress\x12\x0f\n\x07\x61\x64\x64ress\x18\x01 \x01(\t\"\x87\x01\n\x13\x43loseChannelRequest\x12\x0f\n\x07node_id\x18\x01 \x01(\x0c\x12.\n\x11unilateraltimeout\x18\x02 \x01(\x0b\x32\x13.greenlight.Timeout\x12/\n\x0b\x64\x65stination\x18\x03 \x01(\x0b\x32\x1a.greenlight.BitcoinAddress\"b\n\x14\x43loseChannelResponse\x12\x30\n\nclose_type\x18\x01 \x01(\x0e\x32\x1c.greenlight.CloseChannelType\x12\n\n\x02tx\x18\x02 \x01(\x0c\x12\x0c\n\x04txid\x18\x03 \x01(\x0c\"l\n\x06\x41mount\x12\x16\n\x0cmillisatoshi\x18\x01 \x01(\x04H\x00\x12\x11\n\x07satoshi\x18\x02 \x01(\x04H\x00\x12\x11\n\x07\x62itcoin\x18\x03 \x01(\x04H\x00\x12\r\n\x03\x61ll\x18\x04 \x01(\x08H\x00\x12\r\n\x03\x61ny\x18\x05 \x01(\x08H\x00\x42\x06\n\x04unit\"j\n\x0eInvoiceRequest\x12\"\n\x06\x61mount\x18\x01 \x01(\x0b\x32\x12.greenlight.Amount\x12\r\n\x05label\x18\x02 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x03 \x01(\t\x12\x10\n\x08preimage\x18\x04 \x01(\x0c\"\x8d\x02\n\x07Invoice\x12\r\n\x05label\x18\x01 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\t\x12\"\n\x06\x61mount\x18\x03 \x01(\x0b\x32\x12.greenlight.Amount\x12$\n\x08received\x18\x04 \x01(\x0b\x32\x12.greenlight.Amount\x12)\n\x06status\x18\x05 \x01(\x0e\x32\x19.greenlight.InvoiceStatus\x12\x14\n\x0cpayment_time\x18\x06 \x01(\r\x12\x13\n\x0b\x65xpiry_time\x18\x07 \x01(\r\x12\x0e\n\x06\x62olt11\x18\x08 \x01(\t\x12\x14\n\x0cpayment_hash\x18\t \x01(\x0c\x12\x18\n\x10payment_preimage\x18\n \x01(\x0c\"\x8c\x01\n\nPayRequest\x12\x0e\n\x06\x62olt11\x18\x01 \x01(\t\x12\"\n\x06\x61mount\x18\x02 \x01(\x0b\x32\x12.greenlight.Amount\x12\x0f\n\x07timeout\x18\x03 \x01(\r\x12\x15\n\rmaxfeepercent\x18\x04 \x01(\x01\x12\"\n\x06maxfee\x18\x05 \x01(\x0b\x32\x12.greenlight.Amount\"\xfc\x01\n\x07Payment\x12\x13\n\x0b\x64\x65stination\x18\x01 \x01(\x0c\x12\x14\n\x0cpayment_hash\x18\x02 \x01(\x0c\x12\x18\n\x10payment_preimage\x18\x03 \x01(\x0c\x12%\n\x06status\x18\x04 \x01(\x0e\x32\x15.greenlight.PayStatus\x12\"\n\x06\x61mount\x18\x05 \x01(\x0b\x32\x12.greenlight.Amount\x12\'\n\x0b\x61mount_sent\x18\x06 \x01(\x0b\x32\x12.greenlight.Amount\x12\x0e\n\x06\x62olt11\x18\x07 \x01(\t\x12\x12\n\ncreated_at\x18\x08 \x01(\x01\x12\x14\n\x0c\x63ompleted_at\x18\t \x01(\x04\"C\n\x11PaymentIdentifier\x12\x10\n\x06\x62olt11\x18\x01 \x01(\tH\x00\x12\x16\n\x0cpayment_hash\x18\x02 \x01(\x0cH\x00\x42\x04\n\x02id\"H\n\x13ListPaymentsRequest\x12\x31\n\nidentifier\x18\x01 \x01(\x0b\x32\x1d.greenlight.PaymentIdentifier\"=\n\x14ListPaymentsResponse\x12%\n\x08payments\x18\x01 \x03(\x0b\x32\x13.greenlight.Payment\"W\n\x11InvoiceIdentifier\x12\x0f\n\x05label\x18\x01 \x01(\tH\x00\x12\x13\n\tinvstring\x18\x02 \x01(\tH\x00\x12\x16\n\x0cpayment_hash\x18\x03 \x01(\x0cH\x00\x42\x04\n\x02id\"H\n\x13ListInvoicesRequest\x12\x31\n\nidentifier\x18\x01 \x01(\x0b\x32\x1d.greenlight.InvoiceIdentifier\"\x16\n\x14StreamIncomingFilter\"=\n\x14ListInvoicesResponse\x12%\n\x08invoices\x18\x01 \x03(\x0b\x32\x13.greenlight.Invoice\"\'\n\x08TlvField\x12\x0c\n\x04type\x18\x01 \x01(\x04\x12\r\n\x05value\x18\x02 \x01(\x0c\"\xa5\x01\n\x0fOffChainPayment\x12\r\n\x05label\x18\x01 \x01(\t\x12\x10\n\x08preimage\x18\x02 \x01(\x0c\x12\"\n\x06\x61mount\x18\x03 \x01(\x0b\x32\x12.greenlight.Amount\x12\'\n\textratlvs\x18\x04 \x03(\x0b\x32\x14.greenlight.TlvField\x12\x14\n\x0cpayment_hash\x18\x05 \x01(\x0c\x12\x0e\n\x06\x62olt11\x18\x06 \x01(\t\"M\n\x0fIncomingPayment\x12/\n\x08offchain\x18\x01 \x01(\x0b\x32\x1b.greenlight.OffChainPaymentH\x00\x42\t\n\x07\x64\x65tails\"x\n\x0cRoutehintHop\x12\x0f\n\x07node_id\x18\x01 \x01(\x0c\x12\x18\n\x10short_channel_id\x18\x02 \x01(\t\x12\x10\n\x08\x66\x65\x65_base\x18\x03 \x01(\x04\x12\x10\n\x08\x66\x65\x65_prop\x18\x04 \x01(\r\x12\x19\n\x11\x63ltv_expiry_delta\x18\x05 \x01(\r\"3\n\tRoutehint\x12&\n\x04hops\x18\x01 \x03(\x0b\x32\x18.greenlight.RoutehintHop\"\xa8\x01\n\x0eKeysendRequest\x12\x0f\n\x07node_id\x18\x01 \x01(\x0c\x12\"\n\x06\x61mount\x18\x02 \x01(\x0b\x32\x12.greenlight.Amount\x12\r\n\x05label\x18\x03 \x01(\t\x12)\n\nroutehints\x18\x04 \x03(\x0b\x32\x15.greenlight.Routehint\x12\'\n\textratlvs\x18\x05 \x03(\x0b\x32\x14.greenlight.TlvField\"\x12\n\x10StreamLogRequest\"\x18\n\x08LogEntry\x12\x0c\n\x04line\x18\x01 \x01(\t\"?\n\x10SignerStateEntry\x12\x0f\n\x07version\x18\x01 \x01(\x04\x12\x0b\n\x03key\x18\x02 \x01(\t\x12\r\n\x05value\x18\x03 \x01(\x0c\"d\n\x0ePendingRequest\x12\x0f\n\x07request\x18\x01 \x01(\x0c\x12\x0b\n\x03uri\x18\x02 \x01(\t\x12\x11\n\tsignature\x18\x03 \x01(\x0c\x12\x0e\n\x06pubkey\x18\x04 \x01(\x0c\x12\x11\n\ttimestamp\x18\x05 \x01(\x04\"=\n\nNodeConfig\x12/\n\x0bstartupmsgs\x18\x01 \x03(\x0b\x32\x1a.greenlight.StartupMessage\"3\n\x0eStartupMessage\x12\x0f\n\x07request\x18\x01 \x01(\x0c\x12\x10\n\x08response\x18\x02 \x01(\x0c\"\x18\n\x16StreamCustommsgRequest\"-\n\tCustommsg\x12\x0f\n\x07peer_id\x18\x01 \x01(\x0c\x12\x0f\n\x07payload\x18\x02 \x01(\x0c*:\n\x0eNetAddressType\x12\x08\n\x04Ipv4\x10\x00\x12\x08\n\x04Ipv6\x10\x01\x12\t\n\x05TorV2\x10\x02\x12\t\n\x05TorV3\x10\x03*-\n\x0e\x42tcAddressType\x12\n\n\x06\x42\x45\x43H32\x10\x00\x12\x0f\n\x0bP2SH_SEGWIT\x10\x01*.\n\x0cOutputStatus\x12\r\n\tCONFIRMED\x10\x00\x12\x0f\n\x0bUNCONFIRMED\x10\x01*1\n\rFeeratePreset\x12\n\n\x06NORMAL\x10\x00\x12\x08\n\x04SLOW\x10\x01\x12\n\n\x06URGENT\x10\x02*.\n\x10\x43loseChannelType\x12\n\n\x06MUTUAL\x10\x00\x12\x0e\n\nUNILATERAL\x10\x01*2\n\rInvoiceStatus\x12\n\n\x06UNPAID\x10\x00\x12\x08\n\x04PAID\x10\x01\x12\x0b\n\x07\x45XPIRED\x10\x02*2\n\tPayStatus\x12\x0b\n\x07PENDING\x10\x00\x12\x0c\n\x08\x43OMPLETE\x10\x01\x12\n\n\x06\x46\x41ILED\x10\x02\x32\xec\x0b\n\x04Node\x12G\n\x07GetInfo\x12\x1a.greenlight.GetInfoRequest\x1a\x1b.greenlight.GetInfoResponse\"\x03\x88\x02\x01\x12>\n\x04Stop\x12\x17.greenlight.StopRequest\x1a\x18.greenlight.StopResponse\"\x03\x88\x02\x01\x12K\n\x0b\x43onnectPeer\x12\x1a.greenlight.ConnectRequest\x1a\x1b.greenlight.ConnectResponse\"\x03\x88\x02\x01\x12M\n\tListPeers\x12\x1c.greenlight.ListPeersRequest\x1a\x1d.greenlight.ListPeersResponse\"\x03\x88\x02\x01\x12P\n\nDisconnect\x12\x1d.greenlight.DisconnectRequest\x1a\x1e.greenlight.DisconnectResponse\"\x03\x88\x02\x01\x12G\n\x07NewAddr\x12\x1a.greenlight.NewAddrRequest\x1a\x1b.greenlight.NewAddrResponse\"\x03\x88\x02\x01\x12M\n\tListFunds\x12\x1c.greenlight.ListFundsRequest\x1a\x1d.greenlight.ListFundsResponse\"\x03\x88\x02\x01\x12J\n\x08Withdraw\x12\x1b.greenlight.WithdrawRequest\x1a\x1c.greenlight.WithdrawResponse\"\x03\x88\x02\x01\x12S\n\x0b\x46undChannel\x12\x1e.greenlight.FundChannelRequest\x1a\x1f.greenlight.FundChannelResponse\"\x03\x88\x02\x01\x12V\n\x0c\x43loseChannel\x12\x1f.greenlight.CloseChannelRequest\x1a .greenlight.CloseChannelResponse\"\x03\x88\x02\x01\x12\x45\n\rCreateInvoice\x12\x1a.greenlight.InvoiceRequest\x1a\x13.greenlight.Invoice\"\x03\x88\x02\x01\x12\x37\n\x03Pay\x12\x16.greenlight.PayRequest\x1a\x13.greenlight.Payment\"\x03\x88\x02\x01\x12?\n\x07Keysend\x12\x1a.greenlight.KeysendRequest\x1a\x13.greenlight.Payment\"\x03\x88\x02\x01\x12S\n\x0cListPayments\x12\x1f.greenlight.ListPaymentsRequest\x1a .greenlight.ListPaymentsResponse\"\x00\x12S\n\x0cListInvoices\x12\x1f.greenlight.ListInvoicesRequest\x1a .greenlight.ListInvoicesResponse\"\x00\x12S\n\x0eStreamIncoming\x12 .greenlight.StreamIncomingFilter\x1a\x1b.greenlight.IncomingPayment\"\x00\x30\x01\x12\x43\n\tStreamLog\x12\x1c.greenlight.StreamLogRequest\x1a\x14.greenlight.LogEntry\"\x00\x30\x01\x12P\n\x0fStreamCustommsg\x12\".greenlight.StreamCustommsgRequest\x1a\x15.greenlight.Custommsg\"\x00\x30\x01\x12\x42\n\x11StreamHsmRequests\x12\x11.greenlight.Empty\x1a\x16.greenlight.HsmRequest\"\x00\x30\x01\x12\x41\n\x11RespondHsmRequest\x12\x17.greenlight.HsmResponse\x1a\x11.greenlight.Empty\"\x00\x32s\n\x03Hsm\x12<\n\x07Request\x12\x16.greenlight.HsmRequest\x1a\x17.greenlight.HsmResponse\"\x00\x12.\n\x04Ping\x12\x11.greenlight.Empty\x1a\x11.greenlight.Empty\"\x00\x62\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x10greenlight.proto\x12\ngreenlight\"H\n\x11HsmRequestContext\x12\x0f\n\x07node_id\x18\x01 \x01(\x0c\x12\x0c\n\x04\x64\x62id\x18\x02 \x01(\x04\x12\x14\n\x0c\x63\x61pabilities\x18\x03 \x01(\x04\"b\n\x0bHsmResponse\x12\x12\n\nrequest_id\x18\x01 \x01(\r\x12\x0b\n\x03raw\x18\x02 \x01(\x0c\x12\x32\n\x0csigner_state\x18\x05 \x03(\x0b\x32\x1c.greenlight.SignerStateEntry\"\xbf\x01\n\nHsmRequest\x12\x12\n\nrequest_id\x18\x01 \x01(\r\x12.\n\x07\x63ontext\x18\x02 \x01(\x0b\x32\x1d.greenlight.HsmRequestContext\x12\x0b\n\x03raw\x18\x03 \x01(\x0c\x12\x32\n\x0csigner_state\x18\x04 \x03(\x0b\x32\x1c.greenlight.SignerStateEntry\x12,\n\x08requests\x18\x05 \x03(\x0b\x32\x1a.greenlight.PendingRequest\"\x07\n\x05\x45mpty\"O\n\x07\x41\x64\x64ress\x12(\n\x04type\x18\x01 \x01(\x0e\x32\x1a.greenlight.NetAddressType\x12\x0c\n\x04\x61\x64\x64r\x18\x02 \x01(\t\x12\x0c\n\x04port\x18\x03 \x01(\r\"\x10\n\x0eGetInfoRequest\"\xb2\x01\n\x0fGetInfoResponse\x12\x0f\n\x07node_id\x18\x01 \x01(\x0c\x12\r\n\x05\x61lias\x18\x02 \x01(\t\x12\r\n\x05\x63olor\x18\x03 \x01(\x0c\x12\x11\n\tnum_peers\x18\x04 \x01(\r\x12&\n\taddresses\x18\x05 \x03(\x0b\x32\x13.greenlight.Address\x12\x0f\n\x07version\x18\x06 \x01(\t\x12\x13\n\x0b\x62lockheight\x18\x07 \x01(\r\x12\x0f\n\x07network\x18\x08 \x01(\t\"\r\n\x0bStopRequest\"\x0e\n\x0cStopResponse\"/\n\x0e\x43onnectRequest\x12\x0f\n\x07node_id\x18\x01 \x01(\t\x12\x0c\n\x04\x61\x64\x64r\x18\x02 \x01(\t\"4\n\x0f\x43onnectResponse\x12\x0f\n\x07node_id\x18\x01 \x01(\t\x12\x10\n\x08\x66\x65\x61tures\x18\x02 \x01(\t\"#\n\x10ListPeersRequest\x12\x0f\n\x07node_id\x18\x01 \x01(\t\"\x81\x01\n\x04Htlc\x12\x11\n\tdirection\x18\x01 \x01(\t\x12\n\n\x02id\x18\x02 \x01(\x04\x12\x0e\n\x06\x61mount\x18\x03 \x01(\t\x12\x0e\n\x06\x65xpiry\x18\x04 \x01(\x04\x12\x14\n\x0cpayment_hash\x18\x05 \x01(\t\x12\r\n\x05state\x18\x06 \x01(\t\x12\x15\n\rlocal_trimmed\x18\x07 \x01(\x08\"(\n\x07\x41liases\x12\r\n\x05local\x18\x01 \x01(\t\x12\x0e\n\x06remote\x18\x02 \x01(\t\"\x8f\x03\n\x07\x43hannel\x12\r\n\x05state\x18\x01 \x01(\t\x12\r\n\x05owner\x18\x02 \x01(\t\x12\"\n\x05\x61lias\x18\x12 \x01(\x0b\x32\x13.greenlight.Aliases\x12\x18\n\x10short_channel_id\x18\x03 \x01(\t\x12\x11\n\tdirection\x18\x04 \x01(\r\x12\x12\n\nchannel_id\x18\x05 \x01(\t\x12\x14\n\x0c\x66unding_txid\x18\x06 \x01(\t\x12\x15\n\rclose_to_addr\x18\x07 \x01(\t\x12\x10\n\x08\x63lose_to\x18\x08 \x01(\t\x12\x0f\n\x07private\x18\t \x01(\x08\x12\r\n\x05total\x18\n \x01(\t\x12\x12\n\ndust_limit\x18\x0b \x01(\t\x12\x11\n\tspendable\x18\x0c \x01(\t\x12\x12\n\nreceivable\x18\r \x01(\t\x12\x1b\n\x13their_to_self_delay\x18\x0e \x01(\r\x12\x19\n\x11our_to_self_delay\x18\x0f \x01(\r\x12\x0e\n\x06status\x18\x10 \x03(\t\x12\x1f\n\x05htlcs\x18\x11 \x03(\x0b\x32\x10.greenlight.Htlc\"\x86\x01\n\x04Peer\x12\n\n\x02id\x18\x01 \x01(\x0c\x12\x11\n\tconnected\x18\x02 \x01(\x08\x12&\n\taddresses\x18\x03 \x03(\x0b\x32\x13.greenlight.Address\x12\x10\n\x08\x66\x65\x61tures\x18\x04 \x01(\t\x12%\n\x08\x63hannels\x18\x05 \x03(\x0b\x32\x13.greenlight.Channel\"4\n\x11ListPeersResponse\x12\x1f\n\x05peers\x18\x01 \x03(\x0b\x32\x10.greenlight.Peer\"3\n\x11\x44isconnectRequest\x12\x0f\n\x07node_id\x18\x01 \x01(\t\x12\r\n\x05\x66orce\x18\x02 \x01(\x08\"\x14\n\x12\x44isconnectResponse\"B\n\x0eNewAddrRequest\x12\x30\n\x0c\x61\x64\x64ress_type\x18\x01 \x01(\x0e\x32\x1a.greenlight.BtcAddressType\"T\n\x0fNewAddrResponse\x12\x30\n\x0c\x61\x64\x64ress_type\x18\x01 \x01(\x0e\x32\x1a.greenlight.BtcAddressType\x12\x0f\n\x07\x61\x64\x64ress\x18\x02 \x01(\t\"=\n\x10ListFundsRequest\x12)\n\x07minconf\x18\x01 \x01(\x0b\x32\x18.greenlight.Confirmation\"\xc3\x01\n\x0fListFundsOutput\x12$\n\x06output\x18\x01 \x01(\x0b\x32\x14.greenlight.Outpoint\x12\"\n\x06\x61mount\x18\x02 \x01(\x0b\x32\x12.greenlight.Amount\x12\x0f\n\x07\x61\x64\x64ress\x18\x04 \x01(\t\x12(\n\x06status\x18\x05 \x01(\x0e\x32\x18.greenlight.OutputStatus\x12\x10\n\x08reserved\x18\x06 \x01(\x08\x12\x19\n\x11reserved_to_block\x18\x07 \x01(\r\"\xac\x01\n\x10ListFundsChannel\x12\x0f\n\x07peer_id\x18\x01 \x01(\x0c\x12\x11\n\tconnected\x18\x02 \x01(\x08\x12\x18\n\x10short_channel_id\x18\x03 \x01(\x04\x12\x17\n\x0four_amount_msat\x18\x04 \x01(\x04\x12\x13\n\x0b\x61mount_msat\x18\x05 \x01(\x04\x12\x14\n\x0c\x66unding_txid\x18\x06 \x01(\x0c\x12\x16\n\x0e\x66unding_output\x18\x07 \x01(\r\"q\n\x11ListFundsResponse\x12,\n\x07outputs\x18\x01 \x03(\x0b\x32\x1b.greenlight.ListFundsOutput\x12.\n\x08\x63hannels\x18\x02 \x03(\x0b\x32\x1c.greenlight.ListFundsChannel\"a\n\x07\x46\x65\x65rate\x12+\n\x06preset\x18\x01 \x01(\x0e\x32\x19.greenlight.FeeratePresetH\x00\x12\x0f\n\x05perkw\x18\x05 \x01(\x04H\x00\x12\x0f\n\x05perkb\x18\x06 \x01(\x04H\x00\x42\x07\n\x05value\"\x1e\n\x0c\x43onfirmation\x12\x0e\n\x06\x62locks\x18\x01 \x01(\r\"\xc0\x01\n\x0fWithdrawRequest\x12\x13\n\x0b\x64\x65stination\x18\x01 \x01(\t\x12\"\n\x06\x61mount\x18\x02 \x01(\x0b\x32\x12.greenlight.Amount\x12$\n\x07\x66\x65\x65rate\x18\x03 \x01(\x0b\x32\x13.greenlight.Feerate\x12)\n\x07minconf\x18\x07 \x01(\x0b\x32\x18.greenlight.Confirmation\x12#\n\x05utxos\x18\x08 \x03(\x0b\x32\x14.greenlight.Outpoint\",\n\x10WithdrawResponse\x12\n\n\x02tx\x18\x01 \x01(\x0c\x12\x0c\n\x04txid\x18\x02 \x01(\x0c\"\xbe\x01\n\x12\x46undChannelRequest\x12\x0f\n\x07node_id\x18\x01 \x01(\x0c\x12\"\n\x06\x61mount\x18\x02 \x01(\x0b\x32\x12.greenlight.Amount\x12$\n\x07\x66\x65\x65rate\x18\x03 \x01(\x0b\x32\x13.greenlight.Feerate\x12\x10\n\x08\x61nnounce\x18\x07 \x01(\x08\x12)\n\x07minconf\x18\x08 \x01(\x0b\x32\x18.greenlight.Confirmation\x12\x10\n\x08\x63lose_to\x18\n \x01(\t\"(\n\x08Outpoint\x12\x0c\n\x04txid\x18\x01 \x01(\x0c\x12\x0e\n\x06outnum\x18\x02 \x01(\r\"o\n\x13\x46undChannelResponse\x12\n\n\x02tx\x18\x01 \x01(\x0c\x12&\n\x08outpoint\x18\x02 \x01(\x0b\x32\x14.greenlight.Outpoint\x12\x12\n\nchannel_id\x18\x03 \x01(\x0c\x12\x10\n\x08\x63lose_to\x18\x04 \x01(\t\"\x1a\n\x07Timeout\x12\x0f\n\x07seconds\x18\x01 \x01(\r\"!\n\x0e\x42itcoinAddress\x12\x0f\n\x07\x61\x64\x64ress\x18\x01 \x01(\t\"\x87\x01\n\x13\x43loseChannelRequest\x12\x0f\n\x07node_id\x18\x01 \x01(\x0c\x12.\n\x11unilateraltimeout\x18\x02 \x01(\x0b\x32\x13.greenlight.Timeout\x12/\n\x0b\x64\x65stination\x18\x03 \x01(\x0b\x32\x1a.greenlight.BitcoinAddress\"b\n\x14\x43loseChannelResponse\x12\x30\n\nclose_type\x18\x01 \x01(\x0e\x32\x1c.greenlight.CloseChannelType\x12\n\n\x02tx\x18\x02 \x01(\x0c\x12\x0c\n\x04txid\x18\x03 \x01(\x0c\"l\n\x06\x41mount\x12\x16\n\x0cmillisatoshi\x18\x01 \x01(\x04H\x00\x12\x11\n\x07satoshi\x18\x02 \x01(\x04H\x00\x12\x11\n\x07\x62itcoin\x18\x03 \x01(\x04H\x00\x12\r\n\x03\x61ll\x18\x04 \x01(\x08H\x00\x12\r\n\x03\x61ny\x18\x05 \x01(\x08H\x00\x42\x06\n\x04unit\"j\n\x0eInvoiceRequest\x12\"\n\x06\x61mount\x18\x01 \x01(\x0b\x32\x12.greenlight.Amount\x12\r\n\x05label\x18\x02 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x03 \x01(\t\x12\x10\n\x08preimage\x18\x04 \x01(\x0c\"\x8d\x02\n\x07Invoice\x12\r\n\x05label\x18\x01 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\t\x12\"\n\x06\x61mount\x18\x03 \x01(\x0b\x32\x12.greenlight.Amount\x12$\n\x08received\x18\x04 \x01(\x0b\x32\x12.greenlight.Amount\x12)\n\x06status\x18\x05 \x01(\x0e\x32\x19.greenlight.InvoiceStatus\x12\x14\n\x0cpayment_time\x18\x06 \x01(\r\x12\x13\n\x0b\x65xpiry_time\x18\x07 \x01(\r\x12\x0e\n\x06\x62olt11\x18\x08 \x01(\t\x12\x14\n\x0cpayment_hash\x18\t \x01(\x0c\x12\x18\n\x10payment_preimage\x18\n \x01(\x0c\"\x8c\x01\n\nPayRequest\x12\x0e\n\x06\x62olt11\x18\x01 \x01(\t\x12\"\n\x06\x61mount\x18\x02 \x01(\x0b\x32\x12.greenlight.Amount\x12\x0f\n\x07timeout\x18\x03 \x01(\r\x12\x15\n\rmaxfeepercent\x18\x04 \x01(\x01\x12\"\n\x06maxfee\x18\x05 \x01(\x0b\x32\x12.greenlight.Amount\"\xfc\x01\n\x07Payment\x12\x13\n\x0b\x64\x65stination\x18\x01 \x01(\x0c\x12\x14\n\x0cpayment_hash\x18\x02 \x01(\x0c\x12\x18\n\x10payment_preimage\x18\x03 \x01(\x0c\x12%\n\x06status\x18\x04 \x01(\x0e\x32\x15.greenlight.PayStatus\x12\"\n\x06\x61mount\x18\x05 \x01(\x0b\x32\x12.greenlight.Amount\x12\'\n\x0b\x61mount_sent\x18\x06 \x01(\x0b\x32\x12.greenlight.Amount\x12\x0e\n\x06\x62olt11\x18\x07 \x01(\t\x12\x12\n\ncreated_at\x18\x08 \x01(\x01\x12\x14\n\x0c\x63ompleted_at\x18\t \x01(\x04\"C\n\x11PaymentIdentifier\x12\x10\n\x06\x62olt11\x18\x01 \x01(\tH\x00\x12\x16\n\x0cpayment_hash\x18\x02 \x01(\x0cH\x00\x42\x04\n\x02id\"H\n\x13ListPaymentsRequest\x12\x31\n\nidentifier\x18\x01 \x01(\x0b\x32\x1d.greenlight.PaymentIdentifier\"=\n\x14ListPaymentsResponse\x12%\n\x08payments\x18\x01 \x03(\x0b\x32\x13.greenlight.Payment\"W\n\x11InvoiceIdentifier\x12\x0f\n\x05label\x18\x01 \x01(\tH\x00\x12\x13\n\tinvstring\x18\x02 \x01(\tH\x00\x12\x16\n\x0cpayment_hash\x18\x03 \x01(\x0cH\x00\x42\x04\n\x02id\"H\n\x13ListInvoicesRequest\x12\x31\n\nidentifier\x18\x01 \x01(\x0b\x32\x1d.greenlight.InvoiceIdentifier\"\x16\n\x14StreamIncomingFilter\"=\n\x14ListInvoicesResponse\x12%\n\x08invoices\x18\x01 \x03(\x0b\x32\x13.greenlight.Invoice\"\'\n\x08TlvField\x12\x0c\n\x04type\x18\x01 \x01(\x04\x12\r\n\x05value\x18\x02 \x01(\x0c\"\xa5\x01\n\x0fOffChainPayment\x12\r\n\x05label\x18\x01 \x01(\t\x12\x10\n\x08preimage\x18\x02 \x01(\x0c\x12\"\n\x06\x61mount\x18\x03 \x01(\x0b\x32\x12.greenlight.Amount\x12\'\n\textratlvs\x18\x04 \x03(\x0b\x32\x14.greenlight.TlvField\x12\x14\n\x0cpayment_hash\x18\x05 \x01(\x0c\x12\x0e\n\x06\x62olt11\x18\x06 \x01(\t\"M\n\x0fIncomingPayment\x12/\n\x08offchain\x18\x01 \x01(\x0b\x32\x1b.greenlight.OffChainPaymentH\x00\x42\t\n\x07\x64\x65tails\"x\n\x0cRoutehintHop\x12\x0f\n\x07node_id\x18\x01 \x01(\x0c\x12\x18\n\x10short_channel_id\x18\x02 \x01(\t\x12\x10\n\x08\x66\x65\x65_base\x18\x03 \x01(\x04\x12\x10\n\x08\x66\x65\x65_prop\x18\x04 \x01(\r\x12\x19\n\x11\x63ltv_expiry_delta\x18\x05 \x01(\r\"3\n\tRoutehint\x12&\n\x04hops\x18\x01 \x03(\x0b\x32\x18.greenlight.RoutehintHop\"\xa8\x01\n\x0eKeysendRequest\x12\x0f\n\x07node_id\x18\x01 \x01(\x0c\x12\"\n\x06\x61mount\x18\x02 \x01(\x0b\x32\x12.greenlight.Amount\x12\r\n\x05label\x18\x03 \x01(\t\x12)\n\nroutehints\x18\x04 \x03(\x0b\x32\x15.greenlight.Routehint\x12\'\n\textratlvs\x18\x05 \x03(\x0b\x32\x14.greenlight.TlvField\"\x12\n\x10StreamLogRequest\"\x18\n\x08LogEntry\x12\x0c\n\x04line\x18\x01 \x01(\t\"?\n\x10SignerStateEntry\x12\x0f\n\x07version\x18\x01 \x01(\x04\x12\x0b\n\x03key\x18\x02 \x01(\t\x12\r\n\x05value\x18\x03 \x01(\x0c\"d\n\x0ePendingRequest\x12\x0f\n\x07request\x18\x01 \x01(\x0c\x12\x0b\n\x03uri\x18\x02 \x01(\t\x12\x11\n\tsignature\x18\x03 \x01(\x0c\x12\x0e\n\x06pubkey\x18\x04 \x01(\x0c\x12\x11\n\ttimestamp\x18\x05 \x01(\x04\"=\n\nNodeConfig\x12/\n\x0bstartupmsgs\x18\x01 \x03(\x0b\x32\x1a.greenlight.StartupMessage\"!\n\x08GlConfig\x12\x15\n\rclose_to_addr\x18\x01 \x01(\t\"3\n\x0eStartupMessage\x12\x0f\n\x07request\x18\x01 \x01(\x0c\x12\x10\n\x08response\x18\x02 \x01(\x0c\"\x18\n\x16StreamCustommsgRequest\"-\n\tCustommsg\x12\x0f\n\x07peer_id\x18\x01 \x01(\x0c\x12\x0f\n\x07payload\x18\x02 \x01(\x0c*:\n\x0eNetAddressType\x12\x08\n\x04Ipv4\x10\x00\x12\x08\n\x04Ipv6\x10\x01\x12\t\n\x05TorV2\x10\x02\x12\t\n\x05TorV3\x10\x03*-\n\x0e\x42tcAddressType\x12\n\n\x06\x42\x45\x43H32\x10\x00\x12\x0f\n\x0bP2SH_SEGWIT\x10\x01*.\n\x0cOutputStatus\x12\r\n\tCONFIRMED\x10\x00\x12\x0f\n\x0bUNCONFIRMED\x10\x01*1\n\rFeeratePreset\x12\n\n\x06NORMAL\x10\x00\x12\x08\n\x04SLOW\x10\x01\x12\n\n\x06URGENT\x10\x02*.\n\x10\x43loseChannelType\x12\n\n\x06MUTUAL\x10\x00\x12\x0e\n\nUNILATERAL\x10\x01*2\n\rInvoiceStatus\x12\n\n\x06UNPAID\x10\x00\x12\x08\n\x04PAID\x10\x01\x12\x0b\n\x07\x45XPIRED\x10\x02*2\n\tPayStatus\x12\x0b\n\x07PENDING\x10\x00\x12\x0c\n\x08\x43OMPLETE\x10\x01\x12\n\n\x06\x46\x41ILED\x10\x02\x32\xb1\x03\n\x04Node\x12S\n\x0eStreamIncoming\x12 .greenlight.StreamIncomingFilter\x1a\x1b.greenlight.IncomingPayment\"\x00\x30\x01\x12\x43\n\tStreamLog\x12\x1c.greenlight.StreamLogRequest\x1a\x14.greenlight.LogEntry\"\x00\x30\x01\x12P\n\x0fStreamCustommsg\x12\".greenlight.StreamCustommsgRequest\x1a\x15.greenlight.Custommsg\"\x00\x30\x01\x12\x42\n\x11StreamHsmRequests\x12\x11.greenlight.Empty\x1a\x16.greenlight.HsmRequest\"\x00\x30\x01\x12\x41\n\x11RespondHsmRequest\x12\x17.greenlight.HsmResponse\x1a\x11.greenlight.Empty\"\x00\x12\x36\n\tConfigure\x12\x14.greenlight.GlConfig\x1a\x11.greenlight.Empty\"\x00\x32s\n\x03Hsm\x12<\n\x07Request\x12\x16.greenlight.HsmRequest\x1a\x17.greenlight.HsmResponse\"\x00\x12.\n\x04Ping\x12\x11.greenlight.Empty\x1a\x11.greenlight.Empty\"\x00\x62\x06proto3') _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) @@ -21,46 +21,20 @@ if _descriptor._USE_C_DESCRIPTORS == False: DESCRIPTOR._options = None - _NODE.methods_by_name['GetInfo']._options = None - _NODE.methods_by_name['GetInfo']._serialized_options = b'\210\002\001' - _NODE.methods_by_name['Stop']._options = None - _NODE.methods_by_name['Stop']._serialized_options = b'\210\002\001' - _NODE.methods_by_name['ConnectPeer']._options = None - _NODE.methods_by_name['ConnectPeer']._serialized_options = b'\210\002\001' - _NODE.methods_by_name['ListPeers']._options = None - _NODE.methods_by_name['ListPeers']._serialized_options = b'\210\002\001' - _NODE.methods_by_name['Disconnect']._options = None - _NODE.methods_by_name['Disconnect']._serialized_options = b'\210\002\001' - _NODE.methods_by_name['NewAddr']._options = None - _NODE.methods_by_name['NewAddr']._serialized_options = b'\210\002\001' - _NODE.methods_by_name['ListFunds']._options = None - _NODE.methods_by_name['ListFunds']._serialized_options = b'\210\002\001' - _NODE.methods_by_name['Withdraw']._options = None - _NODE.methods_by_name['Withdraw']._serialized_options = b'\210\002\001' - _NODE.methods_by_name['FundChannel']._options = None - _NODE.methods_by_name['FundChannel']._serialized_options = b'\210\002\001' - _NODE.methods_by_name['CloseChannel']._options = None - _NODE.methods_by_name['CloseChannel']._serialized_options = b'\210\002\001' - _NODE.methods_by_name['CreateInvoice']._options = None - _NODE.methods_by_name['CreateInvoice']._serialized_options = b'\210\002\001' - _NODE.methods_by_name['Pay']._options = None - _NODE.methods_by_name['Pay']._serialized_options = b'\210\002\001' - _NODE.methods_by_name['Keysend']._options = None - _NODE.methods_by_name['Keysend']._serialized_options = b'\210\002\001' - _globals['_NETADDRESSTYPE']._serialized_start=5808 - _globals['_NETADDRESSTYPE']._serialized_end=5866 - _globals['_BTCADDRESSTYPE']._serialized_start=5868 - _globals['_BTCADDRESSTYPE']._serialized_end=5913 - _globals['_OUTPUTSTATUS']._serialized_start=5915 - _globals['_OUTPUTSTATUS']._serialized_end=5961 - _globals['_FEERATEPRESET']._serialized_start=5963 - _globals['_FEERATEPRESET']._serialized_end=6012 - _globals['_CLOSECHANNELTYPE']._serialized_start=6014 - _globals['_CLOSECHANNELTYPE']._serialized_end=6060 - _globals['_INVOICESTATUS']._serialized_start=6062 - _globals['_INVOICESTATUS']._serialized_end=6112 - _globals['_PAYSTATUS']._serialized_start=6114 - _globals['_PAYSTATUS']._serialized_end=6164 + _globals['_NETADDRESSTYPE']._serialized_start=5843 + _globals['_NETADDRESSTYPE']._serialized_end=5901 + _globals['_BTCADDRESSTYPE']._serialized_start=5903 + _globals['_BTCADDRESSTYPE']._serialized_end=5948 + _globals['_OUTPUTSTATUS']._serialized_start=5950 + _globals['_OUTPUTSTATUS']._serialized_end=5996 + _globals['_FEERATEPRESET']._serialized_start=5998 + _globals['_FEERATEPRESET']._serialized_end=6047 + _globals['_CLOSECHANNELTYPE']._serialized_start=6049 + _globals['_CLOSECHANNELTYPE']._serialized_end=6095 + _globals['_INVOICESTATUS']._serialized_start=6097 + _globals['_INVOICESTATUS']._serialized_end=6147 + _globals['_PAYSTATUS']._serialized_start=6149 + _globals['_PAYSTATUS']._serialized_end=6199 _globals['_HSMREQUESTCONTEXT']._serialized_start=32 _globals['_HSMREQUESTCONTEXT']._serialized_end=104 _globals['_HSMRESPONSE']._serialized_start=106 @@ -179,14 +153,16 @@ _globals['_PENDINGREQUEST']._serialized_end=5617 _globals['_NODECONFIG']._serialized_start=5619 _globals['_NODECONFIG']._serialized_end=5680 - _globals['_STARTUPMESSAGE']._serialized_start=5682 - _globals['_STARTUPMESSAGE']._serialized_end=5733 - _globals['_STREAMCUSTOMMSGREQUEST']._serialized_start=5735 - _globals['_STREAMCUSTOMMSGREQUEST']._serialized_end=5759 - _globals['_CUSTOMMSG']._serialized_start=5761 - _globals['_CUSTOMMSG']._serialized_end=5806 - _globals['_NODE']._serialized_start=6167 - _globals['_NODE']._serialized_end=7683 - _globals['_HSM']._serialized_start=7685 - _globals['_HSM']._serialized_end=7800 + _globals['_GLCONFIG']._serialized_start=5682 + _globals['_GLCONFIG']._serialized_end=5715 + _globals['_STARTUPMESSAGE']._serialized_start=5717 + _globals['_STARTUPMESSAGE']._serialized_end=5768 + _globals['_STREAMCUSTOMMSGREQUEST']._serialized_start=5770 + _globals['_STREAMCUSTOMMSGREQUEST']._serialized_end=5794 + _globals['_CUSTOMMSG']._serialized_start=5796 + _globals['_CUSTOMMSG']._serialized_end=5841 + _globals['_NODE']._serialized_start=6202 + _globals['_NODE']._serialized_end=6635 + _globals['_HSM']._serialized_start=6637 + _globals['_HSM']._serialized_end=6752 # @@protoc_insertion_point(module_scope) diff --git a/libs/gl-client-py/glclient/greenlight_pb2.pyi b/libs/gl-client-py/glclient/greenlight_pb2.pyi index a3d5a3143..029bf52d4 100644 --- a/libs/gl-client-py/glclient/greenlight_pb2.pyi +++ b/libs/gl-client-py/glclient/greenlight_pb2.pyi @@ -1517,6 +1517,27 @@ class NodeConfig(google.protobuf.message.Message): global___NodeConfig = NodeConfig +@typing_extensions.final +class GlConfig(google.protobuf.message.Message): + """The `GlConfig` is used to pass greenlight-specific startup parameters + to the node. The `gl-plugin` will look for a serialized config object in + the node's datastore to load these values from. Please refer to the + individual fields to learn what they do. + """ + + DESCRIPTOR: google.protobuf.descriptor.Descriptor + + CLOSE_TO_ADDR_FIELD_NUMBER: builtins.int + close_to_addr: builtins.str + def __init__( + self, + *, + close_to_addr: builtins.str = ..., + ) -> None: ... + def ClearField(self, field_name: typing_extensions.Literal["close_to_addr", b"close_to_addr"]) -> None: ... + +global___GlConfig = GlConfig + @typing_extensions.final class StartupMessage(google.protobuf.message.Message): """A message that we know will be requested by `lightningd` at diff --git a/libs/gl-client-py/glclient/greenlight_pb2_grpc.py b/libs/gl-client-py/glclient/greenlight_pb2_grpc.py index 2b53eb217..4bf18d688 100644 --- a/libs/gl-client-py/glclient/greenlight_pb2_grpc.py +++ b/libs/gl-client-py/glclient/greenlight_pb2_grpc.py @@ -28,81 +28,6 @@ def __init__(self, channel): Args: channel: A grpc.Channel. """ - self.GetInfo = channel.unary_unary( - '/greenlight.Node/GetInfo', - request_serializer=greenlight__pb2.GetInfoRequest.SerializeToString, - response_deserializer=greenlight__pb2.GetInfoResponse.FromString, - ) - self.Stop = channel.unary_unary( - '/greenlight.Node/Stop', - request_serializer=greenlight__pb2.StopRequest.SerializeToString, - response_deserializer=greenlight__pb2.StopResponse.FromString, - ) - self.ConnectPeer = channel.unary_unary( - '/greenlight.Node/ConnectPeer', - request_serializer=greenlight__pb2.ConnectRequest.SerializeToString, - response_deserializer=greenlight__pb2.ConnectResponse.FromString, - ) - self.ListPeers = channel.unary_unary( - '/greenlight.Node/ListPeers', - request_serializer=greenlight__pb2.ListPeersRequest.SerializeToString, - response_deserializer=greenlight__pb2.ListPeersResponse.FromString, - ) - self.Disconnect = channel.unary_unary( - '/greenlight.Node/Disconnect', - request_serializer=greenlight__pb2.DisconnectRequest.SerializeToString, - response_deserializer=greenlight__pb2.DisconnectResponse.FromString, - ) - self.NewAddr = channel.unary_unary( - '/greenlight.Node/NewAddr', - request_serializer=greenlight__pb2.NewAddrRequest.SerializeToString, - response_deserializer=greenlight__pb2.NewAddrResponse.FromString, - ) - self.ListFunds = channel.unary_unary( - '/greenlight.Node/ListFunds', - request_serializer=greenlight__pb2.ListFundsRequest.SerializeToString, - response_deserializer=greenlight__pb2.ListFundsResponse.FromString, - ) - self.Withdraw = channel.unary_unary( - '/greenlight.Node/Withdraw', - request_serializer=greenlight__pb2.WithdrawRequest.SerializeToString, - response_deserializer=greenlight__pb2.WithdrawResponse.FromString, - ) - self.FundChannel = channel.unary_unary( - '/greenlight.Node/FundChannel', - request_serializer=greenlight__pb2.FundChannelRequest.SerializeToString, - response_deserializer=greenlight__pb2.FundChannelResponse.FromString, - ) - self.CloseChannel = channel.unary_unary( - '/greenlight.Node/CloseChannel', - request_serializer=greenlight__pb2.CloseChannelRequest.SerializeToString, - response_deserializer=greenlight__pb2.CloseChannelResponse.FromString, - ) - self.CreateInvoice = channel.unary_unary( - '/greenlight.Node/CreateInvoice', - request_serializer=greenlight__pb2.InvoiceRequest.SerializeToString, - response_deserializer=greenlight__pb2.Invoice.FromString, - ) - self.Pay = channel.unary_unary( - '/greenlight.Node/Pay', - request_serializer=greenlight__pb2.PayRequest.SerializeToString, - response_deserializer=greenlight__pb2.Payment.FromString, - ) - self.Keysend = channel.unary_unary( - '/greenlight.Node/Keysend', - request_serializer=greenlight__pb2.KeysendRequest.SerializeToString, - response_deserializer=greenlight__pb2.Payment.FromString, - ) - self.ListPayments = channel.unary_unary( - '/greenlight.Node/ListPayments', - request_serializer=greenlight__pb2.ListPaymentsRequest.SerializeToString, - response_deserializer=greenlight__pb2.ListPaymentsResponse.FromString, - ) - self.ListInvoices = channel.unary_unary( - '/greenlight.Node/ListInvoices', - request_serializer=greenlight__pb2.ListInvoicesRequest.SerializeToString, - response_deserializer=greenlight__pb2.ListInvoicesResponse.FromString, - ) self.StreamIncoming = channel.unary_stream( '/greenlight.Node/StreamIncoming', request_serializer=greenlight__pb2.StreamIncomingFilter.SerializeToString, @@ -128,6 +53,11 @@ def __init__(self, channel): request_serializer=greenlight__pb2.HsmResponse.SerializeToString, response_deserializer=greenlight__pb2.Empty.FromString, ) + self.Configure = channel.unary_unary( + '/greenlight.Node/Configure', + request_serializer=greenlight__pb2.GlConfig.SerializeToString, + response_deserializer=greenlight__pb2.Empty.FromString, + ) class NodeServicer(object): @@ -147,132 +77,6 @@ class NodeServicer(object): `node.proto` """ - def GetInfo(self, request, context): - """Retrieve general information about the node. - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def Stop(self, request, context): - """The stop is a RPC command to shut off the c-lightning node - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def ConnectPeer(self, request, context): - """Connect to a node in the network. (`Connect` alone clashes - with tonic internals). - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def ListPeers(self, request, context): - """Missing associated documentation comment in .proto file.""" - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def Disconnect(self, request, context): - """The disconnect RPC command closes an existing connection to - a peer, identified by node_id, in the Lightning Network, as long - as it doesn't have an active channel. If force is set then - it will disconnect even with an active channel. - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def NewAddr(self, request, context): - """The newaddr RPC command generates a new address which can - subsequently be used to fund channels managed by the - c-lightning node. - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def ListFunds(self, request, context): - """Retrieve a list of funds managed by this node. - - This includes both on-chain funds and off-chain - funds. Off-chain funds are bound to a channel, and we - consider only the balance that is currently spendable by - the node, i.e., we do not return the full channel's - capacity, just the balance that belongs to this node. - - The on-chain funds correspond to outputs that the wallet - can spend. - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def Withdraw(self, request, context): - """Missing associated documentation comment in .proto file.""" - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def FundChannel(self, request, context): - """Missing associated documentation comment in .proto file.""" - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def CloseChannel(self, request, context): - """Missing associated documentation comment in .proto file.""" - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def CreateInvoice(self, request, context): - """Create a new invoice to receive an incoming payment. - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def Pay(self, request, context): - """Missing associated documentation comment in .proto file.""" - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def Keysend(self, request, context): - """Send a spontaneous payment, optionally with some extra information. - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def ListPayments(self, request, context): - """Retrieve a list of payment performed by this node. - - The query can optionally be restricted to a single payment - matching criteria that can be specified in the - `ListPaymentsRequest` - - Notice: this does not include any payment that were - received by this node, just the outgoing payments. Incoming - payments can be retrieved using `ListInvoices` - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def ListInvoices(self, request, context): - """Retrieve invoices that were created via CreateInvoice - - The query can optionally be restricted to only return a - single invoice matching the given criteria. - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - def StreamIncoming(self, request, context): """Stream incoming payments @@ -329,84 +133,15 @@ def RespondHsmRequest(self, request, context): context.set_details('Method not implemented!') raise NotImplementedError('Method not implemented!') + def Configure(self, request, context): + """Missing associated documentation comment in .proto file.""" + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + def add_NodeServicer_to_server(servicer, server): rpc_method_handlers = { - 'GetInfo': grpc.unary_unary_rpc_method_handler( - servicer.GetInfo, - request_deserializer=greenlight__pb2.GetInfoRequest.FromString, - response_serializer=greenlight__pb2.GetInfoResponse.SerializeToString, - ), - 'Stop': grpc.unary_unary_rpc_method_handler( - servicer.Stop, - request_deserializer=greenlight__pb2.StopRequest.FromString, - response_serializer=greenlight__pb2.StopResponse.SerializeToString, - ), - 'ConnectPeer': grpc.unary_unary_rpc_method_handler( - servicer.ConnectPeer, - request_deserializer=greenlight__pb2.ConnectRequest.FromString, - response_serializer=greenlight__pb2.ConnectResponse.SerializeToString, - ), - 'ListPeers': grpc.unary_unary_rpc_method_handler( - servicer.ListPeers, - request_deserializer=greenlight__pb2.ListPeersRequest.FromString, - response_serializer=greenlight__pb2.ListPeersResponse.SerializeToString, - ), - 'Disconnect': grpc.unary_unary_rpc_method_handler( - servicer.Disconnect, - request_deserializer=greenlight__pb2.DisconnectRequest.FromString, - response_serializer=greenlight__pb2.DisconnectResponse.SerializeToString, - ), - 'NewAddr': grpc.unary_unary_rpc_method_handler( - servicer.NewAddr, - request_deserializer=greenlight__pb2.NewAddrRequest.FromString, - response_serializer=greenlight__pb2.NewAddrResponse.SerializeToString, - ), - 'ListFunds': grpc.unary_unary_rpc_method_handler( - servicer.ListFunds, - request_deserializer=greenlight__pb2.ListFundsRequest.FromString, - response_serializer=greenlight__pb2.ListFundsResponse.SerializeToString, - ), - 'Withdraw': grpc.unary_unary_rpc_method_handler( - servicer.Withdraw, - request_deserializer=greenlight__pb2.WithdrawRequest.FromString, - response_serializer=greenlight__pb2.WithdrawResponse.SerializeToString, - ), - 'FundChannel': grpc.unary_unary_rpc_method_handler( - servicer.FundChannel, - request_deserializer=greenlight__pb2.FundChannelRequest.FromString, - response_serializer=greenlight__pb2.FundChannelResponse.SerializeToString, - ), - 'CloseChannel': grpc.unary_unary_rpc_method_handler( - servicer.CloseChannel, - request_deserializer=greenlight__pb2.CloseChannelRequest.FromString, - response_serializer=greenlight__pb2.CloseChannelResponse.SerializeToString, - ), - 'CreateInvoice': grpc.unary_unary_rpc_method_handler( - servicer.CreateInvoice, - request_deserializer=greenlight__pb2.InvoiceRequest.FromString, - response_serializer=greenlight__pb2.Invoice.SerializeToString, - ), - 'Pay': grpc.unary_unary_rpc_method_handler( - servicer.Pay, - request_deserializer=greenlight__pb2.PayRequest.FromString, - response_serializer=greenlight__pb2.Payment.SerializeToString, - ), - 'Keysend': grpc.unary_unary_rpc_method_handler( - servicer.Keysend, - request_deserializer=greenlight__pb2.KeysendRequest.FromString, - response_serializer=greenlight__pb2.Payment.SerializeToString, - ), - 'ListPayments': grpc.unary_unary_rpc_method_handler( - servicer.ListPayments, - request_deserializer=greenlight__pb2.ListPaymentsRequest.FromString, - response_serializer=greenlight__pb2.ListPaymentsResponse.SerializeToString, - ), - 'ListInvoices': grpc.unary_unary_rpc_method_handler( - servicer.ListInvoices, - request_deserializer=greenlight__pb2.ListInvoicesRequest.FromString, - response_serializer=greenlight__pb2.ListInvoicesResponse.SerializeToString, - ), 'StreamIncoming': grpc.unary_stream_rpc_method_handler( servicer.StreamIncoming, request_deserializer=greenlight__pb2.StreamIncomingFilter.FromString, @@ -432,6 +167,11 @@ def add_NodeServicer_to_server(servicer, server): request_deserializer=greenlight__pb2.HsmResponse.FromString, response_serializer=greenlight__pb2.Empty.SerializeToString, ), + 'Configure': grpc.unary_unary_rpc_method_handler( + servicer.Configure, + request_deserializer=greenlight__pb2.GlConfig.FromString, + response_serializer=greenlight__pb2.Empty.SerializeToString, + ), } generic_handler = grpc.method_handlers_generic_handler( 'greenlight.Node', rpc_method_handlers) @@ -456,261 +196,6 @@ class Node(object): `node.proto` """ - @staticmethod - def GetInfo(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary(request, target, '/greenlight.Node/GetInfo', - greenlight__pb2.GetInfoRequest.SerializeToString, - greenlight__pb2.GetInfoResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) - - @staticmethod - def Stop(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary(request, target, '/greenlight.Node/Stop', - greenlight__pb2.StopRequest.SerializeToString, - greenlight__pb2.StopResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) - - @staticmethod - def ConnectPeer(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary(request, target, '/greenlight.Node/ConnectPeer', - greenlight__pb2.ConnectRequest.SerializeToString, - greenlight__pb2.ConnectResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) - - @staticmethod - def ListPeers(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary(request, target, '/greenlight.Node/ListPeers', - greenlight__pb2.ListPeersRequest.SerializeToString, - greenlight__pb2.ListPeersResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) - - @staticmethod - def Disconnect(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary(request, target, '/greenlight.Node/Disconnect', - greenlight__pb2.DisconnectRequest.SerializeToString, - greenlight__pb2.DisconnectResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) - - @staticmethod - def NewAddr(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary(request, target, '/greenlight.Node/NewAddr', - greenlight__pb2.NewAddrRequest.SerializeToString, - greenlight__pb2.NewAddrResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) - - @staticmethod - def ListFunds(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary(request, target, '/greenlight.Node/ListFunds', - greenlight__pb2.ListFundsRequest.SerializeToString, - greenlight__pb2.ListFundsResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) - - @staticmethod - def Withdraw(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary(request, target, '/greenlight.Node/Withdraw', - greenlight__pb2.WithdrawRequest.SerializeToString, - greenlight__pb2.WithdrawResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) - - @staticmethod - def FundChannel(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary(request, target, '/greenlight.Node/FundChannel', - greenlight__pb2.FundChannelRequest.SerializeToString, - greenlight__pb2.FundChannelResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) - - @staticmethod - def CloseChannel(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary(request, target, '/greenlight.Node/CloseChannel', - greenlight__pb2.CloseChannelRequest.SerializeToString, - greenlight__pb2.CloseChannelResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) - - @staticmethod - def CreateInvoice(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary(request, target, '/greenlight.Node/CreateInvoice', - greenlight__pb2.InvoiceRequest.SerializeToString, - greenlight__pb2.Invoice.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) - - @staticmethod - def Pay(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary(request, target, '/greenlight.Node/Pay', - greenlight__pb2.PayRequest.SerializeToString, - greenlight__pb2.Payment.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) - - @staticmethod - def Keysend(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary(request, target, '/greenlight.Node/Keysend', - greenlight__pb2.KeysendRequest.SerializeToString, - greenlight__pb2.Payment.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) - - @staticmethod - def ListPayments(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary(request, target, '/greenlight.Node/ListPayments', - greenlight__pb2.ListPaymentsRequest.SerializeToString, - greenlight__pb2.ListPaymentsResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) - - @staticmethod - def ListInvoices(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary(request, target, '/greenlight.Node/ListInvoices', - greenlight__pb2.ListInvoicesRequest.SerializeToString, - greenlight__pb2.ListInvoicesResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) - @staticmethod def StreamIncoming(request, target, @@ -796,6 +281,23 @@ def RespondHsmRequest(request, options, channel_credentials, insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + @staticmethod + def Configure(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary(request, target, '/greenlight.Node/Configure', + greenlight__pb2.GlConfig.SerializeToString, + greenlight__pb2.Empty.FromString, + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + class HsmStub(object): """Missing associated documentation comment in .proto file.""" diff --git a/libs/gl-client-py/src/node.rs b/libs/gl-client-py/src/node.rs index cae5ee0d4..64e79f483 100644 --- a/libs/gl-client-py/src/node.rs +++ b/libs/gl-client-py/src/node.rs @@ -89,6 +89,16 @@ impl Node { self.cln_client.clone() ) } + + fn configure(&self, payload: &[u8]) -> PyResult<()> { + let req = pb::GlConfig::decode(payload).map_err(error_decoding_request)?; + + exec(self.client.clone().configure(req)) + .map(|x| x.into_inner()) + .map_err(error_calling_remote_method)?; + + return Ok(()); + } } fn error_decoding_request(e: D) -> PyErr { diff --git a/libs/gl-client/src/signer/mod.rs b/libs/gl-client/src/signer/mod.rs index 995638d51..aa6f1add6 100644 --- a/libs/gl-client/src/signer/mod.rs +++ b/libs/gl-client/src/signer/mod.rs @@ -26,6 +26,7 @@ use vls_protocol::serde_bolt::Octets; use vls_protocol_signer::approver::{Approve, MemoApprover}; use vls_protocol_signer::handler; use vls_protocol_signer::handler::Handler; +use lightning_signer::bitcoin::secp256k1::PublicKey; mod approver; mod auth; @@ -376,6 +377,25 @@ impl Signer { return Err(Error::Resolver(req.raw, ctxrequests)); }; + // If present, add the close_to_addr to the allowlist + for parsed_request in ctxrequests.iter() { + match parsed_request { + model::Request::GlConfig(gl_config) => { + let pubkey = PublicKey::from_slice(&self.id); + match pubkey { + Ok(p) => { + let _ = self + .services + .persister + .update_node_allowlist(&p, vec![gl_config.close_to_addr.clone()]); + } + Err(e) => debug!("Could not parse public key {:?}: {:?}", self.id, e), + } + } + _ => {} + } + } + use auth::Authorizer; let auth = auth::GreenlightAuthorizer {}; let approvals = auth.authorize(ctxrequests).map_err(|e| Error::Auth(e))?; diff --git a/libs/gl-client/src/signer/model/greenlight.rs b/libs/gl-client/src/signer/model/greenlight.rs index f2b798fd8..dab973396 100644 --- a/libs/gl-client/src/signer/model/greenlight.rs +++ b/libs/gl-client/src/signer/model/greenlight.rs @@ -41,6 +41,9 @@ pub fn decode_request(uri: &str, p: &[u8]) -> anyhow::Result { "/greenlight.Node/ConnectPeer" => { Request::GlConnectPeer(crate::pb::ConnectRequest::decode(p)?) } + "/greenlight.Node/Configure" => { + Request::GlConfig(crate::pb::GlConfig::decode(p)?) + } uri => return Err(anyhow!("Unknown URI {}, can't decode payload", uri)), }) } diff --git a/libs/gl-client/src/signer/model/mod.rs b/libs/gl-client/src/signer/model/mod.rs index 6821b8c5d..cc4967571 100644 --- a/libs/gl-client/src/signer/model/mod.rs +++ b/libs/gl-client/src/signer/model/mod.rs @@ -23,6 +23,7 @@ pub enum Request { GlListPayments(greenlight::ListPaymentsRequest), GlListInvoices(greenlight::ListInvoicesRequest), GlConnectPeer(greenlight::ConnectRequest), + GlConfig(greenlight::GlConfig), Getinfo(cln::GetinfoRequest), ListPeers(cln::ListpeersRequest), ListFunds(cln::ListfundsRequest), diff --git a/libs/gl-plugin/Cargo.toml b/libs/gl-plugin/Cargo.toml index 31971d12b..f8cfc75df 100644 --- a/libs/gl-plugin/Cargo.toml +++ b/libs/gl-plugin/Cargo.toml @@ -10,7 +10,7 @@ path = "src/bin/plugin.rs" [dependencies] anyhow = "*" async-stream = "*" -bytes = "1" +bytes = { version = "1", features = ["serde"] } clightningrpc = "*" cln-grpc = {git = "https://github.com/ElementsProject/lightning.git", branch = "master", features = ["server"] } cln-rpc = {git = "https://github.com/ElementsProject/lightning.git", branch = "master"} diff --git a/libs/gl-plugin/src/context.rs b/libs/gl-plugin/src/context.rs index a4de94079..55c276a78 100644 --- a/libs/gl-plugin/src/context.rs +++ b/libs/gl-plugin/src/context.rs @@ -12,8 +12,9 @@ use std::sync::Arc; use tokio::sync::Mutex; +use serde::{Serialize, Deserialize}; -#[derive(Clone, Debug)] +#[derive(Clone, Debug, Serialize, Deserialize)] pub struct Request { // The caller's mTLS public key pubkey: Vec, diff --git a/libs/gl-plugin/src/lib.rs b/libs/gl-plugin/src/lib.rs index 38244f873..19e8f9c9e 100644 --- a/libs/gl-plugin/src/lib.rs +++ b/libs/gl-plugin/src/lib.rs @@ -104,6 +104,7 @@ pub async fn init( .hook("htlc_accepted", lsp::on_htlc_accepted) .hook("invoice_payment", on_invoice_payment) .hook("peer_connected", on_peer_connected) + .hook("openchannel", on_openchannel) .hook("custommsg", on_custommsg); Ok(Builder { state, @@ -154,6 +155,36 @@ async fn on_peer_connected(plugin: Plugin, v: serde_json::Value) -> Result Result { + debug!("Received an openchannel request: {:?}", v); + let mut rpc = cln_rpc::ClnRpc::new(plugin.configuration().rpc_file).await?; + + let req = cln_rpc::model::requests::ListdatastoreRequest{ + key: Some(vec![ + "glconf".to_string(), + "request".to_string(), + ]) + }; + + let res = rpc.call_typed(req).await; + debug!("ListdatastoreRequest response: {:?}", res); + + match res { + Ok(r) => { + if r.datastore.is_empty() { + return Ok(json!({"result": "continue"})) + } + + Ok(json!({"result": "continue", "close_to": r.datastore[0].string})) + }, + Err(e) => { + log::debug!("An error occurred while searching for a custom close_to address: {}", e); + Ok(json!({"result": "continue"})) + } + } +} + + /// Notification handler that receives notifications on incoming /// payments, then looks up the invoice in the DB, and forwards the /// full information to the GRPC interface. diff --git a/libs/gl-plugin/src/node/mod.rs b/libs/gl-plugin/src/node/mod.rs index c0b5b9452..1096ef028 100644 --- a/libs/gl-plugin/src/node/mod.rs +++ b/libs/gl-plugin/src/node/mod.rs @@ -24,6 +24,9 @@ use tokio_stream::wrappers::ReceiverStream; use tonic::{transport::ServerTlsConfig, Code, Request, Response, Status}; mod wrapper; pub use wrapper::WrappedNodeServer; +use gl_client::bitcoin; +use std::str::FromStr; + static LIMITER: OnceCell> = OnceCell::const_new(); @@ -254,7 +257,8 @@ impl Node for PluginNodeServer { let mut stream = self.stage.mystream().await; let signer_state = self.signer_state.clone(); let ctx = self.ctx.clone(); - + let rrpc = self.rpc.clone(); + tokio::spawn(async move { trace!("hsmd hsm_id={} request processor started", hsm_id); loop { @@ -289,6 +293,38 @@ impl Node for PluginNodeServer { req.request.signer_state = state.into(); req.request.requests = ctx.snapshot().await.into_iter().map(|r| r.into()).collect(); + + let rpc = rrpc.lock().await; + + let list_datastore_req = cln_rpc::model::requests::ListdatastoreRequest{ + key: Some(vec![ + "glconf".to_string(), + "request".to_string() + ]) + }; + + let res: Result = + rpc.call("listdatastore", list_datastore_req).await; + + match res { + Ok(list_datastore_res) => { + if list_datastore_res.datastore.len() > 0 { + let serialized_configure_request = list_datastore_res.datastore[0].string.clone(); + match serialized_configure_request { + Some(serialized_configure_request) => { + let configure_request = serde_json::from_str::( + &serialized_configure_request, + ) + .unwrap(); + req.request.requests.push(configure_request.into()); + } + None => {} + } + } + } + Err(_) => {} + } + debug!( "Sending signer requests with {} requests and {} state entries", req.request.requests.len(), @@ -387,6 +423,89 @@ impl Node for PluginNodeServer { return Ok(Response::new(ReceiverStream::new(rx))); } + + async fn configure(&self, req: tonic::Request) -> Result, Status> { + self.limit().await; + let gl_config = req.into_inner(); + let rpc = self.get_rpc().await; + + let res: Result = + rpc.call("getinfo", json!({})).await; + + let network = match res { + Ok(get_info_response) => match get_info_response.network.parse() { + Ok(v) => v, + Err(_) => Err(Status::new( + Code::Unknown, + format!("The network returned from the call to 'getinfo' could not be parsed"), + ))?, + }, + Err(e) => { + return Err(Status::new( + Code::Unknown, + format!("Failed to retrieve a response from 'getinfo' while setting the node's configuration: {}", e), + )); + } + }; + + match bitcoin::Address::from_str(&gl_config.close_to_addr) { + Ok(address) => { + if address.network != network { + return Err(Status::new( + Code::Unknown, + format!( + "Network mismatch: \ + Expected an address for {} but received an address for {}", + network, + address.network + ), + )); + } + } + Err(e) => { + return Err(Status::new( + Code::Unknown, + format!("The address {} is not valid: {}", gl_config.close_to_addr, e), + )); + } + } + + let res: Result = + rpc.call("datastore", json!({ + "key": vec![ + "glconf".to_string(), + "channel".to_string(), + "close_to_addr".to_string() + ], + "string": gl_config.close_to_addr, + })).await; + + let requests: Vec = self.ctx.snapshot().await.into_iter().map(|r| r.into()).collect(); + let serialized_req = serde_json::to_string(&requests[0]).unwrap(); + let datastore_res: Result = + rpc.call("datastore", json!({ + "key": vec![ + "glconf".to_string(), + "request".to_string(), + ], + "string": serialized_req, + })).await; + + match datastore_res { + Ok(_) => {} + Err(e) => { + return Err(Status::new( + Code::Unknown, + format!("Failed to store the raw configure request in the datastore: {}", e), + )); + } + } + + match res { + Ok(_) => Ok(Response::new(pb::Empty::default())), + Err(e) => Err(Status::new(Code::Unknown, e.to_string())), + } + } } use cln_grpc::pb::node_server::NodeServer; diff --git a/libs/gl-plugin/src/rpc.rs b/libs/gl-plugin/src/rpc.rs index 663043795..f6ae8d10d 100644 --- a/libs/gl-plugin/src/rpc.rs +++ b/libs/gl-plugin/src/rpc.rs @@ -9,6 +9,7 @@ use std::path::{Path, PathBuf}; use thiserror::Error; use tokio::net::UnixStream; use tokio_util::codec::Framed; +use tokio::time::{timeout, Duration}; #[derive(Error, Debug)] pub enum Error { @@ -31,12 +32,14 @@ pub enum Error { #[derive(Clone, Debug)] pub struct LightningClient { sockpath: PathBuf, + timeout: Duration, } impl LightningClient { pub fn new>(sockpath: P) -> LightningClient { LightningClient { sockpath: sockpath.as_ref().to_path_buf(), + timeout: Duration::from_millis(4000) } } @@ -70,16 +73,22 @@ impl LightningClient { return Err(Error::ClnRpcError(e)); } - let response = match codec.next().await { - Some(Ok(v)) => v, - Some(Err(e)) => { + let read_timeout_result = timeout(self.timeout, codec.next()).await; + + let response = match read_timeout_result { + Ok(Some(Ok(v))) => v, + Ok(Some(Err(e))) => { warn!("Error from RPC: {:?}", e); return Err(Error::ClnRpcError(e)); } - None => { + Ok(None) => { warn!("Error reading response from RPC interface, returned None"); return Err(Error::EmptyResult); } + Err(_) => { + warn!("Error reading response from RPC, the request timed out"); + return Err(Error::EmptyResult); + } }; debug!( diff --git a/libs/gl-testing/tests/test_gl_node.py b/libs/gl-testing/tests/test_gl_node.py index 8dc722d81..0c4d69f90 100644 --- a/libs/gl-testing/tests/test_gl_node.py +++ b/libs/gl-testing/tests/test_gl_node.py @@ -123,3 +123,26 @@ def check(gl1): return len(res.peers) == 1 and res.peers[0].connected wait_for(lambda: check(gl1)) + +def test_configure_close_to_addr(node_factory, clients, bitcoind): + l1, l2 = node_factory.line_graph(2) + l2.fundwallet(sats=2*10**6) + + c = clients.new() + c.register(configure=True) + gl1 = c.node() + + s = c.signer().run_in_thread() + gl1.connect_peer(l2.info['id'], f'127.0.0.1:{l2.daemon.port}') + + close_to_addr = bitcoind.getnewaddress() + gl1.configure(close_to_addr) + + l2.rpc.fundchannel(c.node_id.hex(), 'all') + bitcoind.generate_block(1, wait_for_mempool=1) + + wait_for(lambda: + gl1.list_peers().peers[0].channels[0].state == 2 + ) + + assert gl1.list_peers().peers[0].channels[0].close_to_addr == close_to_addr diff --git a/libs/proto/greenlight.proto b/libs/proto/greenlight.proto index 5de7e11f6..8a15e0fce 100644 --- a/libs/proto/greenlight.proto +++ b/libs/proto/greenlight.proto @@ -52,6 +52,8 @@ service Node { rpc RespondHsmRequest(HsmResponse) returns (Empty) {} + rpc Configure(GlConfig) returns (Empty) {} + } message HsmRequestContext { @@ -513,6 +515,15 @@ message NodeConfig { repeated StartupMessage startupmsgs = 1; } + +// The `GlConfig` is used to pass greenlight-specific startup parameters +// to the node. The `gl-plugin` will look for a serialized config object in +// the node's datastore to load these values from. Please refer to the +// individual fields to learn what they do. +message GlConfig { + string close_to_addr = 1; +} + // A message that we know will be requested by `lightningd` at // startup, and that we stash a response to on the scheduler. This // allows the scheduler to start a node without requiring the signer diff --git a/out b/out new file mode 100644 index 000000000..54fbb83e9 --- /dev/null +++ b/out @@ -0,0 +1,3204 @@ +============================= test session starts ============================== +platform linux -- Python 3.8.10, pytest-7.4.2, pluggy-1.3.0 -- /tmp/venv/bin/python3 +cachedir: .pytest_cache +rootdir: /repo +plugins: sugar-0.9.7, flaky-3.7.0, forked-1.6.0, anyio-3.7.1, cov-3.0.0, xdist-2.5.0, timeout-2.1.0 +collecting ... collected 1 item + +libs/gl-testing/tests/test_gl_node.py::test_configure_close_to_addr Running tests in /tmp/ltests-g6105w8s +Starting 'bitcoind -datadir=/tmp/gltesting/tmp/tmprvad17gw -printtoconsole -server -logtimestamps -nolisten -txindex -nowallet -addresstype=bech32 -debug=mempool -debug=mempoolrej -debug=rpc -debug=validation' +Waiting for ['Done loading'] in the logs +Found 're.compile('Done loading')' in logs +BitcoinD started +Calling createwallet with arguments ('lightningd-tests',) +Result for createwallet call: {'name': 'lightningd-tests'} +Calling getnetworkinfo with arguments () +Result for getnetworkinfo call: {'version': 250000, 'subversion': '/Satoshi:25.0.0/', 'protocolversion': 70016, 'localservices': '0000000000000409', 'localservicesnames': ['NETWORK', 'WITNESS', 'NETWORK_LIMITED'], 'localrelay': True, 'timeoffset': 0, 'networkactive': True, 'connections': 0, 'connections_in': 0, 'connections_out': 0, 'networks': [{'name': 'ipv4', 'limited': False, 'reachable': True, 'proxy': '', 'proxy_randomize_credentials': False}, {'name': 'ipv6', 'limited': False, 'reachable': True, 'proxy': '', 'proxy_randomize_credentials': False}, {'name': 'onion', 'limited': True, 'reachable': False, 'proxy': '', 'proxy_randomize_credentials': False}, {'name': 'i2p', 'limited': True, 'reachable': False, 'proxy': '', 'proxy_randomize_credentials': False}, {'name': 'cjdns', 'limited': True, 'reachable': False, 'proxy': '', 'proxy_randomize_credentials': False}], 'relayfee': Decimal('0.00001000'), 'incrementalfee': Decimal('0.00001000'), 'localaddresses': [], 'warnings': ''} +Calling getblockchaininfo with arguments () +Result for getblockchaininfo call: {'chain': 'regtest', 'blocks': 0, 'headers': 0, 'bestblockhash': '0f9188f13cb7b2c71f2a335e3a4fc328bf5beb436012afca590b1a11466e2206', 'difficulty': Decimal('4.656542373906925E-10'), 'time': 1296688602, 'mediantime': 1296688602, 'verificationprogress': 1, 'initialblockdownload': True, 'chainwork': '0000000000000000000000000000000000000000000000000000000000000002', 'size_on_disk': 293, 'pruned': False, 'warnings': ''} +Calling getrawmempool with arguments (True,) +Result for getrawmempool call: {} +Generating 101, confirming 0 transactions: {} +Calling getnewaddress with arguments () +Result for getnewaddress call: bcrt1qk64e2r9jfyvxkc43pp85t5sgyza3m5uzmnr2r5 +Calling generatetoaddress with arguments (101, 'bcrt1qk64e2r9jfyvxkc43pp85t5sgyza3m5uzmnr2r5') +Result for generatetoaddress call: ['4c335e325ca4e5f42878e8d3a279f2c8374e1d2af7692c12b8fb5d121f1346d0', '18d6aac6ec2067153c05947500899f4ae52a0807431914cb128090efce0a5b49', '6f33fd2a36fb470af1685363e367af9b313b313045aa6f5649f0f4b60130bdf7', '37e5573031eab243d9ffeeeb107e1e686adcf4ce6462246703e7c77dd03b448e', '746e23dc2749309387c9f090854133a4f4a4c6dc499c25fa2ff786aa7725f3ce', '3a8d7cb80610dbcb4b3aafb24ad6ed86a57b2b36cad2de168fd87045b030461b', '0964440f61ea87460b24ed76304db54b518cfae8a32c2dd2d6f423298c70224d', '5c827bc045c86f84e9388010b6400fa417d409d829f1319f4309c3d1d44d851a', '5cbe3579e2fc25f4e11d62ce8ff8e5aee3b5df27c23d51a7e321e2bf4d75f938', '00c29193967ac2f775724276ff03c168b49aade546c794c15db55095d4e6fbb8', '63b90c7c0e20128dc9d1b4af0b71e3064d0cb3fafe66c1bf8507d2dc5d795885', '0deea9eefc6a1ad55a1337ccfe42a4e63c124cccb1c3431704ae3d6772d2e414', '13395004c9b89c99a1133ba48c4aafa5930941b43f57e0660bb1b0812f75a65c', '6ab8fbb8dad3d9d54abfa0b6645fc82286a29e99d0e7508947095e528e415373', '6f3b62981c832663e9c1971b5eda88ee627f838babf79735aa4455430da2b0ce', '5b952d0b7d2426a1d822efecf089e2692afaf91bee391c6df7aa3b242663fab0', '026af1b3fbf82836a0068f7bec06b595408a79c72a8953da1cbf1c1516bea3bc', '2f76993cbfb7490ea62060a4ac7191f0771451020402badd4a38df9be5985ff9', '5f9476b1bed1914419bca9c4f766b3cb9fbabd9ccf2011710c65b8ac59a43693', '26c68a551dcb46cf00b3bec10114014d5322a86902f71dbb673f0ddbc54f0d48', '0d74a6003535684be2beed40b6db276b4ef1963c448bdccb0f69c995e9478abc', '2fe2fc40a63404fe7d6c23fe71783fa41a4badbac22d2c61639005417cb7c79c', '7feab046923cd7b62309fef63dce307cef5a312d5bccaff061039977abc91eec', '31a92d2ccd037c588b9e23ec15a0740c87bc87760ec854e5ed8fe789c3cdebdc', '600e68f5afae42873bfc36fda387261700e771f40ceb8992ef2780cf339ad5bc', '211de969839249459d776d15bb80f989c2c977a4703625aa1f2aa753c448d600', '3898e1975de9da33716b5c94fa418c781c545a63402ba0e88060363ad959285b', '6d22347075f3a1ba1136f6b4cd3c1b0ecbad10fa959265ee035ef590c7e25c0f', '2bc320f417c23f5a665c7e608f21c59f0f40bb22d5f5f9ce9fc3a5a7b4dd3cf8', '4dd7f0eb0e952f1f164351770a81b256464f1695a4fc07a8fbfa9dc6032acefb', '1664f482372ea591caae450f55b6f08c54ecf990b51f3b7ef8255ce94c134b4f', '1ba2d055fd5e8f436f888b9986fd6566eb76ade9235d33dc56a59dcdec19087f', '3396e769b7b27b3e812e6fed9b7cae339ae0c734d4d264399e201b9bb6843dbb', '755b7feb29ea7dc1c3e42226832b5867762f40c017514edde124ba328a7c8353', '047807eadfa82d3fa468f428680d9e2ac217cad4e445dd69c2e1751181e359ff', '625c921ca9284ea31eeec7bb6f8b2c7e514468f23dac8bb07ece23ef80e26f41', '582f4f0f50606d134290ebba34ae02f48515f5bce9a65ec83c46302f4e731beb', '3c1332992d12b660b6cbae545baf61193b364419094e88851bf65d6832c6c567', '038a985df6f2dc01e2690fec9ca55ee9a0d33769f4265e57ac9a627e8dbee58f', '54f90ff5c46ec4650340386264c7916e3108eae50fde6b24f9b8288572f198a0', '37d124cef2eaf5551297c389bc91fe4536074a98823d94f160b05d56c1e71a82', '146aca7b68fbb74bca56d100530468c391204461fab816f17abc6ba25de41733', '28de9cba76a5d773e0516df26af4e6beff22e80aa55fc683fa45cde42003017e', '4758e2b2d503889ede79c7b4da1ea182406dfc2962407fa3540ad9f86d92f89e', '52b604f77c8825d355fe2adc636978a842495302d76afbacbabc290ecb2d5c3c', '4e381f0f3ce42cbba0e15c4665011eb732e16b9847e375746641beac981612e5', '3d7fc4aec492d927fc7a913d18e6c78cbf2ee981ed7ee9bfaa273d6bc2bea533', '67d0451c717cfbc628db4bfd1a2323a98532a312c8197dc3c86de175e241b2ab', '317f127d9bb33a724c6a657f14792d5b6614e901e9ed91ffacdbb19e7215ce7c', '0d8e8313c8d047d3908429974581409acf3b52c47e4f888662318d42b82b408c', '6b05b1719c0e7940aa1178164e9881dfacd152a892e2d4b248c7247cacb953cb', '13dbbcf9feb18e8b3ca18472d424e33e75552751a62f0cc1518cbec092ae4cff', '57b7112f75438435527b473de2e71d6304cc4cd45cf60ce02cfd18019d9cca55', '467a6d3a4b6c9a507b5947fc143dfd5f25297c03561649634d5726968ee03b8f', '1f029aa3c2e1622dcfbeff52decd4450d906cf589a9b8f3fa4c7c7506aa47c21', '1086a08b956458bb7f7e1184596ece85d4c39e01ffcf323009f36bbf40adafe4', '4f0b6cc187ccfd5efa77c56e4fe93cfbd853564a409ae2383506bffc55a18c53', '2d3e89a144f49c0584af7ab999250b945f9a54ec4968905f6d6319932f95a2df', '6b4927d0c74f0ad7dbcaeca2583a0f6ae03df3b5180c456d9d7eb03c514c7f29', '157a3d0aeeed26afcc5999df3b6a5d4a7100c1e274735f1ab1afd3e91ee59baa', '23a8cddcb539f0e4dfd0fbe0c9979d4aca536e6e3326cbd7c1d0dced20df2809', '1360374de90280bd37c002b4f4b91b6a567127c65161ea8697e9368700f381da', '4c017554dcd510291e991e05e6bd4b345ed96dfc79b86bd19e776e0f321885dd', '26027dedda8c75057c5f9bda41978dda3eae61a1ee22b6a0a23260d123771567', '48a6bd3ea483d7cef451697f86f4c7d609f9e0d4314a6c5f60d2b046759df691', '5fd00b69d7c3bf548ba5d67f1cb1bb5d170a9772aaeedfcb0a5b60028b006d58', '674ed2bbcb3e66c847d6d0a23af1f5d8e54b2dc632224dc97e9ef1ce514c1ded', '2f43afdcdfa2ba2d00082fb7c1165736d9f1c6945199ded6dde2ce947dc3da54', '78374c9d3a88fd3360ba9846b364ec2ceaf13a275bc18b6e7d0b51f3e2cc679b', '7c7b07ce073017568d5092e1929811fc5f0f3c21b5047ee47f50dc15d23f37ca', '1d777b1a67dcd5ebb43f12f3c1654f3e7a1ea1fa76652fa00a4a98b6b5655f91', '3d828e861b7590341e4908dedc3c0a327fb2f38a78eea959c085380ac976a74f', '3f3070585590d5cb123525d7a46ae5a96133ced8c56cf39286eae2e51f9d39fb', '0f59404ffb2658335e6a64d93d56aada1f7461c223af2588dfdd21e10018c2a8', '5136201b0ac67e2c8a8b8a9a08aee5ff0d84f625f7624502c3058e8d77b8e424', '2c2b66f4d4146b57497848ed46ba8789ab2a75fa23cb2422f73c3ff924736aaa', '2c66dd3c8cad0e06e787214d9a9aed797aeb14eac2015d1de467baa5081f5051', '152a7cc71621d3aae9cfcd9a7cb5909046807bd46bf7f2328a43c769db41cf26', '4f1ff6c4bb08cc9597d5ae26476c607b071772e4b818c8adb95be1cdaf7b88d4', '710a4b2eb38eb09d0453255522203ba551dbe641b5f10e1b192331f5dd43007f', '138688f8981544a750b562649da0d4e8e89e24a9a083ab22ba180693d70089e8', '6e7a843e56c29abf8d41008e2a0a5c4ce75288baa523b1802f675c91abd9fc9f', '34e7ca1e893d6f90f3147992583a97620851900a40c3cd2285e7601da34b8475', '52496d1ce157d2877673219f0e6e1442a9e3a1c759b565947618461235f04adb', '772046405dcefc739ed7aa6f47092dd90e6cef8d0707b7fb4883145ae8edd5e1', '7e27b130d0c9c766e3b860c41546f349a36f20ea3cfb772eff1db9e9c212b784', '1506705fd3f7702be721b207b1a31afe25d8772c566a8cade239092d3b0b2c0e', '7494a7f933e90fbf65bfe62060f2d39fd52879317915ef439d64048c097e87a0', '1a5d77c3f6b19b2a8cdc90ead4869133e1d8a5adb295727d3c12b7b6d5663869', '6503156d59ba12a7b3657fc877ab9cca44047d9f63de63a55cc77865b76de050', '11f702e1572ff6f599ba15650aea5eadf3954871d6923a86f4de4d21426d7b30', '1dffcb4f94d110d012e6fbc25638070617ebcf29444f614beb3c017a6c91cacc', '2124d9a15161fffe1717ebcd1ce813d8fab00b6b98b9ee547853354b429ec14a', '18923bcb7053eba84c126be74887a227770b222127dde88b2277895b26e171f0', '4c2993c70db20df074139fa25f45e70d3b92d8151df7ce0b86fdc51ffe8f0665', '70b012d3ee20f9faf05581310c17b09ed32b16ac500fe8d9e5779e04c78eb98b', '5d18dd300ba69a4d21a0d201b1ea4e988121a38959ce8c2efc89c8f59779361f', '40ceb439229cae8eec39dbe6f3acbc4c5e6681d5fea389f6e31cb8712a50f8db', '29120becc6488e43edf186428d5f71c87596ee96827ce2a555560eb53df90230', '1d3082f77ae5f8339fa37e26113c2bc78121feebac8c1ce7aadcb7ca5cd6fd4e', '1be50df8232cb188b5963c9b6810362ed26d084f46d1a9dcab97d3760c11c6dc'] +Generating a new CA for path / +Using CA / as parent +Generating a new CA for path /services +Using CA / as parent +Generating a new certificate for /services/scheduler +{'CN': 'GL /services/scheduler', 'key': {'algo': 'ecdsa', 'size': 256}, 'names': [{'C': 'US', 'L': 'San Francisco', 'O': 'Test', 'OU': 'CertificateAuthority', 'ST': 'California'}], 'ca': {'expiry': '24h'}, 'hosts': ['localhost']} +Using CA /services as parent +BitcoinRpcProxy proxying incoming port 48511 to 38363 +Starting scheduler with caroot b'-----BEGIN CERTIFICATE-----\nMIICVDCCAfqgAwIBAgIUZ2Yy3UxxahcUyTMYrtPjnLISMaUwCgYIKoZIzj0EAwIw\ndzELMAkGA1UEBhMCVVMxEzARBgNVBAgTCkNhbGlmb3JuaWExFjAUBgNVBAcTDVNh\nbiBGcmFuY2lzY28xDTALBgNVBAoTBFRlc3QxHTAbBgNVBAsTFENlcnRpZmljYXRl\nQXV0aG9yaXR5MQ0wCwYDVQQDEwRHTCAvMB4XDTIzMTAzMTE2MTIwMFoXDTMzMTAy\nODE2MTIwMFowdzELMAkGA1UEBhMCVVMxEzARBgNVBAgTCkNhbGlmb3JuaWExFjAU\nBgNVBAcTDVNhbiBGcmFuY2lzY28xDTALBgNVBAoTBFRlc3QxHTAbBgNVBAsTFENl\ncnRpZmljYXRlQXV0aG9yaXR5MQ0wCwYDVQQDEwRHTCAvMFkwEwYHKoZIzj0CAQYI\nKoZIzj0DAQcDQgAELzGmfZgBPwvbuuvn1a9Z6kkrOnzXsYmlZjFEFOso6rM4GsTA\nSMfWDy2g0LnrObpHaEiuf1wPnAsat+OkWFE5xKNkMGIwDgYDVR0PAQH/BAQDAgGm\nMB0GA1UdJQQWMBQGCCsGAQUFBwMBBggrBgEFBQcDAjASBgNVHRMBAf8ECDAGAQH/\nAgEDMB0GA1UdDgQWBBRFRvL9WzfmZ409u3HJiqaJNZRk9jAKBggqhkjOPQQDAgNI\nADBFAiBKh4bcE8+9C60DIt4RLXqWTho0aUUzrMo2z+9H+dZRuAIhAPr18jDbo42l\naeFB4x99R2gYD1fWS7lOvqwKGLryVk4I\n-----END CERTIFICATE-----\n' +Looking for CLN versions in ['/tmp/venv/bin', '/home/randy/.cargo/bin', '/opt/cln-latest/usr/local/bin/', '/usr/local/sbin', '/usr/local/bin', '/usr/sbin', '/usr/bin', '/sbin', '/bin', '/.npm-packages/bin', '/opt/cln/v0.10.1/usr/local/bin/', '/opt/cln/v0.10.2/usr/local/bin/', '/opt/cln/v0.11.0.1/usr/local/bin/', '/opt/cln/v0.11.2gl2/usr/local/bin/', '/opt/cln/v22.11gl1/usr/local/bin/', '/opt/cln/v23.05gl1/usr/local/bin/', '/opt/cln/v23.08gl1/usr/local/bin/'] +Detecting version of lightningd at /opt/cln-latest/usr/local/bin/lightningd +Determined version v23.05gl1 for executable /opt/cln-latest/usr/local/bin/lightningd +Detecting version of lightningd at /opt/cln/v0.10.1/usr/local/bin/lightningd +Determined version v0.10.1 for executable /opt/cln/v0.10.1/usr/local/bin/lightningd +Detecting version of lightningd at /opt/cln/v0.10.2/usr/local/bin/lightningd +Determined version v0.10.2 for executable /opt/cln/v0.10.2/usr/local/bin/lightningd +Detecting version of lightningd at /opt/cln/v0.11.0.1/usr/local/bin/lightningd +Determined version v0.11.0.1 for executable /opt/cln/v0.11.0.1/usr/local/bin/lightningd +Detecting version of lightningd at /opt/cln/v0.11.2gl2/usr/local/bin/lightningd +Determined version v0.11.2gl2 for executable /opt/cln/v0.11.2gl2/usr/local/bin/lightningd +Detecting version of lightningd at /opt/cln/v22.11gl1/usr/local/bin/lightningd +Determined version v22.11gl1 for executable /opt/cln/v22.11gl1/usr/local/bin/lightningd +Detecting version of lightningd at /opt/cln/v23.05gl1/usr/local/bin/lightningd +Determined version v23.05gl1 for executable /opt/cln/v23.05gl1/usr/local/bin/lightningd +Detecting version of lightningd at /opt/cln/v23.08gl1/usr/local/bin/lightningd +Determined version v23.08gl1 for executable /opt/cln/v23.08gl1/usr/local/bin/lightningd +Found 7 versions: {'v23.05gl1': NodeVersion(path=PosixPath('/opt/cln/v23.05gl1/usr/local/bin/lightningd'), name='v23.05gl1'), 'v0.10.1': NodeVersion(path=PosixPath('/opt/cln/v0.10.1/usr/local/bin/lightningd'), name='v0.10.1'), 'v0.10.2': NodeVersion(path=PosixPath('/opt/cln/v0.10.2/usr/local/bin/lightningd'), name='v0.10.2'), 'v0.11.0.1': NodeVersion(path=PosixPath('/opt/cln/v0.11.0.1/usr/local/bin/lightningd'), name='v0.11.0.1'), 'v0.11.2gl2': NodeVersion(path=PosixPath('/opt/cln/v0.11.2gl2/usr/local/bin/lightningd'), name='v0.11.2gl2'), 'v22.11gl1': NodeVersion(path=PosixPath('/opt/cln/v22.11gl1/usr/local/bin/lightningd'), name='v22.11gl1'), 'v23.08gl1': NodeVersion(path=PosixPath('/opt/cln/v23.08gl1/usr/local/bin/lightningd'), name='v23.08gl1')} +Scheduler is running at https://localhost:33131 +Starting scheduler on port 33131 +Hello +Scheduler started on port 33131 +Generating a new CA for path /users +Using CA / as parent +Using selector: EpollSelector +Generating a new certificate for /users/nobody +{'CN': 'GL /users/nobody', 'key': {'algo': 'ecdsa', 'size': 256}, 'names': [{'C': 'US', 'L': 'San Francisco', 'O': 'Test', 'OU': 'CertificateAuthority', 'ST': 'California'}], 'ca': {'expiry': '24h'}, 'hosts': ['localhost']} +Using CA /users as parent +BitcoinRpcProxy proxying incoming port 38311 to 38363 +BitcoinRpcProxy proxying incoming port 37221 to 38363 +Starting 'lightningd --log-level=debug --cltv-delta=6 --cltv-final=5 --watchtime-blocks=5 --rescan=1 --disable-dns --lightning-dir=/tmp/gltesting/tmp/tmprvad17gw/lightning-2/ --addr=127.0.0.1:43331 --allow-deprecated-apis=false --network=regtest --ignore-fee-limits=false --bitcoin-rpcuser=rpcuser --bitcoin-rpcpassword=rpcpass --bitcoin-datadir=/tmp/gltesting/tmp/tmprvad17gw/lightning-2/ --dev-fast-gossip --dev-bitcoind-poll=1 --log-file=- --log-file=/tmp/gltesting/tmp/tmprvad17gw/lightning-2/log --log-prefix=lightningd-2 --dev-fail-on-subdaemon-fail --dev-no-reconnect --bitcoin-rpcport=38311' +Starting 'lightningd --log-level=debug --cltv-delta=6 --cltv-final=5 --watchtime-blocks=5 --rescan=1 --disable-dns --lightning-dir=/tmp/gltesting/tmp/tmprvad17gw/lightning-1/ --addr=127.0.0.1:45149 --allow-deprecated-apis=false --network=regtest --ignore-fee-limits=false --bitcoin-rpcuser=rpcuser --bitcoin-rpcpassword=rpcpass --bitcoin-datadir=/tmp/gltesting/tmp/tmprvad17gw/lightning-1/ --dev-fast-gossip --dev-bitcoind-poll=1 --log-file=- --log-file=/tmp/gltesting/tmp/tmprvad17gw/lightning-1/log --log-prefix=lightningd-1 --dev-fail-on-subdaemon-fail --dev-no-reconnect --bitcoin-rpcport=37221' +Waiting for ['Server started with public key'] in the logs +Waiting for ['Server started with public key'] in the logs + + + + +2023-10-31T16:16:59.761Z DEBUG lightningd: Opened log file - +2023-10-31T16:16:59.761Z DEBUG lightningd: Opened log file /tmp/gltesting/tmp/tmprvad17gw/lightning-2/log +lightningd-2 2023-10-31T16:16:59.761Z DEBUG lightningd: Opened log file - + + + + +2023-10-31T16:16:59.761Z DEBUG lightningd: Opened log file - +lightningd-2 2023-10-31T16:16:59.761Z DEBUG lightningd: Opened log file /tmp/gltesting/tmp/tmprvad17gw/lightning-2/log +2023-10-31T16:16:59.762Z DEBUG lightningd: Opened log file /tmp/gltesting/tmp/tmprvad17gw/lightning-1/log +lightningd-1 2023-10-31T16:16:59.761Z DEBUG lightningd: Opened log file - +lightningd-1 2023-10-31T16:16:59.762Z DEBUG lightningd: Opened log file /tmp/gltesting/tmp/tmprvad17gw/lightning-1/log +lightningd-1 2023-10-31T16:16:59.772Z DEBUG plugin-manager: started(28320) /opt/cln/v23.05gl1/usr/local/libexec/c-lightning/plugins/autoclean +lightningd-2 2023-10-31T16:16:59.776Z DEBUG plugin-manager: started(28321) /opt/cln/v23.05gl1/usr/local/libexec/c-lightning/plugins/autoclean +lightningd-2 2023-10-31T16:16:59.785Z DEBUG plugin-manager: started(28323) /opt/cln/v23.05gl1/usr/local/libexec/c-lightning/plugins/chanbackup +lightningd-1 2023-10-31T16:16:59.794Z DEBUG plugin-manager: started(28322) /opt/cln/v23.05gl1/usr/local/libexec/c-lightning/plugins/chanbackup +lightningd-2 2023-10-31T16:16:59.801Z DEBUG plugin-manager: started(28324) /opt/cln/v23.05gl1/usr/local/libexec/c-lightning/plugins/bcli +lightningd-1 2023-10-31T16:16:59.810Z DEBUG plugin-manager: started(28325) /opt/cln/v23.05gl1/usr/local/libexec/c-lightning/plugins/bcli +lightningd-2 2023-10-31T16:16:59.815Z DEBUG plugin-manager: started(28326) /opt/cln/v23.05gl1/usr/local/libexec/c-lightning/plugins/commando +lightningd-1 2023-10-31T16:16:59.835Z DEBUG plugin-manager: started(28327) /opt/cln/v23.05gl1/usr/local/libexec/c-lightning/plugins/commando +lightningd-2 2023-10-31T16:16:59.836Z DEBUG plugin-manager: started(28328) /opt/cln/v23.05gl1/usr/local/libexec/c-lightning/plugins/fetchinvoice +lightningd-1 2023-10-31T16:16:59.852Z DEBUG plugin-manager: started(28330) /opt/cln/v23.05gl1/usr/local/libexec/c-lightning/plugins/fetchinvoice +lightningd-2 2023-10-31T16:16:59.858Z DEBUG plugin-manager: started(28329) /opt/cln/v23.05gl1/usr/local/libexec/c-lightning/plugins/funder +lightningd-1 2023-10-31T16:16:59.871Z DEBUG plugin-manager: started(28331) /opt/cln/v23.05gl1/usr/local/libexec/c-lightning/plugins/funder +lightningd-2 2023-10-31T16:16:59.876Z DEBUG plugin-manager: started(28332) /opt/cln/v23.05gl1/usr/local/libexec/c-lightning/plugins/topology +lightningd-1 2023-10-31T16:16:59.891Z DEBUG plugin-manager: started(28333) /opt/cln/v23.05gl1/usr/local/libexec/c-lightning/plugins/topology +lightningd-2 2023-10-31T16:16:59.896Z DEBUG plugin-manager: started(28334) /opt/cln/v23.05gl1/usr/local/libexec/c-lightning/plugins/keysend +lightningd-1 2023-10-31T16:16:59.913Z DEBUG plugin-manager: started(28335) /opt/cln/v23.05gl1/usr/local/libexec/c-lightning/plugins/keysend +lightningd-2 2023-10-31T16:16:59.919Z DEBUG plugin-manager: started(28336) /opt/cln/v23.05gl1/usr/local/libexec/c-lightning/plugins/offers +lightningd-1 2023-10-31T16:16:59.929Z DEBUG plugin-manager: started(28337) /opt/cln/v23.05gl1/usr/local/libexec/c-lightning/plugins/offers +lightningd-2 2023-10-31T16:16:59.936Z DEBUG plugin-manager: started(28338) /opt/cln/v23.05gl1/usr/local/libexec/c-lightning/plugins/pay +lightningd-2 2023-10-31T16:16:59.953Z DEBUG plugin-manager: started(28340) /opt/cln/v23.05gl1/usr/local/libexec/c-lightning/plugins/txprepare +lightningd-1 2023-10-31T16:16:59.953Z DEBUG plugin-manager: started(28339) /opt/cln/v23.05gl1/usr/local/libexec/c-lightning/plugins/pay +lightningd-2 2023-10-31T16:16:59.970Z DEBUG plugin-manager: started(28342) /opt/cln/v23.05gl1/usr/local/libexec/c-lightning/plugins/spenderp +lightningd-1 2023-10-31T16:16:59.976Z DEBUG plugin-manager: started(28341) /opt/cln/v23.05gl1/usr/local/libexec/c-lightning/plugins/txprepare +lightningd-2 2023-10-31T16:16:59.987Z DEBUG plugin-manager: started(28343) /opt/cln/v23.05gl1/usr/local/libexec/c-lightning/plugins/sql +lightningd-1 2023-10-31T16:16:59.991Z DEBUG plugin-manager: started(28344) /opt/cln/v23.05gl1/usr/local/libexec/c-lightning/plugins/spenderp +lightningd-1 2023-10-31T16:17:00.008Z DEBUG plugin-manager: started(28346) /opt/cln/v23.05gl1/usr/local/libexec/c-lightning/plugins/sql +lightningd-2 2023-10-31T16:17:00.011Z DEBUG plugin-manager: started(28345) /opt/cln/v23.05gl1/usr/local/libexec/c-lightning/plugins/bookkeeper +lightningd-1 2023-10-31T16:17:00.034Z DEBUG plugin-manager: started(28347) /opt/cln/v23.05gl1/usr/local/libexec/c-lightning/plugins/bookkeeper +lightningd-2 2023-10-31T16:17:00.055Z DEBUG lightningd: io_break: check_plugins_manifests +lightningd-2 2023-10-31T16:17:00.056Z DEBUG lightningd: io_loop_with_timers: plugins_init +lightningd-2 2023-10-31T16:17:00.063Z DEBUG lightningd: testing /opt/cln/v23.05gl1/usr/local/libexec/c-lightning/lightning_channeld +lightningd-1 2023-10-31T16:17:00.067Z DEBUG lightningd: io_break: check_plugins_manifests +lightningd-1 2023-10-31T16:17:00.067Z DEBUG lightningd: io_loop_with_timers: plugins_init +lightningd-1 2023-10-31T16:17:00.073Z DEBUG lightningd: testing /opt/cln/v23.05gl1/usr/local/libexec/c-lightning/lightning_channeld +lightningd-2 2023-10-31T16:17:00.079Z DEBUG lightningd: testing /opt/cln/v23.05gl1/usr/local/libexec/c-lightning/lightning_closingd +lightningd-1 2023-10-31T16:17:00.089Z DEBUG lightningd: testing /opt/cln/v23.05gl1/usr/local/libexec/c-lightning/lightning_closingd +lightningd-2 2023-10-31T16:17:00.095Z DEBUG lightningd: testing /opt/cln/v23.05gl1/usr/local/libexec/c-lightning/lightning_connectd +lightningd-1 2023-10-31T16:17:00.104Z DEBUG lightningd: testing /opt/cln/v23.05gl1/usr/local/libexec/c-lightning/lightning_connectd +lightningd-2 2023-10-31T16:17:00.109Z DEBUG lightningd: testing /opt/cln/v23.05gl1/usr/local/libexec/c-lightning/lightning_gossipd +lightningd-1 2023-10-31T16:17:00.119Z DEBUG lightningd: testing /opt/cln/v23.05gl1/usr/local/libexec/c-lightning/lightning_gossipd +lightningd-2 2023-10-31T16:17:00.123Z DEBUG lightningd: testing /opt/cln/v23.05gl1/usr/local/libexec/c-lightning/lightning_hsmd +lightningd-1 2023-10-31T16:17:00.133Z DEBUG lightningd: testing /opt/cln/v23.05gl1/usr/local/libexec/c-lightning/lightning_hsmd +lightningd-2 2023-10-31T16:17:00.137Z DEBUG lightningd: testing /opt/cln/v23.05gl1/usr/local/libexec/c-lightning/lightning_onchaind +lightningd-1 2023-10-31T16:17:00.147Z DEBUG lightningd: testing /opt/cln/v23.05gl1/usr/local/libexec/c-lightning/lightning_onchaind +lightningd-2 2023-10-31T16:17:00.152Z DEBUG lightningd: testing /opt/cln/v23.05gl1/usr/local/libexec/c-lightning/lightning_openingd +lightningd-1 2023-10-31T16:17:00.163Z DEBUG lightningd: testing /opt/cln/v23.05gl1/usr/local/libexec/c-lightning/lightning_openingd +lightningd-2 2023-10-31T16:17:00.167Z DEBUG hsmd: pid 28362, msgfd 46 +lightningd-2 2023-10-31T16:17:00.177Z DEBUG hsmd: capability +WIRE_HSMD_CHECK_PUBKEY +lightningd-2 2023-10-31T16:17:00.177Z DEBUG hsmd: capability +WIRE_HSMD_SIGN_ANY_DELAYED_PAYMENT_TO_US +lightningd-2 2023-10-31T16:17:00.180Z INFO lightningd: Creating database +lightningd-1 2023-10-31T16:17:00.181Z DEBUG hsmd: pid 28363, msgfd 46 +lightningd-1 2023-10-31T16:17:00.196Z DEBUG hsmd: capability +WIRE_HSMD_CHECK_PUBKEY +lightningd-1 2023-10-31T16:17:00.196Z DEBUG hsmd: capability +WIRE_HSMD_SIGN_ANY_DELAYED_PAYMENT_TO_US +lightningd-1 2023-10-31T16:17:00.199Z INFO lightningd: Creating database +lightningd-2 2023-10-31T16:17:00.276Z DEBUG connectd: pid 28364, msgfd 50 +lightningd-2 2023-10-31T16:17:00.277Z DEBUG hsmd: Client: Received message 27 from client +lightningd-2 2023-10-31T16:17:00.277Z DEBUG hsmd: new_client: 0 +lightningd-2 2023-10-31T16:17:00.290Z DEBUG connectd: Created listener on 127.0.0.1:43331 +lightningd-2 2023-10-31T16:17:00.290Z DEBUG connectd: REPLY WIRE_CONNECTD_INIT_REPLY with 0 fds +lightningd-2 2023-10-31T16:17:00.290Z DEBUG lightningd: io_break: connect_init_done +lightningd-2 2023-10-31T16:17:00.291Z DEBUG lightningd: io_loop: connectd_init +lightningd-1 2023-10-31T16:17:00.297Z DEBUG connectd: pid 28365, msgfd 50 +lightningd-1 2023-10-31T16:17:00.298Z DEBUG hsmd: Client: Received message 27 from client +lightningd-1 2023-10-31T16:17:00.299Z DEBUG hsmd: new_client: 0 +lightningd-2 2023-10-31T16:17:00.311Z INFO plugin-bcli: bitcoin-cli initialized and connected to bitcoind. +lightningd-2 2023-10-31T16:17:00.312Z DEBUG lightningd: io_break: plugin_config_cb +lightningd-2 2023-10-31T16:17:00.312Z DEBUG lightningd: io_loop_with_timers: config_plugin +lightningd-2 2023-10-31T16:17:00.312Z DEBUG lightningd: All Bitcoin plugin commands registered +lightningd-1 2023-10-31T16:17:00.315Z DEBUG connectd: Created listener on 127.0.0.1:45149 +lightningd-1 2023-10-31T16:17:00.315Z DEBUG connectd: REPLY WIRE_CONNECTD_INIT_REPLY with 0 fds +lightningd-1 2023-10-31T16:17:00.315Z DEBUG lightningd: io_break: connect_init_done +lightningd-1 2023-10-31T16:17:00.316Z DEBUG lightningd: io_loop: connectd_init +lightningd-1 2023-10-31T16:17:00.366Z INFO plugin-bcli: bitcoin-cli initialized and connected to bitcoind. +lightningd-1 2023-10-31T16:17:00.366Z DEBUG lightningd: io_break: plugin_config_cb +lightningd-1 2023-10-31T16:17:00.366Z DEBUG lightningd: io_loop_with_timers: config_plugin +lightningd-1 2023-10-31T16:17:00.367Z DEBUG lightningd: All Bitcoin plugin commands registered +lightningd-2 2023-10-31T16:17:00.416Z DEBUG lightningd: Adding block 100: 1d3082f77ae5f8339fa37e26113c2bc78121feebac8c1ce7aadcb7ca5cd6fd4e +lightningd-1 2023-10-31T16:17:00.428Z DEBUG lightningd: Adding block 100: 1d3082f77ae5f8339fa37e26113c2bc78121feebac8c1ce7aadcb7ca5cd6fd4e +lightningd-2 2023-10-31T16:17:00.437Z DEBUG lightningd: io_break: maybe_completed_init +lightningd-2 2023-10-31T16:17:00.437Z DEBUG lightningd: io_loop_with_timers: setup_topology +lightningd-2 2023-10-31T16:17:00.439Z DEBUG wallet: Loaded 0 channels from DB +lightningd-2 2023-10-31T16:17:00.445Z DEBUG gossipd: pid 28383, msgfd 49 +lightningd-2 2023-10-31T16:17:00.446Z DEBUG hsmd: new_client: 0 +lightningd-1 2023-10-31T16:17:00.454Z DEBUG lightningd: io_break: maybe_completed_init +lightningd-1 2023-10-31T16:17:00.454Z DEBUG lightningd: io_loop_with_timers: setup_topology +lightningd-1 2023-10-31T16:17:00.456Z DEBUG wallet: Loaded 0 channels from DB +lightningd-2 2023-10-31T16:17:00.461Z DEBUG gossipd: total store load time: 0 msec +lightningd-2 2023-10-31T16:17:00.461Z DEBUG gossipd: gossip_store: Read 0/0/0/0 cannounce/cupdate/nannounce/cdelete from store (0 deleted) in 1 bytes +lightningd-2 2023-10-31T16:17:00.461Z DEBUG gossipd: seeker: state = STARTING_UP New seeker +lightningd-2 2023-10-31T16:17:00.462Z DEBUG gossipd: REPLY WIRE_GOSSIPD_INIT_REPLY with 0 fds +lightningd-2 2023-10-31T16:17:00.462Z DEBUG lightningd: io_break: gossipd_init_done +lightningd-2 2023-10-31T16:17:00.463Z DEBUG lightningd: io_loop: gossip_init +lightningd-2 2023-10-31T16:17:00.473Z DEBUG lightningd: Looking for [commando,blacklist] +lightningd-2 2023-10-31T16:17:00.475Z DEBUG lightningd: Looking for [commando,rune_counter] +lightningd-2 2023-10-31T16:17:00.479Z DEBUG lightningd: Looking for [commando,secret] +lightningd-1 2023-10-31T16:17:00.481Z DEBUG gossipd: pid 28385, msgfd 49 +lightningd-1 2023-10-31T16:17:00.482Z DEBUG hsmd: new_client: 0 +lightningd-2 2023-10-31T16:17:00.484Z DEBUG plugin-bookkeeper: Setting up database at sqlite3://accounts.sqlite3 +lightningd-2 2023-10-31T16:17:00.485Z INFO plugin-bookkeeper: Creating database +lightningd-2 2023-10-31T16:17:00.500Z DEBUG hsmd: Client: Received message 27 from client +lightningd-1 2023-10-31T16:17:00.504Z DEBUG gossipd: total store load time: 0 msec +lightningd-1 2023-10-31T16:17:00.504Z DEBUG gossipd: gossip_store: Read 0/0/0/0 cannounce/cupdate/nannounce/cdelete from store (0 deleted) in 1 bytes +lightningd-1 2023-10-31T16:17:00.505Z DEBUG gossipd: seeker: state = STARTING_UP New seeker +lightningd-1 2023-10-31T16:17:00.505Z DEBUG gossipd: REPLY WIRE_GOSSIPD_INIT_REPLY with 0 fds +lightningd-1 2023-10-31T16:17:00.505Z DEBUG lightningd: io_break: gossipd_init_done +lightningd-1 2023-10-31T16:17:00.506Z DEBUG lightningd: io_loop: gossip_init +lightningd-2 2023-10-31T16:17:00.519Z DEBUG lightningd: Looking for [autoclean,succeededforwards,num] +lightningd-1 2023-10-31T16:17:00.522Z DEBUG plugin-bookkeeper: Setting up database at sqlite3://accounts.sqlite3 +lightningd-1 2023-10-31T16:17:00.523Z INFO plugin-bookkeeper: Creating database +lightningd-2 2023-10-31T16:17:00.523Z DEBUG hsmd: Client: Received message 27 from client +lightningd-2 2023-10-31T16:17:00.526Z DEBUG lightningd: Looking for [autoclean,failedforwards,num] +lightningd-2 2023-10-31T16:17:00.528Z DEBUG lightningd: Looking for [autoclean,succeededpays,num] +lightningd-1 2023-10-31T16:17:00.528Z DEBUG lightningd: Looking for [commando,blacklist] +lightningd-2 2023-10-31T16:17:00.532Z DEBUG hsmd: Client: Received message 27 from client +lightningd-2 2023-10-31T16:17:00.534Z DEBUG lightningd: Looking for [autoclean,failedpays,num] +lightningd-2 2023-10-31T16:17:00.536Z DEBUG plugin-chanbackup: Chanbackup Initialised! +lightningd-2 2023-10-31T16:17:00.536Z INFO plugin-chanbackup: Creating Emergency Recovery +lightningd-2 2023-10-31T16:17:00.538Z DEBUG lightningd: Looking for [autoclean,paidinvoices,num] +lightningd-2 2023-10-31T16:17:00.540Z DEBUG lightningd: Looking for [autoclean,expiredinvoices,num] +lightningd-1 2023-10-31T16:17:00.542Z DEBUG lightningd: Looking for [commando,rune_counter] +lightningd-2 2023-10-31T16:17:00.544Z DEBUG connectd: REPLY WIRE_CONNECTD_ACTIVATE_REPLY with 0 fds +lightningd-2 2023-10-31T16:17:00.545Z DEBUG lightningd: io_break: connect_activate_done +lightningd-2 2023-10-31T16:17:00.545Z DEBUG lightningd: io_loop: connectd_activate +lightningd-2 2023-10-31T16:17:00.548Z INFO lightningd: -------------------------------------------------- +lightningd-2 2023-10-31T16:17:00.549Z INFO lightningd: Server started with public key 022d223620a359a47ff7f7ac447c85c46c923da53389221a0054c11c1e3ca31d59, alias SILENTARTIST-v23.05gl1 (color #022d22) and lightningd v23.05gl1 +lightningd-1 2023-10-31T16:17:00.551Z DEBUG lightningd: Looking for [commando,secret] +lightningd-1 2023-10-31T16:17:00.556Z DEBUG lightningd: Looking for [autoclean,succeededforwards,num] +lightningd-1 2023-10-31T16:17:00.559Z DEBUG hsmd: Client: Received message 27 from client +lightningd-1 2023-10-31T16:17:00.563Z DEBUG lightningd: Looking for [autoclean,failedforwards,num] +lightningd-1 2023-10-31T16:17:00.569Z DEBUG hsmd: Client: Received message 27 from client +lightningd-1 2023-10-31T16:17:00.569Z DEBUG lightningd: Looking for [autoclean,succeededpays,num] +lightningd-1 2023-10-31T16:17:00.572Z DEBUG hsmd: Client: Received message 27 from client +lightningd-1 2023-10-31T16:17:00.572Z DEBUG lightningd: Looking for [autoclean,failedpays,num] +lightningd-1 2023-10-31T16:17:00.573Z DEBUG plugin-chanbackup: Chanbackup Initialised! +lightningd-1 2023-10-31T16:17:00.574Z INFO plugin-chanbackup: Creating Emergency Recovery +lightningd-1 2023-10-31T16:17:00.575Z DEBUG lightningd: Looking for [autoclean,paidinvoices,num] +lightningd-1 2023-10-31T16:17:00.577Z DEBUG lightningd: Looking for [autoclean,expiredinvoices,num] +lightningd-1 2023-10-31T16:17:00.579Z DEBUG connectd: REPLY WIRE_CONNECTD_ACTIVATE_REPLY with 0 fds +lightningd-1 2023-10-31T16:17:00.579Z DEBUG lightningd: io_break: connect_activate_done +lightningd-1 2023-10-31T16:17:00.580Z DEBUG lightningd: io_loop: connectd_activate +lightningd-1 2023-10-31T16:17:00.581Z INFO lightningd: -------------------------------------------------- +lightningd-1 2023-10-31T16:17:00.583Z INFO lightningd: Server started with public key 0266e4598d1d3c415f572a8488830b60f7e744ed9235eb0b1ba93283b315c03518, alias JUNIORBEAM-v23.05gl1 (color #0266e4) and lightningd v23.05gl1 +lightningd-2 2023-10-31T16:17:00.588Z DEBUG lightningd: Adding block 101: 1be50df8232cb188b5963c9b6810362ed26d084f46d1a9dcab97d3760c11c6dc +lightningd-2 2023-10-31T16:17:00.602Z DEBUG gossipd: REPLY WIRE_GOSSIPD_NEW_BLOCKHEIGHT_REPLY with 0 fds +lightningd-2 2023-10-31T16:17:00.605Z DEBUG plugin-bookkeeper: account wallet has balance 0msat +lightningd-2 2023-10-31T16:17:00.605Z DEBUG plugin-bookkeeper: Snapshot balance does not equal ondisk reported 0msat, off by (+0msat/-0msat) (account wallet) Logging journal entry. +lightningd-2 2023-10-31T16:17:00.605Z INFO plugin-bookkeeper: account wallet not found, adding along with new balance +lightningd-2 2023-10-31T16:17:00.605Z DEBUG plugin-bookkeeper: Snapshot balances updated +lightningd-1 2023-10-31T16:17:00.611Z DEBUG lightningd: Adding block 101: 1be50df8232cb188b5963c9b6810362ed26d084f46d1a9dcab97d3760c11c6dc +lightningd-1 2023-10-31T16:17:00.620Z DEBUG gossipd: REPLY WIRE_GOSSIPD_NEW_BLOCKHEIGHT_REPLY with 0 fds +lightningd-1 2023-10-31T16:17:00.623Z DEBUG plugin-bookkeeper: account wallet has balance 0msat +lightningd-1 2023-10-31T16:17:00.623Z DEBUG plugin-bookkeeper: Snapshot balance does not equal ondisk reported 0msat, off by (+0msat/-0msat) (account wallet) Logging journal entry. +lightningd-1 2023-10-31T16:17:00.623Z INFO plugin-bookkeeper: account wallet not found, adding along with new balance +lightningd-1 2023-10-31T16:17:00.624Z DEBUG plugin-bookkeeper: Snapshot balances updated +Found 're.compile('Server started with public key')' in logs +LightningD started +{ + "id": "pytest:getinfo#1", + "method": "getinfo", + "params": null, + "filter": null +} +Calling getinfo with payload None +Found 're.compile('Server started with public key')' in logs +LightningD started +{ + "id": "pytest:getinfo#1", + "method": "getinfo", + "params": null, + "filter": null +} +Calling getinfo with payload None +Received response for getinfo call: {'jsonrpc': '2.0', 'id': 'pytest:getinfo#1', 'result': {'id': '022d223620a359a47ff7f7ac447c85c46c923da53389221a0054c11c1e3ca31d59', 'alias': 'SILENTARTIST-v23.05gl1', 'color': '022d22', 'num_peers': 0, 'num_pending_channels': 0, 'num_active_channels': 0, 'num_inactive_channels': 0, 'address': [], 'binding': [{'type': 'ipv4', 'address': '127.0.0.1', 'port': 43331}], 'version': 'v23.05gl1', 'blockheight': 101, 'network': 'regtest', 'fees_collected_msat': 0msat, 'lightning-dir': '/tmp/gltesting/tmp/tmprvad17gw/lightning-2/regtest', 'our_features': {'init': '08a0880a2269a2', 'node': '88a0880a2269a2', 'channel': '', 'invoice': '02000002024100'}}} +{ + "id": "pytest:getinfo#1", + "result": { + "id": "022d223620a359a47ff7f7ac447c85c46c923da53389221a0054c11c1e3ca31d59", + "alias": "SILENTARTIST-v23.05gl1", + "color": "022d22", + "num_peers": 0, + "num_pending_channels": 0, + "num_active_channels": 0, + "num_inactive_channels": 0, + "address": [], + "binding": [ + { + "type": "ipv4", + "address": "127.0.0.1", + "port": 43331 + } + ], + "version": "v23.05gl1", + "blockheight": 101, + "network": "regtest", + "fees_collected_msat": "0msat", + "lightning-dir": "/tmp/gltesting/tmp/tmprvad17gw/lightning-2/regtest", + "our_features": { + "init": "08a0880a2269a2", + "node": "88a0880a2269a2", + "channel": "", + "invoice": "02000002024100" + } + } +} +Received response for getinfo call: {'jsonrpc': '2.0', 'id': 'pytest:getinfo#1', 'result': {'id': '0266e4598d1d3c415f572a8488830b60f7e744ed9235eb0b1ba93283b315c03518', 'alias': 'JUNIORBEAM-v23.05gl1', 'color': '0266e4', 'num_peers': 0, 'num_pending_channels': 0, 'num_active_channels': 0, 'num_inactive_channels': 0, 'address': [], 'binding': [{'type': 'ipv4', 'address': '127.0.0.1', 'port': 45149}], 'version': 'v23.05gl1', 'blockheight': 101, 'network': 'regtest', 'fees_collected_msat': 0msat, 'lightning-dir': '/tmp/gltesting/tmp/tmprvad17gw/lightning-1/regtest', 'our_features': {'init': '08a0880a2269a2', 'node': '88a0880a2269a2', 'channel': '', 'invoice': '02000002024100'}}} +{ + "id": "pytest:getinfo#1", + "result": { + "id": "0266e4598d1d3c415f572a8488830b60f7e744ed9235eb0b1ba93283b315c03518", + "alias": "JUNIORBEAM-v23.05gl1", + "color": "0266e4", + "num_peers": 0, + "num_pending_channels": 0, + "num_active_channels": 0, + "num_inactive_channels": 0, + "address": [], + "binding": [ + { + "type": "ipv4", + "address": "127.0.0.1", + "port": 45149 + } + ], + "version": "v23.05gl1", + "blockheight": 101, + "network": "regtest", + "fees_collected_msat": "0msat", + "lightning-dir": "/tmp/gltesting/tmp/tmprvad17gw/lightning-1/regtest", + "our_features": { + "init": "08a0880a2269a2", + "node": "88a0880a2269a2", + "channel": "", + "invoice": "02000002024100" + } + } +} +{ + "id": "pytest:connect#2", + "method": "connect", + "params": { + "id": "022d223620a359a47ff7f7ac447c85c46c923da53389221a0054c11c1e3ca31d59", + "host": "localhost", + "port": 43331 + }, + "filter": null +} +Calling connect with payload {'id': '022d223620a359a47ff7f7ac447c85c46c923da53389221a0054c11c1e3ca31d59', 'host': 'localhost', 'port': 43331} +lightningd-1 2023-10-31T16:17:00.668Z DEBUG gossipd: REPLY WIRE_GOSSIPD_GET_ADDRS_REPLY with 0 fds +lightningd-2 2023-10-31T16:17:00.672Z DEBUG 022d223620a359a47ff7f7ac447c85c46c923da53389221a0054c11c1e3ca31d59-hsmd: Got WIRE_HSMD_ECDH_REQ +lightningd-2 2023-10-31T16:17:00.673Z DEBUG 0266e4598d1d3c415f572a8488830b60f7e744ed9235eb0b1ba93283b315c03518-connectd: Connect IN +lightningd-1 2023-10-31T16:17:00.672Z DEBUG 0266e4598d1d3c415f572a8488830b60f7e744ed9235eb0b1ba93283b315c03518-hsmd: Got WIRE_HSMD_ECDH_REQ +lightningd-2 2023-10-31T16:17:00.673Z DEBUG 0266e4598d1d3c415f572a8488830b60f7e744ed9235eb0b1ba93283b315c03518-gossipd: seeker: chosen as startup peer +lightningd-2 2023-10-31T16:17:00.674Z DEBUG hsmd: Client: Received message 1 from client +lightningd-1 2023-10-31T16:17:00.674Z DEBUG 022d223620a359a47ff7f7ac447c85c46c923da53389221a0054c11c1e3ca31d59-connectd: Connected out, starting crypto +lightningd-2 2023-10-31T16:17:00.674Z DEBUG 0266e4598d1d3c415f572a8488830b60f7e744ed9235eb0b1ba93283b315c03518-connectd: peer_out WIRE_INIT +lightningd-2 2023-10-31T16:17:00.674Z DEBUG 0266e4598d1d3c415f572a8488830b60f7e744ed9235eb0b1ba93283b315c03518-gossipd: seeker: starting gossip +lightningd-1 2023-10-31T16:17:00.674Z DEBUG 022d223620a359a47ff7f7ac447c85c46c923da53389221a0054c11c1e3ca31d59-gossipd: seeker: chosen as startup peer +lightningd-2 2023-10-31T16:17:00.675Z DEBUG 0266e4598d1d3c415f572a8488830b60f7e744ed9235eb0b1ba93283b315c03518-connectd: peer_in WIRE_INIT +lightningd-2 2023-10-31T16:17:00.675Z DEBUG lightningd: Calling peer_connected hook of plugin chanbackup +lightningd-2 2023-10-31T16:17:00.677Z DEBUG lightningd: Plugin chanbackup returned from peer_connected hook call +lightningd-1 2023-10-31T16:17:00.677Z DEBUG hsmd: Client: Received message 1 from client +lightningd-2 2023-10-31T16:17:00.678Z DEBUG 0266e4598d1d3c415f572a8488830b60f7e744ed9235eb0b1ba93283b315c03518-connectd: Handed peer, entering loop +lightningd-1 2023-10-31T16:17:00.678Z DEBUG 022d223620a359a47ff7f7ac447c85c46c923da53389221a0054c11c1e3ca31d59-connectd: Connect OUT +lightningd-2 2023-10-31T16:17:00.678Z DEBUG 0266e4598d1d3c415f572a8488830b60f7e744ed9235eb0b1ba93283b315c03518-connectd: peer_out WIRE_GOSSIP_TIMESTAMP_FILTER +lightningd-2 2023-10-31T16:17:00.678Z DEBUG 0266e4598d1d3c415f572a8488830b60f7e744ed9235eb0b1ba93283b315c03518-connectd: peer_in WIRE_GOSSIP_TIMESTAMP_FILTER +lightningd-1 2023-10-31T16:17:00.678Z DEBUG 022d223620a359a47ff7f7ac447c85c46c923da53389221a0054c11c1e3ca31d59-gossipd: seeker: starting gossip +lightningd-1 2023-10-31T16:17:00.679Z DEBUG 022d223620a359a47ff7f7ac447c85c46c923da53389221a0054c11c1e3ca31d59-connectd: peer_out WIRE_INIT +lightningd-1 2023-10-31T16:17:00.680Z DEBUG 022d223620a359a47ff7f7ac447c85c46c923da53389221a0054c11c1e3ca31d59-connectd: peer_in WIRE_INIT +lightningd-1 2023-10-31T16:17:00.681Z DEBUG lightningd: Calling peer_connected hook of plugin chanbackup +lightningd-1 2023-10-31T16:17:00.682Z DEBUG lightningd: Plugin chanbackup returned from peer_connected hook call +lightningd-1 2023-10-31T16:17:00.684Z DEBUG 022d223620a359a47ff7f7ac447c85c46c923da53389221a0054c11c1e3ca31d59-connectd: Handed peer, entering loop +Received response for connect call: {'jsonrpc': '2.0', 'id': 'pytest:connect#2', 'result': {'id': '022d223620a359a47ff7f7ac447c85c46c923da53389221a0054c11c1e3ca31d59', 'features': '08a0880a2269a2', 'direction': 'out', 'address': {'type': 'ipv4', 'address': '127.0.0.1', 'port': 43331}}} +{ + "id": "pytest:connect#2", + "result": { + "id": "022d223620a359a47ff7f7ac447c85c46c923da53389221a0054c11c1e3ca31d59", + "features": "08a0880a2269a2", + "direction": "out", + "address": { + "type": "ipv4", + "address": "127.0.0.1", + "port": 43331 + } + } +} +{ + "id": "pytest:newaddr#3", + "method": "newaddr", + "params": { + "addresstype": null + }, + "filter": null +} +Calling newaddr with payload {'addresstype': None} +lightningd-1 2023-10-31T16:17:00.686Z DEBUG 022d223620a359a47ff7f7ac447c85c46c923da53389221a0054c11c1e3ca31d59-connectd: peer_in WIRE_GOSSIP_TIMESTAMP_FILTER +lightningd-1 2023-10-31T16:17:00.691Z DEBUG 022d223620a359a47ff7f7ac447c85c46c923da53389221a0054c11c1e3ca31d59-connectd: peer_out WIRE_GOSSIP_TIMESTAMP_FILTER +Received response for newaddr call: {'jsonrpc': '2.0', 'id': 'pytest:newaddr#3', 'result': {'bech32': 'bcrt1qq8adjz4u6enf0cjey9j8yt0y490tact93fzgsf'}} +{ + "id": "pytest:newaddr#3", + "result": { + "bech32": "bcrt1qq8adjz4u6enf0cjey9j8yt0y490tact93fzgsf" + } +} +lightningd-1 2023-10-31T16:17:00.696Z DEBUG hsmd: Client: Received message 28 from client +Calling sendtoaddress with arguments ('bcrt1qq8adjz4u6enf0cjey9j8yt0y490tact93fzgsf', 0.02) +Result for sendtoaddress call: 0f5e1c2434449b83aadae4502c654e45b2397b3890548a826673554bb06fe046 +Calling getrawmempool with arguments (True,) +Result for getrawmempool call: {'0f5e1c2434449b83aadae4502c654e45b2397b3890548a826673554bb06fe046': {'vsize': 141, 'weight': 561, 'time': 1698769020, 'height': 101, 'descendantcount': 1, 'descendantsize': 141, 'ancestorcount': 1, 'ancestorsize': 141, 'wtxid': 'f2cbde43576c2b0ff7b89eef3a3d4db9c198f2586165f26cf872991d219d94e3', 'fees': {'base': Decimal('0.00000141'), 'modified': Decimal('0.00000141'), 'ancestor': Decimal('0.00000141'), 'descendant': Decimal('0.00000141')}, 'depends': [], 'spentby': [], 'bip125-replaceable': True, 'unbroadcast': True}} +Generating 1, confirming 1 transactions: {'0f5e1c2434449b83aadae4502c654e45b2397b3890548a826673554bb06fe046': {'vsize': 141, 'weight': 561, 'time': 1698769020, 'height': 101, 'descendantcount': 1, 'descendantsize': 141, 'ancestorcount': 1, 'ancestorsize': 141, 'wtxid': 'f2cbde43576c2b0ff7b89eef3a3d4db9c198f2586165f26cf872991d219d94e3', 'fees': {'base': Decimal('0.00000141'), 'modified': Decimal('0.00000141'), 'ancestor': Decimal('0.00000141'), 'descendant': Decimal('0.00000141')}, 'depends': [], 'spentby': [], 'bip125-replaceable': True, 'unbroadcast': True}} +Calling getnewaddress with arguments () +Result for getnewaddress call: bcrt1q5j7f496y8ummj33f3xjt0k4ztjjygassr3e6j4 +Calling generatetoaddress with arguments (1, 'bcrt1q5j7f496y8ummj33f3xjt0k4ztjjygassr3e6j4') +Result for generatetoaddress call: ['7b97bd12362283914bbc341ae1d726cbc7756b99dab93531fe5939696e7d8786'] +Calling getblockchaininfo with arguments () +Result for getblockchaininfo call: {'chain': 'regtest', 'blocks': 102, 'headers': 102, 'bestblockhash': '7b97bd12362283914bbc341ae1d726cbc7756b99dab93531fe5939696e7d8786', 'difficulty': Decimal('4.656542373906925E-10'), 'time': 1698769036, 'mediantime': 1698769035, 'verificationprogress': 1, 'initialblockdownload': False, 'chainwork': '00000000000000000000000000000000000000000000000000000000000000ce', 'size_on_disk': 30922, 'pruned': False, 'warnings': ''} +{ + "id": "pytest:getinfo#4", + "method": "getinfo", + "params": null, + "filter": null +} +Calling getinfo with payload None +Received response for getinfo call: {'jsonrpc': '2.0', 'id': 'pytest:getinfo#4', 'result': {'id': '0266e4598d1d3c415f572a8488830b60f7e744ed9235eb0b1ba93283b315c03518', 'alias': 'JUNIORBEAM-v23.05gl1', 'color': '0266e4', 'num_peers': 1, 'num_pending_channels': 0, 'num_active_channels': 0, 'num_inactive_channels': 0, 'address': [], 'binding': [{'type': 'ipv4', 'address': '127.0.0.1', 'port': 45149}], 'version': 'v23.05gl1', 'blockheight': 101, 'network': 'regtest', 'fees_collected_msat': 0msat, 'lightning-dir': '/tmp/gltesting/tmp/tmprvad17gw/lightning-1/regtest', 'our_features': {'init': '08a0880a2269a2', 'node': '88a0880a2269a2', 'channel': '', 'invoice': '02000002024100'}}} +{ + "id": "pytest:getinfo#4", + "result": { + "id": "0266e4598d1d3c415f572a8488830b60f7e744ed9235eb0b1ba93283b315c03518", + "alias": "JUNIORBEAM-v23.05gl1", + "color": "0266e4", + "num_peers": 1, + "num_pending_channels": 0, + "num_active_channels": 0, + "num_inactive_channels": 0, + "address": [], + "binding": [ + { + "type": "ipv4", + "address": "127.0.0.1", + "port": 45149 + } + ], + "version": "v23.05gl1", + "blockheight": 101, + "network": "regtest", + "fees_collected_msat": "0msat", + "lightning-dir": "/tmp/gltesting/tmp/tmprvad17gw/lightning-1/regtest", + "our_features": { + "init": "08a0880a2269a2", + "node": "88a0880a2269a2", + "channel": "", + "invoice": "02000002024100" + } + } +} +{ + "id": "pytest:getinfo#5", + "method": "getinfo", + "params": null, + "filter": null +} +Calling getinfo with payload None +Received response for getinfo call: {'jsonrpc': '2.0', 'id': 'pytest:getinfo#5', 'result': {'id': '0266e4598d1d3c415f572a8488830b60f7e744ed9235eb0b1ba93283b315c03518', 'alias': 'JUNIORBEAM-v23.05gl1', 'color': '0266e4', 'num_peers': 1, 'num_pending_channels': 0, 'num_active_channels': 0, 'num_inactive_channels': 0, 'address': [], 'binding': [{'type': 'ipv4', 'address': '127.0.0.1', 'port': 45149}], 'version': 'v23.05gl1', 'blockheight': 101, 'network': 'regtest', 'fees_collected_msat': 0msat, 'lightning-dir': '/tmp/gltesting/tmp/tmprvad17gw/lightning-1/regtest', 'our_features': {'init': '08a0880a2269a2', 'node': '88a0880a2269a2', 'channel': '', 'invoice': '02000002024100'}}} +{ + "id": "pytest:getinfo#5", + "result": { + "id": "0266e4598d1d3c415f572a8488830b60f7e744ed9235eb0b1ba93283b315c03518", + "alias": "JUNIORBEAM-v23.05gl1", + "color": "0266e4", + "num_peers": 1, + "num_pending_channels": 0, + "num_active_channels": 0, + "num_inactive_channels": 0, + "address": [], + "binding": [ + { + "type": "ipv4", + "address": "127.0.0.1", + "port": 45149 + } + ], + "version": "v23.05gl1", + "blockheight": 101, + "network": "regtest", + "fees_collected_msat": "0msat", + "lightning-dir": "/tmp/gltesting/tmp/tmprvad17gw/lightning-1/regtest", + "our_features": { + "init": "08a0880a2269a2", + "node": "88a0880a2269a2", + "channel": "", + "invoice": "02000002024100" + } + } +} +{ + "id": "pytest:getinfo#6", + "method": "getinfo", + "params": null, + "filter": null +} +Calling getinfo with payload None +Received response for getinfo call: {'jsonrpc': '2.0', 'id': 'pytest:getinfo#6', 'result': {'id': '0266e4598d1d3c415f572a8488830b60f7e744ed9235eb0b1ba93283b315c03518', 'alias': 'JUNIORBEAM-v23.05gl1', 'color': '0266e4', 'num_peers': 1, 'num_pending_channels': 0, 'num_active_channels': 0, 'num_inactive_channels': 0, 'address': [], 'binding': [{'type': 'ipv4', 'address': '127.0.0.1', 'port': 45149}], 'version': 'v23.05gl1', 'blockheight': 101, 'network': 'regtest', 'fees_collected_msat': 0msat, 'lightning-dir': '/tmp/gltesting/tmp/tmprvad17gw/lightning-1/regtest', 'our_features': {'init': '08a0880a2269a2', 'node': '88a0880a2269a2', 'channel': '', 'invoice': '02000002024100'}}} +{ + "id": "pytest:getinfo#6", + "result": { + "id": "0266e4598d1d3c415f572a8488830b60f7e744ed9235eb0b1ba93283b315c03518", + "alias": "JUNIORBEAM-v23.05gl1", + "color": "0266e4", + "num_peers": 1, + "num_pending_channels": 0, + "num_active_channels": 0, + "num_inactive_channels": 0, + "address": [], + "binding": [ + { + "type": "ipv4", + "address": "127.0.0.1", + "port": 45149 + } + ], + "version": "v23.05gl1", + "blockheight": 101, + "network": "regtest", + "fees_collected_msat": "0msat", + "lightning-dir": "/tmp/gltesting/tmp/tmprvad17gw/lightning-1/regtest", + "our_features": { + "init": "08a0880a2269a2", + "node": "88a0880a2269a2", + "channel": "", + "invoice": "02000002024100" + } + } +} +lightningd-2 2023-10-31T16:17:01.629Z DEBUG lightningd: Adding block 102: 7b97bd12362283914bbc341ae1d726cbc7756b99dab93531fe5939696e7d8786 +lightningd-2 2023-10-31T16:17:01.650Z DEBUG gossipd: REPLY WIRE_GOSSIPD_NEW_BLOCKHEIGHT_REPLY with 0 fds +lightningd-1 2023-10-31T16:17:01.656Z DEBUG lightningd: Adding block 102: 7b97bd12362283914bbc341ae1d726cbc7756b99dab93531fe5939696e7d8786 +lightningd-1 2023-10-31T16:17:01.661Z DEBUG wallet: Owning output 1 2000000sat (SEGWIT) txid 0f5e1c2434449b83aadae4502c654e45b2397b3890548a826673554bb06fe046 CONFIRMED +lightningd-1 2023-10-31T16:17:01.668Z DEBUG plugin-bookkeeper: coin_move 2 (deposit) 2000000000msat -0msat chain_mvt 1698769021 +lightningd-1 2023-10-31T16:17:01.674Z DEBUG gossipd: REPLY WIRE_GOSSIPD_NEW_BLOCKHEIGHT_REPLY with 0 fds +{ + "id": "pytest:getinfo#7", + "method": "getinfo", + "params": null, + "filter": null +} +Calling getinfo with payload None +Received response for getinfo call: {'jsonrpc': '2.0', 'id': 'pytest:getinfo#7', 'result': {'id': '0266e4598d1d3c415f572a8488830b60f7e744ed9235eb0b1ba93283b315c03518', 'alias': 'JUNIORBEAM-v23.05gl1', 'color': '0266e4', 'num_peers': 1, 'num_pending_channels': 0, 'num_active_channels': 0, 'num_inactive_channels': 0, 'address': [], 'binding': [{'type': 'ipv4', 'address': '127.0.0.1', 'port': 45149}], 'version': 'v23.05gl1', 'blockheight': 102, 'network': 'regtest', 'fees_collected_msat': 0msat, 'lightning-dir': '/tmp/gltesting/tmp/tmprvad17gw/lightning-1/regtest', 'our_features': {'init': '08a0880a2269a2', 'node': '88a0880a2269a2', 'channel': '', 'invoice': '02000002024100'}}} +{ + "id": "pytest:getinfo#7", + "result": { + "id": "0266e4598d1d3c415f572a8488830b60f7e744ed9235eb0b1ba93283b315c03518", + "alias": "JUNIORBEAM-v23.05gl1", + "color": "0266e4", + "num_peers": 1, + "num_pending_channels": 0, + "num_active_channels": 0, + "num_inactive_channels": 0, + "address": [], + "binding": [ + { + "type": "ipv4", + "address": "127.0.0.1", + "port": 45149 + } + ], + "version": "v23.05gl1", + "blockheight": 102, + "network": "regtest", + "fees_collected_msat": "0msat", + "lightning-dir": "/tmp/gltesting/tmp/tmprvad17gw/lightning-1/regtest", + "our_features": { + "init": "08a0880a2269a2", + "node": "88a0880a2269a2", + "channel": "", + "invoice": "02000002024100" + } + } +} +{ + "id": "pytest:getinfo#2", + "method": "getinfo", + "params": null, + "filter": null +} +Calling getinfo with payload None +Received response for getinfo call: {'jsonrpc': '2.0', 'id': 'pytest:getinfo#2', 'result': {'id': '022d223620a359a47ff7f7ac447c85c46c923da53389221a0054c11c1e3ca31d59', 'alias': 'SILENTARTIST-v23.05gl1', 'color': '022d22', 'num_peers': 1, 'num_pending_channels': 0, 'num_active_channels': 0, 'num_inactive_channels': 0, 'address': [], 'binding': [{'type': 'ipv4', 'address': '127.0.0.1', 'port': 43331}], 'version': 'v23.05gl1', 'blockheight': 102, 'network': 'regtest', 'fees_collected_msat': 0msat, 'lightning-dir': '/tmp/gltesting/tmp/tmprvad17gw/lightning-2/regtest', 'our_features': {'init': '08a0880a2269a2', 'node': '88a0880a2269a2', 'channel': '', 'invoice': '02000002024100'}}} +{ + "id": "pytest:getinfo#2", + "result": { + "id": "022d223620a359a47ff7f7ac447c85c46c923da53389221a0054c11c1e3ca31d59", + "alias": "SILENTARTIST-v23.05gl1", + "color": "022d22", + "num_peers": 1, + "num_pending_channels": 0, + "num_active_channels": 0, + "num_inactive_channels": 0, + "address": [], + "binding": [ + { + "type": "ipv4", + "address": "127.0.0.1", + "port": 43331 + } + ], + "version": "v23.05gl1", + "blockheight": 102, + "network": "regtest", + "fees_collected_msat": "0msat", + "lightning-dir": "/tmp/gltesting/tmp/tmprvad17gw/lightning-2/regtest", + "our_features": { + "init": "08a0880a2269a2", + "node": "88a0880a2269a2", + "channel": "", + "invoice": "02000002024100" + } + } +} +{ + "id": "pytest:fundchannel#8", + "method": "fundchannel", + "params": { + "id": "022d223620a359a47ff7f7ac447c85c46c923da53389221a0054c11c1e3ca31d59", + "amount": 1000000, + "feerate": null, + "announce": true, + "minconf": null, + "utxos": null, + "push_msat": null, + "close_to": null, + "request_amt": null, + "compact_lease": null, + "mindepth": null, + "reserve": null + }, + "filter": null +} +Calling fundchannel with payload {'id': '022d223620a359a47ff7f7ac447c85c46c923da53389221a0054c11c1e3ca31d59', 'amount': 1000000, 'feerate': None, 'announce': True, 'minconf': None, 'utxos': None, 'push_msat': None, 'close_to': None, 'request_amt': None, 'compact_lease': None, 'mindepth': None, 'reserve': None} +lightningd-1 2023-10-31T16:17:02.541Z DEBUG plugin-spenderp: mfc 34: multiconnect. +lightningd-1 2023-10-31T16:17:02.541Z DEBUG plugin-spenderp: mfc 34, dest 0: connect 022d223620a359a47ff7f7ac447c85c46c923da53389221a0054c11c1e3ca31d59. +lightningd-1 2023-10-31T16:17:02.543Z DEBUG lightningd: Already connected via 127.0.0.1:43331 +lightningd-1 2023-10-31T16:17:02.548Z DEBUG plugin-spenderp: mfc 34, dest 0: connect done. +lightningd-1 2023-10-31T16:17:02.549Z DEBUG plugin-spenderp: mfc 34: multiconnect done. +lightningd-1 2023-10-31T16:17:02.552Z DEBUG plugin-spenderp: mfc 34: 'parsefeerate' done +lightningd-1 2023-10-31T16:17:02.552Z DEBUG plugin-spenderp: mfc 34: fundpsbt. +lightningd-1 2023-10-31T16:17:02.562Z DEBUG plugin-spenderp: mfc 34: fundpsbt done. +lightningd-1 2023-10-31T16:17:02.567Z DEBUG plugin-spenderp: mfc 34: fundchannel_start parallel with PSBT cHNidP8BAgQCAAAAAQMEZgAAAAEEAQEBBQEAAQYBAwH7BAIAAAAAAQDeAgAAAAABAXzooFhly5Wf1GY19Y7NBvUXyWf85xYBhw5KMGrxuEz1AAAAAAD9////AvNs5ykBAAAAFgAUjdwmji8diWIf+978eZ4HU+mRTPCAhB4AAAAAABYAFAH62Qq81maX4lkhZHIt5KlevuFlAkcwRAIgdB0h5pQmzJIcWsBQ1cT5Vzo/3Zf6PChs3oQfYwsmx+8CIE5YxoIMgaKq4eVN5LQ5gUDtGirL1yqMKl37no9nnP+XASEDdOOJbryAnjcnfrHkiVFUPrxjhQIBmmd5YFuKmIGEMbNlAAAAAQEfgIQeAAAAAAAWABQB+tkKvNZml+JZIWRyLeSpXr7hZQEOIEbgb7BLVXNmgopUkDh7ObJFTmUsUOTaqoObRDQkHF4PAQ8EAQAAAAEQBP3///8M/AlsaWdodG5pbmcBCAozTZ4PHqV+DPwJbGlnaHRuaW5nAgIAAQA= +lightningd-1 2023-10-31T16:17:02.567Z DEBUG plugin-spenderp: mfc 34, dest 0: fundchannel_start 022d223620a359a47ff7f7ac447c85c46c923da53389221a0054c11c1e3ca31d59. +lightningd-1 2023-10-31T16:17:02.567Z DEBUG hsmd: Client: Received message 28 from client +lightningd-1 2023-10-31T16:17:02.568Z DEBUG lightningd: fundchannel_start: allocating uncommitted_channel +lightningd-1 2023-10-31T16:17:02.577Z DEBUG 022d223620a359a47ff7f7ac447c85c46c923da53389221a0054c11c1e3ca31d59-openingd-chan#1: pid 28412, msgfd 67 +lightningd-1 2023-10-31T16:17:02.580Z DEBUG hsmd: Client: Received message 30 from client +lightningd-1 2023-10-31T16:17:02.580Z DEBUG hsmd: Client: Received message 10 from client +lightningd-1 2023-10-31T16:17:02.581Z DEBUG hsmd: new_client: 1 +lightningd-1 2023-10-31T16:17:02.597Z DEBUG 022d223620a359a47ff7f7ac447c85c46c923da53389221a0054c11c1e3ca31d59-hsmd: Got WIRE_HSMD_GET_PER_COMMITMENT_POINT +lightningd-1 2023-10-31T16:17:02.597Z DEBUG hsmd: Client: Received message 18 from client +lightningd-2 2023-10-31T16:17:02.598Z DEBUG 0266e4598d1d3c415f572a8488830b60f7e744ed9235eb0b1ba93283b315c03518-connectd: Activating for message WIRE_OPEN_CHANNEL +lightningd-1 2023-10-31T16:17:02.599Z DEBUG 022d223620a359a47ff7f7ac447c85c46c923da53389221a0054c11c1e3ca31d59-openingd-chan#1: funder_channel_start +lightningd-1 2023-10-31T16:17:02.600Z DEBUG 022d223620a359a47ff7f7ac447c85c46c923da53389221a0054c11c1e3ca31d59-openingd-chan#1: Setting their reserve to 10000sat +lightningd-1 2023-10-31T16:17:02.601Z DEBUG 022d223620a359a47ff7f7ac447c85c46c923da53389221a0054c11c1e3ca31d59-openingd-chan#1: peer_out WIRE_OPEN_CHANNEL +lightningd-1 2023-10-31T16:17:02.603Z DEBUG 022d223620a359a47ff7f7ac447c85c46c923da53389221a0054c11c1e3ca31d59-openingd-chan#1: billboard: Funding channel start: offered, now waiting for accept_channel +lightningd-2 2023-10-31T16:17:02.610Z DEBUG 0266e4598d1d3c415f572a8488830b60f7e744ed9235eb0b1ba93283b315c03518-openingd-chan#1: pid 28417, msgfd 66 +lightningd-2 2023-10-31T16:17:02.610Z DEBUG hsmd: Client: Received message 30 from client +lightningd-2 2023-10-31T16:17:02.611Z DEBUG hsmd: Client: Received message 10 from client +lightningd-2 2023-10-31T16:17:02.613Z DEBUG hsmd: new_client: 1 +lightningd-2 2023-10-31T16:17:02.629Z DEBUG 0266e4598d1d3c415f572a8488830b60f7e744ed9235eb0b1ba93283b315c03518-hsmd: Got WIRE_HSMD_GET_PER_COMMITMENT_POINT +lightningd-2 2023-10-31T16:17:02.630Z DEBUG hsmd: Client: Received message 18 from client +lightningd-2 2023-10-31T16:17:02.631Z DEBUG 0266e4598d1d3c415f572a8488830b60f7e744ed9235eb0b1ba93283b315c03518-openingd-chan#1: peer_in WIRE_OPEN_CHANNEL +lightningd-2 2023-10-31T16:17:02.632Z DEBUG 0266e4598d1d3c415f572a8488830b60f7e744ed9235eb0b1ba93283b315c03518-openingd-chan#1: Setting their reserve to 10000sat +lightningd-2 2023-10-31T16:17:02.634Z DEBUG 0266e4598d1d3c415f572a8488830b60f7e744ed9235eb0b1ba93283b315c03518-openingd-chan#1: peer_out WIRE_ACCEPT_CHANNEL +lightningd-1 2023-10-31T16:17:02.638Z DEBUG 022d223620a359a47ff7f7ac447c85c46c923da53389221a0054c11c1e3ca31d59-openingd-chan#1: peer_in WIRE_ACCEPT_CHANNEL +lightningd-1 2023-10-31T16:17:02.638Z DEBUG 022d223620a359a47ff7f7ac447c85c46c923da53389221a0054c11c1e3ca31d59-openingd-chan#1: accept_channel: max_htlc_value_in_flight=18446744073709551615msat, channel_reserve=10000sat, htlc_minimum=0msat, minimum_depth=1 +lightningd-2 2023-10-31T16:17:02.638Z DEBUG 0266e4598d1d3c415f572a8488830b60f7e744ed9235eb0b1ba93283b315c03518-openingd-chan#1: billboard: Incoming channel: accepted, now waiting for them to create funding tx +lightningd-1 2023-10-31T16:17:02.639Z DEBUG 022d223620a359a47ff7f7ac447c85c46c923da53389221a0054c11c1e3ca31d59-openingd-chan#1: We negotiated option_zeroconf, using our minimum_depth=1 +lightningd-1 2023-10-31T16:17:02.639Z DEBUG 022d223620a359a47ff7f7ac447c85c46c923da53389221a0054c11c1e3ca31d59-openingd-chan#1: billboard: Funding channel start: awaiting funding_txid with output to 00205b8cd3b914cf67cdd8fa6273c930353dd36476734fbd962102c2df53b90880cd +lightningd-1 2023-10-31T16:17:02.641Z DEBUG plugin-spenderp: mfc 34, dest 0: fundchannel_start 022d223620a359a47ff7f7ac447c85c46c923da53389221a0054c11c1e3ca31d59 done. +lightningd-1 2023-10-31T16:17:02.642Z DEBUG plugin-spenderp: mfc 34: parallel channel starts done. +lightningd-1 2023-10-31T16:17:02.642Z DEBUG plugin-spenderp: mfc 34: Creating funding tx. +lightningd-1 2023-10-31T16:17:02.642Z DEBUG plugin-spenderp: mfc 34: funding tx a205a7292a504e6497d62be873f29919876c22ae1bb27a7bd2d9d21cc2c12a88: 022d223620a359a47ff7f7ac447c85c46c923da53389221a0054c11c1e3ca31d59: 1000000sat, change: 995433sat +lightningd-1 2023-10-31T16:17:02.643Z DEBUG plugin-spenderp: mfc 34: parallel fundchannel_complete. +lightningd-1 2023-10-31T16:17:02.643Z DEBUG plugin-spenderp: mfc 34, dest 0: fundchannel_complete 022d223620a359a47ff7f7ac447c85c46c923da53389221a0054c11c1e3ca31d59. +lightningd-1 2023-10-31T16:17:02.648Z DEBUG 022d223620a359a47ff7f7ac447c85c46c923da53389221a0054c11c1e3ca31d59-hsmd: Got WIRE_HSMD_READY_CHANNEL +lightningd-2 2023-10-31T16:17:02.648Z DEBUG 0266e4598d1d3c415f572a8488830b60f7e744ed9235eb0b1ba93283b315c03518-openingd-chan#1: peer_in WIRE_FUNDING_CREATED +lightningd-1 2023-10-31T16:17:02.648Z DEBUG 022d223620a359a47ff7f7ac447c85c46c923da53389221a0054c11c1e3ca31d59-openingd-chan#1: billboard: Funding channel con't: continuing with funding_txid a205a7292a504e6497d62be873f29919876c22ae1bb27a7bd2d9d21cc2c12a88 +lightningd-2 2023-10-31T16:17:02.649Z DEBUG 0266e4598d1d3c415f572a8488830b60f7e744ed9235eb0b1ba93283b315c03518-hsmd: Got WIRE_HSMD_READY_CHANNEL +lightningd-2 2023-10-31T16:17:02.651Z DEBUG hsmd: Client: Received message 31 from client +lightningd-1 2023-10-31T16:17:02.652Z DEBUG hsmd: Client: Received message 31 from client +lightningd-1 2023-10-31T16:17:02.653Z DEBUG 022d223620a359a47ff7f7ac447c85c46c923da53389221a0054c11c1e3ca31d59-hsmd: Got WIRE_HSMD_SIGN_REMOTE_COMMITMENT_TX +lightningd-1 2023-10-31T16:17:02.654Z DEBUG 022d223620a359a47ff7f7ac447c85c46c923da53389221a0054c11c1e3ca31d59-openingd-chan#1: signature 30440220337eafa7c3f656076131633172a9f31fcab51c5605d15bbd8116504b9b67233302202c659f1851683c9be0a42757a1332485f5b77d924923770abccec042e747562601 on tx 0200000001882ac1c21cd2d9d27b7ab21bae226c871999f273e82bd697644e502a29a705a200000000009db0e280024a01000000000000220020be7935a77ca9ab70a4b8b1906825637767fed3c00824aa90c988983587d68488be1e0f000000000022002047021684129f8aa1c0b5b97dc99607f5f0850b548813a5da346fda22511284759a3ed620 using key 02324266de8403b3ab157a09f1f784d587af61831c998c151bcc21bb74c2b2314b +lightningd-1 2023-10-31T16:17:02.654Z DEBUG hsmd: Client: Received message 19 from client +lightningd-1 2023-10-31T16:17:02.655Z DEBUG 022d223620a359a47ff7f7ac447c85c46c923da53389221a0054c11c1e3ca31d59-openingd-chan#1: peer_out WIRE_FUNDING_CREATED +lightningd-1 2023-10-31T16:17:02.655Z DEBUG 022d223620a359a47ff7f7ac447c85c46c923da53389221a0054c11c1e3ca31d59-openingd-chan#1: billboard: Funding channel: create first tx, now waiting for their signature +lightningd-2 2023-10-31T16:17:02.658Z DEBUG 0266e4598d1d3c415f572a8488830b60f7e744ed9235eb0b1ba93283b315c03518-hsmd: Got WIRE_HSMD_VALIDATE_COMMITMENT_TX +lightningd-2 2023-10-31T16:17:02.658Z DEBUG hsmd: Client: Received message 35 from client +lightningd-2 2023-10-31T16:17:02.662Z DEBUG 0266e4598d1d3c415f572a8488830b60f7e744ed9235eb0b1ba93283b315c03518-hsmd: Got WIRE_HSMD_SIGN_REMOTE_COMMITMENT_TX +lightningd-2 2023-10-31T16:17:02.663Z DEBUG hsmd: Client: Received message 19 from client +lightningd-2 2023-10-31T16:17:02.665Z DEBUG 0266e4598d1d3c415f572a8488830b60f7e744ed9235eb0b1ba93283b315c03518-chan#1: Got opening_fundee_finish_response +lightningd-2 2023-10-31T16:17:02.674Z DEBUG 0266e4598d1d3c415f572a8488830b60f7e744ed9235eb0b1ba93283b315c03518-chan#1: Watching funding tx a205a7292a504e6497d62be873f29919876c22ae1bb27a7bd2d9d21cc2c12a88 +lightningd-2 2023-10-31T16:17:02.674Z DEBUG 0266e4598d1d3c415f572a8488830b60f7e744ed9235eb0b1ba93283b315c03518-chan#1: Watching for funding txid: a205a7292a504e6497d62be873f29919876c22ae1bb27a7bd2d9d21cc2c12a88 +lightningd-2 2023-10-31T16:17:02.683Z DEBUG 0266e4598d1d3c415f572a8488830b60f7e744ed9235eb0b1ba93283b315c03518-channeld-chan#1: pid 28422, msgfd 67 +lightningd-2 2023-10-31T16:17:02.683Z DEBUG 0266e4598d1d3c415f572a8488830b60f7e744ed9235eb0b1ba93283b315c03518-chan#1: Waiting for funding confirmations +lightningd-2 2023-10-31T16:17:02.684Z DEBUG 0266e4598d1d3c415f572a8488830b60f7e744ed9235eb0b1ba93283b315c03518-openingd-chan#1: Status closed, but not exited. Killing +lightningd-2 2023-10-31T16:17:02.688Z DEBUG hsmd: Client: Received message 28 from client +lightningd-2 2023-10-31T16:17:02.689Z DEBUG hsmd: Client: Received message 28 from client +lightningd-2 2023-10-31T16:17:02.690Z DEBUG hsmd: new_client: 1 +lightningd-2 2023-10-31T16:17:02.692Z INFO plugin-chanbackup: Updating the SCB +lightningd-2 2023-10-31T16:17:02.692Z DEBUG plugin-chanbackup: Updating the SCB file... +lightningd-2 2023-10-31T16:17:02.697Z DEBUG 0266e4598d1d3c415f572a8488830b60f7e744ed9235eb0b1ba93283b315c03518-channeld-chan#1: option_static_remotekey = 1, option_anchor_outputs = 1 +lightningd-2 2023-10-31T16:17:02.698Z DEBUG 0266e4598d1d3c415f572a8488830b60f7e744ed9235eb0b1ba93283b315c03518-channeld-chan#1: init REMOTE: remote_per_commit = 029f443a7d1cb0f003caf78b9d5b7edef51fd7745b43a1b921b6f22ce748bfeb50, old_remote_per_commit = 029f443a7d1cb0f003caf78b9d5b7edef51fd7745b43a1b921b6f22ce748bfeb50 next_idx_local = 1 next_idx_remote = 1 revocations_received = 0 feerates { RCVD_ADD_ACK_REVOCATION:7500 } range 937-300000 blockheights { RCVD_ADD_ACK_REVOCATION:0 }, our current 102 +lightningd-2 2023-10-31T16:17:02.699Z DEBUG 0266e4598d1d3c415f572a8488830b60f7e744ed9235eb0b1ba93283b315c03518-hsmd: Got WIRE_HSMD_GET_PER_COMMITMENT_POINT +lightningd-1 2023-10-31T16:17:02.700Z DEBUG 022d223620a359a47ff7f7ac447c85c46c923da53389221a0054c11c1e3ca31d59-openingd-chan#1: peer_in WIRE_FUNDING_SIGNED +lightningd-2 2023-10-31T16:17:02.701Z DEBUG hsmd: Client: Received message 18 from client +lightningd-2 2023-10-31T16:17:02.701Z DEBUG 0266e4598d1d3c415f572a8488830b60f7e744ed9235eb0b1ba93283b315c03518-channeld-chan#1: peer_out WIRE_FUNDING_SIGNED +lightningd-1 2023-10-31T16:17:02.703Z DEBUG 022d223620a359a47ff7f7ac447c85c46c923da53389221a0054c11c1e3ca31d59-hsmd: Got WIRE_HSMD_VALIDATE_COMMITMENT_TX +lightningd-1 2023-10-31T16:17:02.704Z DEBUG hsmd: Client: Received message 35 from client +lightningd-1 2023-10-31T16:17:02.704Z DEBUG 022d223620a359a47ff7f7ac447c85c46c923da53389221a0054c11c1e3ca31d59-openingd-chan#1: billboard: Funding channel: opening negotiation succeeded +lightningd-1 2023-10-31T16:17:02.706Z DEBUG lightningd: 0371b7132cde15d9f729b6c24b08d808b59599806f7af5e8be6811a0874c3c0977 +lightningd-2 2023-10-31T16:17:02.707Z DEBUG 0266e4598d1d3c415f572a8488830b60f7e744ed9235eb0b1ba93283b315c03518-channeld-chan#1: billboard: Funding needs 1 more confirmations to be ready. +lightningd-2 2023-10-31T16:17:02.708Z DEBUG 0266e4598d1d3c415f572a8488830b60f7e744ed9235eb0b1ba93283b315c03518-channeld-chan#1: billboard: Funding needs 1 more confirmations to be ready. +lightningd-1 2023-10-31T16:17:02.712Z DEBUG 022d223620a359a47ff7f7ac447c85c46c923da53389221a0054c11c1e3ca31d59-chan#1: Watching for funding txid: a205a7292a504e6497d62be873f29919876c22ae1bb27a7bd2d9d21cc2c12a88 +lightningd-1 2023-10-31T16:17:02.715Z DEBUG 022d223620a359a47ff7f7ac447c85c46c923da53389221a0054c11c1e3ca31d59-channeld-chan#1: pid 28423, msgfd 68 +lightningd-1 2023-10-31T16:17:02.716Z DEBUG 022d223620a359a47ff7f7ac447c85c46c923da53389221a0054c11c1e3ca31d59-chan#1: Waiting for funding confirmations +lightningd-1 2023-10-31T16:17:02.717Z DEBUG 022d223620a359a47ff7f7ac447c85c46c923da53389221a0054c11c1e3ca31d59-chan#1: attempting update blockheight 882ac1c21cd2d9d27b7ab21bae226c871999f273e82bd697644e502a29a705a2 +lightningd-1 2023-10-31T16:17:02.718Z DEBUG 022d223620a359a47ff7f7ac447c85c46c923da53389221a0054c11c1e3ca31d59-openingd-chan#1: Status closed, but not exited. Killing +lightningd-1 2023-10-31T16:17:02.721Z DEBUG hsmd: Client: Received message 28 from client +lightningd-1 2023-10-31T16:17:02.722Z DEBUG plugin-spenderp: mfc 34, dest 0: fundchannel_complete 022d223620a359a47ff7f7ac447c85c46c923da53389221a0054c11c1e3ca31d59 done. +lightningd-1 2023-10-31T16:17:02.723Z DEBUG plugin-spenderp: mfc 34: parallel fundchannel_complete done. +lightningd-1 2023-10-31T16:17:02.723Z DEBUG plugin-spenderp: mfc 34: signpsbt. +lightningd-1 2023-10-31T16:17:02.728Z DEBUG hsmd: Client: Received message 28 from client +lightningd-1 2023-10-31T16:17:02.729Z DEBUG plugin-spenderp: mfc 34: signpsbt done. +lightningd-1 2023-10-31T16:17:02.730Z DEBUG plugin-spenderp: mfc 34: sendpsbt. +lightningd-1 2023-10-31T16:17:02.731Z INFO plugin-chanbackup: Updating the SCB +lightningd-1 2023-10-31T16:17:02.731Z DEBUG plugin-chanbackup: Updating the SCB file... +lightningd-1 2023-10-31T16:17:02.732Z DEBUG hsmd: new_client: 1 +lightningd-1 2023-10-31T16:17:02.734Z DEBUG lightningd: sendrawtransaction: 0200000000010146e06fb04b557366828a5490387b39b2454e652c50e4daaa839b4434241c5e0f0100000000fdffffff0240420f00000000002200205b8cd3b914cf67cdd8fa6273c930353dd36476734fbd962102c2df53b90880cd69300f0000000000160014c2ccab171c2a5be9dab52ec41b825863024c54660247304402204ad9ef6351cb2d141c40eab5c89a68984392762a527abd19b069a3f5ba6c11b202203478d55142e411ba7bfd7960a86e666b25ac516df03ddbbc8ed5819707890b76012103d745445c9362665f22e0d96e9e766f273f3260dea39c8a76bfa05dd2684ddccf66000000 +lightningd-1 2023-10-31T16:17:02.737Z DEBUG hsmd: Client: Received message 7 from client +lightningd-1 2023-10-31T16:17:02.747Z DEBUG plugin-bcli: sendrawtx exit 0 (bitcoin-cli -regtest -datadir=/tmp/gltesting/tmp/tmprvad17gw/lightning-1/ -rpcport=37221 -rpcuser=... -stdinrpcpass sendrawtransaction 0200000000010146e06fb04b557366828a5490387b39b2454e652c50e4daaa839b4434241c5e0f0100000000fdffffff0240420f00000000002200205b8cd3b914cf67cdd8fa6273c930353dd36476734fbd962102c2df53b90880cd69300f0000000000160014c2ccab171c2a5be9dab52ec41b825863024c54660247304402204ad9ef6351cb2d141c40eab5c89a68984392762a527abd19b069a3f5ba6c11b202203478d55142e411ba7bfd7960a86e666b25ac516df03ddbbc8ed5819707890b76012103d745445c9362665f22e0d96e9e766f273f3260dea39c8a76bfa05dd2684ddccf66000000) +lightningd-1 2023-10-31T16:17:02.750Z DEBUG wallet: Owning output 1 995433sat (SEGWIT) txid a205a7292a504e6497d62be873f29919876c22ae1bb27a7bd2d9d21cc2c12a88 +lightningd-1 2023-10-31T16:17:02.753Z DEBUG 022d223620a359a47ff7f7ac447c85c46c923da53389221a0054c11c1e3ca31d59-channeld-chan#1: option_static_remotekey = 1, option_anchor_outputs = 1 +lightningd-1 2023-10-31T16:17:02.753Z DEBUG plugin-spenderp: mfc 34: sendpsbt done. +lightningd-1 2023-10-31T16:17:02.753Z DEBUG plugin-spenderp: mfc 34: done. +lightningd-1 2023-10-31T16:17:02.753Z DEBUG plugin-spenderp: mfc 34: cleanup! +lightningd-1 2023-10-31T16:17:02.754Z DEBUG plugin-spenderp: mfc 34: cleanup done, finishing command. +lightningd-1 2023-10-31T16:17:02.754Z DEBUG 022d223620a359a47ff7f7ac447c85c46c923da53389221a0054c11c1e3ca31d59-hsmd: Got WIRE_HSMD_GET_PER_COMMITMENT_POINT +lightningd-1 2023-10-31T16:17:02.756Z DEBUG 022d223620a359a47ff7f7ac447c85c46c923da53389221a0054c11c1e3ca31d59-channeld-chan#1: init LOCAL: remote_per_commit = 0371b7132cde15d9f729b6c24b08d808b59599806f7af5e8be6811a0874c3c0977, old_remote_per_commit = 0371b7132cde15d9f729b6c24b08d808b59599806f7af5e8be6811a0874c3c0977 next_idx_local = 1 next_idx_remote = 1 revocations_received = 0 feerates { SENT_ADD_ACK_REVOCATION:7500 } range 937-300000 blockheights { SENT_ADD_ACK_REVOCATION:0 }, our current 102 +lightningd-1 2023-10-31T16:17:02.757Z DEBUG hsmd: Client: Received message 18 from client +Received response for fundchannel call: {'jsonrpc': '2.0', 'id': 'pytest:fundchannel#8', 'result': {'tx': '0200000000010146e06fb04b557366828a5490387b39b2454e652c50e4daaa839b4434241c5e0f0100000000fdffffff0240420f00000000002200205b8cd3b914cf67cdd8fa6273c930353dd36476734fbd962102c2df53b90880cd69300f0000000000160014c2ccab171c2a5be9dab52ec41b825863024c54660247304402204ad9ef6351cb2d141c40eab5c89a68984392762a527abd19b069a3f5ba6c11b202203478d55142e411ba7bfd7960a86e666b25ac516df03ddbbc8ed5819707890b76012103d745445c9362665f22e0d96e9e766f273f3260dea39c8a76bfa05dd2684ddccf66000000', 'txid': 'a205a7292a504e6497d62be873f29919876c22ae1bb27a7bd2d9d21cc2c12a88', 'channel_id': '882ac1c21cd2d9d27b7ab21bae226c871999f273e82bd697644e502a29a705a2', 'outnum': 0}} +{ + "id": "pytest:fundchannel#8", + "result": { + "tx": "0200000000010146e06fb04b557366828a5490387b39b2454e652c50e4daaa839b4434241c5e0f0100000000fdffffff0240420f00000000002200205b8cd3b914cf67cdd8fa6273c930353dd36476734fbd962102c2df53b90880cd69300f0000000000160014c2ccab171c2a5be9dab52ec41b825863024c54660247304402204ad9ef6351cb2d141c40eab5c89a68984392762a527abd19b069a3f5ba6c11b202203478d55142e411ba7bfd7960a86e666b25ac516df03ddbbc8ed5819707890b76012103d745445c9362665f22e0d96e9e766f273f3260dea39c8a76bfa05dd2684ddccf66000000", + "txid": "a205a7292a504e6497d62be873f29919876c22ae1bb27a7bd2d9d21cc2c12a88", + "channel_id": "882ac1c21cd2d9d27b7ab21bae226c871999f273e82bd697644e502a29a705a2", + "outnum": 0 + } +} +lightningd-1 2023-10-31T16:17:02.758Z DEBUG 022d223620a359a47ff7f7ac447c85c46c923da53389221a0054c11c1e3ca31d59-channeld-chan#1: billboard: Funding needs 1 more confirmations to be ready. +Calling getrawmempool with arguments () +Result for getrawmempool call: ['a205a7292a504e6497d62be873f29919876c22ae1bb27a7bd2d9d21cc2c12a88'] +Calling getrawmempool with arguments (True,) +Result for getrawmempool call: {'a205a7292a504e6497d62be873f29919876c22ae1bb27a7bd2d9d21cc2c12a88': {'vsize': 153, 'weight': 609, 'time': 1698769022, 'height': 102, 'descendantcount': 1, 'descendantsize': 153, 'ancestorcount': 1, 'ancestorsize': 153, 'wtxid': 'f4fe448b0edda390648e996c29961feb25861360dfeba662dbdd7162176963d9', 'fees': {'base': Decimal('0.00004567'), 'modified': Decimal('0.00004567'), 'ancestor': Decimal('0.00004567'), 'descendant': Decimal('0.00004567')}, 'depends': [], 'spentby': [], 'bip125-replaceable': True, 'unbroadcast': True}} +lightningd-1 2023-10-31T16:17:02.764Z DEBUG 022d223620a359a47ff7f7ac447c85c46c923da53389221a0054c11c1e3ca31d59-channeld-chan#1: billboard: Funding needs 1 more confirmations to be ready. +Generating 1, confirming 1 transactions: {'a205a7292a504e6497d62be873f29919876c22ae1bb27a7bd2d9d21cc2c12a88': {'vsize': 153, 'weight': 609, 'time': 1698769022, 'height': 102, 'descendantcount': 1, 'descendantsize': 153, 'ancestorcount': 1, 'ancestorsize': 153, 'wtxid': 'f4fe448b0edda390648e996c29961feb25861360dfeba662dbdd7162176963d9', 'fees': {'base': Decimal('0.00004567'), 'modified': Decimal('0.00004567'), 'ancestor': Decimal('0.00004567'), 'descendant': Decimal('0.00004567')}, 'depends': [], 'spentby': [], 'bip125-replaceable': True, 'unbroadcast': True}} +Calling getnewaddress with arguments () +Result for getnewaddress call: bcrt1q06svgpvjej0q7dyhv8zzpml3d5a8hwdrm2xenl +Calling generatetoaddress with arguments (1, 'bcrt1q06svgpvjej0q7dyhv8zzpml3d5a8hwdrm2xenl') +Result for generatetoaddress call: ['5d39fdaa7194d9c1971c587748ff88505606d70373e74981b64fe886c306d9aa'] +{ + "id": "pytest:listpeerchannels#9", + "method": "listpeerchannels", + "params": { + "id": "022d223620a359a47ff7f7ac447c85c46c923da53389221a0054c11c1e3ca31d59" + }, + "filter": null +} +Calling listpeerchannels with payload {'id': '022d223620a359a47ff7f7ac447c85c46c923da53389221a0054c11c1e3ca31d59'} +Received response for listpeerchannels call: {'jsonrpc': '2.0', 'id': 'pytest:listpeerchannels#9', 'result': {'channels': [{'peer_id': '022d223620a359a47ff7f7ac447c85c46c923da53389221a0054c11c1e3ca31d59', 'peer_connected': True, 'channel_type': {'bits': [12, 20], 'names': ['static_remotekey/even', 'anchor_outputs/even']}, 'state': 'CHANNELD_AWAITING_LOCKIN', 'scratch_txid': '2063eb48acd90b66c11c8a06e57ede269842ca1ba40d11ac710be7ffd833999e', 'last_tx_fee_msat': 8760000msat, 'feerate': {'perkw': 7500, 'perkb': 30000}, 'owner': 'channeld', 'direction': 1, 'channel_id': '882ac1c21cd2d9d27b7ab21bae226c871999f273e82bd697644e502a29a705a2', 'funding_txid': 'a205a7292a504e6497d62be873f29919876c22ae1bb27a7bd2d9d21cc2c12a88', 'funding_outnum': 0, 'close_to_addr': 'bcrt1qquwynjkj7ss08jq9l8mtnzjhy6wtzs2s6hgawv', 'close_to': '0014071c49cad2f420f3c805f9f6b98a57269cb14150', 'private': False, 'opener': 'local', 'alias': {'local': '13811490x639340x27623'}, 'features': ['option_static_remotekey', 'option_anchor_outputs'], 'funding': {'local_funds_msat': 1000000000msat, 'remote_funds_msat': 0msat, 'pushed_msat': 0msat}, 'to_us_msat': 1000000000msat, 'min_to_us_msat': 1000000000msat, 'max_to_us_msat': 1000000000msat, 'total_msat': 1000000000msat, 'fee_base_msat': 1msat, 'fee_proportional_millionths': 10, 'dust_limit_msat': 546000msat, 'max_total_htlc_in_msat': 18446744073709551615msat, 'their_reserve_msat': 10000000msat, 'our_reserve_msat': 10000000msat, 'spendable_msat': 967320000msat, 'receivable_msat': 0msat, 'minimum_htlc_in_msat': 0msat, 'minimum_htlc_out_msat': 0msat, 'maximum_htlc_out_msat': 990000000msat, 'their_to_self_delay': 5, 'our_to_self_delay': 5, 'max_accepted_htlcs': 483, 'state_changes': [], 'status': ['CHANNELD_AWAITING_LOCKIN:Funding needs 1 more confirmations to be ready.'], 'in_payments_offered': 0, 'in_offered_msat': 0msat, 'in_payments_fulfilled': 0, 'in_fulfilled_msat': 0msat, 'out_payments_offered': 0, 'out_offered_msat': 0msat, 'out_payments_fulfilled': 0, 'out_fulfilled_msat': 0msat, 'htlcs': []}]}} +{ + "id": "pytest:listpeerchannels#9", + "result": { + "channels": [ + { + "peer_id": "022d223620a359a47ff7f7ac447c85c46c923da53389221a0054c11c1e3ca31d59", + "peer_connected": true, + "channel_type": { + "bits": [ + 12, + 20 + ], + "names": [ + "static_remotekey/even", + "anchor_outputs/even" + ] + }, + "state": "CHANNELD_AWAITING_LOCKIN", + "scratch_txid": "2063eb48acd90b66c11c8a06e57ede269842ca1ba40d11ac710be7ffd833999e", + "last_tx_fee_msat": "8760000msat", + "feerate": { + "perkw": 7500, + "perkb": 30000 + }, + "owner": "channeld", + "direction": 1, + "channel_id": "882ac1c21cd2d9d27b7ab21bae226c871999f273e82bd697644e502a29a705a2", + "funding_txid": "a205a7292a504e6497d62be873f29919876c22ae1bb27a7bd2d9d21cc2c12a88", + "funding_outnum": 0, + "close_to_addr": "bcrt1qquwynjkj7ss08jq9l8mtnzjhy6wtzs2s6hgawv", + "close_to": "0014071c49cad2f420f3c805f9f6b98a57269cb14150", + "private": false, + "opener": "local", + "alias": { + "local": "13811490x639340x27623" + }, + "features": [ + "option_static_remotekey", + "option_anchor_outputs" + ], + "funding": { + "local_funds_msat": "1000000000msat", + "remote_funds_msat": "0msat", + "pushed_msat": "0msat" + }, + "to_us_msat": "1000000000msat", + "min_to_us_msat": "1000000000msat", + "max_to_us_msat": "1000000000msat", + "total_msat": "1000000000msat", + "fee_base_msat": "1msat", + "fee_proportional_millionths": 10, + "dust_limit_msat": "546000msat", + "max_total_htlc_in_msat": "18446744073709551615msat", + "their_reserve_msat": "10000000msat", + "our_reserve_msat": "10000000msat", + "spendable_msat": "967320000msat", + "receivable_msat": "0msat", + "minimum_htlc_in_msat": "0msat", + "minimum_htlc_out_msat": "0msat", + "maximum_htlc_out_msat": "990000000msat", + "their_to_self_delay": 5, + "our_to_self_delay": 5, + "max_accepted_htlcs": 483, + "state_changes": [], + "status": [ + "CHANNELD_AWAITING_LOCKIN:Funding needs 1 more confirmations to be ready." + ], + "in_payments_offered": 0, + "in_offered_msat": "0msat", + "in_payments_fulfilled": 0, + "in_fulfilled_msat": "0msat", + "out_payments_offered": 0, + "out_offered_msat": "0msat", + "out_payments_fulfilled": 0, + "out_fulfilled_msat": "0msat", + "htlcs": [] + } + ] + } +} +{ + "id": "pytest:listpeerchannels#10", + "method": "listpeerchannels", + "params": { + "id": "022d223620a359a47ff7f7ac447c85c46c923da53389221a0054c11c1e3ca31d59" + }, + "filter": null +} +Calling listpeerchannels with payload {'id': '022d223620a359a47ff7f7ac447c85c46c923da53389221a0054c11c1e3ca31d59'} +Received response for listpeerchannels call: {'jsonrpc': '2.0', 'id': 'pytest:listpeerchannels#10', 'result': {'channels': [{'peer_id': '022d223620a359a47ff7f7ac447c85c46c923da53389221a0054c11c1e3ca31d59', 'peer_connected': True, 'channel_type': {'bits': [12, 20], 'names': ['static_remotekey/even', 'anchor_outputs/even']}, 'state': 'CHANNELD_AWAITING_LOCKIN', 'scratch_txid': '2063eb48acd90b66c11c8a06e57ede269842ca1ba40d11ac710be7ffd833999e', 'last_tx_fee_msat': 8760000msat, 'feerate': {'perkw': 7500, 'perkb': 30000}, 'owner': 'channeld', 'direction': 1, 'channel_id': '882ac1c21cd2d9d27b7ab21bae226c871999f273e82bd697644e502a29a705a2', 'funding_txid': 'a205a7292a504e6497d62be873f29919876c22ae1bb27a7bd2d9d21cc2c12a88', 'funding_outnum': 0, 'close_to_addr': 'bcrt1qquwynjkj7ss08jq9l8mtnzjhy6wtzs2s6hgawv', 'close_to': '0014071c49cad2f420f3c805f9f6b98a57269cb14150', 'private': False, 'opener': 'local', 'alias': {'local': '13811490x639340x27623'}, 'features': ['option_static_remotekey', 'option_anchor_outputs'], 'funding': {'local_funds_msat': 1000000000msat, 'remote_funds_msat': 0msat, 'pushed_msat': 0msat}, 'to_us_msat': 1000000000msat, 'min_to_us_msat': 1000000000msat, 'max_to_us_msat': 1000000000msat, 'total_msat': 1000000000msat, 'fee_base_msat': 1msat, 'fee_proportional_millionths': 10, 'dust_limit_msat': 546000msat, 'max_total_htlc_in_msat': 18446744073709551615msat, 'their_reserve_msat': 10000000msat, 'our_reserve_msat': 10000000msat, 'spendable_msat': 967320000msat, 'receivable_msat': 0msat, 'minimum_htlc_in_msat': 0msat, 'minimum_htlc_out_msat': 0msat, 'maximum_htlc_out_msat': 990000000msat, 'their_to_self_delay': 5, 'our_to_self_delay': 5, 'max_accepted_htlcs': 483, 'state_changes': [], 'status': ['CHANNELD_AWAITING_LOCKIN:Funding needs 1 more confirmations to be ready.'], 'in_payments_offered': 0, 'in_offered_msat': 0msat, 'in_payments_fulfilled': 0, 'in_fulfilled_msat': 0msat, 'out_payments_offered': 0, 'out_offered_msat': 0msat, 'out_payments_fulfilled': 0, 'out_fulfilled_msat': 0msat, 'htlcs': []}]}} +{ + "id": "pytest:listpeerchannels#10", + "result": { + "channels": [ + { + "peer_id": "022d223620a359a47ff7f7ac447c85c46c923da53389221a0054c11c1e3ca31d59", + "peer_connected": true, + "channel_type": { + "bits": [ + 12, + 20 + ], + "names": [ + "static_remotekey/even", + "anchor_outputs/even" + ] + }, + "state": "CHANNELD_AWAITING_LOCKIN", + "scratch_txid": "2063eb48acd90b66c11c8a06e57ede269842ca1ba40d11ac710be7ffd833999e", + "last_tx_fee_msat": "8760000msat", + "feerate": { + "perkw": 7500, + "perkb": 30000 + }, + "owner": "channeld", + "direction": 1, + "channel_id": "882ac1c21cd2d9d27b7ab21bae226c871999f273e82bd697644e502a29a705a2", + "funding_txid": "a205a7292a504e6497d62be873f29919876c22ae1bb27a7bd2d9d21cc2c12a88", + "funding_outnum": 0, + "close_to_addr": "bcrt1qquwynjkj7ss08jq9l8mtnzjhy6wtzs2s6hgawv", + "close_to": "0014071c49cad2f420f3c805f9f6b98a57269cb14150", + "private": false, + "opener": "local", + "alias": { + "local": "13811490x639340x27623" + }, + "features": [ + "option_static_remotekey", + "option_anchor_outputs" + ], + "funding": { + "local_funds_msat": "1000000000msat", + "remote_funds_msat": "0msat", + "pushed_msat": "0msat" + }, + "to_us_msat": "1000000000msat", + "min_to_us_msat": "1000000000msat", + "max_to_us_msat": "1000000000msat", + "total_msat": "1000000000msat", + "fee_base_msat": "1msat", + "fee_proportional_millionths": 10, + "dust_limit_msat": "546000msat", + "max_total_htlc_in_msat": "18446744073709551615msat", + "their_reserve_msat": "10000000msat", + "our_reserve_msat": "10000000msat", + "spendable_msat": "967320000msat", + "receivable_msat": "0msat", + "minimum_htlc_in_msat": "0msat", + "minimum_htlc_out_msat": "0msat", + "maximum_htlc_out_msat": "990000000msat", + "their_to_self_delay": 5, + "our_to_self_delay": 5, + "max_accepted_htlcs": 483, + "state_changes": [], + "status": [ + "CHANNELD_AWAITING_LOCKIN:Funding needs 1 more confirmations to be ready." + ], + "in_payments_offered": 0, + "in_offered_msat": "0msat", + "in_payments_fulfilled": 0, + "in_fulfilled_msat": "0msat", + "out_payments_offered": 0, + "out_offered_msat": "0msat", + "out_payments_fulfilled": 0, + "out_fulfilled_msat": "0msat", + "htlcs": [] + } + ] + } +} +{ + "id": "pytest:listpeerchannels#11", + "method": "listpeerchannels", + "params": { + "id": "022d223620a359a47ff7f7ac447c85c46c923da53389221a0054c11c1e3ca31d59" + }, + "filter": null +} +Calling listpeerchannels with payload {'id': '022d223620a359a47ff7f7ac447c85c46c923da53389221a0054c11c1e3ca31d59'} +Received response for listpeerchannels call: {'jsonrpc': '2.0', 'id': 'pytest:listpeerchannels#11', 'result': {'channels': [{'peer_id': '022d223620a359a47ff7f7ac447c85c46c923da53389221a0054c11c1e3ca31d59', 'peer_connected': True, 'channel_type': {'bits': [12, 20], 'names': ['static_remotekey/even', 'anchor_outputs/even']}, 'state': 'CHANNELD_AWAITING_LOCKIN', 'scratch_txid': '2063eb48acd90b66c11c8a06e57ede269842ca1ba40d11ac710be7ffd833999e', 'last_tx_fee_msat': 8760000msat, 'feerate': {'perkw': 7500, 'perkb': 30000}, 'owner': 'channeld', 'direction': 1, 'channel_id': '882ac1c21cd2d9d27b7ab21bae226c871999f273e82bd697644e502a29a705a2', 'funding_txid': 'a205a7292a504e6497d62be873f29919876c22ae1bb27a7bd2d9d21cc2c12a88', 'funding_outnum': 0, 'close_to_addr': 'bcrt1qquwynjkj7ss08jq9l8mtnzjhy6wtzs2s6hgawv', 'close_to': '0014071c49cad2f420f3c805f9f6b98a57269cb14150', 'private': False, 'opener': 'local', 'alias': {'local': '13811490x639340x27623'}, 'features': ['option_static_remotekey', 'option_anchor_outputs'], 'funding': {'local_funds_msat': 1000000000msat, 'remote_funds_msat': 0msat, 'pushed_msat': 0msat}, 'to_us_msat': 1000000000msat, 'min_to_us_msat': 1000000000msat, 'max_to_us_msat': 1000000000msat, 'total_msat': 1000000000msat, 'fee_base_msat': 1msat, 'fee_proportional_millionths': 10, 'dust_limit_msat': 546000msat, 'max_total_htlc_in_msat': 18446744073709551615msat, 'their_reserve_msat': 10000000msat, 'our_reserve_msat': 10000000msat, 'spendable_msat': 967320000msat, 'receivable_msat': 0msat, 'minimum_htlc_in_msat': 0msat, 'minimum_htlc_out_msat': 0msat, 'maximum_htlc_out_msat': 990000000msat, 'their_to_self_delay': 5, 'our_to_self_delay': 5, 'max_accepted_htlcs': 483, 'state_changes': [], 'status': ['CHANNELD_AWAITING_LOCKIN:Funding needs 1 more confirmations to be ready.'], 'in_payments_offered': 0, 'in_offered_msat': 0msat, 'in_payments_fulfilled': 0, 'in_fulfilled_msat': 0msat, 'out_payments_offered': 0, 'out_offered_msat': 0msat, 'out_payments_fulfilled': 0, 'out_fulfilled_msat': 0msat, 'htlcs': []}]}} +{ + "id": "pytest:listpeerchannels#11", + "result": { + "channels": [ + { + "peer_id": "022d223620a359a47ff7f7ac447c85c46c923da53389221a0054c11c1e3ca31d59", + "peer_connected": true, + "channel_type": { + "bits": [ + 12, + 20 + ], + "names": [ + "static_remotekey/even", + "anchor_outputs/even" + ] + }, + "state": "CHANNELD_AWAITING_LOCKIN", + "scratch_txid": "2063eb48acd90b66c11c8a06e57ede269842ca1ba40d11ac710be7ffd833999e", + "last_tx_fee_msat": "8760000msat", + "feerate": { + "perkw": 7500, + "perkb": 30000 + }, + "owner": "channeld", + "direction": 1, + "channel_id": "882ac1c21cd2d9d27b7ab21bae226c871999f273e82bd697644e502a29a705a2", + "funding_txid": "a205a7292a504e6497d62be873f29919876c22ae1bb27a7bd2d9d21cc2c12a88", + "funding_outnum": 0, + "close_to_addr": "bcrt1qquwynjkj7ss08jq9l8mtnzjhy6wtzs2s6hgawv", + "close_to": "0014071c49cad2f420f3c805f9f6b98a57269cb14150", + "private": false, + "opener": "local", + "alias": { + "local": "13811490x639340x27623" + }, + "features": [ + "option_static_remotekey", + "option_anchor_outputs" + ], + "funding": { + "local_funds_msat": "1000000000msat", + "remote_funds_msat": "0msat", + "pushed_msat": "0msat" + }, + "to_us_msat": "1000000000msat", + "min_to_us_msat": "1000000000msat", + "max_to_us_msat": "1000000000msat", + "total_msat": "1000000000msat", + "fee_base_msat": "1msat", + "fee_proportional_millionths": 10, + "dust_limit_msat": "546000msat", + "max_total_htlc_in_msat": "18446744073709551615msat", + "their_reserve_msat": "10000000msat", + "our_reserve_msat": "10000000msat", + "spendable_msat": "967320000msat", + "receivable_msat": "0msat", + "minimum_htlc_in_msat": "0msat", + "minimum_htlc_out_msat": "0msat", + "maximum_htlc_out_msat": "990000000msat", + "their_to_self_delay": 5, + "our_to_self_delay": 5, + "max_accepted_htlcs": 483, + "state_changes": [], + "status": [ + "CHANNELD_AWAITING_LOCKIN:Funding needs 1 more confirmations to be ready." + ], + "in_payments_offered": 0, + "in_offered_msat": "0msat", + "in_payments_fulfilled": 0, + "in_fulfilled_msat": "0msat", + "out_payments_offered": 0, + "out_offered_msat": "0msat", + "out_payments_fulfilled": 0, + "out_fulfilled_msat": "0msat", + "htlcs": [] + } + ] + } +} +lightningd-1 2023-10-31T16:17:03.707Z DEBUG lightningd: Adding block 103: 5d39fdaa7194d9c1971c587748ff88505606d70373e74981b64fe886c306d9aa +lightningd-1 2023-10-31T16:17:03.711Z DEBUG wallet: Owning output 1 995433sat (SEGWIT) txid a205a7292a504e6497d62be873f29919876c22ae1bb27a7bd2d9d21cc2c12a88 CONFIRMED +lightningd-2 2023-10-31T16:17:03.720Z DEBUG lightningd: Adding block 103: 5d39fdaa7194d9c1971c587748ff88505606d70373e74981b64fe886c306d9aa +lightningd-1 2023-10-31T16:17:03.723Z DEBUG plugin-bookkeeper: coin_move 2 (withdrawal) 0msat -2000000000msat chain_mvt 1698769023 +lightningd-1 2023-10-31T16:17:03.724Z DEBUG plugin-bookkeeper: coin_move 2 (deposit) 995433000msat -0msat chain_mvt 1698769023 +lightningd-1 2023-10-31T16:17:03.731Z DEBUG 022d223620a359a47ff7f7ac447c85c46c923da53389221a0054c11c1e3ca31d59-chan#1: Got depth change 0->1 for a205a7292a504e6497d62be873f29919876c22ae1bb27a7bd2d9d21cc2c12a88 +lightningd-1 2023-10-31T16:17:03.732Z DEBUG 022d223620a359a47ff7f7ac447c85c46c923da53389221a0054c11c1e3ca31d59-chan#1: Funding tx a205a7292a504e6497d62be873f29919876c22ae1bb27a7bd2d9d21cc2c12a88 depth 1 of 1 +lightningd-1 2023-10-31T16:17:03.735Z DEBUG 022d223620a359a47ff7f7ac447c85c46c923da53389221a0054c11c1e3ca31d59-chan#1: attempting update blockheight 882ac1c21cd2d9d27b7ab21bae226c871999f273e82bd697644e502a29a705a2 +lightningd-2 2023-10-31T16:17:03.738Z DEBUG 0266e4598d1d3c415f572a8488830b60f7e744ed9235eb0b1ba93283b315c03518-channeld-chan#1: peer_in WIRE_CHANNEL_READY +lightningd-1 2023-10-31T16:17:03.739Z DEBUG 022d223620a359a47ff7f7ac447c85c46c923da53389221a0054c11c1e3ca31d59-hsmd: Got WIRE_HSMD_GET_PER_COMMITMENT_POINT +lightningd-2 2023-10-31T16:17:03.739Z DEBUG 0266e4598d1d3c415f572a8488830b60f7e744ed9235eb0b1ba93283b315c03518-channeld-chan#1: Peer told us that they'll use alias=13811490x639340x27623 for this channel +lightningd-1 2023-10-31T16:17:03.739Z DEBUG gossipd: REPLY WIRE_GOSSIPD_NEW_BLOCKHEIGHT_REPLY with 0 fds +lightningd-2 2023-10-31T16:17:03.739Z DEBUG 0266e4598d1d3c415f572a8488830b60f7e744ed9235eb0b1ba93283b315c03518-chan#1: Got channel_ready +lightningd-1 2023-10-31T16:17:03.740Z DEBUG 022d223620a359a47ff7f7ac447c85c46c923da53389221a0054c11c1e3ca31d59-channeld-chan#1: channel_ready: sending commit index 1: 03ea98cd6ba5a6de1bb2b3cbe05740bfe56b3482143704b27db6565638dfe58a64 +lightningd-1 2023-10-31T16:17:03.742Z DEBUG hsmd: Client: Received message 18 from client +lightningd-1 2023-10-31T16:17:03.742Z DEBUG 022d223620a359a47ff7f7ac447c85c46c923da53389221a0054c11c1e3ca31d59-channeld-chan#1: peer_out WIRE_CHANNEL_READY +lightningd-1 2023-10-31T16:17:03.742Z DEBUG 022d223620a359a47ff7f7ac447c85c46c923da53389221a0054c11c1e3ca31d59-channeld-chan#1: billboard: We've confirmed channel ready, they haven't yet. +lightningd-2 2023-10-31T16:17:03.747Z DEBUG 0266e4598d1d3c415f572a8488830b60f7e744ed9235eb0b1ba93283b315c03518-channeld-chan#1: billboard: They've confirmed channel ready, we haven't yet. +lightningd-2 2023-10-31T16:17:03.750Z DEBUG 0266e4598d1d3c415f572a8488830b60f7e744ed9235eb0b1ba93283b315c03518-chan#1: Got depth change 0->1 for a205a7292a504e6497d62be873f29919876c22ae1bb27a7bd2d9d21cc2c12a88 +lightningd-2 2023-10-31T16:17:03.750Z DEBUG 0266e4598d1d3c415f572a8488830b60f7e744ed9235eb0b1ba93283b315c03518-chan#1: Funding tx a205a7292a504e6497d62be873f29919876c22ae1bb27a7bd2d9d21cc2c12a88 depth 1 of 1 +lightningd-2 2023-10-31T16:17:03.753Z INFO 0266e4598d1d3c415f572a8488830b60f7e744ed9235eb0b1ba93283b315c03518-chan#1: State changed from CHANNELD_AWAITING_LOCKIN to CHANNELD_NORMAL +lightningd-2 2023-10-31T16:17:03.755Z DEBUG lightningd: update_feerates: feerate = 11000, min=937, max=300000, penalty=7500 +lightningd-2 2023-10-31T16:17:03.755Z DEBUG 0266e4598d1d3c415f572a8488830b60f7e744ed9235eb0b1ba93283b315c03518-chan#1: attempting update blockheight 882ac1c21cd2d9d27b7ab21bae226c871999f273e82bd697644e502a29a705a2 +lightningd-2 2023-10-31T16:17:03.756Z DEBUG 0266e4598d1d3c415f572a8488830b60f7e744ed9235eb0b1ba93283b315c03518-chan#1: attempting update blockheight 882ac1c21cd2d9d27b7ab21bae226c871999f273e82bd697644e502a29a705a2 +lightningd-2 2023-10-31T16:17:03.760Z DEBUG plugin-funder: Cleaning up datastore for channel_id 882ac1c21cd2d9d27b7ab21bae226c871999f273e82bd697644e502a29a705a2 +lightningd-1 2023-10-31T16:17:03.762Z DEBUG 022d223620a359a47ff7f7ac447c85c46c923da53389221a0054c11c1e3ca31d59-channeld-chan#1: peer_in WIRE_CHANNEL_READY +lightningd-1 2023-10-31T16:17:03.762Z DEBUG 022d223620a359a47ff7f7ac447c85c46c923da53389221a0054c11c1e3ca31d59-channeld-chan#1: Peer told us that they'll use alias=6649444x3348743x28669 for this channel +lightningd-1 2023-10-31T16:17:03.763Z DEBUG 022d223620a359a47ff7f7ac447c85c46c923da53389221a0054c11c1e3ca31d59-chan#1: Got channel_ready +lightningd-2 2023-10-31T16:17:03.764Z DEBUG 0266e4598d1d3c415f572a8488830b60f7e744ed9235eb0b1ba93283b315c03518-hsmd: Got WIRE_HSMD_GET_PER_COMMITMENT_POINT +lightningd-2 2023-10-31T16:17:03.766Z DEBUG gossipd: REPLY WIRE_GOSSIPD_NEW_BLOCKHEIGHT_REPLY with 0 fds +lightningd-1 2023-10-31T16:17:03.768Z INFO 022d223620a359a47ff7f7ac447c85c46c923da53389221a0054c11c1e3ca31d59-chan#1: State changed from CHANNELD_AWAITING_LOCKIN to CHANNELD_NORMAL +lightningd-1 2023-10-31T16:17:03.770Z DEBUG lightningd: update_feerates: feerate = 11000, min=937, max=300000, penalty=7500 +lightningd-1 2023-10-31T16:17:03.770Z DEBUG 022d223620a359a47ff7f7ac447c85c46c923da53389221a0054c11c1e3ca31d59-chan#1: attempting update blockheight 882ac1c21cd2d9d27b7ab21bae226c871999f273e82bd697644e502a29a705a2 +lightningd-2 2023-10-31T16:17:03.771Z DEBUG 0266e4598d1d3c415f572a8488830b60f7e744ed9235eb0b1ba93283b315c03518-channeld-chan#1: channel_ready: sending commit index 1: 020b2bb4220acc4114c47375e9b71e072f7cac127e1bb453d49595699958cfa9e4 +lightningd-2 2023-10-31T16:17:03.772Z DEBUG plugin-bookkeeper: coin_move 2 (channel_open) 0msat -0msat chain_mvt 1698769023 +lightningd-2 2023-10-31T16:17:03.773Z DEBUG hsmd: Client: Received message 18 from client +lightningd-1 2023-10-31T16:17:03.776Z DEBUG plugin-funder: Cleaning up datastore for channel_id 882ac1c21cd2d9d27b7ab21bae226c871999f273e82bd697644e502a29a705a2 +lightningd-1 2023-10-31T16:17:03.779Z DEBUG 022d223620a359a47ff7f7ac447c85c46c923da53389221a0054c11c1e3ca31d59-channeld-chan#1: billboard: Channel ready for use. +lightningd-2 2023-10-31T16:17:03.779Z DEBUG 0266e4598d1d3c415f572a8488830b60f7e744ed9235eb0b1ba93283b315c03518-channeld-chan#1: peer_out WIRE_CHANNEL_READY +lightningd-1 2023-10-31T16:17:03.779Z DEBUG plugin-bookkeeper: coin_move 2 (channel_open) 1000000000msat -0msat chain_mvt 1698769023 +lightningd-1 2023-10-31T16:17:03.780Z DEBUG gossipd: received private channel announcement from channeld for 103x1x0 +lightningd-2 2023-10-31T16:17:03.782Z DEBUG 0266e4598d1d3c415f572a8488830b60f7e744ed9235eb0b1ba93283b315c03518-channeld-chan#1: billboard: Channel ready for use. +lightningd-2 2023-10-31T16:17:03.783Z DEBUG gossipd: received private channel announcement from channeld for 103x1x0 +{ + "id": "pytest:listpeerchannels#12", + "method": "listpeerchannels", + "params": { + "id": "022d223620a359a47ff7f7ac447c85c46c923da53389221a0054c11c1e3ca31d59" + }, + "filter": null +} +Calling listpeerchannels with payload {'id': '022d223620a359a47ff7f7ac447c85c46c923da53389221a0054c11c1e3ca31d59'} +Received response for listpeerchannels call: {'jsonrpc': '2.0', 'id': 'pytest:listpeerchannels#12', 'result': {'channels': [{'peer_id': '022d223620a359a47ff7f7ac447c85c46c923da53389221a0054c11c1e3ca31d59', 'peer_connected': True, 'channel_type': {'bits': [12, 20], 'names': ['static_remotekey/even', 'anchor_outputs/even']}, 'state': 'CHANNELD_NORMAL', 'scratch_txid': '2063eb48acd90b66c11c8a06e57ede269842ca1ba40d11ac710be7ffd833999e', 'last_tx_fee_msat': 8760000msat, 'feerate': {'perkw': 7500, 'perkb': 30000}, 'owner': 'channeld', 'short_channel_id': '103x1x0', 'direction': 1, 'channel_id': '882ac1c21cd2d9d27b7ab21bae226c871999f273e82bd697644e502a29a705a2', 'funding_txid': 'a205a7292a504e6497d62be873f29919876c22ae1bb27a7bd2d9d21cc2c12a88', 'funding_outnum': 0, 'close_to_addr': 'bcrt1qquwynjkj7ss08jq9l8mtnzjhy6wtzs2s6hgawv', 'close_to': '0014071c49cad2f420f3c805f9f6b98a57269cb14150', 'private': False, 'opener': 'local', 'alias': {'local': '13811490x639340x27623', 'remote': '6649444x3348743x28669'}, 'features': ['option_static_remotekey', 'option_anchor_outputs'], 'funding': {'local_funds_msat': 1000000000msat, 'remote_funds_msat': 0msat, 'pushed_msat': 0msat}, 'to_us_msat': 1000000000msat, 'min_to_us_msat': 1000000000msat, 'max_to_us_msat': 1000000000msat, 'total_msat': 1000000000msat, 'fee_base_msat': 1msat, 'fee_proportional_millionths': 10, 'dust_limit_msat': 546000msat, 'max_total_htlc_in_msat': 18446744073709551615msat, 'their_reserve_msat': 10000000msat, 'our_reserve_msat': 10000000msat, 'spendable_msat': 967320000msat, 'receivable_msat': 0msat, 'minimum_htlc_in_msat': 0msat, 'minimum_htlc_out_msat': 0msat, 'maximum_htlc_out_msat': 990000000msat, 'their_to_self_delay': 5, 'our_to_self_delay': 5, 'max_accepted_htlcs': 483, 'state_changes': [{'timestamp': '2023-10-31T16:17:03.769Z', 'old_state': 'CHANNELD_AWAITING_LOCKIN', 'new_state': 'CHANNELD_NORMAL', 'cause': 'user', 'message': 'Lockin complete'}], 'status': ['CHANNELD_NORMAL:Channel ready for use.'], 'in_payments_offered': 0, 'in_offered_msat': 0msat, 'in_payments_fulfilled': 0, 'in_fulfilled_msat': 0msat, 'out_payments_offered': 0, 'out_offered_msat': 0msat, 'out_payments_fulfilled': 0, 'out_fulfilled_msat': 0msat, 'htlcs': []}]}} +{ + "id": "pytest:listpeerchannels#12", + "result": { + "channels": [ + { + "peer_id": "022d223620a359a47ff7f7ac447c85c46c923da53389221a0054c11c1e3ca31d59", + "peer_connected": true, + "channel_type": { + "bits": [ + 12, + 20 + ], + "names": [ + "static_remotekey/even", + "anchor_outputs/even" + ] + }, + "state": "CHANNELD_NORMAL", + "scratch_txid": "2063eb48acd90b66c11c8a06e57ede269842ca1ba40d11ac710be7ffd833999e", + "last_tx_fee_msat": "8760000msat", + "feerate": { + "perkw": 7500, + "perkb": 30000 + }, + "owner": "channeld", + "short_channel_id": "103x1x0", + "direction": 1, + "channel_id": "882ac1c21cd2d9d27b7ab21bae226c871999f273e82bd697644e502a29a705a2", + "funding_txid": "a205a7292a504e6497d62be873f29919876c22ae1bb27a7bd2d9d21cc2c12a88", + "funding_outnum": 0, + "close_to_addr": "bcrt1qquwynjkj7ss08jq9l8mtnzjhy6wtzs2s6hgawv", + "close_to": "0014071c49cad2f420f3c805f9f6b98a57269cb14150", + "private": false, + "opener": "local", + "alias": { + "local": "13811490x639340x27623", + "remote": "6649444x3348743x28669" + }, + "features": [ + "option_static_remotekey", + "option_anchor_outputs" + ], + "funding": { + "local_funds_msat": "1000000000msat", + "remote_funds_msat": "0msat", + "pushed_msat": "0msat" + }, + "to_us_msat": "1000000000msat", + "min_to_us_msat": "1000000000msat", + "max_to_us_msat": "1000000000msat", + "total_msat": "1000000000msat", + "fee_base_msat": "1msat", + "fee_proportional_millionths": 10, + "dust_limit_msat": "546000msat", + "max_total_htlc_in_msat": "18446744073709551615msat", + "their_reserve_msat": "10000000msat", + "our_reserve_msat": "10000000msat", + "spendable_msat": "967320000msat", + "receivable_msat": "0msat", + "minimum_htlc_in_msat": "0msat", + "minimum_htlc_out_msat": "0msat", + "maximum_htlc_out_msat": "990000000msat", + "their_to_self_delay": 5, + "our_to_self_delay": 5, + "max_accepted_htlcs": 483, + "state_changes": [ + { + "timestamp": "2023-10-31T16:17:03.769Z", + "old_state": "CHANNELD_AWAITING_LOCKIN", + "new_state": "CHANNELD_NORMAL", + "cause": "user", + "message": "Lockin complete" + } + ], + "status": [ + "CHANNELD_NORMAL:Channel ready for use." + ], + "in_payments_offered": 0, + "in_offered_msat": "0msat", + "in_payments_fulfilled": 0, + "in_fulfilled_msat": "0msat", + "out_payments_offered": 0, + "out_offered_msat": "0msat", + "out_payments_fulfilled": 0, + "out_fulfilled_msat": "0msat", + "htlcs": [] + } + ] + } +} +{ + "id": "pytest:listpeerchannels#13", + "method": "listpeerchannels", + "params": { + "id": "022d223620a359a47ff7f7ac447c85c46c923da53389221a0054c11c1e3ca31d59" + }, + "filter": null +} +Calling listpeerchannels with payload {'id': '022d223620a359a47ff7f7ac447c85c46c923da53389221a0054c11c1e3ca31d59'} +Received response for listpeerchannels call: {'jsonrpc': '2.0', 'id': 'pytest:listpeerchannels#13', 'result': {'channels': [{'peer_id': '022d223620a359a47ff7f7ac447c85c46c923da53389221a0054c11c1e3ca31d59', 'peer_connected': True, 'channel_type': {'bits': [12, 20], 'names': ['static_remotekey/even', 'anchor_outputs/even']}, 'state': 'CHANNELD_NORMAL', 'scratch_txid': '2063eb48acd90b66c11c8a06e57ede269842ca1ba40d11ac710be7ffd833999e', 'last_tx_fee_msat': 8760000msat, 'feerate': {'perkw': 7500, 'perkb': 30000}, 'owner': 'channeld', 'short_channel_id': '103x1x0', 'direction': 1, 'channel_id': '882ac1c21cd2d9d27b7ab21bae226c871999f273e82bd697644e502a29a705a2', 'funding_txid': 'a205a7292a504e6497d62be873f29919876c22ae1bb27a7bd2d9d21cc2c12a88', 'funding_outnum': 0, 'close_to_addr': 'bcrt1qquwynjkj7ss08jq9l8mtnzjhy6wtzs2s6hgawv', 'close_to': '0014071c49cad2f420f3c805f9f6b98a57269cb14150', 'private': False, 'opener': 'local', 'alias': {'local': '13811490x639340x27623', 'remote': '6649444x3348743x28669'}, 'features': ['option_static_remotekey', 'option_anchor_outputs'], 'funding': {'local_funds_msat': 1000000000msat, 'remote_funds_msat': 0msat, 'pushed_msat': 0msat}, 'to_us_msat': 1000000000msat, 'min_to_us_msat': 1000000000msat, 'max_to_us_msat': 1000000000msat, 'total_msat': 1000000000msat, 'fee_base_msat': 1msat, 'fee_proportional_millionths': 10, 'dust_limit_msat': 546000msat, 'max_total_htlc_in_msat': 18446744073709551615msat, 'their_reserve_msat': 10000000msat, 'our_reserve_msat': 10000000msat, 'spendable_msat': 967320000msat, 'receivable_msat': 0msat, 'minimum_htlc_in_msat': 0msat, 'minimum_htlc_out_msat': 0msat, 'maximum_htlc_out_msat': 990000000msat, 'their_to_self_delay': 5, 'our_to_self_delay': 5, 'max_accepted_htlcs': 483, 'state_changes': [{'timestamp': '2023-10-31T16:17:03.769Z', 'old_state': 'CHANNELD_AWAITING_LOCKIN', 'new_state': 'CHANNELD_NORMAL', 'cause': 'user', 'message': 'Lockin complete'}], 'status': ['CHANNELD_NORMAL:Channel ready for use.'], 'in_payments_offered': 0, 'in_offered_msat': 0msat, 'in_payments_fulfilled': 0, 'in_fulfilled_msat': 0msat, 'out_payments_offered': 0, 'out_offered_msat': 0msat, 'out_payments_fulfilled': 0, 'out_fulfilled_msat': 0msat, 'htlcs': []}]}} +{ + "id": "pytest:listpeerchannels#13", + "result": { + "channels": [ + { + "peer_id": "022d223620a359a47ff7f7ac447c85c46c923da53389221a0054c11c1e3ca31d59", + "peer_connected": true, + "channel_type": { + "bits": [ + 12, + 20 + ], + "names": [ + "static_remotekey/even", + "anchor_outputs/even" + ] + }, + "state": "CHANNELD_NORMAL", + "scratch_txid": "2063eb48acd90b66c11c8a06e57ede269842ca1ba40d11ac710be7ffd833999e", + "last_tx_fee_msat": "8760000msat", + "feerate": { + "perkw": 7500, + "perkb": 30000 + }, + "owner": "channeld", + "short_channel_id": "103x1x0", + "direction": 1, + "channel_id": "882ac1c21cd2d9d27b7ab21bae226c871999f273e82bd697644e502a29a705a2", + "funding_txid": "a205a7292a504e6497d62be873f29919876c22ae1bb27a7bd2d9d21cc2c12a88", + "funding_outnum": 0, + "close_to_addr": "bcrt1qquwynjkj7ss08jq9l8mtnzjhy6wtzs2s6hgawv", + "close_to": "0014071c49cad2f420f3c805f9f6b98a57269cb14150", + "private": false, + "opener": "local", + "alias": { + "local": "13811490x639340x27623", + "remote": "6649444x3348743x28669" + }, + "features": [ + "option_static_remotekey", + "option_anchor_outputs" + ], + "funding": { + "local_funds_msat": "1000000000msat", + "remote_funds_msat": "0msat", + "pushed_msat": "0msat" + }, + "to_us_msat": "1000000000msat", + "min_to_us_msat": "1000000000msat", + "max_to_us_msat": "1000000000msat", + "total_msat": "1000000000msat", + "fee_base_msat": "1msat", + "fee_proportional_millionths": 10, + "dust_limit_msat": "546000msat", + "max_total_htlc_in_msat": "18446744073709551615msat", + "their_reserve_msat": "10000000msat", + "our_reserve_msat": "10000000msat", + "spendable_msat": "967320000msat", + "receivable_msat": "0msat", + "minimum_htlc_in_msat": "0msat", + "minimum_htlc_out_msat": "0msat", + "maximum_htlc_out_msat": "990000000msat", + "their_to_self_delay": 5, + "our_to_self_delay": 5, + "max_accepted_htlcs": 483, + "state_changes": [ + { + "timestamp": "2023-10-31T16:17:03.769Z", + "old_state": "CHANNELD_AWAITING_LOCKIN", + "new_state": "CHANNELD_NORMAL", + "cause": "user", + "message": "Lockin complete" + } + ], + "status": [ + "CHANNELD_NORMAL:Channel ready for use." + ], + "in_payments_offered": 0, + "in_offered_msat": "0msat", + "in_payments_fulfilled": 0, + "in_fulfilled_msat": "0msat", + "out_payments_offered": 0, + "out_offered_msat": "0msat", + "out_payments_fulfilled": 0, + "out_fulfilled_msat": "0msat", + "htlcs": [] + } + ] + } +} +{ + "id": "pytest:listchannels#14", + "method": "listchannels", + "params": { + "short_channel_id": "103x1x0", + "source": null, + "destination": null + }, + "filter": null +} +Calling listchannels with payload {'short_channel_id': '103x1x0', 'source': None, 'destination': None} +Received response for listchannels call: {'jsonrpc': '2.0', 'id': 'pytest:listchannels#14', 'result': {'channels': []}} +{ + "id": "pytest:listchannels#14", + "result": { + "channels": [] + } +} +{ + "id": "pytest:listchannels#15", + "method": "listchannels", + "params": { + "short_channel_id": "103x1x0", + "source": null, + "destination": null + }, + "filter": null +} +Calling listchannels with payload {'short_channel_id': '103x1x0', 'source': None, 'destination': None} +Received response for listchannels call: {'jsonrpc': '2.0', 'id': 'pytest:listchannels#15', 'result': {'channels': []}} +{ + "id": "pytest:listchannels#15", + "result": { + "channels": [] + } +} +{ + "id": "pytest:listchannels#16", + "method": "listchannels", + "params": { + "short_channel_id": "103x1x0", + "source": null, + "destination": null + }, + "filter": null +} +Calling listchannels with payload {'short_channel_id': '103x1x0', 'source': None, 'destination': None} +Received response for listchannels call: {'jsonrpc': '2.0', 'id': 'pytest:listchannels#16', 'result': {'channels': []}} +{ + "id": "pytest:listchannels#16", + "result": { + "channels": [] + } +} +{ + "id": "pytest:listchannels#17", + "method": "listchannels", + "params": { + "short_channel_id": "103x1x0", + "source": null, + "destination": null + }, + "filter": null +} +Calling listchannels with payload {'short_channel_id': '103x1x0', 'source': None, 'destination': None} +Received response for listchannels call: {'jsonrpc': '2.0', 'id': 'pytest:listchannels#17', 'result': {'channels': []}} +{ + "id": "pytest:listchannels#17", + "result": { + "channels": [] + } +} +{ + "id": "pytest:listchannels#18", + "method": "listchannels", + "params": { + "short_channel_id": "103x1x0", + "source": null, + "destination": null + }, + "filter": null +} +Calling listchannels with payload {'short_channel_id': '103x1x0', 'source': None, 'destination': None} +Received response for listchannels call: {'jsonrpc': '2.0', 'id': 'pytest:listchannels#18', 'result': {'channels': []}} +{ + "id": "pytest:listchannels#18", + "result": { + "channels": [] + } +} +lightningd-2 2023-10-31T16:17:08.765Z DEBUG 022d223620a359a47ff7f7ac447c85c46c923da53389221a0054c11c1e3ca31d59-hsmd: Got WIRE_HSMD_CUPDATE_SIG_REQ +lightningd-2 2023-10-31T16:17:08.767Z DEBUG hsmd: Client: Received message 3 from client +lightningd-1 2023-10-31T16:17:08.773Z DEBUG 0266e4598d1d3c415f572a8488830b60f7e744ed9235eb0b1ba93283b315c03518-hsmd: Got WIRE_HSMD_CUPDATE_SIG_REQ +lightningd-1 2023-10-31T16:17:08.773Z DEBUG hsmd: Client: Received message 3 from client +lightningd-2 2023-10-31T16:17:10.466Z DEBUG 0266e4598d1d3c415f572a8488830b60f7e744ed9235eb0b1ba93283b315c03518-gossipd: seeker: startup peer finished +lightningd-2 2023-10-31T16:17:10.467Z DEBUG 0266e4598d1d3c415f572a8488830b60f7e744ed9235eb0b1ba93283b315c03518-gossipd: seeker: state = PROBING_SCIDS Seeking scids 1 - 103 +lightningd-2 2023-10-31T16:17:10.470Z DEBUG 0266e4598d1d3c415f572a8488830b60f7e744ed9235eb0b1ba93283b315c03518-gossipd: sending query_channel_range for blocks 1+103 +lightningd-2 2023-10-31T16:17:10.473Z DEBUG 0266e4598d1d3c415f572a8488830b60f7e744ed9235eb0b1ba93283b315c03518-gossipd: reply_channel_range 1+103 (of 1+103) 0 scids +lightningd-2 2023-10-31T16:17:10.476Z DEBUG gossipd: seeker: state = NORMAL No unannounced nodes +lightningd-1 2023-10-31T16:17:10.507Z DEBUG 022d223620a359a47ff7f7ac447c85c46c923da53389221a0054c11c1e3ca31d59-gossipd: seeker: startup peer finished +lightningd-1 2023-10-31T16:17:10.509Z DEBUG 022d223620a359a47ff7f7ac447c85c46c923da53389221a0054c11c1e3ca31d59-gossipd: seeker: state = PROBING_SCIDS Seeking scids 1 - 103 +lightningd-1 2023-10-31T16:17:10.509Z DEBUG 022d223620a359a47ff7f7ac447c85c46c923da53389221a0054c11c1e3ca31d59-gossipd: sending query_channel_range for blocks 1+103 +lightningd-1 2023-10-31T16:17:10.512Z DEBUG 022d223620a359a47ff7f7ac447c85c46c923da53389221a0054c11c1e3ca31d59-gossipd: reply_channel_range 1+103 (of 1+103) 0 scids +lightningd-1 2023-10-31T16:17:10.514Z DEBUG gossipd: seeker: state = NORMAL No unannounced nodes +{ + "id": "pytest:listchannels#19", + "method": "listchannels", + "params": { + "short_channel_id": "103x1x0", + "source": null, + "destination": null + }, + "filter": null +} +Calling listchannels with payload {'short_channel_id': '103x1x0', 'source': None, 'destination': None} +Received response for listchannels call: {'jsonrpc': '2.0', 'id': 'pytest:listchannels#19', 'result': {'channels': [{'source': '022d223620a359a47ff7f7ac447c85c46c923da53389221a0054c11c1e3ca31d59', 'destination': '0266e4598d1d3c415f572a8488830b60f7e744ed9235eb0b1ba93283b315c03518', 'short_channel_id': '103x1x0', 'direction': 0, 'public': False, 'amount_msat': 1000000000msat, 'message_flags': 1, 'channel_flags': 0, 'active': True, 'last_update': 1698769023, 'base_fee_millisatoshi': 1, 'fee_per_millionth': 10, 'delay': 6, 'htlc_minimum_msat': 0msat, 'htlc_maximum_msat': 990000000msat, 'features': ''}, {'source': '0266e4598d1d3c415f572a8488830b60f7e744ed9235eb0b1ba93283b315c03518', 'destination': '022d223620a359a47ff7f7ac447c85c46c923da53389221a0054c11c1e3ca31d59', 'short_channel_id': '103x1x0', 'direction': 1, 'public': False, 'amount_msat': 1000000000msat, 'message_flags': 1, 'channel_flags': 1, 'active': True, 'last_update': 1698769023, 'base_fee_millisatoshi': 1, 'fee_per_millionth': 10, 'delay': 6, 'htlc_minimum_msat': 0msat, 'htlc_maximum_msat': 990000000msat, 'features': ''}]}} +{ + "id": "pytest:listchannels#19", + "result": { + "channels": [ + { + "source": "022d223620a359a47ff7f7ac447c85c46c923da53389221a0054c11c1e3ca31d59", + "destination": "0266e4598d1d3c415f572a8488830b60f7e744ed9235eb0b1ba93283b315c03518", + "short_channel_id": "103x1x0", + "direction": 0, + "public": false, + "amount_msat": "1000000000msat", + "message_flags": 1, + "channel_flags": 0, + "active": true, + "last_update": 1698769023, + "base_fee_millisatoshi": 1, + "fee_per_millionth": 10, + "delay": 6, + "htlc_minimum_msat": "0msat", + "htlc_maximum_msat": "990000000msat", + "features": "" + }, + { + "source": "0266e4598d1d3c415f572a8488830b60f7e744ed9235eb0b1ba93283b315c03518", + "destination": "022d223620a359a47ff7f7ac447c85c46c923da53389221a0054c11c1e3ca31d59", + "short_channel_id": "103x1x0", + "direction": 1, + "public": false, + "amount_msat": "1000000000msat", + "message_flags": 1, + "channel_flags": 1, + "active": true, + "last_update": 1698769023, + "base_fee_millisatoshi": 1, + "fee_per_millionth": 10, + "delay": 6, + "htlc_minimum_msat": "0msat", + "htlc_maximum_msat": "990000000msat", + "features": "" + } + ] + } +} +{ + "id": "pytest:listchannels#3", + "method": "listchannels", + "params": { + "short_channel_id": "103x1x0", + "source": null, + "destination": null + }, + "filter": null +} +Calling listchannels with payload {'short_channel_id': '103x1x0', 'source': None, 'destination': None} +Received response for listchannels call: {'jsonrpc': '2.0', 'id': 'pytest:listchannels#3', 'result': {'channels': [{'source': '022d223620a359a47ff7f7ac447c85c46c923da53389221a0054c11c1e3ca31d59', 'destination': '0266e4598d1d3c415f572a8488830b60f7e744ed9235eb0b1ba93283b315c03518', 'short_channel_id': '103x1x0', 'direction': 0, 'public': False, 'amount_msat': 1000000000msat, 'message_flags': 1, 'channel_flags': 0, 'active': True, 'last_update': 1698769023, 'base_fee_millisatoshi': 1, 'fee_per_millionth': 10, 'delay': 6, 'htlc_minimum_msat': 0msat, 'htlc_maximum_msat': 990000000msat, 'features': ''}, {'source': '0266e4598d1d3c415f572a8488830b60f7e744ed9235eb0b1ba93283b315c03518', 'destination': '022d223620a359a47ff7f7ac447c85c46c923da53389221a0054c11c1e3ca31d59', 'short_channel_id': '103x1x0', 'direction': 1, 'public': False, 'amount_msat': 1000000000msat, 'message_flags': 1, 'channel_flags': 1, 'active': True, 'last_update': 1698769023, 'base_fee_millisatoshi': 1, 'fee_per_millionth': 10, 'delay': 6, 'htlc_minimum_msat': 0msat, 'htlc_maximum_msat': 990000000msat, 'features': ''}]}} +{ + "id": "pytest:listchannels#3", + "result": { + "channels": [ + { + "source": "022d223620a359a47ff7f7ac447c85c46c923da53389221a0054c11c1e3ca31d59", + "destination": "0266e4598d1d3c415f572a8488830b60f7e744ed9235eb0b1ba93283b315c03518", + "short_channel_id": "103x1x0", + "direction": 0, + "public": false, + "amount_msat": "1000000000msat", + "message_flags": 1, + "channel_flags": 0, + "active": true, + "last_update": 1698769023, + "base_fee_millisatoshi": 1, + "fee_per_millionth": 10, + "delay": 6, + "htlc_minimum_msat": "0msat", + "htlc_maximum_msat": "990000000msat", + "features": "" + }, + { + "source": "0266e4598d1d3c415f572a8488830b60f7e744ed9235eb0b1ba93283b315c03518", + "destination": "022d223620a359a47ff7f7ac447c85c46c923da53389221a0054c11c1e3ca31d59", + "short_channel_id": "103x1x0", + "direction": 1, + "public": false, + "amount_msat": "1000000000msat", + "message_flags": 1, + "channel_flags": 1, + "active": true, + "last_update": 1698769023, + "base_fee_millisatoshi": 1, + "fee_per_millionth": 10, + "delay": 6, + "htlc_minimum_msat": "0msat", + "htlc_maximum_msat": "990000000msat", + "features": "" + } + ] + } +} +{ + "id": "pytest:newaddr#4", + "method": "newaddr", + "params": { + "addresstype": "bech32" + }, + "filter": null +} +Calling newaddr with payload {'addresstype': 'bech32'} +lightningd-2 2023-10-31T16:17:12.463Z DEBUG hsmd: Client: Received message 28 from client +Received response for newaddr call: {'jsonrpc': '2.0', 'id': 'pytest:newaddr#4', 'result': {'bech32': 'bcrt1q9tc6q49l6wrrtp8ul45rj92hsleehwwxty32zu'}} +{ + "id": "pytest:newaddr#4", + "result": { + "bech32": "bcrt1q9tc6q49l6wrrtp8ul45rj92hsleehwwxty32zu" + } +} +Calling sendtoaddress with arguments ('bcrt1q9tc6q49l6wrrtp8ul45rj92hsleehwwxty32zu', 0.02) +Result for sendtoaddress call: f90a3bcb48e6c79a7554f765bcd4d4e4e1cd4e5ba191f14142ff115bcb8add04 +Calling getrawmempool with arguments (True,) +Result for getrawmempool call: {'f90a3bcb48e6c79a7554f765bcd4d4e4e1cd4e5ba191f14142ff115bcb8add04': {'vsize': 141, 'weight': 561, 'time': 1698769032, 'height': 103, 'descendantcount': 1, 'descendantsize': 141, 'ancestorcount': 1, 'ancestorsize': 141, 'wtxid': '81670ee7791379eb6dda137fbdd0b7a4830e5b34c2de979762d5f69c2f7032ef', 'fees': {'base': Decimal('0.00000141'), 'modified': Decimal('0.00000141'), 'ancestor': Decimal('0.00000141'), 'descendant': Decimal('0.00000141')}, 'depends': [], 'spentby': [], 'bip125-replaceable': True, 'unbroadcast': True}} +Generating 1, confirming 1 transactions: {'f90a3bcb48e6c79a7554f765bcd4d4e4e1cd4e5ba191f14142ff115bcb8add04': {'vsize': 141, 'weight': 561, 'time': 1698769032, 'height': 103, 'descendantcount': 1, 'descendantsize': 141, 'ancestorcount': 1, 'ancestorsize': 141, 'wtxid': '81670ee7791379eb6dda137fbdd0b7a4830e5b34c2de979762d5f69c2f7032ef', 'fees': {'base': Decimal('0.00000141'), 'modified': Decimal('0.00000141'), 'ancestor': Decimal('0.00000141'), 'descendant': Decimal('0.00000141')}, 'depends': [], 'spentby': [], 'bip125-replaceable': True, 'unbroadcast': True}} +Calling getnewaddress with arguments () +Result for getnewaddress call: bcrt1qghp3kpv48hndu87acw5g6z057fueuueel5h7cm +Calling generatetoaddress with arguments (1, 'bcrt1qghp3kpv48hndu87acw5g6z057fueuueel5h7cm') +Result for generatetoaddress call: ['5c0dc953e6158bc51ad7f70841c57addf8b90fa31fd231bccf7d375dfce44437'] +Waiting for ['Owning output .* txid f90a3bcb48e6c79a7554f765bcd4d4e4e1cd4e5ba191f14142ff115bcb8add04 CONFIRMED'] in the logs +lightningd-1 2023-10-31T16:17:12.874Z DEBUG lightningd: Adding block 104: 5c0dc953e6158bc51ad7f70841c57addf8b90fa31fd231bccf7d375dfce44437 +lightningd-1 2023-10-31T16:17:12.898Z DEBUG 022d223620a359a47ff7f7ac447c85c46c923da53389221a0054c11c1e3ca31d59-chan#1: Got depth change 1->2 for a205a7292a504e6497d62be873f29919876c22ae1bb27a7bd2d9d21cc2c12a88 +lightningd-1 2023-10-31T16:17:12.898Z DEBUG 022d223620a359a47ff7f7ac447c85c46c923da53389221a0054c11c1e3ca31d59-chan#1: Funding tx a205a7292a504e6497d62be873f29919876c22ae1bb27a7bd2d9d21cc2c12a88 depth 2 of 1 +lightningd-1 2023-10-31T16:17:12.899Z DEBUG 022d223620a359a47ff7f7ac447c85c46c923da53389221a0054c11c1e3ca31d59-chan#1: attempting update blockheight 882ac1c21cd2d9d27b7ab21bae226c871999f273e82bd697644e502a29a705a2 +lightningd-1 2023-10-31T16:17:12.903Z DEBUG gossipd: REPLY WIRE_GOSSIPD_NEW_BLOCKHEIGHT_REPLY with 0 fds +lightningd-1 2023-10-31T16:17:12.903Z DEBUG 022d223620a359a47ff7f7ac447c85c46c923da53389221a0054c11c1e3ca31d59-channeld-chan#1: billboard: Channel ready for use. +lightningd-1 2023-10-31T16:17:12.904Z DEBUG gossipd: received private channel announcement from channeld for 103x1x0 +lightningd-2 2023-10-31T16:17:12.910Z DEBUG lightningd: Adding block 104: 5c0dc953e6158bc51ad7f70841c57addf8b90fa31fd231bccf7d375dfce44437 +lightningd-2 2023-10-31T16:17:12.913Z DEBUG wallet: Owning output 0 2000000sat (SEGWIT) txid f90a3bcb48e6c79a7554f765bcd4d4e4e1cd4e5ba191f14142ff115bcb8add04 CONFIRMED +lightningd-2 2023-10-31T16:17:12.922Z DEBUG plugin-bookkeeper: coin_move 2 (deposit) 2000000000msat -0msat chain_mvt 1698769032 +lightningd-2 2023-10-31T16:17:12.927Z DEBUG 0266e4598d1d3c415f572a8488830b60f7e744ed9235eb0b1ba93283b315c03518-chan#1: Got depth change 1->2 for a205a7292a504e6497d62be873f29919876c22ae1bb27a7bd2d9d21cc2c12a88 +lightningd-2 2023-10-31T16:17:12.928Z DEBUG 0266e4598d1d3c415f572a8488830b60f7e744ed9235eb0b1ba93283b315c03518-chan#1: Funding tx a205a7292a504e6497d62be873f29919876c22ae1bb27a7bd2d9d21cc2c12a88 depth 2 of 1 +lightningd-2 2023-10-31T16:17:12.928Z DEBUG 0266e4598d1d3c415f572a8488830b60f7e744ed9235eb0b1ba93283b315c03518-chan#1: attempting update blockheight 882ac1c21cd2d9d27b7ab21bae226c871999f273e82bd697644e502a29a705a2 +lightningd-2 2023-10-31T16:17:12.931Z DEBUG gossipd: REPLY WIRE_GOSSIPD_NEW_BLOCKHEIGHT_REPLY with 0 fds +lightningd-2 2023-10-31T16:17:12.932Z DEBUG 0266e4598d1d3c415f572a8488830b60f7e744ed9235eb0b1ba93283b315c03518-channeld-chan#1: billboard: Channel ready for use. +lightningd-2 2023-10-31T16:17:12.932Z DEBUG gossipd: received private channel announcement from channeld for 103x1x0 +Found 're.compile('Owning output .* txid f90a3bcb48e6c79a7554f765bcd4d4e4e1cd4e5ba191f14142ff115bcb8add04 CONFIRMED')' in logs +Creating new client in /tmp/gltesting/tmp/tmprvad17gw/clients/client-1 +Initializing hsm_secret with provided secret +Loading generic nobody identity from /tmp/gltesting/tmp/tmprvad17gw/clients/client-1/nobody-key.pem +Constructing nobody identity +Customizing greenlight CA +Constructing nobody identity +Constructing nobody identity +Authenticating TLS identity +Client for node_id=026f61d7ee82f937f9697f4f3e44bfaaa25849cc4f526b3a57326130eba6346002 initialized +Loading generic nobody identity from /tmp/gltesting/tmp/tmprvad17gw/clients/client-1/nobody-key.pem +Constructing nobody identity +Customizing greenlight CA +Constructing nobody identity +Constructing nobody identity +Authenticating TLS identity +Loading generic nobody identity from /tmp/gltesting/tmp/tmprvad17gw/clients/client-1/nobody-key.pem +Constructing nobody identity +Customizing greenlight CA +Constructing nobody identity +Constructing nobody identity +Authenticating TLS identity +Generating a new CA for path /users/026f61d7ee82f937f9697f4f3e44bfaaa25849cc4f526b3a57326130eba6346002 +Using CA /users as parent +Using CA /users/026f61d7ee82f937f9697f4f3e44bfaaa25849cc4f526b3a57326130eba6346002 as parent +Generating a new certificate for /users/026f61d7ee82f937f9697f4f3e44bfaaa25849cc4f526b3a57326130eba6346002/node +{'CN': 'GL /users/026f61d7ee82f937f9697f4f3e44bfaaa25849cc4f526b3a57326130eba6346002/node', 'key': {'algo': 'ecdsa', 'size': 256}, 'names': [{'C': 'US', 'L': 'San Francisco', 'O': 'Test', 'OU': 'CertificateAuthority', 'ST': 'California'}], 'ca': {'expiry': '24h'}, 'hosts': ['localhost']} +Using CA /users/026f61d7ee82f937f9697f4f3e44bfaaa25849cc4f526b3a57326130eba6346002 as parent +Loading client identity from /tmp/gltesting/tmp/tmprvad17gw/clients/client-1/device-key.pem +Constructing nobody identity +Customizing greenlight CA +Constructing nobody identity +Constructing nobody identity +Authenticating TLS identity +Determined that we need to start node_version=NodeVersion(path=PosixPath('/opt/cln/v23.08gl1/usr/local/bin/lightningd'), name='v23.08gl1') for n.signer_version=SignerVersion(name='v23.08') +Writing node config to /tmp/gltesting/tmp/tmpx1193nzq/node-0/regtest/node_config.pb +Starting '/opt/cln/v23.08gl1/usr/local/bin/lightningd --lightning-dir=/tmp/gltesting/tmp/tmpx1193nzq/node-0 --network=regtest --log-level=debug --bitcoin-rpcuser=rpcuser --bitcoin-rpcpassword=rpcpass --bitcoin-rpcconnect=localhost:48511 --disable-plugin=commando --rescan=1 --log-timestamps=false --cltv-final=6 --addr=127.0.0.1:34811 --disable-plugin=cln-grpc --subdaemon=hsmd:/tmp/gltesting/target/debug/gl-signerproxy --important-plugin=/tmp/gltesting/target/debug/gl-plugin --dev-bitcoind-poll=5 --dev-fast-gossip --offline --experimental-anchors' +Waiting for ['Server started with public key'] in the logs +node: DEBUG plugin-manager: blacklist for commando +node: INFO plugin-manager: /opt/cln/v23.08gl1/usr/local/libexec/c-lightning/plugins/commando: disabled via disable-plugin +node: DEBUG plugin-manager: blacklist for cln-grpc +node: DEBUG plugin-manager: started(28630) /opt/cln/v23.08gl1/usr/local/libexec/c-lightning/plugins/autoclean +node: DEBUG plugin-manager: started(28631) /opt/cln/v23.08gl1/usr/local/libexec/c-lightning/plugins/chanbackup +node: DEBUG plugin-manager: started(28632) /opt/cln/v23.08gl1/usr/local/libexec/c-lightning/plugins/bcli +node: DEBUG plugin-manager: started(28633) /opt/cln/v23.08gl1/usr/local/libexec/c-lightning/plugins/fetchinvoice +node: DEBUG plugin-manager: started(28634) /opt/cln/v23.08gl1/usr/local/libexec/c-lightning/plugins/funder +node: DEBUG plugin-manager: started(28636) /opt/cln/v23.08gl1/usr/local/libexec/c-lightning/plugins/topology +node: DEBUG plugin-manager: started(28637) /opt/cln/v23.08gl1/usr/local/libexec/c-lightning/plugins/keysend +node: DEBUG plugin-manager: started(28639) /opt/cln/v23.08gl1/usr/local/libexec/c-lightning/plugins/offers +node: DEBUG plugin-manager: started(28640) /opt/cln/v23.08gl1/usr/local/libexec/c-lightning/plugins/pay +node: DEBUG plugin-manager: started(28641) /opt/cln/v23.08gl1/usr/local/libexec/c-lightning/plugins/txprepare +node: DEBUG plugin-manager: started(28642) /opt/cln/v23.08gl1/usr/local/libexec/c-lightning/plugins/cln-renepay +node: DEBUG plugin-manager: started(28643) /opt/cln/v23.08gl1/usr/local/libexec/c-lightning/plugins/spenderp +node: DEBUG plugin-manager: started(28644) /opt/cln/v23.08gl1/usr/local/libexec/c-lightning/plugins/sql +node: DEBUG plugin-manager: started(28645) /opt/cln/v23.08gl1/usr/local/libexec/c-lightning/plugins/bookkeeper +node: DEBUG plugin-manager: started(28646) /opt/cln/v23.08gl1/usr/local/libexec/c-lightning/plugins/clnrest/clnrest.py +node: DEBUG plugin-manager: started(28647) /tmp/gltesting/target/debug/gl-plugin +node: INFO plugin-clnrest.py: Killing plugin: disabled itself: No module named 'gunicorn' +node: DEBUG lightningd: io_break: check_plugins_manifests +node: DEBUG lightningd: io_loop_with_timers: plugins_init +node: INFO lightningd: Started in offline mode! +node: DEBUG lightningd: testing /opt/cln/v23.08gl1/usr/local/libexec/c-lightning/lightning_channeld +node: DEBUG lightningd: testing /opt/cln/v23.08gl1/usr/local/libexec/c-lightning/lightning_closingd +node: DEBUG lightningd: testing /opt/cln/v23.08gl1/usr/local/libexec/c-lightning/lightning_connectd +node: DEBUG lightningd: testing /opt/cln/v23.08gl1/usr/local/libexec/c-lightning/lightning_gossipd +node: DEBUG lightningd: testing /tmp/gltesting/target/debug/gl-signerproxy +node: DEBUG lightningd: testing /opt/cln/v23.08gl1/usr/local/libexec/c-lightning/lightning_onchaind +node: DEBUG lightningd: testing /opt/cln/v23.08gl1/usr/local/libexec/c-lightning/lightning_openingd +node: DEBUG hsmd: pid 28679, msgfd 45 +node: DEBUG hsmd: capability +WIRE_HSMD_CHECK_PUBKEY +node: DEBUG hsmd: capability +WIRE_HSMD_SIGN_ANY_DELAYED_PAYMENT_TO_US +node: DEBUG hsmd: capability +WIRE_HSMD_SIGN_ANCHORSPEND +node: DEBUG hsmd: capability +WIRE_HSMD_SIGN_HTLC_TX_MINGLE +node: INFO lightningd: Creating database +node: DEBUG connectd: pid 28681, msgfd 49 +node: UNUSUAL plugin-gl-plugin: JSON-RPC interface not yet available. Delaying 50ms. IoError(Os { code: 2, kind: NotFound, message: \"No such file or directory\" }) +node: DEBUG plugin-gl-plugin: Received request from hsmproxy: HsmRequest { request_id: 0, context: None, raw: [0, 11, 4, 53, 135, 207, 4, 53, 131, 148, 6, 34, 110, 70, 17, 26, 11, 89, 202, 175, 18, 96, 67, 235, 91, 191, 40, 195, 79, 58, 94, 51, 42, 31, 199, 178, 183, 60, 241, 136, 145, 15, 0, 0, 0, 0, 0, 0, 0, 0, 3, 0, 0, 0, 4], signer_state: [], requests: [] } +node: DEBUG plugin-gl-plugin: Returning stashed init msg: [0, 114, 0, 0, 0, 4, 0, 4, 0, 0, 0, 28, 0, 0, 0, 142, 0, 0, 0, 147, 0, 0, 0, 149, 2, 111, 97, 215, 238, 130, 249, 55, 249, 105, 127, 79, 62, 68, 191, 170, 162, 88, 73, 204, 79, 82, 107, 58, 87, 50, 97, 48, 235, 166, 52, 96, 2, 4, 53, 135, 207, 2, 183, 193, 175, 25, 0, 0, 0, 0, 18, 239, 175, 51, 47, 226, 134, 38, 94, 51, 113, 22, 4, 132, 37, 228, 179, 100, 80, 236, 160, 131, 50, 84, 33, 243, 232, 143, 35, 221, 162, 26, 3, 100, 229, 184, 99, 15, 45, 84, 94, 220, 186, 49, 254, 105, 158, 180, 190, 22, 134, 149, 181, 86, 65, 161, 144, 84, 115, 72, 198, 31, 85, 196, 218, 2, 1, 116, 72, 66, 103, 162, 164, 30, 210, 140, 126, 146, 59, 171, 74, 186, 186, 250, 136, 62, 26, 197, 242, 86, 202, 237, 44, 143, 169, 171, 175, 34] +node: UNUSUAL plugin-gl-plugin: JSON-RPC interface not yet available. Delaying 50ms. IoError(Os { code: 2, kind: NotFound, message: \"No such file or directory\" }) +node: DEBUG plugin-gl-plugin: Received request from hsmproxy: HsmRequest { request_id: 1, context: None, raw: [0, 27, 0, 19, 98, 111, 108, 116, 49, 50, 45, 105, 110, 118, 111, 105, 99, 101, 45, 98, 97, 115, 101], signer_state: [], requests: [] } +node: DEBUG plugin-gl-plugin: Returning canned response=[0, 127, 46, 150, 2, 229, 150, 210, 246, 196, 86, 113, 255, 27, 234, 61, 122, 140, 209, 7, 215, 100, 222, 47, 12, 23, 64, 216, 7, 235, 40, 14, 195, 235] for request=[0, 27, 0, 19, 98, 111, 108, 116, 49, 50, 45, 105, 110, 118, 111, 105, 99, 101, 45, 98, 97, 115, 101] +node: DEBUG plugin-gl-plugin: Received request from hsmproxy: HsmRequest { request_id: 2, context: None, raw: [0, 27, 0, 8, 99, 111, 109, 109, 97, 110, 100, 111], signer_state: [], requests: [] } +node: DEBUG plugin-gl-plugin: Returning canned response=[0, 127, 222, 203, 214, 98, 132, 178, 75, 85, 126, 133, 34, 188, 153, 92, 21, 183, 79, 157, 62, 209, 198, 82, 178, 177, 112, 107, 244, 59, 21, 127, 232, 182] for request=[0, 27, 0, 8, 99, 111, 109, 109, 97, 110, 100, 111] +node: UNUSUAL plugin-gl-plugin: JSON-RPC interface not yet available. Delaying 50ms. IoError(Os { code: 2, kind: NotFound, message: \"No such file or directory\" }) +node: DEBUG connectd: Created listener on 127.0.0.1:34811 +node: DEBUG connectd: REPLY WIRE_CONNECTD_INIT_REPLY with 0 fds +node: DEBUG lightningd: io_break: connect_init_done +node: DEBUG lightningd: io_loop: connectd_init +node: INFO plugin-bcli: bitcoin-cli initialized and connected to bitcoind. +node: DEBUG lightningd: io_break: plugin_config_cb +node: DEBUG lightningd: io_loop_with_timers: config_plugin +node: DEBUG lightningd: All Bitcoin plugin commands registered +node: UNUSUAL plugin-gl-plugin: JSON-RPC interface not yet available. Delaying 50ms. IoError(Os { code: 2, kind: NotFound, message: \"No such file or directory\" }) +node: DEBUG lightningd: Adding block 103: 5d39fdaa7194d9c1971c587748ff88505606d70373e74981b64fe886c306d9aa +node: DEBUG lightningd: io_break: maybe_completed_init +node: DEBUG lightningd: io_loop_with_timers: setup_topology +node: DEBUG wallet: Loaded 0 channels from DB +node: DEBUG gossipd: pid 28691, msgfd 48 +node: DEBUG gossipd: total store load time: 0 msec +node: DEBUG gossipd: gossip_store: Read 0/0/0/0 cannounce/cupdate/nannounce/cdelete from store (0 deleted) in 1 bytes +node: DEBUG gossipd: seeker: state = STARTING_UP New seeker +node: DEBUG gossipd: REPLY WIRE_GOSSIPD_INIT_REPLY with 0 fds +node: DEBUG lightningd: io_break: gossipd_init_done +node: DEBUG lightningd: io_loop: gossip_init +node: DEBUG plugin-bookkeeper: Setting up database at sqlite3://accounts.sqlite3 +node: INFO plugin-bookkeeper: Creating database +node: DEBUG plugin-fetchinvoice: Killing plugin: disabled itself at init: offers not enabled in config +node: DEBUG plugin-gl-plugin: Received request from hsmproxy: HsmRequest { request_id: 3, context: None, raw: [0, 27, 0, 19, 98, 111, 108, 116, 49, 50, 45, 105, 110, 118, 111, 105, 99, 101, 45, 98, 97, 115, 101], signer_state: [], requests: [] } +node: DEBUG plugin-gl-plugin: Returning canned response=[0, 127, 46, 150, 2, 229, 150, 210, 246, 196, 86, 113, 255, 27, 234, 61, 122, 140, 209, 7, 215, 100, 222, 47, 12, 23, 64, 216, 7, 235, 40, 14, 195, 235] for request=[0, 27, 0, 19, 98, 111, 108, 116, 49, 50, 45, 105, 110, 118, 111, 105, 99, 101, 45, 98, 97, 115, 101] +node: DEBUG plugin-gl-plugin: Sending request to JSON-RPC: {\"id\":0,\"jsonrpc\":\"2.0\",\"method\":\"getinfo\",\"params\":{}} +node: DEBUG lightningd: Looking for [autoclean,succeededforwards,num] +node: DEBUG lightningd: Looking for [autoclean,failedforwards,num] +node: DEBUG lightningd: Looking for [autoclean,succeededpays,num] +node: DEBUG plugin-gl-plugin: Read response from JSON-RPC: {\"id\":0,\"jsonrpc\":\"2.0\",\"result\":{\"address\":[],\"alias\":\"HAPPYFIRE-v23.08gl1\",\"blockheight\":103,\"color\":\"026f61\",\"fees_collected_msat\":0,\"id\":\"026f61d7ee82f937f9697f4f3e44bfaaa25849cc4f526b3a57326130eba6346002\",\"lightning-dir\":\"/tmp/gltesting/tmp/tmpx1193nzq/node-0/regtest\",\"network\":\"regtest\",\"num_active_channels\":0,\"num_inactive_channels\":0,\"num_peers\":0,\"num_pending_channels\":0,\"our_features\":{\"channel\":\"\",\"init\":\"08a0000a8269a2\",\"invoice\":\"02000002024100\",\"node\":\"88a0000a8269a2\"},\"version\":\"v23.08gl1\",\"warning_lightningd_sync\":\"Still loading latest blocks from bitcoind.\"}} +node: INFO plugin-gl-plugin: Reconnecting peers after RPC became available. +node: UNUSUAL plugin-gl-plugin: Could not reconnect to peers: Cannot reconnect peers, no signer to complete the handshake +node: DEBUG plugin-gl-plugin: Received request from hsmproxy: HsmRequest { request_id: 4, context: None, raw: [0, 27, 0, 10, 115, 99, 98, 32, 115, 101, 99, 114, 101, 116], signer_state: [], requests: [] } +node: DEBUG plugin-gl-plugin: Returning canned response=[0, 127, 29, 199, 228, 95, 183, 66, 197, 44, 144, 254, 88, 128, 1, 68, 30, 166, 54, 81, 212, 105, 40, 91, 52, 237, 80, 142, 249, 9, 189, 61, 183, 188] for request=[0, 27, 0, 10, 115, 99, 98, 32, 115, 101, 99, 114, 101, 116] +node: DEBUG lightningd: Looking for [autoclean,failedpays,num] +node: DEBUG lightningd: Looking for [autoclean,paidinvoices,num] +node: DEBUG plugin-chanbackup: Chanbackup Initialised! +node: INFO plugin-chanbackup: Creating Emergency Recovery +node: DEBUG lightningd: Looking for [autoclean,expiredinvoices,num] +node: DEBUG connectd: REPLY WIRE_CONNECTD_ACTIVATE_REPLY with 0 fds +node: DEBUG lightningd: io_break: connect_activate_done +node: DEBUG lightningd: io_loop: connectd_activate +node: INFO lightningd: -------------------------------------------------- +node: INFO lightningd: Server started with public key 026f61d7ee82f937f9697f4f3e44bfaaa25849cc4f526b3a57326130eba6346002, alias HAPPYFIRE-v23.08gl1 (color #026f61) and lightningd v23.08gl1 +node: DEBUG lightningd: Adding block 104: 5c0dc953e6158bc51ad7f70841c57addf8b90fa31fd231bccf7d375dfce44437 +node: DEBUG gossipd: REPLY WIRE_GOSSIPD_NEW_BLOCKHEIGHT_REPLY with 0 fds +node: DEBUG plugin-bookkeeper: account wallet has balance 0msat +node: DEBUG plugin-bookkeeper: Snapshot balance does not equal ondisk reported 0msat, off by (+0msat/-0msat) (account wallet) Logging journal entry. +node: INFO plugin-bookkeeper: account wallet not found, adding along with new balance +node: DEBUG plugin-bookkeeper: Snapshot balances updated +Found 're.compile('Server started with public key')' in logs +stdout b'DEBUG lightningd: io_break: connect_activate_done\n' +stderr b'[2023-10-31T16:17:14Z DEBUG gl_signerproxy::hsmproxy] Got a request for a new client fd. Context: HsmRequestContext { node_id: [2, 111, 97, 215, 238, 130, 249, 55, 249, 105, 127, 79, 62, 68, 191, 170, 162, 88, 73, 204, 79, 82, 107, 58, 87, 50, 97, 48, 235, 166, 52, 96, 2], dbid: 0, capabilities: 3 }\n' +Loading client identity from /tmp/gltesting/tmp/tmprvad17gw/clients/client-1/device-key.pem +Constructing nobody identity +Customizing greenlight CA +Constructing nobody identity +Constructing nobody identity +Authenticating TLS identity +lightningd-2 2023-10-31T16:17:15.721Z DEBUG 022d223620a359a47ff7f7ac447c85c46c923da53389221a0054c11c1e3ca31d59-hsmd: Got WIRE_HSMD_ECDH_REQ +lightningd-2 2023-10-31T16:17:15.721Z DEBUG hsmd: Client: Received message 1 from client +lightningd-2 2023-10-31T16:17:15.765Z DEBUG 026f61d7ee82f937f9697f4f3e44bfaaa25849cc4f526b3a57326130eba6346002-connectd: Connect IN +lightningd-2 2023-10-31T16:17:15.765Z DEBUG 026f61d7ee82f937f9697f4f3e44bfaaa25849cc4f526b3a57326130eba6346002-connectd: peer_out WIRE_INIT +lightningd-2 2023-10-31T16:17:15.766Z DEBUG 026f61d7ee82f937f9697f4f3e44bfaaa25849cc4f526b3a57326130eba6346002-gossipd: seeker: starting gossip +lightningd-2 2023-10-31T16:17:15.768Z DEBUG 026f61d7ee82f937f9697f4f3e44bfaaa25849cc4f526b3a57326130eba6346002-connectd: peer_in WIRE_INIT +lightningd-2 2023-10-31T16:17:15.769Z DEBUG lightningd: Calling peer_connected hook of plugin chanbackup +lightningd-2 2023-10-31T16:17:15.770Z DEBUG 026f61d7ee82f937f9697f4f3e44bfaaa25849cc4f526b3a57326130eba6346002-connectd: Handed peer, entering loop +lightningd-2 2023-10-31T16:17:15.771Z DEBUG lightningd: Plugin chanbackup returned from peer_connected hook call +lightningd-2 2023-10-31T16:17:15.771Z DEBUG 026f61d7ee82f937f9697f4f3e44bfaaa25849cc4f526b3a57326130eba6346002-connectd: peer_out WIRE_GOSSIP_TIMESTAMP_FILTER +lightningd-2 2023-10-31T16:17:15.772Z DEBUG 026f61d7ee82f937f9697f4f3e44bfaaa25849cc4f526b3a57326130eba6346002-connectd: peer_in WIRE_GOSSIP_TIMESTAMP_FILTER +Calling getnewaddress with arguments () +Result for getnewaddress call: bcrt1qz3226xchtxeyawv32wvazkk7ttacqlhajsdxa3 +FAILEDlightningd-2 2023-10-31T16:17:15.844Z DEBUG connectd: drain_peer +{ + "id": "pytest:dev-memleak#5", + "method": "dev-memleak", + "params": null, + "filter": null +} +lightningd-2 2023-10-31T16:17:15.857Z DEBUG 026f61d7ee82f937f9697f4f3e44bfaaa25849cc4f526b3a57326130eba6346002-lightningd: peer_disconnect_done +lightningd-2 2023-10-31T16:17:15.860Z DEBUG 026f61d7ee82f937f9697f4f3e44bfaaa25849cc4f526b3a57326130eba6346002-lightningd: Not reconnecting: no active channel +Calling dev-memleak with payload None +lightningd-2 2023-10-31T16:17:15.861Z DEBUG connectd: maybe_free_peer freeing peer! +lightningd-2 2023-10-31T16:17:15.863Z DEBUG plugin-funder: Cleaning up inflights for peer id 026f61d7ee82f937f9697f4f3e44bfaaa25849cc4f526b3a57326130eba6346002 +lightningd-2 2023-10-31T16:17:15.866Z DEBUG connectd: REPLY WIRE_CONNECTD_DEV_MEMLEAK_REPLY with 0 fds +lightningd-2 2023-10-31T16:17:15.866Z DEBUG gossipd: REPLY WIRE_GOSSIPD_DEV_MEMLEAK_REPLY with 0 fds +lightningd-2 2023-10-31T16:17:15.866Z DEBUG 0266e4598d1d3c415f572a8488830b60f7e744ed9235eb0b1ba93283b315c03518-channeld-chan#1: REPLY WIRE_CHANNELD_DEV_MEMLEAK_REPLY with 0 fds +Received response for dev-memleak call: {'jsonrpc': '2.0', 'id': 'pytest:dev-memleak#5', 'result': {'leaks': []}} +{ + "id": "pytest:dev-memleak#5", + "result": { + "leaks": [] + } +} +{ + "id": "pytest:dev-report-fds#6", + "method": "dev-report-fds", + "params": {}, + "filter": null +} +Calling dev-report-fds with payload {} +Received response for dev-report-fds call: {'jsonrpc': '2.0', 'id': 'pytest:dev-report-fds#6', 'result': {}} +{ + "id": "pytest:dev-report-fds#6", + "result": {} +} +{ + "id": "pytest:stop#7", + "method": "stop", + "params": null, + "filter": null +} +Calling stop with payload None +lightningd-2 2023-10-31T16:17:15.961Z UNUSUAL lightningd: JSON-RPC shutdown +lightningd-2 2023-10-31T16:17:15.962Z DEBUG lightningd: io_break: start_json_stream +lightningd-2 2023-10-31T16:17:15.962Z DEBUG lightningd: io_loop_with_timers: main +lightningd-2 2023-10-31T16:17:15.976Z INFO connectd: dev_report_fds: 3 -> hsm fd +lightningd-2 2023-10-31T16:17:15.977Z INFO connectd: dev_report_fds: 4 -> gossipd fd +lightningd-2 2023-10-31T16:17:15.977Z INFO connectd: dev_report_fds: 5 -> listener (connection_in) +lightningd-2 2023-10-31T16:17:15.978Z INFO connectd: dev_report_fds: 5 name IPv4 socket 127.0.0.1:43331 +lightningd-2 2023-10-31T16:17:15.978Z INFO connectd: dev_report_fds: 6 -> IN=IO_POLLING_NOTSTARTED:do_read+read_body_from_peer(connectd/connectd.c:240:struct peer), OUT=IO_WAITING:(nil)+write_to_peer(connectd/connectd.c:240:struct peer) +lightningd-2 2023-10-31T16:17:15.979Z INFO connectd: dev_report_fds: 6 name IPv4 socket 127.0.0.1:43331 +lightningd-2 2023-10-31T16:17:15.980Z INFO connectd: dev_report_fds: 6 peer IPv4 socket 127.0.0.1:40666 +lightningd-2 2023-10-31T16:17:15.981Z INFO connectd: dev_report_fds: 7 -> gossip_store +lightningd-2 2023-10-31T16:17:15.981Z INFO connectd: dev_report_fds: 8 -> IN=IO_POLLING_NOTSTARTED:do_read_wire+read_from_subd_done(connectd/multiplex.c:1055:struct subd), OUT=IO_WAITING:(nil)+write_to_subd(connectd/multiplex.c:1055:struct subd) +lightningd-2 2023-10-31T16:17:15.981Z INFO connectd: dev_report_fds: 8 name unix socket +lightningd-2 2023-10-31T16:17:15.983Z INFO connectd: dev_report_fds: 8 peer unix socket +lightningd-2 2023-10-31T16:17:15.983Z DEBUG connectd: REPLY WIRE_CONNECTD_START_SHUTDOWN_REPLY with 0 fds +lightningd-2 2023-10-31T16:17:15.985Z DEBUG lightningd: io_break: connectd_start_shutdown_reply +lightningd-2 2023-10-31T16:17:15.987Z INFO 0266e4598d1d3c415f572a8488830b60f7e744ed9235eb0b1ba93283b315c03518-chan#1: Peer transient failure in CHANNELD_NORMAL: channeld: Owning subdaemon channeld died (256) +lightningd-2 2023-10-31T16:17:16.002Z DEBUG plugin-autoclean: Killing plugin: exited during normal operation +lightningd-2 2023-10-31T16:17:16.002Z DEBUG plugin-chanbackup: Killing plugin: exited during normal operation +lightningd-2 2023-10-31T16:17:16.003Z DEBUG plugin-bcli: Killing plugin: exited during normal operation +lightningd-2 2023-10-31T16:17:16.004Z DEBUG plugin-commando: Killing plugin: exited during normal operation +lightningd-2 2023-10-31T16:17:16.004Z DEBUG plugin-fetchinvoice: Killing plugin: exited during normal operation +lightningd-2 2023-10-31T16:17:16.005Z DEBUG plugin-funder: Killing plugin: exited during normal operation +lightningd-2 2023-10-31T16:17:16.006Z DEBUG plugin-topology: Killing plugin: exited during normal operation +lightningd-2 2023-10-31T16:17:16.006Z DEBUG plugin-bookkeeper: Killing plugin: exited during normal operation +lightningd-2 2023-10-31T16:17:16.007Z DEBUG plugin-keysend: Killing plugin: exited during normal operation +lightningd-2 2023-10-31T16:17:16.007Z DEBUG plugin-spenderp: Killing plugin: exited during normal operation +lightningd-2 2023-10-31T16:17:16.009Z DEBUG plugin-offers: Killing plugin: exited during normal operation +lightningd-2 2023-10-31T16:17:16.010Z DEBUG plugin-pay: Killing plugin: exited during normal operation +lightningd-2 2023-10-31T16:17:16.012Z DEBUG plugin-txprepare: Killing plugin: exited during normal operation +lightningd-2 2023-10-31T16:17:16.012Z DEBUG plugin-sql: Killing plugin: exited during normal operation +lightningd-2 2023-10-31T16:17:16.013Z DEBUG lightningd: io_break: destroy_plugin +lightningd-2 2023-10-31T16:17:16.013Z DEBUG lightningd: Command returned result after jcon close +lightningd-2 2023-10-31T16:17:16.016Z DEBUG connectd: Shutting down +lightningd-1 2023-10-31T16:17:16.021Z INFO 022d223620a359a47ff7f7ac447c85c46c923da53389221a0054c11c1e3ca31d59-channeld-chan#1: Peer connection lost +lightningd-1 2023-10-31T16:17:16.022Z DEBUG 022d223620a359a47ff7f7ac447c85c46c923da53389221a0054c11c1e3ca31d59-channeld-chan#1: Status closed, but not exited. Killing +lightningd-1 2023-10-31T16:17:16.024Z INFO 022d223620a359a47ff7f7ac447c85c46c923da53389221a0054c11c1e3ca31d59-chan#1: Peer transient failure in CHANNELD_NORMAL: channeld: Owning subdaemon channeld died (62208) +lightningd-1 2023-10-31T16:17:16.025Z DEBUG 0266e4598d1d3c415f572a8488830b60f7e744ed9235eb0b1ba93283b315c03518-hsmd: Got WIRE_HSMD_CUPDATE_SIG_REQ +lightningd-1 2023-10-31T16:17:16.026Z DEBUG connectd: drain_peer +lightningd-1 2023-10-31T16:17:16.027Z DEBUG hsmd: Client: Received message 3 from client +lightningd-1 2023-10-31T16:17:16.028Z DEBUG connectd: drain_peer draining subd! +lightningd-1 2023-10-31T16:17:16.029Z DEBUG 022d223620a359a47ff7f7ac447c85c46c923da53389221a0054c11c1e3ca31d59-lightningd: peer_disconnect_done +lightningd-2 2023-10-31T16:17:16.029Z DEBUG gossipd: Shutting down +lightningd-1 2023-10-31T16:17:16.032Z DEBUG plugin-funder: Cleaning up inflights for peer id 022d223620a359a47ff7f7ac447c85c46c923da53389221a0054c11c1e3ca31d59 +lightningd-1 2023-10-31T16:17:16.032Z DEBUG connectd: maybe_free_peer freeing peer! +lightningd-2 2023-10-31T16:17:16.032Z DEBUG hsmd: Shutting down +Received response for stop call: {'jsonrpc': '2.0', 'id': 'pytest:stop#7', 'result': 'Shutdown complete'} +{ + "id": "pytest:stop#7", + "result": "Shutdown complete" +} +{ + "id": "pytest:dev-memleak#20", + "method": "dev-memleak", + "params": null, + "filter": null +} +Calling dev-memleak with payload None +lightningd-1 2023-10-31T16:17:16.044Z DEBUG connectd: REPLY WIRE_CONNECTD_DEV_MEMLEAK_REPLY with 0 fds +lightningd-1 2023-10-31T16:17:16.044Z DEBUG gossipd: REPLY WIRE_GOSSIPD_DEV_MEMLEAK_REPLY with 0 fds +Received response for dev-memleak call: {'jsonrpc': '2.0', 'id': 'pytest:dev-memleak#20', 'result': {'leaks': []}} +{ + "id": "pytest:dev-memleak#20", + "result": { + "leaks": [] + } +} +{ + "id": "pytest:dev-report-fds#21", + "method": "dev-report-fds", + "params": {}, + "filter": null +} +Calling dev-report-fds with payload {} +Received response for dev-report-fds call: {'jsonrpc': '2.0', 'id': 'pytest:dev-report-fds#21', 'result': {}} +{ + "id": "pytest:dev-report-fds#21", + "result": {} +} +{ + "id": "pytest:stop#22", + "method": "stop", + "params": null, + "filter": null +} +Calling stop with payload None +lightningd-1 2023-10-31T16:17:16.410Z UNUSUAL lightningd: JSON-RPC shutdown +lightningd-1 2023-10-31T16:17:16.410Z DEBUG lightningd: io_break: start_json_stream +lightningd-1 2023-10-31T16:17:16.412Z DEBUG lightningd: io_loop_with_timers: main +lightningd-1 2023-10-31T16:17:16.446Z INFO connectd: dev_report_fds: 3 -> hsm fd +lightningd-1 2023-10-31T16:17:16.446Z INFO connectd: dev_report_fds: 4 -> gossipd fd +lightningd-1 2023-10-31T16:17:16.446Z INFO connectd: dev_report_fds: 5 -> listener (connection_in) +lightningd-1 2023-10-31T16:17:16.447Z INFO connectd: dev_report_fds: 5 name IPv4 socket 127.0.0.1:45149 +lightningd-1 2023-10-31T16:17:16.447Z INFO connectd: dev_report_fds: 7 -> gossip_store +lightningd-1 2023-10-31T16:17:16.448Z DEBUG connectd: REPLY WIRE_CONNECTD_START_SHUTDOWN_REPLY with 0 fds +lightningd-1 2023-10-31T16:17:16.449Z DEBUG lightningd: io_break: connectd_start_shutdown_reply +lightningd-1 2023-10-31T16:17:16.462Z DEBUG plugin-autoclean: Killing plugin: exited during normal operation +lightningd-1 2023-10-31T16:17:16.462Z DEBUG plugin-chanbackup: Killing plugin: exited during normal operation +lightningd-1 2023-10-31T16:17:16.463Z DEBUG plugin-commando: Killing plugin: exited during normal operation +lightningd-1 2023-10-31T16:17:16.463Z DEBUG plugin-fetchinvoice: Killing plugin: exited during normal operation +lightningd-1 2023-10-31T16:17:16.464Z DEBUG plugin-funder: Killing plugin: exited during normal operation +lightningd-1 2023-10-31T16:17:16.466Z DEBUG plugin-topology: Killing plugin: exited during normal operation +lightningd-1 2023-10-31T16:17:16.467Z DEBUG plugin-keysend: Killing plugin: exited during normal operation +lightningd-1 2023-10-31T16:17:16.468Z DEBUG plugin-bookkeeper: Killing plugin: exited during normal operation +lightningd-1 2023-10-31T16:17:16.469Z DEBUG plugin-offers: Killing plugin: exited during normal operation +lightningd-1 2023-10-31T16:17:16.470Z DEBUG plugin-spenderp: Killing plugin: exited during normal operation +lightningd-1 2023-10-31T16:17:16.471Z DEBUG plugin-pay: Killing plugin: exited during normal operation +lightningd-1 2023-10-31T16:17:16.471Z DEBUG plugin-txprepare: Killing plugin: exited during normal operation +lightningd-1 2023-10-31T16:17:16.473Z DEBUG plugin-sql: Killing plugin: exited during normal operation +lightningd-1 2023-10-31T16:17:16.476Z DEBUG plugin-bcli: Killing plugin: exited during normal operation +lightningd-1 2023-10-31T16:17:16.476Z DEBUG lightningd: io_break: destroy_plugin +lightningd-1 2023-10-31T16:17:16.477Z DEBUG lightningd: Command returned result after jcon close +lightningd-1 2023-10-31T16:17:16.479Z DEBUG connectd: Shutting down +lightningd-1 2023-10-31T16:17:16.482Z DEBUG gossipd: Shutting down +lightningd-1 2023-10-31T16:17:16.482Z DEBUG hsmd: Shutting down +Received response for stop call: {'jsonrpc': '2.0', 'id': 'pytest:stop#22', 'result': 'Shutdown complete'} +{ + "id": "pytest:stop#22", + "result": "Shutdown complete" +} +Did not find '\*\*BROKEN\*\*' in logs +Did not find '\*\*BROKEN\*\*' in logs +Did not find ' WARNING:' in logs +Did not find ' WARNING:' in logs +Did not find 'Peer has reconnected' in logs +Did not find 'Peer has reconnected' in logs +Did not find 'Bad gossip order:' in logs +Did not find 'gossipd.*Bad (?!gossip order from error)' in logs +Did not find 'Bad gossip order:' in logs +Did not find 'gossipd.*Bad (?!gossip order from error)' in logs +Did not find 'Bad reestablish' in logs +Did not find 'Bad reestablish' in logs +Did not find 'bad hsm request' in logs +Did not find 'bad hsm request' in logs +Did not find 'Accessing a null column' in logs +Did not find 'Accessing a null column' in logs +Did not find 'MEMLEAK:' in logs +Did not find 'MEMLEAK:' in logs +BitcoinRpcProxy shut down after processing 8 requests +stdout b'DEBUG lightningd: io_loop: connectd_activate\n' +stdout b'INFO lightningd: --------------------------------------------------\n' +stdout b'INFO lightningd: Server started with public key 026f61d7ee82f937f9697f4f3e44bfaaa25849cc4f526b3a57326130eba6346002, alias HAPPYFIRE-v23.08gl1 (color #026f61) and lightningd v23.08gl1\n' +stdout b'DEBUG lightningd: Adding block 104: 5c0dc953e6158bc51ad7f70841c57addf8b90fa31fd231bccf7d375dfce44437\n' +stdout b'DEBUG gossipd: REPLY WIRE_GOSSIPD_NEW_BLOCKHEIGHT_REPLY with 0 fds\n' +stdout b'DEBUG plugin-bookkeeper: account wallet has balance 0msat\n' +stdout b'DEBUG plugin-bookkeeper: Snapshot balance does not equal ondisk reported 0msat, off by (+0msat/-0msat) (account wallet) Logging journal entry.\n' +stdout b'INFO plugin-bookkeeper: account wallet not found, adding along with new balance\n' +stdout b'DEBUG plugin-bookkeeper: Snapshot balances updated\n' +stdout b'DEBUG plugin-gl-plugin: Client asked for connect_peer\n' +stderr b'[2023-10-31T16:17:14Z TRACE gl_signerproxy::wire] Sending message 109 (2 bytes, 1 FDs)\n' +stderr b'[2023-10-31T16:17:14Z TRACE gl_signerproxy::passfd] Sending fd 10\n' +stderr b'[2023-10-31T16:17:14Z INFO gl_signerproxy::hsmproxy] Pinging server\n' +stderr b'[2023-10-31T16:17:14Z DEBUG gl_signerproxy::hsmproxy] Got a message from node: Request { metadata: MetadataMap { headers: {} }, message: HsmRequest { request_id: 3, context: None, raw: [0, 27, 0, 19, 98, 111, 108, 116, 49, 50, 45, 105, 110, 118, 111, 105, 99, 101, 45, 98, 97, 115, 101], signer_state: [], requests: [] }, extensions: Extensions }\n' +stderr b'[2023-10-31T16:17:14Z DEBUG gl_signerproxy::hsmproxy] Got respone from hsmd: Message { typ: 127, body: [0, 127, 46, 150, 2, 229, 150, 210, 246, 196, 86, 113, 255, 27, 234, 61, 122, 140, 209, 7, 215, 100, 222, 47, 12, 23, 64, 216, 7, 235, 40, 14, 195, 235], fds: [] }\n' +stderr b'[2023-10-31T16:17:14Z TRACE gl_signerproxy::wire] Sending message 127 (34 bytes, 0 FDs)\n' +stderr b'[2023-10-31T16:17:14Z DEBUG gl_signerproxy::hsmproxy] Got a message from node: Request { metadata: MetadataMap { headers: {} }, message: HsmRequest { request_id: 4, context: None, raw: [0, 27, 0, 10, 115, 99, 98, 32, 115, 101, 99, 114, 101, 116], signer_state: [], requests: [] }, extensions: Extensions }\n' +stderr b'[2023-10-31T16:17:14Z DEBUG gl_signerproxy::hsmproxy] Got respone from hsmd: Message { typ: 127, body: [0, 127, 29, 199, 228, 95, 183, 66, 197, 44, 144, 254, 88, 128, 1, 68, 30, 166, 54, 81, 212, 105, 40, 91, 52, 237, 80, 142, 249, 9, 189, 61, 183, 188], fds: [] }\n' +stderr b'[2023-10-31T16:17:14Z TRACE gl_signerproxy::wire] Sending message 127 (34 bytes, 0 FDs)\n' +stderr b'[2023-10-31T16:17:15Z DEBUG gl_signerproxy::hsmproxy] Got a message from node: Request { metadata: MetadataMap { headers: {} }, message: HsmRequest { request_id: 5, context: Some(HsmRequestContext { node_id: [2, 111, 97, 215, 238, 130, 249, 55, 249, 105, 127, 79, 62, 68, 191, 170, 162, 88, 73, 204, 79, 82, 107, 58, 87, 50, 97, 48, 235, 166, 52, 96, 2], dbid: 0, capabilities: 1 }), raw: [0, 1, 3, 96, 235, 6, 22, 106, 155, 105, 252, 152, 53, 34, 118, 196, 143, 172, 254, 60, 126, 145, 155, 27, 35, 132, 51, 152, 240, 108, 122, 236, 84, 124, 187], signer_state: [], requests: [] }, extensions: Extensions }\n' +BitcoinRpcProxy shut down after processing 45 requests +BitcoinRpcProxy shut down after processing 43 requests +Calling stop with arguments () +Result for stop call: Bitcoin Core stopping + + +=================================== FAILURES =================================== +_________________________ test_configure_close_to_addr _________________________ + +node_factory = +clients = +bitcoind = + + def test_configure_close_to_addr(node_factory, clients, bitcoind): + l1, l2 = node_factory.line_graph(2) + l2.fundwallet(sats=2*10**6) + + c = clients.new() + c.register(configure=True) + gl1 = c.node() + + s = c.signer().run_in_thread() + gl1.connect_peer(l2.info['id'], f'127.0.0.1:{l2.daemon.port}') + + close_to_addr = bitcoind.getnewaddress() +> gl1.configure(close_to_addr) + +libs/gl-testing/tests/test_gl_node.py:139: +_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ + +self = +close_to_addr = 'bcrt1qz3226xchtxeyawv32wvazkk7ttacqlhajsdxa3' + + def configure(self, close_to_addr: str) -> None: +> req = nodepb.GlConfig( + close_to_addr=close_to_addr + ).SerializeToString() +E AttributeError: module 'glclient.greenlight_pb2' has no attribute 'GlConfig' + +libs/gl-client-py/glclient/__init__.py:528: AttributeError +------------------------------ Captured log setup ------------------------------ +DEBUG root:utils.py:225 Starting 'bitcoind -datadir=/tmp/gltesting/tmp/tmprvad17gw -printtoconsole -server -logtimestamps -nolisten -txindex -nowallet -addresstype=bech32 -debug=mempool -debug=mempoolrej -debug=rpc -debug=validation' +DEBUG root:utils.py:315 Waiting for ['Done loading'] in the logs +DEBUG root:utils.py:335 Found 're.compile('Done loading')' in logs +INFO root:utils.py:439 BitcoinD started +DEBUG root:utils.py:370 Calling createwallet with arguments ('lightningd-tests',) +DEBUG root:utils.py:375 Result for createwallet call: {'name': 'lightningd-tests'} +DEBUG root:utils.py:370 Calling getnetworkinfo with arguments () +DEBUG root:utils.py:375 Result for getnetworkinfo call: {'version': 250000, 'subversion': '/Satoshi:25.0.0/', 'protocolversion': 70016, 'localservices': '0000000000000409', 'localservicesnames': ['NETWORK', 'WITNESS', 'NETWORK_LIMITED'], 'localrelay': True, 'timeoffset': 0, 'networkactive': True, 'connections': 0, 'connections_in': 0, 'connections_out': 0, 'networks': [{'name': 'ipv4', 'limited': False, 'reachable': True, 'proxy': '', 'proxy_randomize_credentials': False}, {'name': 'ipv6', 'limited': False, 'reachable': True, 'proxy': '', 'proxy_randomize_credentials': False}, {'name': 'onion', 'limited': True, 'reachable': False, 'proxy': '', 'proxy_randomize_credentials': False}, {'name': 'i2p', 'limited': True, 'reachable': False, 'proxy': '', 'proxy_randomize_credentials': False}, {'name': 'cjdns', 'limited': True, 'reachable': False, 'proxy': '', 'proxy_randomize_credentials': False}], 'relayfee': Decimal('0.00001000'), 'incrementalfee': Decimal('0.00001000'), 'localaddresses': [], 'warnings': ''} +DEBUG root:utils.py:370 Calling getblockchaininfo with arguments () +DEBUG root:utils.py:375 Result for getblockchaininfo call: {'chain': 'regtest', 'blocks': 0, 'headers': 0, 'bestblockhash': '0f9188f13cb7b2c71f2a335e3a4fc328bf5beb436012afca590b1a11466e2206', 'difficulty': Decimal('4.656542373906925E-10'), 'time': 1296688602, 'mediantime': 1296688602, 'verificationprogress': 1, 'initialblockdownload': True, 'chainwork': '0000000000000000000000000000000000000000000000000000000000000002', 'size_on_disk': 293, 'pruned': False, 'warnings': ''} +DEBUG root:utils.py:370 Calling getrawmempool with arguments (True,) +DEBUG root:utils.py:375 Result for getrawmempool call: {} +DEBUG root:utils.py:472 Generating 101, confirming 0 transactions: {} +DEBUG root:utils.py:370 Calling getnewaddress with arguments () +DEBUG root:utils.py:375 Result for getnewaddress call: bcrt1qk64e2r9jfyvxkc43pp85t5sgyza3m5uzmnr2r5 +DEBUG root:utils.py:370 Calling generatetoaddress with arguments (101, 'bcrt1qk64e2r9jfyvxkc43pp85t5sgyza3m5uzmnr2r5') +DEBUG root:utils.py:375 Result for generatetoaddress call: ['4c335e325ca4e5f42878e8d3a279f2c8374e1d2af7692c12b8fb5d121f1346d0', '18d6aac6ec2067153c05947500899f4ae52a0807431914cb128090efce0a5b49', '6f33fd2a36fb470af1685363e367af9b313b313045aa6f5649f0f4b60130bdf7', '37e5573031eab243d9ffeeeb107e1e686adcf4ce6462246703e7c77dd03b448e', '746e23dc2749309387c9f090854133a4f4a4c6dc499c25fa2ff786aa7725f3ce', '3a8d7cb80610dbcb4b3aafb24ad6ed86a57b2b36cad2de168fd87045b030461b', '0964440f61ea87460b24ed76304db54b518cfae8a32c2dd2d6f423298c70224d', '5c827bc045c86f84e9388010b6400fa417d409d829f1319f4309c3d1d44d851a', '5cbe3579e2fc25f4e11d62ce8ff8e5aee3b5df27c23d51a7e321e2bf4d75f938', '00c29193967ac2f775724276ff03c168b49aade546c794c15db55095d4e6fbb8', '63b90c7c0e20128dc9d1b4af0b71e3064d0cb3fafe66c1bf8507d2dc5d795885', '0deea9eefc6a1ad55a1337ccfe42a4e63c124cccb1c3431704ae3d6772d2e414', '13395004c9b89c99a1133ba48c4aafa5930941b43f57e0660bb1b0812f75a65c', '6ab8fbb8dad3d9d54abfa0b6645fc82286a29e99d0e7508947095e528e415373', '6f3b62981c832663e9c1971b5eda88ee627f838babf79735aa4455430da2b0ce', '5b952d0b7d2426a1d822efecf089e2692afaf91bee391c6df7aa3b242663fab0', '026af1b3fbf82836a0068f7bec06b595408a79c72a8953da1cbf1c1516bea3bc', '2f76993cbfb7490ea62060a4ac7191f0771451020402badd4a38df9be5985ff9', '5f9476b1bed1914419bca9c4f766b3cb9fbabd9ccf2011710c65b8ac59a43693', '26c68a551dcb46cf00b3bec10114014d5322a86902f71dbb673f0ddbc54f0d48', '0d74a6003535684be2beed40b6db276b4ef1963c448bdccb0f69c995e9478abc', '2fe2fc40a63404fe7d6c23fe71783fa41a4badbac22d2c61639005417cb7c79c', '7feab046923cd7b62309fef63dce307cef5a312d5bccaff061039977abc91eec', '31a92d2ccd037c588b9e23ec15a0740c87bc87760ec854e5ed8fe789c3cdebdc', '600e68f5afae42873bfc36fda387261700e771f40ceb8992ef2780cf339ad5bc', '211de969839249459d776d15bb80f989c2c977a4703625aa1f2aa753c448d600', '3898e1975de9da33716b5c94fa418c781c545a63402ba0e88060363ad959285b', '6d22347075f3a1ba1136f6b4cd3c1b0ecbad10fa959265ee035ef590c7e25c0f', '2bc320f417c23f5a665c7e608f21c59f0f40bb22d5f5f9ce9fc3a5a7b4dd3cf8', '4dd7f0eb0e952f1f164351770a81b256464f1695a4fc07a8fbfa9dc6032acefb', '1664f482372ea591caae450f55b6f08c54ecf990b51f3b7ef8255ce94c134b4f', '1ba2d055fd5e8f436f888b9986fd6566eb76ade9235d33dc56a59dcdec19087f', '3396e769b7b27b3e812e6fed9b7cae339ae0c734d4d264399e201b9bb6843dbb', '755b7feb29ea7dc1c3e42226832b5867762f40c017514edde124ba328a7c8353', '047807eadfa82d3fa468f428680d9e2ac217cad4e445dd69c2e1751181e359ff', '625c921ca9284ea31eeec7bb6f8b2c7e514468f23dac8bb07ece23ef80e26f41', '582f4f0f50606d134290ebba34ae02f48515f5bce9a65ec83c46302f4e731beb', '3c1332992d12b660b6cbae545baf61193b364419094e88851bf65d6832c6c567', '038a985df6f2dc01e2690fec9ca55ee9a0d33769f4265e57ac9a627e8dbee58f', '54f90ff5c46ec4650340386264c7916e3108eae50fde6b24f9b8288572f198a0', '37d124cef2eaf5551297c389bc91fe4536074a98823d94f160b05d56c1e71a82', '146aca7b68fbb74bca56d100530468c391204461fab816f17abc6ba25de41733', '28de9cba76a5d773e0516df26af4e6beff22e80aa55fc683fa45cde42003017e', '4758e2b2d503889ede79c7b4da1ea182406dfc2962407fa3540ad9f86d92f89e', '52b604f77c8825d355fe2adc636978a842495302d76afbacbabc290ecb2d5c3c', '4e381f0f3ce42cbba0e15c4665011eb732e16b9847e375746641beac981612e5', '3d7fc4aec492d927fc7a913d18e6c78cbf2ee981ed7ee9bfaa273d6bc2bea533', '67d0451c717cfbc628db4bfd1a2323a98532a312c8197dc3c86de175e241b2ab', '317f127d9bb33a724c6a657f14792d5b6614e901e9ed91ffacdbb19e7215ce7c', '0d8e8313c8d047d3908429974581409acf3b52c47e4f888662318d42b82b408c', '6b05b1719c0e7940aa1178164e9881dfacd152a892e2d4b248c7247cacb953cb', '13dbbcf9feb18e8b3ca18472d424e33e75552751a62f0cc1518cbec092ae4cff', '57b7112f75438435527b473de2e71d6304cc4cd45cf60ce02cfd18019d9cca55', '467a6d3a4b6c9a507b5947fc143dfd5f25297c03561649634d5726968ee03b8f', '1f029aa3c2e1622dcfbeff52decd4450d906cf589a9b8f3fa4c7c7506aa47c21', '1086a08b956458bb7f7e1184596ece85d4c39e01ffcf323009f36bbf40adafe4', '4f0b6cc187ccfd5efa77c56e4fe93cfbd853564a409ae2383506bffc55a18c53', '2d3e89a144f49c0584af7ab999250b945f9a54ec4968905f6d6319932f95a2df', '6b4927d0c74f0ad7dbcaeca2583a0f6ae03df3b5180c456d9d7eb03c514c7f29', '157a3d0aeeed26afcc5999df3b6a5d4a7100c1e274735f1ab1afd3e91ee59baa', '23a8cddcb539f0e4dfd0fbe0c9979d4aca536e6e3326cbd7c1d0dced20df2809', '1360374de90280bd37c002b4f4b91b6a567127c65161ea8697e9368700f381da', '4c017554dcd510291e991e05e6bd4b345ed96dfc79b86bd19e776e0f321885dd', '26027dedda8c75057c5f9bda41978dda3eae61a1ee22b6a0a23260d123771567', '48a6bd3ea483d7cef451697f86f4c7d609f9e0d4314a6c5f60d2b046759df691', '5fd00b69d7c3bf548ba5d67f1cb1bb5d170a9772aaeedfcb0a5b60028b006d58', '674ed2bbcb3e66c847d6d0a23af1f5d8e54b2dc632224dc97e9ef1ce514c1ded', '2f43afdcdfa2ba2d00082fb7c1165736d9f1c6945199ded6dde2ce947dc3da54', '78374c9d3a88fd3360ba9846b364ec2ceaf13a275bc18b6e7d0b51f3e2cc679b', '7c7b07ce073017568d5092e1929811fc5f0f3c21b5047ee47f50dc15d23f37ca', '1d777b1a67dcd5ebb43f12f3c1654f3e7a1ea1fa76652fa00a4a98b6b5655f91', '3d828e861b7590341e4908dedc3c0a327fb2f38a78eea959c085380ac976a74f', '3f3070585590d5cb123525d7a46ae5a96133ced8c56cf39286eae2e51f9d39fb', '0f59404ffb2658335e6a64d93d56aada1f7461c223af2588dfdd21e10018c2a8', '5136201b0ac67e2c8a8b8a9a08aee5ff0d84f625f7624502c3058e8d77b8e424', '2c2b66f4d4146b57497848ed46ba8789ab2a75fa23cb2422f73c3ff924736aaa', '2c66dd3c8cad0e06e787214d9a9aed797aeb14eac2015d1de467baa5081f5051', '152a7cc71621d3aae9cfcd9a7cb5909046807bd46bf7f2328a43c769db41cf26', '4f1ff6c4bb08cc9597d5ae26476c607b071772e4b818c8adb95be1cdaf7b88d4', '710a4b2eb38eb09d0453255522203ba551dbe641b5f10e1b192331f5dd43007f', '138688f8981544a750b562649da0d4e8e89e24a9a083ab22ba180693d70089e8', '6e7a843e56c29abf8d41008e2a0a5c4ce75288baa523b1802f675c91abd9fc9f', '34e7ca1e893d6f90f3147992583a97620851900a40c3cd2285e7601da34b8475', '52496d1ce157d2877673219f0e6e1442a9e3a1c759b565947618461235f04adb', '772046405dcefc739ed7aa6f47092dd90e6cef8d0707b7fb4883145ae8edd5e1', '7e27b130d0c9c766e3b860c41546f349a36f20ea3cfb772eff1db9e9c212b784', '1506705fd3f7702be721b207b1a31afe25d8772c566a8cade239092d3b0b2c0e', '7494a7f933e90fbf65bfe62060f2d39fd52879317915ef439d64048c097e87a0', '1a5d77c3f6b19b2a8cdc90ead4869133e1d8a5adb295727d3c12b7b6d5663869', '6503156d59ba12a7b3657fc877ab9cca44047d9f63de63a55cc77865b76de050', '11f702e1572ff6f599ba15650aea5eadf3954871d6923a86f4de4d21426d7b30', '1dffcb4f94d110d012e6fbc25638070617ebcf29444f614beb3c017a6c91cacc', '2124d9a15161fffe1717ebcd1ce813d8fab00b6b98b9ee547853354b429ec14a', '18923bcb7053eba84c126be74887a227770b222127dde88b2277895b26e171f0', '4c2993c70db20df074139fa25f45e70d3b92d8151df7ce0b86fdc51ffe8f0665', '70b012d3ee20f9faf05581310c17b09ed32b16ac500fe8d9e5779e04c78eb98b', '5d18dd300ba69a4d21a0d201b1ea4e988121a38959ce8c2efc89c8f59779361f', '40ceb439229cae8eec39dbe6f3acbc4c5e6681d5fea389f6e31cb8712a50f8db', '29120becc6488e43edf186428d5f71c87596ee96827ce2a555560eb53df90230', '1d3082f77ae5f8339fa37e26113c2bc78121feebac8c1ce7aadcb7ca5cd6fd4e', '1be50df8232cb188b5963c9b6810362ed26d084f46d1a9dcab97d3760c11c6dc'] +DEBUG root:certs.py:145 Generating a new CA for path / +DEBUG root:certs.py:151 Using CA / as parent +DEBUG root:certs.py:145 Generating a new CA for path /services +DEBUG root:certs.py:151 Using CA / as parent +DEBUG root:certs.py:199 Generating a new certificate for /services/scheduler +DEBUG root:btcproxy.py:92 BitcoinRpcProxy proxying incoming port 48511 to 38363 +DEBUG root:scheduler.py:66 Looking for CLN versions in ['/tmp/venv/bin', '/home/randy/.cargo/bin', '/opt/cln-latest/usr/local/bin/', '/usr/local/sbin', '/usr/local/bin', '/usr/sbin', '/usr/bin', '/sbin', '/bin', '/.npm-packages/bin', '/opt/cln/v0.10.1/usr/local/bin/', '/opt/cln/v0.10.2/usr/local/bin/', '/opt/cln/v0.11.0.1/usr/local/bin/', '/opt/cln/v0.11.2gl2/usr/local/bin/', '/opt/cln/v22.11gl1/usr/local/bin/', '/opt/cln/v23.05gl1/usr/local/bin/', '/opt/cln/v23.08gl1/usr/local/bin/'] +DEBUG root:scheduler.py:73 Detecting version of lightningd at /opt/cln-latest/usr/local/bin/lightningd +DEBUG root:scheduler.py:76 Determined version v23.05gl1 for executable /opt/cln-latest/usr/local/bin/lightningd +DEBUG root:scheduler.py:73 Detecting version of lightningd at /opt/cln/v0.10.1/usr/local/bin/lightningd +DEBUG root:scheduler.py:76 Determined version v0.10.1 for executable /opt/cln/v0.10.1/usr/local/bin/lightningd +DEBUG root:scheduler.py:73 Detecting version of lightningd at /opt/cln/v0.10.2/usr/local/bin/lightningd +DEBUG root:scheduler.py:76 Determined version v0.10.2 for executable /opt/cln/v0.10.2/usr/local/bin/lightningd +DEBUG root:scheduler.py:73 Detecting version of lightningd at /opt/cln/v0.11.0.1/usr/local/bin/lightningd +DEBUG root:scheduler.py:76 Determined version v0.11.0.1 for executable /opt/cln/v0.11.0.1/usr/local/bin/lightningd +DEBUG root:scheduler.py:73 Detecting version of lightningd at /opt/cln/v0.11.2gl2/usr/local/bin/lightningd +DEBUG root:scheduler.py:76 Determined version v0.11.2gl2 for executable /opt/cln/v0.11.2gl2/usr/local/bin/lightningd +DEBUG root:scheduler.py:73 Detecting version of lightningd at /opt/cln/v22.11gl1/usr/local/bin/lightningd +DEBUG root:scheduler.py:76 Determined version v22.11gl1 for executable /opt/cln/v22.11gl1/usr/local/bin/lightningd +DEBUG root:scheduler.py:73 Detecting version of lightningd at /opt/cln/v23.05gl1/usr/local/bin/lightningd +DEBUG root:scheduler.py:76 Determined version v23.05gl1 for executable /opt/cln/v23.05gl1/usr/local/bin/lightningd +DEBUG root:scheduler.py:73 Detecting version of lightningd at /opt/cln/v23.08gl1/usr/local/bin/lightningd +DEBUG root:scheduler.py:76 Determined version v23.08gl1 for executable /opt/cln/v23.08gl1/usr/local/bin/lightningd +INFO root:scheduler.py:78 Found 7 versions: {'v23.05gl1': NodeVersion(path=PosixPath('/opt/cln/v23.05gl1/usr/local/bin/lightningd'), name='v23.05gl1'), 'v0.10.1': NodeVersion(path=PosixPath('/opt/cln/v0.10.1/usr/local/bin/lightningd'), name='v0.10.1'), 'v0.10.2': NodeVersion(path=PosixPath('/opt/cln/v0.10.2/usr/local/bin/lightningd'), name='v0.10.2'), 'v0.11.0.1': NodeVersion(path=PosixPath('/opt/cln/v0.11.0.1/usr/local/bin/lightningd'), name='v0.11.0.1'), 'v0.11.2gl2': NodeVersion(path=PosixPath('/opt/cln/v0.11.2gl2/usr/local/bin/lightningd'), name='v0.11.2gl2'), 'v22.11gl1': NodeVersion(path=PosixPath('/opt/cln/v22.11gl1/usr/local/bin/lightningd'), name='v22.11gl1'), 'v23.08gl1': NodeVersion(path=PosixPath('/opt/cln/v23.08gl1/usr/local/bin/lightningd'), name='v23.08gl1')} +DEBUG gltesting.fixtures:fixtures.py:112 Scheduler is running at https://localhost:33131 +INFO root:scheduler.py:115 Starting scheduler on port 33131 +INFO root:scheduler.py:126 Scheduler started on port 33131 +DEBUG root:certs.py:145 Generating a new CA for path /users +DEBUG root:certs.py:151 Using CA / as parent +DEBUG asyncio:selector_events.py:59 Using selector: EpollSelector +DEBUG root:certs.py:199 Generating a new certificate for /users/nobody +------------------------------ Captured log call ------------------------------- +DEBUG root:btcproxy.py:92 BitcoinRpcProxy proxying incoming port 38311 to 38363 +DEBUG root:btcproxy.py:92 BitcoinRpcProxy proxying incoming port 37221 to 38363 +DEBUG root:utils.py:225 Starting 'lightningd --log-level=debug --cltv-delta=6 --cltv-final=5 --watchtime-blocks=5 --rescan=1 --disable-dns --lightning-dir=/tmp/gltesting/tmp/tmprvad17gw/lightning-2/ --addr=127.0.0.1:43331 --allow-deprecated-apis=false --network=regtest --ignore-fee-limits=false --bitcoin-rpcuser=rpcuser --bitcoin-rpcpassword=rpcpass --bitcoin-datadir=/tmp/gltesting/tmp/tmprvad17gw/lightning-2/ --dev-fast-gossip --dev-bitcoind-poll=1 --log-file=- --log-file=/tmp/gltesting/tmp/tmprvad17gw/lightning-2/log --log-prefix=lightningd-2 --dev-fail-on-subdaemon-fail --dev-no-reconnect --bitcoin-rpcport=38311' +DEBUG root:utils.py:225 Starting 'lightningd --log-level=debug --cltv-delta=6 --cltv-final=5 --watchtime-blocks=5 --rescan=1 --disable-dns --lightning-dir=/tmp/gltesting/tmp/tmprvad17gw/lightning-1/ --addr=127.0.0.1:45149 --allow-deprecated-apis=false --network=regtest --ignore-fee-limits=false --bitcoin-rpcuser=rpcuser --bitcoin-rpcpassword=rpcpass --bitcoin-datadir=/tmp/gltesting/tmp/tmprvad17gw/lightning-1/ --dev-fast-gossip --dev-bitcoind-poll=1 --log-file=- --log-file=/tmp/gltesting/tmp/tmprvad17gw/lightning-1/log --log-prefix=lightningd-1 --dev-fail-on-subdaemon-fail --dev-no-reconnect --bitcoin-rpcport=37221' +DEBUG root:utils.py:315 Waiting for ['Server started with public key'] in the logs +DEBUG root:utils.py:315 Waiting for ['Server started with public key'] in the logs +DEBUG root:utils.py:335 Found 're.compile('Server started with public key')' in logs +INFO root:utils.py:668 LightningD started +DEBUG root:utils.py:703 { + "id": "pytest:getinfo#1", + "method": "getinfo", + "params": null, + "filter": null +} +DEBUG root:lightning.py:355 Calling getinfo with payload None +DEBUG root:utils.py:335 Found 're.compile('Server started with public key')' in logs +INFO root:utils.py:668 LightningD started +DEBUG root:utils.py:703 { + "id": "pytest:getinfo#1", + "method": "getinfo", + "params": null, + "filter": null +} +DEBUG root:lightning.py:355 Calling getinfo with payload None +DEBUG root:lightning.py:414 Received response for getinfo call: {'jsonrpc': '2.0', 'id': 'pytest:getinfo#1', 'result': {'id': '022d223620a359a47ff7f7ac447c85c46c923da53389221a0054c11c1e3ca31d59', 'alias': 'SILENTARTIST-v23.05gl1', 'color': '022d22', 'num_peers': 0, 'num_pending_channels': 0, 'num_active_channels': 0, 'num_inactive_channels': 0, 'address': [], 'binding': [{'type': 'ipv4', 'address': '127.0.0.1', 'port': 43331}], 'version': 'v23.05gl1', 'blockheight': 101, 'network': 'regtest', 'fees_collected_msat': 0msat, 'lightning-dir': '/tmp/gltesting/tmp/tmprvad17gw/lightning-2/regtest', 'our_features': {'init': '08a0880a2269a2', 'node': '88a0880a2269a2', 'channel': '', 'invoice': '02000002024100'}}} +DEBUG root:utils.py:722 { + "id": "pytest:getinfo#1", + "result": { + "id": "022d223620a359a47ff7f7ac447c85c46c923da53389221a0054c11c1e3ca31d59", + "alias": "SILENTARTIST-v23.05gl1", + "color": "022d22", + "num_peers": 0, + "num_pending_channels": 0, + "num_active_channels": 0, + "num_inactive_channels": 0, + "address": [], + "binding": [ + { + "type": "ipv4", + "address": "127.0.0.1", + "port": 43331 + } + ], + "version": "v23.05gl1", + "blockheight": 101, + "network": "regtest", + "fees_collected_msat": "0msat", + "lightning-dir": "/tmp/gltesting/tmp/tmprvad17gw/lightning-2/regtest", + "our_features": { + "init": "08a0880a2269a2", + "node": "88a0880a2269a2", + "channel": "", + "invoice": "02000002024100" + } + } +} +DEBUG root:lightning.py:414 Received response for getinfo call: {'jsonrpc': '2.0', 'id': 'pytest:getinfo#1', 'result': {'id': '0266e4598d1d3c415f572a8488830b60f7e744ed9235eb0b1ba93283b315c03518', 'alias': 'JUNIORBEAM-v23.05gl1', 'color': '0266e4', 'num_peers': 0, 'num_pending_channels': 0, 'num_active_channels': 0, 'num_inactive_channels': 0, 'address': [], 'binding': [{'type': 'ipv4', 'address': '127.0.0.1', 'port': 45149}], 'version': 'v23.05gl1', 'blockheight': 101, 'network': 'regtest', 'fees_collected_msat': 0msat, 'lightning-dir': '/tmp/gltesting/tmp/tmprvad17gw/lightning-1/regtest', 'our_features': {'init': '08a0880a2269a2', 'node': '88a0880a2269a2', 'channel': '', 'invoice': '02000002024100'}}} +DEBUG root:utils.py:722 { + "id": "pytest:getinfo#1", + "result": { + "id": "0266e4598d1d3c415f572a8488830b60f7e744ed9235eb0b1ba93283b315c03518", + "alias": "JUNIORBEAM-v23.05gl1", + "color": "0266e4", + "num_peers": 0, + "num_pending_channels": 0, + "num_active_channels": 0, + "num_inactive_channels": 0, + "address": [], + "binding": [ + { + "type": "ipv4", + "address": "127.0.0.1", + "port": 45149 + } + ], + "version": "v23.05gl1", + "blockheight": 101, + "network": "regtest", + "fees_collected_msat": "0msat", + "lightning-dir": "/tmp/gltesting/tmp/tmprvad17gw/lightning-1/regtest", + "our_features": { + "init": "08a0880a2269a2", + "node": "88a0880a2269a2", + "channel": "", + "invoice": "02000002024100" + } + } +} +DEBUG root:utils.py:703 { + "id": "pytest:connect#2", + "method": "connect", + "params": { + "id": "022d223620a359a47ff7f7ac447c85c46c923da53389221a0054c11c1e3ca31d59", + "host": "localhost", + "port": 43331 + }, + "filter": null +} +DEBUG root:lightning.py:355 Calling connect with payload {'id': '022d223620a359a47ff7f7ac447c85c46c923da53389221a0054c11c1e3ca31d59', 'host': 'localhost', 'port': 43331} +DEBUG root:lightning.py:414 Received response for connect call: {'jsonrpc': '2.0', 'id': 'pytest:connect#2', 'result': {'id': '022d223620a359a47ff7f7ac447c85c46c923da53389221a0054c11c1e3ca31d59', 'features': '08a0880a2269a2', 'direction': 'out', 'address': {'type': 'ipv4', 'address': '127.0.0.1', 'port': 43331}}} +DEBUG root:utils.py:722 { + "id": "pytest:connect#2", + "result": { + "id": "022d223620a359a47ff7f7ac447c85c46c923da53389221a0054c11c1e3ca31d59", + "features": "08a0880a2269a2", + "direction": "out", + "address": { + "type": "ipv4", + "address": "127.0.0.1", + "port": 43331 + } + } +} +DEBUG root:utils.py:703 { + "id": "pytest:newaddr#3", + "method": "newaddr", + "params": { + "addresstype": null + }, + "filter": null +} +DEBUG root:lightning.py:355 Calling newaddr with payload {'addresstype': None} +DEBUG root:lightning.py:414 Received response for newaddr call: {'jsonrpc': '2.0', 'id': 'pytest:newaddr#3', 'result': {'bech32': 'bcrt1qq8adjz4u6enf0cjey9j8yt0y490tact93fzgsf'}} +DEBUG root:utils.py:722 { + "id": "pytest:newaddr#3", + "result": { + "bech32": "bcrt1qq8adjz4u6enf0cjey9j8yt0y490tact93fzgsf" + } +} +DEBUG root:utils.py:370 Calling sendtoaddress with arguments ('bcrt1qq8adjz4u6enf0cjey9j8yt0y490tact93fzgsf', 0.02) +DEBUG root:utils.py:375 Result for sendtoaddress call: 0f5e1c2434449b83aadae4502c654e45b2397b3890548a826673554bb06fe046 +DEBUG root:utils.py:370 Calling getrawmempool with arguments (True,) +DEBUG root:utils.py:375 Result for getrawmempool call: {'0f5e1c2434449b83aadae4502c654e45b2397b3890548a826673554bb06fe046': {'vsize': 141, 'weight': 561, 'time': 1698769020, 'height': 101, 'descendantcount': 1, 'descendantsize': 141, 'ancestorcount': 1, 'ancestorsize': 141, 'wtxid': 'f2cbde43576c2b0ff7b89eef3a3d4db9c198f2586165f26cf872991d219d94e3', 'fees': {'base': Decimal('0.00000141'), 'modified': Decimal('0.00000141'), 'ancestor': Decimal('0.00000141'), 'descendant': Decimal('0.00000141')}, 'depends': [], 'spentby': [], 'bip125-replaceable': True, 'unbroadcast': True}} +DEBUG root:utils.py:472 Generating 1, confirming 1 transactions: {'0f5e1c2434449b83aadae4502c654e45b2397b3890548a826673554bb06fe046': {'vsize': 141, 'weight': 561, 'time': 1698769020, 'height': 101, 'descendantcount': 1, 'descendantsize': 141, 'ancestorcount': 1, 'ancestorsize': 141, 'wtxid': 'f2cbde43576c2b0ff7b89eef3a3d4db9c198f2586165f26cf872991d219d94e3', 'fees': {'base': Decimal('0.00000141'), 'modified': Decimal('0.00000141'), 'ancestor': Decimal('0.00000141'), 'descendant': Decimal('0.00000141')}, 'depends': [], 'spentby': [], 'bip125-replaceable': True, 'unbroadcast': True}} +DEBUG root:utils.py:370 Calling getnewaddress with arguments () +DEBUG root:utils.py:375 Result for getnewaddress call: bcrt1q5j7f496y8ummj33f3xjt0k4ztjjygassr3e6j4 +DEBUG root:utils.py:370 Calling generatetoaddress with arguments (1, 'bcrt1q5j7f496y8ummj33f3xjt0k4ztjjygassr3e6j4') +DEBUG root:utils.py:375 Result for generatetoaddress call: ['7b97bd12362283914bbc341ae1d726cbc7756b99dab93531fe5939696e7d8786'] +DEBUG root:utils.py:370 Calling getblockchaininfo with arguments () +DEBUG root:utils.py:375 Result for getblockchaininfo call: {'chain': 'regtest', 'blocks': 102, 'headers': 102, 'bestblockhash': '7b97bd12362283914bbc341ae1d726cbc7756b99dab93531fe5939696e7d8786', 'difficulty': Decimal('4.656542373906925E-10'), 'time': 1698769036, 'mediantime': 1698769035, 'verificationprogress': 1, 'initialblockdownload': False, 'chainwork': '00000000000000000000000000000000000000000000000000000000000000ce', 'size_on_disk': 30922, 'pruned': False, 'warnings': ''} +DEBUG root:utils.py:703 { + "id": "pytest:getinfo#4", + "method": "getinfo", + "params": null, + "filter": null +} +DEBUG root:lightning.py:355 Calling getinfo with payload None +DEBUG root:lightning.py:414 Received response for getinfo call: {'jsonrpc': '2.0', 'id': 'pytest:getinfo#4', 'result': {'id': '0266e4598d1d3c415f572a8488830b60f7e744ed9235eb0b1ba93283b315c03518', 'alias': 'JUNIORBEAM-v23.05gl1', 'color': '0266e4', 'num_peers': 1, 'num_pending_channels': 0, 'num_active_channels': 0, 'num_inactive_channels': 0, 'address': [], 'binding': [{'type': 'ipv4', 'address': '127.0.0.1', 'port': 45149}], 'version': 'v23.05gl1', 'blockheight': 101, 'network': 'regtest', 'fees_collected_msat': 0msat, 'lightning-dir': '/tmp/gltesting/tmp/tmprvad17gw/lightning-1/regtest', 'our_features': {'init': '08a0880a2269a2', 'node': '88a0880a2269a2', 'channel': '', 'invoice': '02000002024100'}}} +DEBUG root:utils.py:722 { + "id": "pytest:getinfo#4", + "result": { + "id": "0266e4598d1d3c415f572a8488830b60f7e744ed9235eb0b1ba93283b315c03518", + "alias": "JUNIORBEAM-v23.05gl1", + "color": "0266e4", + "num_peers": 1, + "num_pending_channels": 0, + "num_active_channels": 0, + "num_inactive_channels": 0, + "address": [], + "binding": [ + { + "type": "ipv4", + "address": "127.0.0.1", + "port": 45149 + } + ], + "version": "v23.05gl1", + "blockheight": 101, + "network": "regtest", + "fees_collected_msat": "0msat", + "lightning-dir": "/tmp/gltesting/tmp/tmprvad17gw/lightning-1/regtest", + "our_features": { + "init": "08a0880a2269a2", + "node": "88a0880a2269a2", + "channel": "", + "invoice": "02000002024100" + } + } +} +DEBUG root:utils.py:703 { + "id": "pytest:getinfo#5", + "method": "getinfo", + "params": null, + "filter": null +} +DEBUG root:lightning.py:355 Calling getinfo with payload None +DEBUG root:lightning.py:414 Received response for getinfo call: {'jsonrpc': '2.0', 'id': 'pytest:getinfo#5', 'result': {'id': '0266e4598d1d3c415f572a8488830b60f7e744ed9235eb0b1ba93283b315c03518', 'alias': 'JUNIORBEAM-v23.05gl1', 'color': '0266e4', 'num_peers': 1, 'num_pending_channels': 0, 'num_active_channels': 0, 'num_inactive_channels': 0, 'address': [], 'binding': [{'type': 'ipv4', 'address': '127.0.0.1', 'port': 45149}], 'version': 'v23.05gl1', 'blockheight': 101, 'network': 'regtest', 'fees_collected_msat': 0msat, 'lightning-dir': '/tmp/gltesting/tmp/tmprvad17gw/lightning-1/regtest', 'our_features': {'init': '08a0880a2269a2', 'node': '88a0880a2269a2', 'channel': '', 'invoice': '02000002024100'}}} +DEBUG root:utils.py:722 { + "id": "pytest:getinfo#5", + "result": { + "id": "0266e4598d1d3c415f572a8488830b60f7e744ed9235eb0b1ba93283b315c03518", + "alias": "JUNIORBEAM-v23.05gl1", + "color": "0266e4", + "num_peers": 1, + "num_pending_channels": 0, + "num_active_channels": 0, + "num_inactive_channels": 0, + "address": [], + "binding": [ + { + "type": "ipv4", + "address": "127.0.0.1", + "port": 45149 + } + ], + "version": "v23.05gl1", + "blockheight": 101, + "network": "regtest", + "fees_collected_msat": "0msat", + "lightning-dir": "/tmp/gltesting/tmp/tmprvad17gw/lightning-1/regtest", + "our_features": { + "init": "08a0880a2269a2", + "node": "88a0880a2269a2", + "channel": "", + "invoice": "02000002024100" + } + } +} +DEBUG root:utils.py:703 { + "id": "pytest:getinfo#6", + "method": "getinfo", + "params": null, + "filter": null +} +DEBUG root:lightning.py:355 Calling getinfo with payload None +DEBUG root:lightning.py:414 Received response for getinfo call: {'jsonrpc': '2.0', 'id': 'pytest:getinfo#6', 'result': {'id': '0266e4598d1d3c415f572a8488830b60f7e744ed9235eb0b1ba93283b315c03518', 'alias': 'JUNIORBEAM-v23.05gl1', 'color': '0266e4', 'num_peers': 1, 'num_pending_channels': 0, 'num_active_channels': 0, 'num_inactive_channels': 0, 'address': [], 'binding': [{'type': 'ipv4', 'address': '127.0.0.1', 'port': 45149}], 'version': 'v23.05gl1', 'blockheight': 101, 'network': 'regtest', 'fees_collected_msat': 0msat, 'lightning-dir': '/tmp/gltesting/tmp/tmprvad17gw/lightning-1/regtest', 'our_features': {'init': '08a0880a2269a2', 'node': '88a0880a2269a2', 'channel': '', 'invoice': '02000002024100'}}} +DEBUG root:utils.py:722 { + "id": "pytest:getinfo#6", + "result": { + "id": "0266e4598d1d3c415f572a8488830b60f7e744ed9235eb0b1ba93283b315c03518", + "alias": "JUNIORBEAM-v23.05gl1", + "color": "0266e4", + "num_peers": 1, + "num_pending_channels": 0, + "num_active_channels": 0, + "num_inactive_channels": 0, + "address": [], + "binding": [ + { + "type": "ipv4", + "address": "127.0.0.1", + "port": 45149 + } + ], + "version": "v23.05gl1", + "blockheight": 101, + "network": "regtest", + "fees_collected_msat": "0msat", + "lightning-dir": "/tmp/gltesting/tmp/tmprvad17gw/lightning-1/regtest", + "our_features": { + "init": "08a0880a2269a2", + "node": "88a0880a2269a2", + "channel": "", + "invoice": "02000002024100" + } + } +} +DEBUG root:utils.py:703 { + "id": "pytest:getinfo#7", + "method": "getinfo", + "params": null, + "filter": null +} +DEBUG root:lightning.py:355 Calling getinfo with payload None +DEBUG root:lightning.py:414 Received response for getinfo call: {'jsonrpc': '2.0', 'id': 'pytest:getinfo#7', 'result': {'id': '0266e4598d1d3c415f572a8488830b60f7e744ed9235eb0b1ba93283b315c03518', 'alias': 'JUNIORBEAM-v23.05gl1', 'color': '0266e4', 'num_peers': 1, 'num_pending_channels': 0, 'num_active_channels': 0, 'num_inactive_channels': 0, 'address': [], 'binding': [{'type': 'ipv4', 'address': '127.0.0.1', 'port': 45149}], 'version': 'v23.05gl1', 'blockheight': 102, 'network': 'regtest', 'fees_collected_msat': 0msat, 'lightning-dir': '/tmp/gltesting/tmp/tmprvad17gw/lightning-1/regtest', 'our_features': {'init': '08a0880a2269a2', 'node': '88a0880a2269a2', 'channel': '', 'invoice': '02000002024100'}}} +DEBUG root:utils.py:722 { + "id": "pytest:getinfo#7", + "result": { + "id": "0266e4598d1d3c415f572a8488830b60f7e744ed9235eb0b1ba93283b315c03518", + "alias": "JUNIORBEAM-v23.05gl1", + "color": "0266e4", + "num_peers": 1, + "num_pending_channels": 0, + "num_active_channels": 0, + "num_inactive_channels": 0, + "address": [], + "binding": [ + { + "type": "ipv4", + "address": "127.0.0.1", + "port": 45149 + } + ], + "version": "v23.05gl1", + "blockheight": 102, + "network": "regtest", + "fees_collected_msat": "0msat", + "lightning-dir": "/tmp/gltesting/tmp/tmprvad17gw/lightning-1/regtest", + "our_features": { + "init": "08a0880a2269a2", + "node": "88a0880a2269a2", + "channel": "", + "invoice": "02000002024100" + } + } +} +DEBUG root:utils.py:703 { + "id": "pytest:getinfo#2", + "method": "getinfo", + "params": null, + "filter": null +} +DEBUG root:lightning.py:355 Calling getinfo with payload None +DEBUG root:lightning.py:414 Received response for getinfo call: {'jsonrpc': '2.0', 'id': 'pytest:getinfo#2', 'result': {'id': '022d223620a359a47ff7f7ac447c85c46c923da53389221a0054c11c1e3ca31d59', 'alias': 'SILENTARTIST-v23.05gl1', 'color': '022d22', 'num_peers': 1, 'num_pending_channels': 0, 'num_active_channels': 0, 'num_inactive_channels': 0, 'address': [], 'binding': [{'type': 'ipv4', 'address': '127.0.0.1', 'port': 43331}], 'version': 'v23.05gl1', 'blockheight': 102, 'network': 'regtest', 'fees_collected_msat': 0msat, 'lightning-dir': '/tmp/gltesting/tmp/tmprvad17gw/lightning-2/regtest', 'our_features': {'init': '08a0880a2269a2', 'node': '88a0880a2269a2', 'channel': '', 'invoice': '02000002024100'}}} +DEBUG root:utils.py:722 { + "id": "pytest:getinfo#2", + "result": { + "id": "022d223620a359a47ff7f7ac447c85c46c923da53389221a0054c11c1e3ca31d59", + "alias": "SILENTARTIST-v23.05gl1", + "color": "022d22", + "num_peers": 1, + "num_pending_channels": 0, + "num_active_channels": 0, + "num_inactive_channels": 0, + "address": [], + "binding": [ + { + "type": "ipv4", + "address": "127.0.0.1", + "port": 43331 + } + ], + "version": "v23.05gl1", + "blockheight": 102, + "network": "regtest", + "fees_collected_msat": "0msat", + "lightning-dir": "/tmp/gltesting/tmp/tmprvad17gw/lightning-2/regtest", + "our_features": { + "init": "08a0880a2269a2", + "node": "88a0880a2269a2", + "channel": "", + "invoice": "02000002024100" + } + } +} +DEBUG root:utils.py:703 { + "id": "pytest:fundchannel#8", + "method": "fundchannel", + "params": { + "id": "022d223620a359a47ff7f7ac447c85c46c923da53389221a0054c11c1e3ca31d59", + "amount": 1000000, + "feerate": null, + "announce": true, + "minconf": null, + "utxos": null, + "push_msat": null, + "close_to": null, + "request_amt": null, + "compact_lease": null, + "mindepth": null, + "reserve": null + }, + "filter": null +} +DEBUG root:lightning.py:355 Calling fundchannel with payload {'id': '022d223620a359a47ff7f7ac447c85c46c923da53389221a0054c11c1e3ca31d59', 'amount': 1000000, 'feerate': None, 'announce': True, 'minconf': None, 'utxos': None, 'push_msat': None, 'close_to': None, 'request_amt': None, 'compact_lease': None, 'mindepth': None, 'reserve': None} +DEBUG root:lightning.py:414 Received response for fundchannel call: {'jsonrpc': '2.0', 'id': 'pytest:fundchannel#8', 'result': {'tx': '0200000000010146e06fb04b557366828a5490387b39b2454e652c50e4daaa839b4434241c5e0f0100000000fdffffff0240420f00000000002200205b8cd3b914cf67cdd8fa6273c930353dd36476734fbd962102c2df53b90880cd69300f0000000000160014c2ccab171c2a5be9dab52ec41b825863024c54660247304402204ad9ef6351cb2d141c40eab5c89a68984392762a527abd19b069a3f5ba6c11b202203478d55142e411ba7bfd7960a86e666b25ac516df03ddbbc8ed5819707890b76012103d745445c9362665f22e0d96e9e766f273f3260dea39c8a76bfa05dd2684ddccf66000000', 'txid': 'a205a7292a504e6497d62be873f29919876c22ae1bb27a7bd2d9d21cc2c12a88', 'channel_id': '882ac1c21cd2d9d27b7ab21bae226c871999f273e82bd697644e502a29a705a2', 'outnum': 0}} +DEBUG root:utils.py:722 { + "id": "pytest:fundchannel#8", + "result": { + "tx": "0200000000010146e06fb04b557366828a5490387b39b2454e652c50e4daaa839b4434241c5e0f0100000000fdffffff0240420f00000000002200205b8cd3b914cf67cdd8fa6273c930353dd36476734fbd962102c2df53b90880cd69300f0000000000160014c2ccab171c2a5be9dab52ec41b825863024c54660247304402204ad9ef6351cb2d141c40eab5c89a68984392762a527abd19b069a3f5ba6c11b202203478d55142e411ba7bfd7960a86e666b25ac516df03ddbbc8ed5819707890b76012103d745445c9362665f22e0d96e9e766f273f3260dea39c8a76bfa05dd2684ddccf66000000", + "txid": "a205a7292a504e6497d62be873f29919876c22ae1bb27a7bd2d9d21cc2c12a88", + "channel_id": "882ac1c21cd2d9d27b7ab21bae226c871999f273e82bd697644e502a29a705a2", + "outnum": 0 + } +} +DEBUG root:utils.py:370 Calling getrawmempool with arguments () +DEBUG root:utils.py:375 Result for getrawmempool call: ['a205a7292a504e6497d62be873f29919876c22ae1bb27a7bd2d9d21cc2c12a88'] +DEBUG root:utils.py:370 Calling getrawmempool with arguments (True,) +DEBUG root:utils.py:375 Result for getrawmempool call: {'a205a7292a504e6497d62be873f29919876c22ae1bb27a7bd2d9d21cc2c12a88': {'vsize': 153, 'weight': 609, 'time': 1698769022, 'height': 102, 'descendantcount': 1, 'descendantsize': 153, 'ancestorcount': 1, 'ancestorsize': 153, 'wtxid': 'f4fe448b0edda390648e996c29961feb25861360dfeba662dbdd7162176963d9', 'fees': {'base': Decimal('0.00004567'), 'modified': Decimal('0.00004567'), 'ancestor': Decimal('0.00004567'), 'descendant': Decimal('0.00004567')}, 'depends': [], 'spentby': [], 'bip125-replaceable': True, 'unbroadcast': True}} +DEBUG root:utils.py:472 Generating 1, confirming 1 transactions: {'a205a7292a504e6497d62be873f29919876c22ae1bb27a7bd2d9d21cc2c12a88': {'vsize': 153, 'weight': 609, 'time': 1698769022, 'height': 102, 'descendantcount': 1, 'descendantsize': 153, 'ancestorcount': 1, 'ancestorsize': 153, 'wtxid': 'f4fe448b0edda390648e996c29961feb25861360dfeba662dbdd7162176963d9', 'fees': {'base': Decimal('0.00004567'), 'modified': Decimal('0.00004567'), 'ancestor': Decimal('0.00004567'), 'descendant': Decimal('0.00004567')}, 'depends': [], 'spentby': [], 'bip125-replaceable': True, 'unbroadcast': True}} +DEBUG root:utils.py:370 Calling getnewaddress with arguments () +DEBUG root:utils.py:375 Result for getnewaddress call: bcrt1q06svgpvjej0q7dyhv8zzpml3d5a8hwdrm2xenl +DEBUG root:utils.py:370 Calling generatetoaddress with arguments (1, 'bcrt1q06svgpvjej0q7dyhv8zzpml3d5a8hwdrm2xenl') +DEBUG root:utils.py:375 Result for generatetoaddress call: ['5d39fdaa7194d9c1971c587748ff88505606d70373e74981b64fe886c306d9aa'] +DEBUG root:utils.py:703 { + "id": "pytest:listpeerchannels#9", + "method": "listpeerchannels", + "params": { + "id": "022d223620a359a47ff7f7ac447c85c46c923da53389221a0054c11c1e3ca31d59" + }, + "filter": null +} +DEBUG root:lightning.py:355 Calling listpeerchannels with payload {'id': '022d223620a359a47ff7f7ac447c85c46c923da53389221a0054c11c1e3ca31d59'} +DEBUG root:lightning.py:414 Received response for listpeerchannels call: {'jsonrpc': '2.0', 'id': 'pytest:listpeerchannels#9', 'result': {'channels': [{'peer_id': '022d223620a359a47ff7f7ac447c85c46c923da53389221a0054c11c1e3ca31d59', 'peer_connected': True, 'channel_type': {'bits': [12, 20], 'names': ['static_remotekey/even', 'anchor_outputs/even']}, 'state': 'CHANNELD_AWAITING_LOCKIN', 'scratch_txid': '2063eb48acd90b66c11c8a06e57ede269842ca1ba40d11ac710be7ffd833999e', 'last_tx_fee_msat': 8760000msat, 'feerate': {'perkw': 7500, 'perkb': 30000}, 'owner': 'channeld', 'direction': 1, 'channel_id': '882ac1c21cd2d9d27b7ab21bae226c871999f273e82bd697644e502a29a705a2', 'funding_txid': 'a205a7292a504e6497d62be873f29919876c22ae1bb27a7bd2d9d21cc2c12a88', 'funding_outnum': 0, 'close_to_addr': 'bcrt1qquwynjkj7ss08jq9l8mtnzjhy6wtzs2s6hgawv', 'close_to': '0014071c49cad2f420f3c805f9f6b98a57269cb14150', 'private': False, 'opener': 'local', 'alias': {'local': '13811490x639340x27623'}, 'features': ['option_static_remotekey', 'option_anchor_outputs'], 'funding': {'local_funds_msat': 1000000000msat, 'remote_funds_msat': 0msat, 'pushed_msat': 0msat}, 'to_us_msat': 1000000000msat, 'min_to_us_msat': 1000000000msat, 'max_to_us_msat': 1000000000msat, 'total_msat': 1000000000msat, 'fee_base_msat': 1msat, 'fee_proportional_millionths': 10, 'dust_limit_msat': 546000msat, 'max_total_htlc_in_msat': 18446744073709551615msat, 'their_reserve_msat': 10000000msat, 'our_reserve_msat': 10000000msat, 'spendable_msat': 967320000msat, 'receivable_msat': 0msat, 'minimum_htlc_in_msat': 0msat, 'minimum_htlc_out_msat': 0msat, 'maximum_htlc_out_msat': 990000000msat, 'their_to_self_delay': 5, 'our_to_self_delay': 5, 'max_accepted_htlcs': 483, 'state_changes': [], 'status': ['CHANNELD_AWAITING_LOCKIN:Funding needs 1 more confirmations to be ready.'], 'in_payments_offered': 0, 'in_offered_msat': 0msat, 'in_payments_fulfilled': 0, 'in_fulfilled_msat': 0msat, 'out_payments_offered': 0, 'out_offered_msat': 0msat, 'out_payments_fulfilled': 0, 'out_fulfilled_msat': 0msat, 'htlcs': []}]}} +DEBUG root:utils.py:722 { + "id": "pytest:listpeerchannels#9", + "result": { + "channels": [ + { + "peer_id": "022d223620a359a47ff7f7ac447c85c46c923da53389221a0054c11c1e3ca31d59", + "peer_connected": true, + "channel_type": { + "bits": [ + 12, + 20 + ], + "names": [ + "static_remotekey/even", + "anchor_outputs/even" + ] + }, + "state": "CHANNELD_AWAITING_LOCKIN", + "scratch_txid": "2063eb48acd90b66c11c8a06e57ede269842ca1ba40d11ac710be7ffd833999e", + "last_tx_fee_msat": "8760000msat", + "feerate": { + "perkw": 7500, + "perkb": 30000 + }, + "owner": "channeld", + "direction": 1, + "channel_id": "882ac1c21cd2d9d27b7ab21bae226c871999f273e82bd697644e502a29a705a2", + "funding_txid": "a205a7292a504e6497d62be873f29919876c22ae1bb27a7bd2d9d21cc2c12a88", + "funding_outnum": 0, + "close_to_addr": "bcrt1qquwynjkj7ss08jq9l8mtnzjhy6wtzs2s6hgawv", + "close_to": "0014071c49cad2f420f3c805f9f6b98a57269cb14150", + "private": false, + "opener": "local", + "alias": { + "local": "13811490x639340x27623" + }, + "features": [ + "option_static_remotekey", + "option_anchor_outputs" + ], + "funding": { + "local_funds_msat": "1000000000msat", + "remote_funds_msat": "0msat", + "pushed_msat": "0msat" + }, + "to_us_msat": "1000000000msat", + "min_to_us_msat": "1000000000msat", + "max_to_us_msat": "1000000000msat", + "total_msat": "1000000000msat", + "fee_base_msat": "1msat", + "fee_proportional_millionths": 10, + "dust_limit_msat": "546000msat", + "max_total_htlc_in_msat": "18446744073709551615msat", + "their_reserve_msat": "10000000msat", + "our_reserve_msat": "10000000msat", + "spendable_msat": "967320000msat", + "receivable_msat": "0msat", + "minimum_htlc_in_msat": "0msat", + "minimum_htlc_out_msat": "0msat", + "maximum_htlc_out_msat": "990000000msat", + "their_to_self_delay": 5, + "our_to_self_delay": 5, + "max_accepted_htlcs": 483, + "state_changes": [], + "status": [ + "CHANNELD_AWAITING_LOCKIN:Funding needs 1 more confirmations to be ready." + ], + "in_payments_offered": 0, + "in_offered_msat": "0msat", + "in_payments_fulfilled": 0, + "in_fulfilled_msat": "0msat", + "out_payments_offered": 0, + "out_offered_msat": "0msat", + "out_payments_fulfilled": 0, + "out_fulfilled_msat": "0msat", + "htlcs": [] + } + ] + } +} +DEBUG root:utils.py:703 { + "id": "pytest:listpeerchannels#10", + "method": "listpeerchannels", + "params": { + "id": "022d223620a359a47ff7f7ac447c85c46c923da53389221a0054c11c1e3ca31d59" + }, + "filter": null +} +DEBUG root:lightning.py:355 Calling listpeerchannels with payload {'id': '022d223620a359a47ff7f7ac447c85c46c923da53389221a0054c11c1e3ca31d59'} +DEBUG root:lightning.py:414 Received response for listpeerchannels call: {'jsonrpc': '2.0', 'id': 'pytest:listpeerchannels#10', 'result': {'channels': [{'peer_id': '022d223620a359a47ff7f7ac447c85c46c923da53389221a0054c11c1e3ca31d59', 'peer_connected': True, 'channel_type': {'bits': [12, 20], 'names': ['static_remotekey/even', 'anchor_outputs/even']}, 'state': 'CHANNELD_AWAITING_LOCKIN', 'scratch_txid': '2063eb48acd90b66c11c8a06e57ede269842ca1ba40d11ac710be7ffd833999e', 'last_tx_fee_msat': 8760000msat, 'feerate': {'perkw': 7500, 'perkb': 30000}, 'owner': 'channeld', 'direction': 1, 'channel_id': '882ac1c21cd2d9d27b7ab21bae226c871999f273e82bd697644e502a29a705a2', 'funding_txid': 'a205a7292a504e6497d62be873f29919876c22ae1bb27a7bd2d9d21cc2c12a88', 'funding_outnum': 0, 'close_to_addr': 'bcrt1qquwynjkj7ss08jq9l8mtnzjhy6wtzs2s6hgawv', 'close_to': '0014071c49cad2f420f3c805f9f6b98a57269cb14150', 'private': False, 'opener': 'local', 'alias': {'local': '13811490x639340x27623'}, 'features': ['option_static_remotekey', 'option_anchor_outputs'], 'funding': {'local_funds_msat': 1000000000msat, 'remote_funds_msat': 0msat, 'pushed_msat': 0msat}, 'to_us_msat': 1000000000msat, 'min_to_us_msat': 1000000000msat, 'max_to_us_msat': 1000000000msat, 'total_msat': 1000000000msat, 'fee_base_msat': 1msat, 'fee_proportional_millionths': 10, 'dust_limit_msat': 546000msat, 'max_total_htlc_in_msat': 18446744073709551615msat, 'their_reserve_msat': 10000000msat, 'our_reserve_msat': 10000000msat, 'spendable_msat': 967320000msat, 'receivable_msat': 0msat, 'minimum_htlc_in_msat': 0msat, 'minimum_htlc_out_msat': 0msat, 'maximum_htlc_out_msat': 990000000msat, 'their_to_self_delay': 5, 'our_to_self_delay': 5, 'max_accepted_htlcs': 483, 'state_changes': [], 'status': ['CHANNELD_AWAITING_LOCKIN:Funding needs 1 more confirmations to be ready.'], 'in_payments_offered': 0, 'in_offered_msat': 0msat, 'in_payments_fulfilled': 0, 'in_fulfilled_msat': 0msat, 'out_payments_offered': 0, 'out_offered_msat': 0msat, 'out_payments_fulfilled': 0, 'out_fulfilled_msat': 0msat, 'htlcs': []}]}} +DEBUG root:utils.py:722 { + "id": "pytest:listpeerchannels#10", + "result": { + "channels": [ + { + "peer_id": "022d223620a359a47ff7f7ac447c85c46c923da53389221a0054c11c1e3ca31d59", + "peer_connected": true, + "channel_type": { + "bits": [ + 12, + 20 + ], + "names": [ + "static_remotekey/even", + "anchor_outputs/even" + ] + }, + "state": "CHANNELD_AWAITING_LOCKIN", + "scratch_txid": "2063eb48acd90b66c11c8a06e57ede269842ca1ba40d11ac710be7ffd833999e", + "last_tx_fee_msat": "8760000msat", + "feerate": { + "perkw": 7500, + "perkb": 30000 + }, + "owner": "channeld", + "direction": 1, + "channel_id": "882ac1c21cd2d9d27b7ab21bae226c871999f273e82bd697644e502a29a705a2", + "funding_txid": "a205a7292a504e6497d62be873f29919876c22ae1bb27a7bd2d9d21cc2c12a88", + "funding_outnum": 0, + "close_to_addr": "bcrt1qquwynjkj7ss08jq9l8mtnzjhy6wtzs2s6hgawv", + "close_to": "0014071c49cad2f420f3c805f9f6b98a57269cb14150", + "private": false, + "opener": "local", + "alias": { + "local": "13811490x639340x27623" + }, + "features": [ + "option_static_remotekey", + "option_anchor_outputs" + ], + "funding": { + "local_funds_msat": "1000000000msat", + "remote_funds_msat": "0msat", + "pushed_msat": "0msat" + }, + "to_us_msat": "1000000000msat", + "min_to_us_msat": "1000000000msat", + "max_to_us_msat": "1000000000msat", + "total_msat": "1000000000msat", + "fee_base_msat": "1msat", + "fee_proportional_millionths": 10, + "dust_limit_msat": "546000msat", + "max_total_htlc_in_msat": "18446744073709551615msat", + "their_reserve_msat": "10000000msat", + "our_reserve_msat": "10000000msat", + "spendable_msat": "967320000msat", + "receivable_msat": "0msat", + "minimum_htlc_in_msat": "0msat", + "minimum_htlc_out_msat": "0msat", + "maximum_htlc_out_msat": "990000000msat", + "their_to_self_delay": 5, + "our_to_self_delay": 5, + "max_accepted_htlcs": 483, + "state_changes": [], + "status": [ + "CHANNELD_AWAITING_LOCKIN:Funding needs 1 more confirmations to be ready." + ], + "in_payments_offered": 0, + "in_offered_msat": "0msat", + "in_payments_fulfilled": 0, + "in_fulfilled_msat": "0msat", + "out_payments_offered": 0, + "out_offered_msat": "0msat", + "out_payments_fulfilled": 0, + "out_fulfilled_msat": "0msat", + "htlcs": [] + } + ] + } +} +DEBUG root:utils.py:703 { + "id": "pytest:listpeerchannels#11", + "method": "listpeerchannels", + "params": { + "id": "022d223620a359a47ff7f7ac447c85c46c923da53389221a0054c11c1e3ca31d59" + }, + "filter": null +} +DEBUG root:lightning.py:355 Calling listpeerchannels with payload {'id': '022d223620a359a47ff7f7ac447c85c46c923da53389221a0054c11c1e3ca31d59'} +DEBUG root:lightning.py:414 Received response for listpeerchannels call: {'jsonrpc': '2.0', 'id': 'pytest:listpeerchannels#11', 'result': {'channels': [{'peer_id': '022d223620a359a47ff7f7ac447c85c46c923da53389221a0054c11c1e3ca31d59', 'peer_connected': True, 'channel_type': {'bits': [12, 20], 'names': ['static_remotekey/even', 'anchor_outputs/even']}, 'state': 'CHANNELD_AWAITING_LOCKIN', 'scratch_txid': '2063eb48acd90b66c11c8a06e57ede269842ca1ba40d11ac710be7ffd833999e', 'last_tx_fee_msat': 8760000msat, 'feerate': {'perkw': 7500, 'perkb': 30000}, 'owner': 'channeld', 'direction': 1, 'channel_id': '882ac1c21cd2d9d27b7ab21bae226c871999f273e82bd697644e502a29a705a2', 'funding_txid': 'a205a7292a504e6497d62be873f29919876c22ae1bb27a7bd2d9d21cc2c12a88', 'funding_outnum': 0, 'close_to_addr': 'bcrt1qquwynjkj7ss08jq9l8mtnzjhy6wtzs2s6hgawv', 'close_to': '0014071c49cad2f420f3c805f9f6b98a57269cb14150', 'private': False, 'opener': 'local', 'alias': {'local': '13811490x639340x27623'}, 'features': ['option_static_remotekey', 'option_anchor_outputs'], 'funding': {'local_funds_msat': 1000000000msat, 'remote_funds_msat': 0msat, 'pushed_msat': 0msat}, 'to_us_msat': 1000000000msat, 'min_to_us_msat': 1000000000msat, 'max_to_us_msat': 1000000000msat, 'total_msat': 1000000000msat, 'fee_base_msat': 1msat, 'fee_proportional_millionths': 10, 'dust_limit_msat': 546000msat, 'max_total_htlc_in_msat': 18446744073709551615msat, 'their_reserve_msat': 10000000msat, 'our_reserve_msat': 10000000msat, 'spendable_msat': 967320000msat, 'receivable_msat': 0msat, 'minimum_htlc_in_msat': 0msat, 'minimum_htlc_out_msat': 0msat, 'maximum_htlc_out_msat': 990000000msat, 'their_to_self_delay': 5, 'our_to_self_delay': 5, 'max_accepted_htlcs': 483, 'state_changes': [], 'status': ['CHANNELD_AWAITING_LOCKIN:Funding needs 1 more confirmations to be ready.'], 'in_payments_offered': 0, 'in_offered_msat': 0msat, 'in_payments_fulfilled': 0, 'in_fulfilled_msat': 0msat, 'out_payments_offered': 0, 'out_offered_msat': 0msat, 'out_payments_fulfilled': 0, 'out_fulfilled_msat': 0msat, 'htlcs': []}]}} +DEBUG root:utils.py:722 { + "id": "pytest:listpeerchannels#11", + "result": { + "channels": [ + { + "peer_id": "022d223620a359a47ff7f7ac447c85c46c923da53389221a0054c11c1e3ca31d59", + "peer_connected": true, + "channel_type": { + "bits": [ + 12, + 20 + ], + "names": [ + "static_remotekey/even", + "anchor_outputs/even" + ] + }, + "state": "CHANNELD_AWAITING_LOCKIN", + "scratch_txid": "2063eb48acd90b66c11c8a06e57ede269842ca1ba40d11ac710be7ffd833999e", + "last_tx_fee_msat": "8760000msat", + "feerate": { + "perkw": 7500, + "perkb": 30000 + }, + "owner": "channeld", + "direction": 1, + "channel_id": "882ac1c21cd2d9d27b7ab21bae226c871999f273e82bd697644e502a29a705a2", + "funding_txid": "a205a7292a504e6497d62be873f29919876c22ae1bb27a7bd2d9d21cc2c12a88", + "funding_outnum": 0, + "close_to_addr": "bcrt1qquwynjkj7ss08jq9l8mtnzjhy6wtzs2s6hgawv", + "close_to": "0014071c49cad2f420f3c805f9f6b98a57269cb14150", + "private": false, + "opener": "local", + "alias": { + "local": "13811490x639340x27623" + }, + "features": [ + "option_static_remotekey", + "option_anchor_outputs" + ], + "funding": { + "local_funds_msat": "1000000000msat", + "remote_funds_msat": "0msat", + "pushed_msat": "0msat" + }, + "to_us_msat": "1000000000msat", + "min_to_us_msat": "1000000000msat", + "max_to_us_msat": "1000000000msat", + "total_msat": "1000000000msat", + "fee_base_msat": "1msat", + "fee_proportional_millionths": 10, + "dust_limit_msat": "546000msat", + "max_total_htlc_in_msat": "18446744073709551615msat", + "their_reserve_msat": "10000000msat", + "our_reserve_msat": "10000000msat", + "spendable_msat": "967320000msat", + "receivable_msat": "0msat", + "minimum_htlc_in_msat": "0msat", + "minimum_htlc_out_msat": "0msat", + "maximum_htlc_out_msat": "990000000msat", + "their_to_self_delay": 5, + "our_to_self_delay": 5, + "max_accepted_htlcs": 483, + "state_changes": [], + "status": [ + "CHANNELD_AWAITING_LOCKIN:Funding needs 1 more confirmations to be ready." + ], + "in_payments_offered": 0, + "in_offered_msat": "0msat", + "in_payments_fulfilled": 0, + "in_fulfilled_msat": "0msat", + "out_payments_offered": 0, + "out_offered_msat": "0msat", + "out_payments_fulfilled": 0, + "out_fulfilled_msat": "0msat", + "htlcs": [] + } + ] + } +} +DEBUG root:utils.py:703 { + "id": "pytest:listpeerchannels#12", + "method": "listpeerchannels", + "params": { + "id": "022d223620a359a47ff7f7ac447c85c46c923da53389221a0054c11c1e3ca31d59" + }, + "filter": null +} +DEBUG root:lightning.py:355 Calling listpeerchannels with payload {'id': '022d223620a359a47ff7f7ac447c85c46c923da53389221a0054c11c1e3ca31d59'} +DEBUG root:lightning.py:414 Received response for listpeerchannels call: {'jsonrpc': '2.0', 'id': 'pytest:listpeerchannels#12', 'result': {'channels': [{'peer_id': '022d223620a359a47ff7f7ac447c85c46c923da53389221a0054c11c1e3ca31d59', 'peer_connected': True, 'channel_type': {'bits': [12, 20], 'names': ['static_remotekey/even', 'anchor_outputs/even']}, 'state': 'CHANNELD_NORMAL', 'scratch_txid': '2063eb48acd90b66c11c8a06e57ede269842ca1ba40d11ac710be7ffd833999e', 'last_tx_fee_msat': 8760000msat, 'feerate': {'perkw': 7500, 'perkb': 30000}, 'owner': 'channeld', 'short_channel_id': '103x1x0', 'direction': 1, 'channel_id': '882ac1c21cd2d9d27b7ab21bae226c871999f273e82bd697644e502a29a705a2', 'funding_txid': 'a205a7292a504e6497d62be873f29919876c22ae1bb27a7bd2d9d21cc2c12a88', 'funding_outnum': 0, 'close_to_addr': 'bcrt1qquwynjkj7ss08jq9l8mtnzjhy6wtzs2s6hgawv', 'close_to': '0014071c49cad2f420f3c805f9f6b98a57269cb14150', 'private': False, 'opener': 'local', 'alias': {'local': '13811490x639340x27623', 'remote': '6649444x3348743x28669'}, 'features': ['option_static_remotekey', 'option_anchor_outputs'], 'funding': {'local_funds_msat': 1000000000msat, 'remote_funds_msat': 0msat, 'pushed_msat': 0msat}, 'to_us_msat': 1000000000msat, 'min_to_us_msat': 1000000000msat, 'max_to_us_msat': 1000000000msat, 'total_msat': 1000000000msat, 'fee_base_msat': 1msat, 'fee_proportional_millionths': 10, 'dust_limit_msat': 546000msat, 'max_total_htlc_in_msat': 18446744073709551615msat, 'their_reserve_msat': 10000000msat, 'our_reserve_msat': 10000000msat, 'spendable_msat': 967320000msat, 'receivable_msat': 0msat, 'minimum_htlc_in_msat': 0msat, 'minimum_htlc_out_msat': 0msat, 'maximum_htlc_out_msat': 990000000msat, 'their_to_self_delay': 5, 'our_to_self_delay': 5, 'max_accepted_htlcs': 483, 'state_changes': [{'timestamp': '2023-10-31T16:17:03.769Z', 'old_state': 'CHANNELD_AWAITING_LOCKIN', 'new_state': 'CHANNELD_NORMAL', 'cause': 'user', 'message': 'Lockin complete'}], 'status': ['CHANNELD_NORMAL:Channel ready for use.'], 'in_payments_offered': 0, 'in_offered_msat': 0msat, 'in_payments_fulfilled': 0, 'in_fulfilled_msat': 0msat, 'out_payments_offered': 0, 'out_offered_msat': 0msat, 'out_payments_fulfilled': 0, 'out_fulfilled_msat': 0msat, 'htlcs': []}]}} +DEBUG root:utils.py:722 { + "id": "pytest:listpeerchannels#12", + "result": { + "channels": [ + { + "peer_id": "022d223620a359a47ff7f7ac447c85c46c923da53389221a0054c11c1e3ca31d59", + "peer_connected": true, + "channel_type": { + "bits": [ + 12, + 20 + ], + "names": [ + "static_remotekey/even", + "anchor_outputs/even" + ] + }, + "state": "CHANNELD_NORMAL", + "scratch_txid": "2063eb48acd90b66c11c8a06e57ede269842ca1ba40d11ac710be7ffd833999e", + "last_tx_fee_msat": "8760000msat", + "feerate": { + "perkw": 7500, + "perkb": 30000 + }, + "owner": "channeld", + "short_channel_id": "103x1x0", + "direction": 1, + "channel_id": "882ac1c21cd2d9d27b7ab21bae226c871999f273e82bd697644e502a29a705a2", + "funding_txid": "a205a7292a504e6497d62be873f29919876c22ae1bb27a7bd2d9d21cc2c12a88", + "funding_outnum": 0, + "close_to_addr": "bcrt1qquwynjkj7ss08jq9l8mtnzjhy6wtzs2s6hgawv", + "close_to": "0014071c49cad2f420f3c805f9f6b98a57269cb14150", + "private": false, + "opener": "local", + "alias": { + "local": "13811490x639340x27623", + "remote": "6649444x3348743x28669" + }, + "features": [ + "option_static_remotekey", + "option_anchor_outputs" + ], + "funding": { + "local_funds_msat": "1000000000msat", + "remote_funds_msat": "0msat", + "pushed_msat": "0msat" + }, + "to_us_msat": "1000000000msat", + "min_to_us_msat": "1000000000msat", + "max_to_us_msat": "1000000000msat", + "total_msat": "1000000000msat", + "fee_base_msat": "1msat", + "fee_proportional_millionths": 10, + "dust_limit_msat": "546000msat", + "max_total_htlc_in_msat": "18446744073709551615msat", + "their_reserve_msat": "10000000msat", + "our_reserve_msat": "10000000msat", + "spendable_msat": "967320000msat", + "receivable_msat": "0msat", + "minimum_htlc_in_msat": "0msat", + "minimum_htlc_out_msat": "0msat", + "maximum_htlc_out_msat": "990000000msat", + "their_to_self_delay": 5, + "our_to_self_delay": 5, + "max_accepted_htlcs": 483, + "state_changes": [ + { + "timestamp": "2023-10-31T16:17:03.769Z", + "old_state": "CHANNELD_AWAITING_LOCKIN", + "new_state": "CHANNELD_NORMAL", + "cause": "user", + "message": "Lockin complete" + } + ], + "status": [ + "CHANNELD_NORMAL:Channel ready for use." + ], + "in_payments_offered": 0, + "in_offered_msat": "0msat", + "in_payments_fulfilled": 0, + "in_fulfilled_msat": "0msat", + "out_payments_offered": 0, + "out_offered_msat": "0msat", + "out_payments_fulfilled": 0, + "out_fulfilled_msat": "0msat", + "htlcs": [] + } + ] + } +} +DEBUG root:utils.py:703 { + "id": "pytest:listpeerchannels#13", + "method": "listpeerchannels", + "params": { + "id": "022d223620a359a47ff7f7ac447c85c46c923da53389221a0054c11c1e3ca31d59" + }, + "filter": null +} +DEBUG root:lightning.py:355 Calling listpeerchannels with payload {'id': '022d223620a359a47ff7f7ac447c85c46c923da53389221a0054c11c1e3ca31d59'} +DEBUG root:lightning.py:414 Received response for listpeerchannels call: {'jsonrpc': '2.0', 'id': 'pytest:listpeerchannels#13', 'result': {'channels': [{'peer_id': '022d223620a359a47ff7f7ac447c85c46c923da53389221a0054c11c1e3ca31d59', 'peer_connected': True, 'channel_type': {'bits': [12, 20], 'names': ['static_remotekey/even', 'anchor_outputs/even']}, 'state': 'CHANNELD_NORMAL', 'scratch_txid': '2063eb48acd90b66c11c8a06e57ede269842ca1ba40d11ac710be7ffd833999e', 'last_tx_fee_msat': 8760000msat, 'feerate': {'perkw': 7500, 'perkb': 30000}, 'owner': 'channeld', 'short_channel_id': '103x1x0', 'direction': 1, 'channel_id': '882ac1c21cd2d9d27b7ab21bae226c871999f273e82bd697644e502a29a705a2', 'funding_txid': 'a205a7292a504e6497d62be873f29919876c22ae1bb27a7bd2d9d21cc2c12a88', 'funding_outnum': 0, 'close_to_addr': 'bcrt1qquwynjkj7ss08jq9l8mtnzjhy6wtzs2s6hgawv', 'close_to': '0014071c49cad2f420f3c805f9f6b98a57269cb14150', 'private': False, 'opener': 'local', 'alias': {'local': '13811490x639340x27623', 'remote': '6649444x3348743x28669'}, 'features': ['option_static_remotekey', 'option_anchor_outputs'], 'funding': {'local_funds_msat': 1000000000msat, 'remote_funds_msat': 0msat, 'pushed_msat': 0msat}, 'to_us_msat': 1000000000msat, 'min_to_us_msat': 1000000000msat, 'max_to_us_msat': 1000000000msat, 'total_msat': 1000000000msat, 'fee_base_msat': 1msat, 'fee_proportional_millionths': 10, 'dust_limit_msat': 546000msat, 'max_total_htlc_in_msat': 18446744073709551615msat, 'their_reserve_msat': 10000000msat, 'our_reserve_msat': 10000000msat, 'spendable_msat': 967320000msat, 'receivable_msat': 0msat, 'minimum_htlc_in_msat': 0msat, 'minimum_htlc_out_msat': 0msat, 'maximum_htlc_out_msat': 990000000msat, 'their_to_self_delay': 5, 'our_to_self_delay': 5, 'max_accepted_htlcs': 483, 'state_changes': [{'timestamp': '2023-10-31T16:17:03.769Z', 'old_state': 'CHANNELD_AWAITING_LOCKIN', 'new_state': 'CHANNELD_NORMAL', 'cause': 'user', 'message': 'Lockin complete'}], 'status': ['CHANNELD_NORMAL:Channel ready for use.'], 'in_payments_offered': 0, 'in_offered_msat': 0msat, 'in_payments_fulfilled': 0, 'in_fulfilled_msat': 0msat, 'out_payments_offered': 0, 'out_offered_msat': 0msat, 'out_payments_fulfilled': 0, 'out_fulfilled_msat': 0msat, 'htlcs': []}]}} +DEBUG root:utils.py:722 { + "id": "pytest:listpeerchannels#13", + "result": { + "channels": [ + { + "peer_id": "022d223620a359a47ff7f7ac447c85c46c923da53389221a0054c11c1e3ca31d59", + "peer_connected": true, + "channel_type": { + "bits": [ + 12, + 20 + ], + "names": [ + "static_remotekey/even", + "anchor_outputs/even" + ] + }, + "state": "CHANNELD_NORMAL", + "scratch_txid": "2063eb48acd90b66c11c8a06e57ede269842ca1ba40d11ac710be7ffd833999e", + "last_tx_fee_msat": "8760000msat", + "feerate": { + "perkw": 7500, + "perkb": 30000 + }, + "owner": "channeld", + "short_channel_id": "103x1x0", + "direction": 1, + "channel_id": "882ac1c21cd2d9d27b7ab21bae226c871999f273e82bd697644e502a29a705a2", + "funding_txid": "a205a7292a504e6497d62be873f29919876c22ae1bb27a7bd2d9d21cc2c12a88", + "funding_outnum": 0, + "close_to_addr": "bcrt1qquwynjkj7ss08jq9l8mtnzjhy6wtzs2s6hgawv", + "close_to": "0014071c49cad2f420f3c805f9f6b98a57269cb14150", + "private": false, + "opener": "local", + "alias": { + "local": "13811490x639340x27623", + "remote": "6649444x3348743x28669" + }, + "features": [ + "option_static_remotekey", + "option_anchor_outputs" + ], + "funding": { + "local_funds_msat": "1000000000msat", + "remote_funds_msat": "0msat", + "pushed_msat": "0msat" + }, + "to_us_msat": "1000000000msat", + "min_to_us_msat": "1000000000msat", + "max_to_us_msat": "1000000000msat", + "total_msat": "1000000000msat", + "fee_base_msat": "1msat", + "fee_proportional_millionths": 10, + "dust_limit_msat": "546000msat", + "max_total_htlc_in_msat": "18446744073709551615msat", + "their_reserve_msat": "10000000msat", + "our_reserve_msat": "10000000msat", + "spendable_msat": "967320000msat", + "receivable_msat": "0msat", + "minimum_htlc_in_msat": "0msat", + "minimum_htlc_out_msat": "0msat", + "maximum_htlc_out_msat": "990000000msat", + "their_to_self_delay": 5, + "our_to_self_delay": 5, + "max_accepted_htlcs": 483, + "state_changes": [ + { + "timestamp": "2023-10-31T16:17:03.769Z", + "old_state": "CHANNELD_AWAITING_LOCKIN", + "new_state": "CHANNELD_NORMAL", + "cause": "user", + "message": "Lockin complete" + } + ], + "status": [ + "CHANNELD_NORMAL:Channel ready for use." + ], + "in_payments_offered": 0, + "in_offered_msat": "0msat", + "in_payments_fulfilled": 0, + "in_fulfilled_msat": "0msat", + "out_payments_offered": 0, + "out_offered_msat": "0msat", + "out_payments_fulfilled": 0, + "out_fulfilled_msat": "0msat", + "htlcs": [] + } + ] + } +} +DEBUG root:utils.py:703 { + "id": "pytest:listchannels#14", + "method": "listchannels", + "params": { + "short_channel_id": "103x1x0", + "source": null, + "destination": null + }, + "filter": null +} +DEBUG root:lightning.py:355 Calling listchannels with payload {'short_channel_id': '103x1x0', 'source': None, 'destination': None} +DEBUG root:lightning.py:414 Received response for listchannels call: {'jsonrpc': '2.0', 'id': 'pytest:listchannels#14', 'result': {'channels': []}} +DEBUG root:utils.py:722 { + "id": "pytest:listchannels#14", + "result": { + "channels": [] + } +} +DEBUG root:utils.py:703 { + "id": "pytest:listchannels#15", + "method": "listchannels", + "params": { + "short_channel_id": "103x1x0", + "source": null, + "destination": null + }, + "filter": null +} +DEBUG root:lightning.py:355 Calling listchannels with payload {'short_channel_id': '103x1x0', 'source': None, 'destination': None} +DEBUG root:lightning.py:414 Received response for listchannels call: {'jsonrpc': '2.0', 'id': 'pytest:listchannels#15', 'result': {'channels': []}} +DEBUG root:utils.py:722 { + "id": "pytest:listchannels#15", + "result": { + "channels": [] + } +} +DEBUG root:utils.py:703 { + "id": "pytest:listchannels#16", + "method": "listchannels", + "params": { + "short_channel_id": "103x1x0", + "source": null, + "destination": null + }, + "filter": null +} +DEBUG root:lightning.py:355 Calling listchannels with payload {'short_channel_id': '103x1x0', 'source': None, 'destination': None} +DEBUG root:lightning.py:414 Received response for listchannels call: {'jsonrpc': '2.0', 'id': 'pytest:listchannels#16', 'result': {'channels': []}} +DEBUG root:utils.py:722 { + "id": "pytest:listchannels#16", + "result": { + "channels": [] + } +} +DEBUG root:utils.py:703 { + "id": "pytest:listchannels#17", + "method": "listchannels", + "params": { + "short_channel_id": "103x1x0", + "source": null, + "destination": null + }, + "filter": null +} +DEBUG root:lightning.py:355 Calling listchannels with payload {'short_channel_id': '103x1x0', 'source': None, 'destination': None} +DEBUG root:lightning.py:414 Received response for listchannels call: {'jsonrpc': '2.0', 'id': 'pytest:listchannels#17', 'result': {'channels': []}} +DEBUG root:utils.py:722 { + "id": "pytest:listchannels#17", + "result": { + "channels": [] + } +} +DEBUG root:utils.py:703 { + "id": "pytest:listchannels#18", + "method": "listchannels", + "params": { + "short_channel_id": "103x1x0", + "source": null, + "destination": null + }, + "filter": null +} +DEBUG root:lightning.py:355 Calling listchannels with payload {'short_channel_id': '103x1x0', 'source': None, 'destination': None} +DEBUG root:lightning.py:414 Received response for listchannels call: {'jsonrpc': '2.0', 'id': 'pytest:listchannels#18', 'result': {'channels': []}} +DEBUG root:utils.py:722 { + "id": "pytest:listchannels#18", + "result": { + "channels": [] + } +} +DEBUG root:utils.py:703 { + "id": "pytest:listchannels#19", + "method": "listchannels", + "params": { + "short_channel_id": "103x1x0", + "source": null, + "destination": null + }, + "filter": null +} +DEBUG root:lightning.py:355 Calling listchannels with payload {'short_channel_id': '103x1x0', 'source': None, 'destination': None} +DEBUG root:lightning.py:414 Received response for listchannels call: {'jsonrpc': '2.0', 'id': 'pytest:listchannels#19', 'result': {'channels': [{'source': '022d223620a359a47ff7f7ac447c85c46c923da53389221a0054c11c1e3ca31d59', 'destination': '0266e4598d1d3c415f572a8488830b60f7e744ed9235eb0b1ba93283b315c03518', 'short_channel_id': '103x1x0', 'direction': 0, 'public': False, 'amount_msat': 1000000000msat, 'message_flags': 1, 'channel_flags': 0, 'active': True, 'last_update': 1698769023, 'base_fee_millisatoshi': 1, 'fee_per_millionth': 10, 'delay': 6, 'htlc_minimum_msat': 0msat, 'htlc_maximum_msat': 990000000msat, 'features': ''}, {'source': '0266e4598d1d3c415f572a8488830b60f7e744ed9235eb0b1ba93283b315c03518', 'destination': '022d223620a359a47ff7f7ac447c85c46c923da53389221a0054c11c1e3ca31d59', 'short_channel_id': '103x1x0', 'direction': 1, 'public': False, 'amount_msat': 1000000000msat, 'message_flags': 1, 'channel_flags': 1, 'active': True, 'last_update': 1698769023, 'base_fee_millisatoshi': 1, 'fee_per_millionth': 10, 'delay': 6, 'htlc_minimum_msat': 0msat, 'htlc_maximum_msat': 990000000msat, 'features': ''}]}} +DEBUG root:utils.py:722 { + "id": "pytest:listchannels#19", + "result": { + "channels": [ + { + "source": "022d223620a359a47ff7f7ac447c85c46c923da53389221a0054c11c1e3ca31d59", + "destination": "0266e4598d1d3c415f572a8488830b60f7e744ed9235eb0b1ba93283b315c03518", + "short_channel_id": "103x1x0", + "direction": 0, + "public": false, + "amount_msat": "1000000000msat", + "message_flags": 1, + "channel_flags": 0, + "active": true, + "last_update": 1698769023, + "base_fee_millisatoshi": 1, + "fee_per_millionth": 10, + "delay": 6, + "htlc_minimum_msat": "0msat", + "htlc_maximum_msat": "990000000msat", + "features": "" + }, + { + "source": "0266e4598d1d3c415f572a8488830b60f7e744ed9235eb0b1ba93283b315c03518", + "destination": "022d223620a359a47ff7f7ac447c85c46c923da53389221a0054c11c1e3ca31d59", + "short_channel_id": "103x1x0", + "direction": 1, + "public": false, + "amount_msat": "1000000000msat", + "message_flags": 1, + "channel_flags": 1, + "active": true, + "last_update": 1698769023, + "base_fee_millisatoshi": 1, + "fee_per_millionth": 10, + "delay": 6, + "htlc_minimum_msat": "0msat", + "htlc_maximum_msat": "990000000msat", + "features": "" + } + ] + } +} +DEBUG root:utils.py:703 { + "id": "pytest:listchannels#3", + "method": "listchannels", + "params": { + "short_channel_id": "103x1x0", + "source": null, + "destination": null + }, + "filter": null +} +DEBUG root:lightning.py:355 Calling listchannels with payload {'short_channel_id': '103x1x0', 'source': None, 'destination': None} +DEBUG root:lightning.py:414 Received response for listchannels call: {'jsonrpc': '2.0', 'id': 'pytest:listchannels#3', 'result': {'channels': [{'source': '022d223620a359a47ff7f7ac447c85c46c923da53389221a0054c11c1e3ca31d59', 'destination': '0266e4598d1d3c415f572a8488830b60f7e744ed9235eb0b1ba93283b315c03518', 'short_channel_id': '103x1x0', 'direction': 0, 'public': False, 'amount_msat': 1000000000msat, 'message_flags': 1, 'channel_flags': 0, 'active': True, 'last_update': 1698769023, 'base_fee_millisatoshi': 1, 'fee_per_millionth': 10, 'delay': 6, 'htlc_minimum_msat': 0msat, 'htlc_maximum_msat': 990000000msat, 'features': ''}, {'source': '0266e4598d1d3c415f572a8488830b60f7e744ed9235eb0b1ba93283b315c03518', 'destination': '022d223620a359a47ff7f7ac447c85c46c923da53389221a0054c11c1e3ca31d59', 'short_channel_id': '103x1x0', 'direction': 1, 'public': False, 'amount_msat': 1000000000msat, 'message_flags': 1, 'channel_flags': 1, 'active': True, 'last_update': 1698769023, 'base_fee_millisatoshi': 1, 'fee_per_millionth': 10, 'delay': 6, 'htlc_minimum_msat': 0msat, 'htlc_maximum_msat': 990000000msat, 'features': ''}]}} +DEBUG root:utils.py:722 { + "id": "pytest:listchannels#3", + "result": { + "channels": [ + { + "source": "022d223620a359a47ff7f7ac447c85c46c923da53389221a0054c11c1e3ca31d59", + "destination": "0266e4598d1d3c415f572a8488830b60f7e744ed9235eb0b1ba93283b315c03518", + "short_channel_id": "103x1x0", + "direction": 0, + "public": false, + "amount_msat": "1000000000msat", + "message_flags": 1, + "channel_flags": 0, + "active": true, + "last_update": 1698769023, + "base_fee_millisatoshi": 1, + "fee_per_millionth": 10, + "delay": 6, + "htlc_minimum_msat": "0msat", + "htlc_maximum_msat": "990000000msat", + "features": "" + }, + { + "source": "0266e4598d1d3c415f572a8488830b60f7e744ed9235eb0b1ba93283b315c03518", + "destination": "022d223620a359a47ff7f7ac447c85c46c923da53389221a0054c11c1e3ca31d59", + "short_channel_id": "103x1x0", + "direction": 1, + "public": false, + "amount_msat": "1000000000msat", + "message_flags": 1, + "channel_flags": 1, + "active": true, + "last_update": 1698769023, + "base_fee_millisatoshi": 1, + "fee_per_millionth": 10, + "delay": 6, + "htlc_minimum_msat": "0msat", + "htlc_maximum_msat": "990000000msat", + "features": "" + } + ] + } +} +DEBUG root:utils.py:703 { + "id": "pytest:newaddr#4", + "method": "newaddr", + "params": { + "addresstype": "bech32" + }, + "filter": null +} +DEBUG root:lightning.py:355 Calling newaddr with payload {'addresstype': 'bech32'} +DEBUG root:lightning.py:414 Received response for newaddr call: {'jsonrpc': '2.0', 'id': 'pytest:newaddr#4', 'result': {'bech32': 'bcrt1q9tc6q49l6wrrtp8ul45rj92hsleehwwxty32zu'}} +DEBUG root:utils.py:722 { + "id": "pytest:newaddr#4", + "result": { + "bech32": "bcrt1q9tc6q49l6wrrtp8ul45rj92hsleehwwxty32zu" + } +} +DEBUG root:utils.py:370 Calling sendtoaddress with arguments ('bcrt1q9tc6q49l6wrrtp8ul45rj92hsleehwwxty32zu', 0.02) +DEBUG root:utils.py:375 Result for sendtoaddress call: f90a3bcb48e6c79a7554f765bcd4d4e4e1cd4e5ba191f14142ff115bcb8add04 +DEBUG root:utils.py:370 Calling getrawmempool with arguments (True,) +DEBUG root:utils.py:375 Result for getrawmempool call: {'f90a3bcb48e6c79a7554f765bcd4d4e4e1cd4e5ba191f14142ff115bcb8add04': {'vsize': 141, 'weight': 561, 'time': 1698769032, 'height': 103, 'descendantcount': 1, 'descendantsize': 141, 'ancestorcount': 1, 'ancestorsize': 141, 'wtxid': '81670ee7791379eb6dda137fbdd0b7a4830e5b34c2de979762d5f69c2f7032ef', 'fees': {'base': Decimal('0.00000141'), 'modified': Decimal('0.00000141'), 'ancestor': Decimal('0.00000141'), 'descendant': Decimal('0.00000141')}, 'depends': [], 'spentby': [], 'bip125-replaceable': True, 'unbroadcast': True}} +DEBUG root:utils.py:472 Generating 1, confirming 1 transactions: {'f90a3bcb48e6c79a7554f765bcd4d4e4e1cd4e5ba191f14142ff115bcb8add04': {'vsize': 141, 'weight': 561, 'time': 1698769032, 'height': 103, 'descendantcount': 1, 'descendantsize': 141, 'ancestorcount': 1, 'ancestorsize': 141, 'wtxid': '81670ee7791379eb6dda137fbdd0b7a4830e5b34c2de979762d5f69c2f7032ef', 'fees': {'base': Decimal('0.00000141'), 'modified': Decimal('0.00000141'), 'ancestor': Decimal('0.00000141'), 'descendant': Decimal('0.00000141')}, 'depends': [], 'spentby': [], 'bip125-replaceable': True, 'unbroadcast': True}} +DEBUG root:utils.py:370 Calling getnewaddress with arguments () +DEBUG root:utils.py:375 Result for getnewaddress call: bcrt1qghp3kpv48hndu87acw5g6z057fueuueel5h7cm +DEBUG root:utils.py:370 Calling generatetoaddress with arguments (1, 'bcrt1qghp3kpv48hndu87acw5g6z057fueuueel5h7cm') +DEBUG root:utils.py:375 Result for generatetoaddress call: ['5c0dc953e6158bc51ad7f70841c57addf8b90fa31fd231bccf7d375dfce44437'] +DEBUG root:utils.py:315 Waiting for ['Owning output .* txid f90a3bcb48e6c79a7554f765bcd4d4e4e1cd4e5ba191f14142ff115bcb8add04 CONFIRMED'] in the logs +DEBUG root:utils.py:335 Found 're.compile('Owning output .* txid f90a3bcb48e6c79a7554f765bcd4d4e4e1cd4e5ba191f14142ff115bcb8add04 CONFIRMED')' in logs +DEBUG root:clients.py:157 Creating new client in /tmp/gltesting/tmp/tmprvad17gw/clients/client-1 +DEBUG Client-1:clients.py:44 Initializing hsm_secret with provided secret +INFO Client-1:clients.py:70 Loading generic nobody identity from /tmp/gltesting/tmp/tmprvad17gw/clients/client-1/nobody-key.pem +DEBUG glclientpy.tls.TlsConfig:tls.py:9 Constructing nobody identity +DEBUG glclientpy.tls.TlsConfig:tls.py:39 Customizing greenlight CA +DEBUG glclientpy.tls.TlsConfig:tls.py:9 Constructing nobody identity +DEBUG glclientpy.tls.TlsConfig:tls.py:9 Constructing nobody identity +DEBUG glclientpy.tls.TlsConfig:tls.py:26 Authenticating TLS identity +INFO Client-1:clients.py:52 Client for node_id=026f61d7ee82f937f9697f4f3e44bfaaa25849cc4f526b3a57326130eba6346002 initialized +INFO Client-1:clients.py:70 Loading generic nobody identity from /tmp/gltesting/tmp/tmprvad17gw/clients/client-1/nobody-key.pem +DEBUG glclientpy.tls.TlsConfig:tls.py:9 Constructing nobody identity +DEBUG glclientpy.tls.TlsConfig:tls.py:39 Customizing greenlight CA +DEBUG glclientpy.tls.TlsConfig:tls.py:9 Constructing nobody identity +DEBUG glclientpy.tls.TlsConfig:tls.py:9 Constructing nobody identity +DEBUG glclientpy.tls.TlsConfig:tls.py:26 Authenticating TLS identity +INFO Client-1:clients.py:70 Loading generic nobody identity from /tmp/gltesting/tmp/tmprvad17gw/clients/client-1/nobody-key.pem +DEBUG glclientpy.tls.TlsConfig:tls.py:9 Constructing nobody identity +DEBUG glclientpy.tls.TlsConfig:tls.py:39 Customizing greenlight CA +DEBUG glclientpy.tls.TlsConfig:tls.py:9 Constructing nobody identity +DEBUG glclientpy.tls.TlsConfig:tls.py:9 Constructing nobody identity +DEBUG glclientpy.tls.TlsConfig:tls.py:26 Authenticating TLS identity +DEBUG root:certs.py:145 Generating a new CA for path /users/026f61d7ee82f937f9697f4f3e44bfaaa25849cc4f526b3a57326130eba6346002 +DEBUG root:certs.py:151 Using CA /users as parent +DEBUG root:certs.py:199 Generating a new certificate for /users/026f61d7ee82f937f9697f4f3e44bfaaa25849cc4f526b3a57326130eba6346002/node +INFO Client-1:clients.py:65 Loading client identity from /tmp/gltesting/tmp/tmprvad17gw/clients/client-1/device-key.pem +DEBUG glclientpy.tls.TlsConfig:tls.py:9 Constructing nobody identity +DEBUG glclientpy.tls.TlsConfig:tls.py:39 Customizing greenlight CA +DEBUG glclientpy.tls.TlsConfig:tls.py:9 Constructing nobody identity +DEBUG glclientpy.tls.TlsConfig:tls.py:9 Constructing nobody identity +DEBUG glclientpy.tls.TlsConfig:tls.py:26 Authenticating TLS identity +DEBUG root:scheduler.py:280 Determined that we need to start node_version=NodeVersion(path=PosixPath('/opt/cln/v23.08gl1/usr/local/bin/lightningd'), name='v23.08gl1') for n.signer_version=SignerVersion(name='v23.08') +DEBUG gltesting.node.Node:node.py:113 Writing node config to /tmp/gltesting/tmp/tmpx1193nzq/node-0/regtest/node_config.pb +DEBUG root:utils.py:225 Starting '/opt/cln/v23.08gl1/usr/local/bin/lightningd --lightning-dir=/tmp/gltesting/tmp/tmpx1193nzq/node-0 --network=regtest --log-level=debug --bitcoin-rpcuser=rpcuser --bitcoin-rpcpassword=rpcpass --bitcoin-rpcconnect=localhost:48511 --disable-plugin=commando --rescan=1 --log-timestamps=false --cltv-final=6 --addr=127.0.0.1:34811 --disable-plugin=cln-grpc --subdaemon=hsmd:/tmp/gltesting/target/debug/gl-signerproxy --important-plugin=/tmp/gltesting/target/debug/gl-plugin --dev-bitcoind-poll=5 --dev-fast-gossip --offline --experimental-anchors' +DEBUG root:utils.py:315 Waiting for ['Server started with public key'] in the logs +DEBUG root:utils.py:335 Found 're.compile('Server started with public key')' in logs +DEBUG gltesting.node.Node:node.py:190 stdout b'DEBUG lightningd: io_break: connect_activate_done\n' +DEBUG gltesting.node.Node:node.py:193 stderr b'[2023-10-31T16:17:14Z DEBUG gl_signerproxy::hsmproxy] Got a request for a new client fd. Context: HsmRequestContext { node_id: [2, 111, 97, 215, 238, 130, 249, 55, 249, 105, 127, 79, 62, 68, 191, 170, 162, 88, 73, 204, 79, 82, 107, 58, 87, 50, 97, 48, 235, 166, 52, 96, 2], dbid: 0, capabilities: 3 }\n' +INFO Client-1:clients.py:65 Loading client identity from /tmp/gltesting/tmp/tmprvad17gw/clients/client-1/device-key.pem +DEBUG glclientpy.tls.TlsConfig:tls.py:9 Constructing nobody identity +DEBUG glclientpy.tls.TlsConfig:tls.py:39 Customizing greenlight CA +DEBUG glclientpy.tls.TlsConfig:tls.py:9 Constructing nobody identity +DEBUG glclientpy.tls.TlsConfig:tls.py:9 Constructing nobody identity +DEBUG glclientpy.tls.TlsConfig:tls.py:26 Authenticating TLS identity +DEBUG root:utils.py:370 Calling getnewaddress with arguments () +DEBUG root:utils.py:375 Result for getnewaddress call: bcrt1qz3226xchtxeyawv32wvazkk7ttacqlhajsdxa3 +---------------------------- Captured log teardown ----------------------------- +DEBUG root:utils.py:703 { + "id": "pytest:dev-memleak#5", + "method": "dev-memleak", + "params": null, + "filter": null +} +DEBUG root:lightning.py:355 Calling dev-memleak with payload None +DEBUG root:lightning.py:414 Received response for dev-memleak call: {'jsonrpc': '2.0', 'id': 'pytest:dev-memleak#5', 'result': {'leaks': []}} +DEBUG root:utils.py:722 { + "id": "pytest:dev-memleak#5", + "result": { + "leaks": [] + } +} +DEBUG root:utils.py:703 { + "id": "pytest:dev-report-fds#6", + "method": "dev-report-fds", + "params": {}, + "filter": null +} +DEBUG root:lightning.py:355 Calling dev-report-fds with payload {} +DEBUG root:lightning.py:414 Received response for dev-report-fds call: {'jsonrpc': '2.0', 'id': 'pytest:dev-report-fds#6', 'result': {}} +DEBUG root:utils.py:722 { + "id": "pytest:dev-report-fds#6", + "result": {} +} +DEBUG root:utils.py:703 { + "id": "pytest:stop#7", + "method": "stop", + "params": null, + "filter": null +} +DEBUG root:lightning.py:355 Calling stop with payload None +DEBUG root:lightning.py:414 Received response for stop call: {'jsonrpc': '2.0', 'id': 'pytest:stop#7', 'result': 'Shutdown complete'} +DEBUG root:utils.py:722 { + "id": "pytest:stop#7", + "result": "Shutdown complete" +} +DEBUG root:utils.py:703 { + "id": "pytest:dev-memleak#20", + "method": "dev-memleak", + "params": null, + "filter": null +} +DEBUG root:lightning.py:355 Calling dev-memleak with payload None +DEBUG root:lightning.py:414 Received response for dev-memleak call: {'jsonrpc': '2.0', 'id': 'pytest:dev-memleak#20', 'result': {'leaks': []}} +DEBUG root:utils.py:722 { + "id": "pytest:dev-memleak#20", + "result": { + "leaks": [] + } +} +DEBUG root:utils.py:703 { + "id": "pytest:dev-report-fds#21", + "method": "dev-report-fds", + "params": {}, + "filter": null +} +DEBUG root:lightning.py:355 Calling dev-report-fds with payload {} +DEBUG root:lightning.py:414 Received response for dev-report-fds call: {'jsonrpc': '2.0', 'id': 'pytest:dev-report-fds#21', 'result': {}} +DEBUG root:utils.py:722 { + "id": "pytest:dev-report-fds#21", + "result": {} +} +DEBUG root:utils.py:703 { + "id": "pytest:stop#22", + "method": "stop", + "params": null, + "filter": null +} +DEBUG root:lightning.py:355 Calling stop with payload None +DEBUG root:lightning.py:414 Received response for stop call: {'jsonrpc': '2.0', 'id': 'pytest:stop#22', 'result': 'Shutdown complete'} +DEBUG root:utils.py:722 { + "id": "pytest:stop#22", + "result": "Shutdown complete" +} +DEBUG root:utils.py:285 Did not find '\*\*BROKEN\*\*' in logs +DEBUG root:utils.py:285 Did not find '\*\*BROKEN\*\*' in logs +DEBUG root:utils.py:285 Did not find ' WARNING:' in logs +DEBUG root:utils.py:285 Did not find ' WARNING:' in logs +DEBUG root:utils.py:285 Did not find 'Peer has reconnected' in logs +DEBUG root:utils.py:285 Did not find 'Peer has reconnected' in logs +DEBUG root:utils.py:285 Did not find 'Bad gossip order:' in logs +DEBUG root:utils.py:285 Did not find 'gossipd.*Bad (?!gossip order from error)' in logs +DEBUG root:utils.py:285 Did not find 'Bad gossip order:' in logs +DEBUG root:utils.py:285 Did not find 'gossipd.*Bad (?!gossip order from error)' in logs +DEBUG root:utils.py:285 Did not find 'Bad reestablish' in logs +DEBUG root:utils.py:285 Did not find 'Bad reestablish' in logs +DEBUG root:utils.py:285 Did not find 'bad hsm request' in logs +DEBUG root:utils.py:285 Did not find 'bad hsm request' in logs +DEBUG root:utils.py:285 Did not find 'Accessing a null column' in logs +DEBUG root:utils.py:285 Did not find 'Accessing a null column' in logs +DEBUG root:utils.py:285 Did not find 'MEMLEAK:' in logs +DEBUG root:utils.py:285 Did not find 'MEMLEAK:' in logs +DEBUG root:btcproxy.py:97 BitcoinRpcProxy shut down after processing 8 requests +DEBUG gltesting.node.Node:node.py:190 stdout b'DEBUG lightningd: io_loop: connectd_activate\n' +DEBUG gltesting.node.Node:node.py:190 stdout b'INFO lightningd: --------------------------------------------------\n' +DEBUG gltesting.node.Node:node.py:190 stdout b'INFO lightningd: Server started with public key 026f61d7ee82f937f9697f4f3e44bfaaa25849cc4f526b3a57326130eba6346002, alias HAPPYFIRE-v23.08gl1 (color #026f61) and lightningd v23.08gl1\n' +DEBUG gltesting.node.Node:node.py:190 stdout b'DEBUG lightningd: Adding block 104: 5c0dc953e6158bc51ad7f70841c57addf8b90fa31fd231bccf7d375dfce44437\n' +DEBUG gltesting.node.Node:node.py:190 stdout b'DEBUG gossipd: REPLY WIRE_GOSSIPD_NEW_BLOCKHEIGHT_REPLY with 0 fds\n' +DEBUG gltesting.node.Node:node.py:190 stdout b'DEBUG plugin-bookkeeper: account wallet has balance 0msat\n' +DEBUG gltesting.node.Node:node.py:190 stdout b'DEBUG plugin-bookkeeper: Snapshot balance does not equal ondisk reported 0msat, off by (+0msat/-0msat) (account wallet) Logging journal entry.\n' +DEBUG gltesting.node.Node:node.py:190 stdout b'INFO plugin-bookkeeper: account wallet not found, adding along with new balance\n' +DEBUG gltesting.node.Node:node.py:190 stdout b'DEBUG plugin-bookkeeper: Snapshot balances updated\n' +DEBUG gltesting.node.Node:node.py:190 stdout b'DEBUG plugin-gl-plugin: Client asked for connect_peer\n' +DEBUG gltesting.node.Node:node.py:193 stderr b'[2023-10-31T16:17:14Z TRACE gl_signerproxy::wire] Sending message 109 (2 bytes, 1 FDs)\n' +DEBUG gltesting.node.Node:node.py:193 stderr b'[2023-10-31T16:17:14Z TRACE gl_signerproxy::passfd] Sending fd 10\n' +DEBUG gltesting.node.Node:node.py:193 stderr b'[2023-10-31T16:17:14Z INFO gl_signerproxy::hsmproxy] Pinging server\n' +DEBUG gltesting.node.Node:node.py:193 stderr b'[2023-10-31T16:17:14Z DEBUG gl_signerproxy::hsmproxy] Got a message from node: Request { metadata: MetadataMap { headers: {} }, message: HsmRequest { request_id: 3, context: None, raw: [0, 27, 0, 19, 98, 111, 108, 116, 49, 50, 45, 105, 110, 118, 111, 105, 99, 101, 45, 98, 97, 115, 101], signer_state: [], requests: [] }, extensions: Extensions }\n' +DEBUG gltesting.node.Node:node.py:193 stderr b'[2023-10-31T16:17:14Z DEBUG gl_signerproxy::hsmproxy] Got respone from hsmd: Message { typ: 127, body: [0, 127, 46, 150, 2, 229, 150, 210, 246, 196, 86, 113, 255, 27, 234, 61, 122, 140, 209, 7, 215, 100, 222, 47, 12, 23, 64, 216, 7, 235, 40, 14, 195, 235], fds: [] }\n' +DEBUG gltesting.node.Node:node.py:193 stderr b'[2023-10-31T16:17:14Z TRACE gl_signerproxy::wire] Sending message 127 (34 bytes, 0 FDs)\n' +DEBUG gltesting.node.Node:node.py:193 stderr b'[2023-10-31T16:17:14Z DEBUG gl_signerproxy::hsmproxy] Got a message from node: Request { metadata: MetadataMap { headers: {} }, message: HsmRequest { request_id: 4, context: None, raw: [0, 27, 0, 10, 115, 99, 98, 32, 115, 101, 99, 114, 101, 116], signer_state: [], requests: [] }, extensions: Extensions }\n' +DEBUG gltesting.node.Node:node.py:193 stderr b'[2023-10-31T16:17:14Z DEBUG gl_signerproxy::hsmproxy] Got respone from hsmd: Message { typ: 127, body: [0, 127, 29, 199, 228, 95, 183, 66, 197, 44, 144, 254, 88, 128, 1, 68, 30, 166, 54, 81, 212, 105, 40, 91, 52, 237, 80, 142, 249, 9, 189, 61, 183, 188], fds: [] }\n' +DEBUG gltesting.node.Node:node.py:193 stderr b'[2023-10-31T16:17:14Z TRACE gl_signerproxy::wire] Sending message 127 (34 bytes, 0 FDs)\n' +DEBUG gltesting.node.Node:node.py:193 stderr b'[2023-10-31T16:17:15Z DEBUG gl_signerproxy::hsmproxy] Got a message from node: Request { metadata: MetadataMap { headers: {} }, message: HsmRequest { request_id: 5, context: Some(HsmRequestContext { node_id: [2, 111, 97, 215, 238, 130, 249, 55, 249, 105, 127, 79, 62, 68, 191, 170, 162, 88, 73, 204, 79, 82, 107, 58, 87, 50, 97, 48, 235, 166, 52, 96, 2], dbid: 0, capabilities: 1 }), raw: [0, 1, 3, 96, 235, 6, 22, 106, 155, 105, 252, 152, 53, 34, 118, 196, 143, 172, 254, 60, 126, 145, 155, 27, 35, 132, 51, 152, 240, 108, 122, 236, 84, 124, 187], signer_state: [], requests: [] }, extensions: Extensions }\n' +DEBUG root:btcproxy.py:97 BitcoinRpcProxy shut down after processing 45 requests +DEBUG root:btcproxy.py:97 BitcoinRpcProxy shut down after processing 43 requests +DEBUG root:utils.py:370 Calling stop with arguments () +DEBUG root:utils.py:375 Result for stop call: Bitcoin Core stopping +=========================== short test summary info ============================ +FAILED libs/gl-testing/tests/test_gl_node.py::test_configure_close_to_addr - ... +============================== 1 failed in 20.35s ==============================