2017-12-07 07:57:45.661 [WRN] LTND: read /tmp/lndtest-data643427033: is a directory 2017-12-07 07:57:45.661 [INF] LTND: Version 0.3.0-alpha 2017-12-07 07:57:45.663 [INF] CHDB: Checking for schema update: latest_version=0, db_version=0 2017-12-07 07:57:45.666 [INF] RPCS: Generating TLS certificates... 2017-12-07 07:57:47.555 [INF] RPCS: Done generating TLS certificates 2017-12-07 07:57:47.557 [INF] LTND: Primary chain is set to: bitcoin 2017-12-07 07:57:50.415 [INF] LNWL: Opened wallet 2017-12-07 07:57:51.443 [INF] LNWL: The wallet has been unlocked without a time limit 2017-12-07 07:57:51.445 [INF] LNWL: Catching up block hashes to height 386, this will take a while... 2017-12-07 07:57:51.445 [INF] LTND: LightningWallet opened 2017-12-07 07:57:51.449 [INF] RPCS: RPC server listening on 127.0.0.1:19562 2017-12-07 07:57:51.449 [ERR] LTND: gRPC proxy unable to listen on localhost:8080 2017-12-07 07:57:51.516 [INF] HSWC: Starting HTLC Switch 2017-12-07 07:57:51.516 [INF] NTFN: New block epoch subscription 2017-12-07 07:57:51.517 [INF] DISC: Authenticated Gossiper is starting 2017-12-07 07:57:51.517 [INF] NTFN: New block epoch subscription 2017-12-07 07:57:51.517 [INF] CRTR: FilteredChainView starting 2017-12-07 07:57:51.517 [ERR] DISC: unable to rebroadcast stale channels: error while retrieving outgoing channels: no graph edges exist 2017-12-07 07:57:51.578 [INF] CRTR: Filtering chain using 0 channels active 2017-12-07 07:57:51.578 [INF] CRTR: Prune tip for Channel Graph: height=386, hash=6d31dd549d3c25c7cb9dfe212def7bb1f4731cdc749d07cf80c6b172b099b0d3 2017-12-07 07:57:51.578 [INF] SRVR: Auto peer bootstrapping is disabled 2017-12-07 07:57:51.578 [INF] CMGR: Server listening on [::]:19561 2017-12-07 07:57:51.652 [INF] LNWL: Done catching up block hashes 2017-12-07 07:57:51.656 [INF] LNWL: Started rescan from block 6d31dd549d3c25c7cb9dfe212def7bb1f4731cdc749d07cf80c6b172b099b0d3 (height 386) for 1 address 2017-12-07 07:57:51.657 [INF] LNWL: Catching up block hashes to height 386, this might take a while 2017-12-07 07:57:51.659 [INF] LNWL: Done catching up block hashes 2017-12-07 07:57:51.659 [INF] LNWL: Finished rescan for 1 address (synced to block 6d31dd549d3c25c7cb9dfe212def7bb1f4731cdc749d07cf80c6b172b099b0d3, height 386) 2017-12-07 07:57:52.845 [DBG] CRTR: New graph topology client subscription, client 1 2017-12-07 07:57:52.848 [INF] SRVR: New inbound connection from 127.0.0.1:49748 2017-12-07 07:57:52.848 [DBG] PEER: Sending Init to 127.0.0.1:49748 2017-12-07 07:57:52.849 [DBG] PEER: Received Init from 127.0.0.1:49748 2017-12-07 07:57:52.849 [DBG] PEER: Loaded 0 active channels from database with peerID(1) 2017-12-07 07:57:52.849 [INF] DISC: Syncing channel graph state with 0214acc75ebb82b7f510a9851b3eb65a02f026db1459d3b19529ab782b4476cce9, sending 1 vertexes and 0 edges 2017-12-07 07:57:52.849 [INF] SRVR: Attempting to send msgs 1 to: 0214acc75ebb82b7f510a9851b3eb65a02f026db1459d3b19529ab782b4476cce9 2017-12-07 07:57:52.849 [DBG] PEER: Sending NodeAnnouncement(node=02869df018696c9d2991831448a8e910eb8d0d9c8cfe6ad0f5b8c1b48fd33f6ac1, update_time=2017-12-07 07:57:51 +0000 UTC) to 127.0.0.1:49748 2017-12-07 07:57:52.853 [DBG] PEER: Received NodeAnnouncement(node=0214acc75ebb82b7f510a9851b3eb65a02f026db1459d3b19529ab782b4476cce9, update_time=2017-12-07 07:57:45 +0000 UTC) from 127.0.0.1:49748 2017-12-07 07:57:52.853 [DBG] PEER: Received NodeAnnouncement(node=031955e20a1ba4287e723a594a02da4688e7bb3814f10d2a84cbe8c2f20d008764, update_time=2017-12-07 07:57:45 +0000 UTC) from 127.0.0.1:49748 2017-12-07 07:57:52.854 [DBG] DISC: Ignoring node announcement for node not found in channel graph (031955e20a1ba4287e723a594a02da4688e7bb3814f10d2a84cbe8c2f20d008764) 2017-12-07 07:57:52.855 [DBG] DISC: Ignoring node announcement for node not found in channel graph (0214acc75ebb82b7f510a9851b3eb65a02f026db1459d3b19529ab782b4476cce9) 2017-12-07 07:57:53.036 [DBG] PEER: Received MsgOpenChannel(temp_chan_id=acd0d1443aeea08e1ab1d26cd4a8e47c53a18ecb5376f7827301bd9e0de8c79d, chain=683e86bd5c6d110d91b94b97137ba6bfe02dbbdb8e3dff722a669b5d69d77af6, csv=4, amt=0.16777216 BTC, push_amt=0 mSAT, reserve=0.00167772 BTC, flags=1) from 127.0.0.1:49748 2017-12-07 07:57:53.037 [INF] FNDG: Recv'd fundingRequest(amt=0.16777216 BTC, push=0 mSAT, delay=4, pendingId=acd0d1443aeea08e1ab1d26cd4a8e47c53a18ecb5376f7827301bd9e0de8c79d) from peer(0214acc75ebb82b7f510a9851b3eb65a02f026db1459d3b19529ab782b4476cce9) 2017-12-07 07:57:53.054 [INF] FNDG: Requiring 1 confirmations for pendingChan(acd0d1443aeea08e1ab1d26cd4a8e47c53a18ecb5376f7827301bd9e0de8c79d): amt=0.16777216 BTC, push_amt=0 mSAT 2017-12-07 07:57:53.054 [INF] FNDG: Sending fundingResp for pendingID(acd0d1443aeea08e1ab1d26cd4a8e47c53a18ecb5376f7827301bd9e0de8c79d) 2017-12-07 07:57:53.054 [DBG] FNDG: Remote party accepted commitment constraints: (channeldb.ChannelConstraints) { DustLimit: (btcutil.Amount) 0.00000573 BTC, MaxPendingAmount: (lnwire.MilliSatoshi) 16609444000 mSAT, ChanReserve: (btcutil.Amount) 0.00167772 BTC, MinHTLC: (lnwire.MilliSatoshi) 0 mSAT, MaxAcceptedHtlcs: (uint16) 483 } 2017-12-07 07:57:53.054 [INF] SRVR: Attempting to send msgs 1 to: 0214acc75ebb82b7f510a9851b3eb65a02f026db1459d3b19529ab782b4476cce9 2017-12-07 07:57:53.054 [DBG] PEER: Sending MsgAcceptChannel(temp_chan_id=acd0d1443aeea08e1ab1d26cd4a8e47c53a18ecb5376f7827301bd9e0de8c79d, reserve=0.00167772 BTC, csv=4, num_confs=1) to 127.0.0.1:49748 2017-12-07 07:57:53.058 [DBG] PEER: Received MsgFundingCreated(temp_chan_id=acd0d1443aeea08e1ab1d26cd4a8e47c53a18ecb5376f7827301bd9e0de8c79d, chan_point=b675e9cf4c009fd5ea0f022d28cbad45c245d60e8b113be2bd25f0e3244b3284:0) from 127.0.0.1:49748 2017-12-07 07:57:53.058 [INF] FNDG: completing pendingID(acd0d1443aeea08e1ab1d26cd4a8e47c53a18ecb5376f7827301bd9e0de8c79d) with ChannelPoint(b675e9cf4c009fd5ea0f022d28cbad45c245d60e8b113be2bd25f0e3244b3284:0) 2017-12-07 07:57:53.063 [DBG] FNDG: Creating chan barrier for ChanID(84324b24e3f025bde23b118b0ed645c245adcb282d020fead59f004ccfe975b6) 2017-12-07 07:57:53.063 [INF] FNDG: sending FundingSigned for pendingID(acd0d1443aeea08e1ab1d26cd4a8e47c53a18ecb5376f7827301bd9e0de8c79d) over ChannelPoint(b675e9cf4c009fd5ea0f022d28cbad45c245d60e8b113be2bd25f0e3244b3284:0) 2017-12-07 07:57:53.063 [INF] SRVR: Attempting to send msgs 1 to: 0214acc75ebb82b7f510a9851b3eb65a02f026db1459d3b19529ab782b4476cce9 2017-12-07 07:57:53.063 [DBG] PEER: Sending MsgFundingSigned(chan_id=84324b24e3f025bde23b118b0ed645c245adcb282d020fead59f004ccfe975b6) to 127.0.0.1:49748 2017-12-07 07:57:53.063 [INF] NTFN: New block epoch subscription 2017-12-07 07:57:53.063 [INF] NTFN: New confirmations subscription: txid=b675e9cf4c009fd5ea0f022d28cbad45c245d60e8b113be2bd25f0e3244b3284, numconfs=1 2017-12-07 07:57:53.063 [INF] NTFN: Attempting to trigger dispatch for b675e9cf4c009fd5ea0f022d28cbad45c245d60e8b113be2bd25f0e3244b3284 from historical chain 2017-12-07 07:57:53.063 [INF] FNDG: Waiting for funding tx (b675e9cf4c009fd5ea0f022d28cbad45c245d60e8b113be2bd25f0e3244b3284) to reach 1 confirmations 2017-12-07 07:57:53.087 [INF] CRTR: Pruning channel graph using block 73f0a5ac193bab3663cb0081dcbd9e166cdb4b5963202c301bede234ae6a89e9 (height=387) 2017-12-07 07:57:53.088 [INF] NTFN: New block: height=387, sha=73f0a5ac193bab3663cb0081dcbd9e166cdb4b5963202c301bede234ae6a89e9 2017-12-07 07:57:53.088 [INF] NTFN: Dispatching single conf notification, sha=b675e9cf4c009fd5ea0f022d28cbad45c245d60e8b113be2bd25f0e3244b3284, height=387 2017-12-07 07:57:53.088 [INF] FNDG: ChannelPoint(b675e9cf4c009fd5ea0f022d28cbad45c245d60e8b113be2bd25f0e3244b3284:0) is now active: ChannelID(84324b24e3f025bde23b118b0ed645c245adcb282d020fead59f004ccfe975b6) 2017-12-07 07:57:53.091 [INF] CRTR: Block 73f0a5ac193bab3663cb0081dcbd9e166cdb4b5963202c301bede234ae6a89e9 (height=387) closed 0 channels 2017-12-07 07:57:53.104 [INF] NTFN: Cancelling epoch notification, epoch_id=3 2017-12-07 07:57:53.106 [DBG] LNWL: ChannelPoint(b675e9cf4c009fd5ea0f022d28cbad45c245d60e8b113be2bd25f0e3244b3284:0), starting local commitment: (*lnwallet.commitment)(0xc420056600)({ height: (uint64) 0, isOurs: (bool) true, ourMessageIndex: (uint64) 0, theirMessageIndex: (uint64) 0, ourHtlcIndex: (uint64) 0, theirHtlcIndex: (uint64) 0, txn: (*wire.MsgTx)(0xc420105a00)({ Version: (int32) 2, TxIn: ([]*wire.TxIn) (len=1 cap=15) { (*wire.TxIn)(0xc42028ad20)({ PreviousOutPoint: (wire.OutPoint) b675e9cf4c009fd5ea0f022d28cbad45c245d60e8b113be2bd25f0e3244b3284:0, SignatureScript: ([]uint8) , Witness: (wire.TxWitness) , Sequence: (uint32) 2147678142 }) }, TxOut: ([]*wire.TxOut) (len=1 cap=15) { (*wire.TxOut)(0xc420184540)({ Value: (int64) 16768528, PkScript: ([]uint8) (len=22 cap=500) { 00000000 00 14 52 7e a7 67 fc dd ab 57 ee 95 02 8c 2c 7d |..R~.g...W....,}| 00000010 13 33 9f 66 c2 9e |.3.f..| } }) }, LockTime: (uint32) 542682686 }), sig: ([]uint8) (len=71 cap=71) { 00000000 30 45 02 21 00 cd 89 ab 58 6d 8f 61 d1 2c 14 54 |0E.!....Xm.a.,.T| 00000010 4a 4a a5 61 94 fe 03 9a 51 b5 5d 9b a2 14 71 03 |JJ.a....Q.]...q.| 00000020 92 a5 fe dc a9 02 20 56 51 ed 40 ee 01 aa db 8c |...... VQ.@.....| 00000030 cc ba 6d 62 88 5f a3 4d d2 47 47 9b d0 e8 bd 8c |..mb._.M.GG.....| 00000040 5b 6d fc 6d 35 a0 43 |[m.m5.C| }, ourBalance: (lnwire.MilliSatoshi) 0 mSAT, theirBalance: (lnwire.MilliSatoshi) 16768528000 mSAT, fee: (btcutil.Amount) 0.00008688 BTC, feePerKw: (btcutil.Amount) 0.00012 BTC, dustLimit: (btcutil.Amount) 0.00000573 BTC, outgoingHTLCs: ([]lnwallet.PaymentDescriptor) , incomingHTLCs: ([]lnwallet.PaymentDescriptor) , outgoingHTLCIndex: (map[int32]*lnwallet.PaymentDescriptor) { }, incomingHTLCIndex: (map[int32]*lnwallet.PaymentDescriptor) { } }) 2017-12-07 07:57:53.108 [DBG] LNWL: ChannelPoint(b675e9cf4c009fd5ea0f022d28cbad45c245d60e8b113be2bd25f0e3244b3284:0), starting remote commitment: (*lnwallet.commitment)(0xc4200566c0)({ height: (uint64) 0, isOurs: (bool) false, ourMessageIndex: (uint64) 0, theirMessageIndex: (uint64) 0, ourHtlcIndex: (uint64) 0, theirHtlcIndex: (uint64) 0, txn: (*wire.MsgTx)(0xc420105a40)({ Version: (int32) 2, TxIn: ([]*wire.TxIn) (len=1 cap=15) { (*wire.TxIn)(0xc42028ad20)({ PreviousOutPoint: (wire.OutPoint) b675e9cf4c009fd5ea0f022d28cbad45c245d60e8b113be2bd25f0e3244b3284:0, SignatureScript: ([]uint8) , Witness: (wire.TxWitness) , Sequence: (uint32) 2147678142 }) }, TxOut: ([]*wire.TxOut) (len=1 cap=15) { (*wire.TxOut)(0xc420184600)({ Value: (int64) 16768528, PkScript: ([]uint8) (len=34 cap=500) { 00000000 00 20 c5 97 5b 7c a5 69 ae cc 75 27 f1 b5 4a 08 |. ..[|.i..u'..J.| 00000010 30 7d 8c cc 62 9c db ea 97 ca 40 8a f2 00 23 59 |0}..b.....@...#Y| 00000020 13 57 |.W| } }) }, LockTime: (uint32) 542682686 }), sig: ([]uint8) , ourBalance: (lnwire.MilliSatoshi) 0 mSAT, theirBalance: (lnwire.MilliSatoshi) 16768528000 mSAT, fee: (btcutil.Amount) 0.00008688 BTC, feePerKw: (btcutil.Amount) 0.00012 BTC, dustLimit: (btcutil.Amount) 0.00000573 BTC, outgoingHTLCs: ([]lnwallet.PaymentDescriptor) , incomingHTLCs: ([]lnwallet.PaymentDescriptor) , outgoingHTLCIndex: (map[int32]*lnwallet.PaymentDescriptor) { }, incomingHTLCIndex: (map[int32]*lnwallet.PaymentDescriptor) { } }) 2017-12-07 07:57:53.109 [DBG] FNDG: ChannelID(84324b24e3f025bde23b118b0ed645c245adcb282d020fead59f004ccfe975b6) is now fully confirmed! 2017-12-07 07:57:53.109 [DBG] FNDG: Sending FundingLocked for ChannelID(84324b24e3f025bde23b118b0ed645c245adcb282d020fead59f004ccfe975b6) 2017-12-07 07:57:53.109 [INF] SRVR: Attempting to send msgs 1 to: 0214acc75ebb82b7f510a9851b3eb65a02f026db1459d3b19529ab782b4476cce9 2017-12-07 07:57:53.109 [DBG] PEER: Sending FundingLocked(chan_id=84324b24e3f025bde23b118b0ed645c245adcb282d020fead59f004ccfe975b6, next_point=0303bc6cd31fbf558037dac4372679e122784d560c56bdc5ee9a88cee7ca11f500) to 127.0.0.1:49748 2017-12-07 07:57:53.109 [DBG] PEER: Received FundingLocked(chan_id=84324b24e3f025bde23b118b0ed645c245adcb282d020fead59f004ccfe975b6, next_point=039b49afac3b8c35fc8d7caf8e95b955bf70804bcdfb17818d23fda5901284d74d) from 127.0.0.1:49748 2017-12-07 07:57:53.112 [INF] FNDG: Announcing ChannelPoint(b675e9cf4c009fd5ea0f022d28cbad45c245d60e8b113be2bd25f0e3244b3284:0), short_chan_id=(*lnwire.ShortChannelID)(0xc420172324)({ BlockHeight: (uint32) 387, TxIndex: (uint32) 1, TxPosition: (uint16) 0 }) 2017-12-07 07:57:53.116 [INF] CRTR: New channel discovered! Link connects 0214acc75ebb82b7f510a9851b3eb65a02f026db1459d3b19529ab782b4476cce9 and 02869df018696c9d2991831448a8e910eb8d0d9c8cfe6ad0f5b8c1b48fd33f6ac1 with ChannelPoint(b675e9cf4c009fd5ea0f022d28cbad45c245d60e8b113be2bd25f0e3244b3284:0): chan_id=425511000014848, capacity=0.16777216 BTC 2017-12-07 07:57:53.116 [DBG] CRTR: Updating chain filter with new UTXO's: [b675e9cf4c009fd5ea0f022d28cbad45c245d60e8b113be2bd25f0e3244b3284:0] 2017-12-07 07:57:53.117 [INF] CRTR: New channel update applied: (*channeldb.ChannelEdgePolicy)(0xc4205f61e0)({ Signature: (*btcec.Signature)(0xc420173480)({ R: (*big.Int)(0xc4204f9900)(25141428655252857601532853961799426167490448887005180648133061896439721444406), S: (*big.Int)(0xc4204f99a0)(5762501086048871722924620104422690667948480976597877374291287465053170319784) }), ChannelID: (uint64) 425511000014848, LastUpdate: (time.Time) 2017-12-07 07:57:53 +0000 UTC, Flags: (lnwire.ChanUpdateFlag) 1, TimeLockDelta: (uint16) 144, MinHTLC: (lnwire.MilliSatoshi) 0 mSAT, FeeBaseMSat: (lnwire.MilliSatoshi) 1000 mSAT, FeeProportionalMillionths: (lnwire.MilliSatoshi) 1 mSAT, Node: (*channeldb.LightningNode)(), db: (*channeldb.DB)() }) 2017-12-07 07:57:53.118 [INF] DISC: Received new channel announcement: (*lnwire.AnnounceSignatures)(0xc420259e00)({ ChannelID: (lnwire.ChannelID) (len=32 cap=32) 84324b24e3f025bde23b118b0ed645c245adcb282d020fead59f004ccfe975b6, ShortChannelID: (lnwire.ShortChannelID) { BlockHeight: (uint32) 387, TxIndex: (uint32) 1, TxPosition: (uint16) 0 }, NodeSignature: (*btcec.Signature)(0xc4201734b0)({ R: (*big.Int)(0xc4204f9c20)(17060062079384310912420870388579870800286774114839446271510213861758012986872), S: (*big.Int)(0xc4204f9d20)(37805079968761898690681130961849723858784294747418283255377511694030454596363) }), BitcoinSignature: (*btcec.Signature)(0xc4201734d0)({ R: (*big.Int)(0xc420288060)(45776441704337950225559861264520797629255578305059985137077724151399652348593), S: (*big.Int)(0xc420288100)(15798524819133147899528458228483416643413022746859682287382929195290168332300) }) }) 2017-12-07 07:57:53.126 [DBG] PEER: Received AnnounceSignatures(chan_id=84324b24e3f025bde23b118b0ed645c245adcb282d020fead59f004ccfe975b6, short_chan_id=425511000014848) from 127.0.0.1:49748 2017-12-07 07:57:53.132 [INF] SRVR: Attempting to send msgs 1 to: 0214acc75ebb82b7f510a9851b3eb65a02f026db1459d3b19529ab782b4476cce9 2017-12-07 07:57:53.132 [INF] DISC: Sent channel announcement proof for short_chan_id=425511000014848 to remote peer: 0214acc75ebb82b7f510a9851b3eb65a02f026db1459d3b19529ab782b4476cce9 2017-12-07 07:57:53.132 [INF] DISC: 1/2 of channel ann proof received for short_chan_id=425511000014848, waiting for other half 2017-12-07 07:57:53.132 [INF] DISC: Received new channel announcement: (*lnwire.AnnounceSignatures)(0xc4201db980)({ ChannelID: (lnwire.ChannelID) (len=32 cap=32) 84324b24e3f025bde23b118b0ed645c245adcb282d020fead59f004ccfe975b6, ShortChannelID: (lnwire.ShortChannelID) { BlockHeight: (uint32) 387, TxIndex: (uint32) 1, TxPosition: (uint16) 0 }, NodeSignature: (*btcec.Signature)(0xc42010e770)({ R: (*big.Int)(0xc4201dc1e0)(40171837940468393086220968998394403678965992429943190935742376268910899784820), S: (*big.Int)(0xc4201dc200)(48606049163160679038187862165540192304504563229398586652445619991151569668852) }), BitcoinSignature: (*btcec.Signature)(0xc42010e780)({ R: (*big.Int)(0xc4201dc220)(82931892846373547710711317930849933797067729167670812166741550462467382216335), S: (*big.Int)(0xc4201dc240)(33187406118199071551882690940415807139782695536731444815947644109924162312553) }) }) 2017-12-07 07:57:53.135 [INF] RPCS: [listchannels] fetched 1 channels from DB 2017-12-07 07:57:53.136 [DBG] PEER: Sending AnnounceSignatures(chan_id=84324b24e3f025bde23b118b0ed645c245adcb282d020fead59f004ccfe975b6, short_chan_id=425511000014848) to 127.0.0.1:49748 2017-12-07 07:57:53.150 [INF] DISC: Fully valid channel proof for short_chan_id=425511000014848 constructed, adding to next ann batch 2017-12-07 07:57:53.150 [INF] DISC: Broadcasting batch of 2 new announcements 2017-12-07 07:57:53.150 [DBG] SRVR: Broadcasting 2 messages 2017-12-07 07:57:53.151 [DBG] PEER: Sending ChannelAnnouncement(chain_hash=683e86bd5c6d110d91b94b97137ba6bfe02dbbdb8e3dff722a669b5d69d77af6, short_chan_id=425511000014848) to 127.0.0.1:49748 2017-12-07 07:57:53.151 [DBG] PEER: Sending ChannelUpdate(chain_hash=683e86bd5c6d110d91b94b97137ba6bfe02dbbdb8e3dff722a669b5d69d77af6, short_chan_id=425511000014848, flag=1, update_time=2017-12-07 07:57:53 +0000 UTC) to 127.0.0.1:49748 2017-12-07 07:57:53.156 [INF] CRTR: Updated vertex data for node=02869df018696c9d2991831448a8e910eb8d0d9c8cfe6ad0f5b8c1b48fd33f6ac1 2017-12-07 07:57:53.159 [DBG] LNWL: ChannelPoint(b675e9cf4c009fd5ea0f022d28cbad45c245d60e8b113be2bd25f0e3244b3284:0), starting local commitment: (*lnwallet.commitment)(0xc420056a80)({ height: (uint64) 0, isOurs: (bool) true, ourMessageIndex: (uint64) 0, theirMessageIndex: (uint64) 0, ourHtlcIndex: (uint64) 0, theirHtlcIndex: (uint64) 0, txn: (*wire.MsgTx)(0xc4205c97c0)({ Version: (int32) 2, TxIn: ([]*wire.TxIn) (len=1 cap=1) { (*wire.TxIn)(0xc4205f7560)({ PreviousOutPoint: (wire.OutPoint) b675e9cf4c009fd5ea0f022d28cbad45c245d60e8b113be2bd25f0e3244b3284:0, SignatureScript: ([]uint8) { }, Witness: (wire.TxWitness) , Sequence: (uint32) 2147678142 }) }, TxOut: ([]*wire.TxOut) (len=1 cap=1) { (*wire.TxOut)(0xc420575280)({ Value: (int64) 16768528, PkScript: ([]uint8) (len=22 cap=22) { 00000000 00 14 52 7e a7 67 fc dd ab 57 ee 95 02 8c 2c 7d |..R~.g...W....,}| 00000010 13 33 9f 66 c2 9e |.3.f..| } }) }, LockTime: (uint32) 542682686 }), sig: ([]uint8) (len=71 cap=71) { 00000000 30 45 02 21 00 cd 89 ab 58 6d 8f 61 d1 2c 14 54 |0E.!....Xm.a.,.T| 00000010 4a 4a a5 61 94 fe 03 9a 51 b5 5d 9b a2 14 71 03 |JJ.a....Q.]...q.| 00000020 92 a5 fe dc a9 02 20 56 51 ed 40 ee 01 aa db 8c |...... VQ.@.....| 00000030 cc ba 6d 62 88 5f a3 4d d2 47 47 9b d0 e8 bd 8c |..mb._.M.GG.....| 00000040 5b 6d fc 6d 35 a0 43 |[m.m5.C| }, ourBalance: (lnwire.MilliSatoshi) 0 mSAT, theirBalance: (lnwire.MilliSatoshi) 16768528000 mSAT, fee: (btcutil.Amount) 0.00008688 BTC, feePerKw: (btcutil.Amount) 0.00012 BTC, dustLimit: (btcutil.Amount) 0.00000573 BTC, outgoingHTLCs: ([]lnwallet.PaymentDescriptor) , incomingHTLCs: ([]lnwallet.PaymentDescriptor) , outgoingHTLCIndex: (map[int32]*lnwallet.PaymentDescriptor) { }, incomingHTLCIndex: (map[int32]*lnwallet.PaymentDescriptor) { } }) 2017-12-07 07:57:53.161 [DBG] LNWL: ChannelPoint(b675e9cf4c009fd5ea0f022d28cbad45c245d60e8b113be2bd25f0e3244b3284:0), starting remote commitment: (*lnwallet.commitment)(0xc420056b40)({ height: (uint64) 0, isOurs: (bool) false, ourMessageIndex: (uint64) 0, theirMessageIndex: (uint64) 0, ourHtlcIndex: (uint64) 0, theirHtlcIndex: (uint64) 0, txn: (*wire.MsgTx)(0xc4205c9800)({ Version: (int32) 2, TxIn: ([]*wire.TxIn) (len=1 cap=1) { (*wire.TxIn)(0xc4205f7620)({ PreviousOutPoint: (wire.OutPoint) b675e9cf4c009fd5ea0f022d28cbad45c245d60e8b113be2bd25f0e3244b3284:0, SignatureScript: ([]uint8) { }, Witness: (wire.TxWitness) , Sequence: (uint32) 2147678142 }) }, TxOut: ([]*wire.TxOut) (len=1 cap=1) { (*wire.TxOut)(0xc4205752e0)({ Value: (int64) 16768528, PkScript: ([]uint8) (len=34 cap=34) { 00000000 00 20 c5 97 5b 7c a5 69 ae cc 75 27 f1 b5 4a 08 |. ..[|.i..u'..J.| 00000010 30 7d 8c cc 62 9c db ea 97 ca 40 8a f2 00 23 59 |0}..b.....@...#Y| 00000020 13 57 |.W| } }) }, LockTime: (uint32) 542682686 }), sig: ([]uint8) { }, ourBalance: (lnwire.MilliSatoshi) 0 mSAT, theirBalance: (lnwire.MilliSatoshi) 16768528000 mSAT, fee: (btcutil.Amount) 0.00008688 BTC, feePerKw: (btcutil.Amount) 0.00012 BTC, dustLimit: (btcutil.Amount) 0.00000573 BTC, outgoingHTLCs: ([]lnwallet.PaymentDescriptor) , incomingHTLCs: ([]lnwallet.PaymentDescriptor) , outgoingHTLCIndex: (map[int32]*lnwallet.PaymentDescriptor) { }, incomingHTLCIndex: (map[int32]*lnwallet.PaymentDescriptor) { } }) 2017-12-07 07:57:53.162 [DBG] PEER: Received ChannelAnnouncement(chain_hash=683e86bd5c6d110d91b94b97137ba6bfe02dbbdb8e3dff722a669b5d69d77af6, short_chan_id=425511000014848) from 127.0.0.1:49748 2017-12-07 07:57:53.162 [DBG] PEER: Received ChannelUpdate(chain_hash=683e86bd5c6d110d91b94b97137ba6bfe02dbbdb8e3dff722a669b5d69d77af6, short_chan_id=425511000014848, flag=0, update_time=2017-12-07 07:57:53 +0000 UTC) from 127.0.0.1:49748 2017-12-07 07:57:53.162 [DBG] PEER: Received NodeAnnouncement(node=0214acc75ebb82b7f510a9851b3eb65a02f026db1459d3b19529ab782b4476cce9, update_time=2017-12-07 07:57:53 +0000 UTC) from 127.0.0.1:49748 2017-12-07 07:57:53.164 [DBG] DISC: Router rejected channel edge: Ignoring msg for known chan_id=425511000014848 2017-12-07 07:57:53.165 [INF] NTFN: New spend subscription: utxo=b675e9cf4c009fd5ea0f022d28cbad45c245d60e8b113be2bd25f0e3244b3284:0 2017-12-07 07:57:53.168 [INF] DISC: Broadcasting batch of 1 new announcements 2017-12-07 07:57:53.168 [DBG] SRVR: Broadcasting 1 messages 2017-12-07 07:57:53.168 [INF] LNWL: Close observer for ChannelPoint(b675e9cf4c009fd5ea0f022d28cbad45c245d60e8b113be2bd25f0e3244b3284:0) active 2017-12-07 07:57:53.168 [DBG] PEER: Sending NodeAnnouncement(node=02869df018696c9d2991831448a8e910eb8d0d9c8cfe6ad0f5b8c1b48fd33f6ac1, update_time=2017-12-07 07:57:53 +0000 UTC) to 127.0.0.1:49748 2017-12-07 07:57:53.169 [INF] CRTR: New channel update applied: (*channeldb.ChannelEdgePolicy)(0xc4202f81e0)({ Signature: (*btcec.Signature)(0xc4205de560)({ R: (*big.Int)(0xc4202dc340)(97521783218365458103147821065795205991478356448356766037924108890333130786008), S: (*big.Int)(0xc4202dc360)(29649689907486850821841678682289181952228473981734730550027434715056640214968) }), ChannelID: (uint64) 425511000014848, LastUpdate: (time.Time) 2017-12-07 07:57:53 +0000 UTC, Flags: (lnwire.ChanUpdateFlag) 0, TimeLockDelta: (uint16) 144, MinHTLC: (lnwire.MilliSatoshi) 0 mSAT, FeeBaseMSat: (lnwire.MilliSatoshi) 1000 mSAT, FeeProportionalMillionths: (lnwire.MilliSatoshi) 1 mSAT, Node: (*channeldb.LightningNode)(), db: (*channeldb.DB)() }) 2017-12-07 07:57:53.170 [INF] CRTR: Updated vertex data for node=0214acc75ebb82b7f510a9851b3eb65a02f026db1459d3b19529ab782b4476cce9 2017-12-07 07:57:53.171 [INF] PEER: New channel active ChannelPoint(b675e9cf4c009fd5ea0f022d28cbad45c245d60e8b113be2bd25f0e3244b3284:0) with peerId(1) 2017-12-07 07:57:53.171 [DBG] BRAR: New contract detected, launching breachObserver 2017-12-07 07:57:53.171 [DBG] BRAR: Breach observer for ChannelPoint(b675e9cf4c009fd5ea0f022d28cbad45c245d60e8b113be2bd25f0e3244b3284:0) started 2017-12-07 07:57:53.171 [INF] NTFN: New block epoch subscription 2017-12-07 07:57:53.171 [INF] HSWC: ChannelLink(b675e9cf4c009fd5ea0f022d28cbad45c245d60e8b113be2bd25f0e3244b3284:0) is starting 2017-12-07 07:57:53.171 [INF] HSWC: Added channel link with chan_id=84324b24e3f025bde23b118b0ed645c245adcb282d020fead59f004ccfe975b6, short_chan_id=((lnwire.ShortChannelID) { BlockHeight: (uint32) 387, TxIndex: (uint32) 1, TxPosition: (uint16) 0 } ) 2017-12-07 07:57:53.171 [INF] HSWC: HTLC manager for ChannelPoint(b675e9cf4c009fd5ea0f022d28cbad45c245d60e8b113be2bd25f0e3244b3284:0) started, bandwidth=0 mSAT 2017-12-07 07:57:53.191 [DBG] PEER: Received ChannelUpdate(chain_hash=683e86bd5c6d110d91b94b97137ba6bfe02dbbdb8e3dff722a669b5d69d77af6, short_chan_id=425511000014848, flag=1, update_time=2017-12-07 07:57:53 +0000 UTC) from 127.0.0.1:49748 2017-12-07 07:57:53.191 [DBG] PEER: Received NodeAnnouncement(node=02869df018696c9d2991831448a8e910eb8d0d9c8cfe6ad0f5b8c1b48fd33f6ac1, update_time=2017-12-07 07:57:53 +0000 UTC) from 127.0.0.1:49748 2017-12-07 07:57:53.192 [DBG] DISC: Ignoring outdated announcement for 02869df018696c9d2991831448a8e910eb8d0d9c8cfe6ad0f5b8c1b48fd33f6ac1 2017-12-07 07:57:53.192 [DBG] DISC: Ignoring update (flags=1) for known chan_id=425511000014848 2017-12-07 07:57:53.207 [DBG] PEER: Received Shutdown(chan_id=84324b24e3f025bde23b118b0ed645c245adcb282d020fead59f004ccfe975b6, script=00142d1c3550d6e25610c838ca52e63493b06dacc3a4) from 127.0.0.1:49748 2017-12-07 07:57:53.208 [INF] PEER: Delivery addr for channel close: sb1q8nckp2tku0mwcmslylmdzfyp99t9ydxx73aa5g 2017-12-07 07:57:53.209 [INF] PEER: Ideal fee for closure of ChannelPoint(b675e9cf4c009fd5ea0f022d28cbad45c245d60e8b113be2bd25f0e3244b3284:0) is: 8688 sat 2017-12-07 07:57:53.209 [INF] HSWC: Removing channel link with ChannelID(84324b24e3f025bde23b118b0ed645c245adcb282d020fead59f004ccfe975b6) 2017-12-07 07:57:53.209 [INF] HSWC: ChannelLink(b675e9cf4c009fd5ea0f022d28cbad45c245d60e8b113be2bd25f0e3244b3284:0) is stopping 2017-12-07 07:57:53.209 [INF] HSWC: ChannelLink(b675e9cf4c009fd5ea0f022d28cbad45c245d60e8b113be2bd25f0e3244b3284:0) has exited 2017-12-07 07:57:53.209 [INF] NTFN: Cancelling epoch notification, epoch_id=4 2017-12-07 07:57:53.209 [INF] PEER: ChannelPoint(b675e9cf4c009fd5ea0f022d28cbad45c245d60e8b113be2bd25f0e3244b3284:0): sending shutdown message 2017-12-07 07:57:53.209 [INF] PEER: ChannelPoint(b675e9cf4c009fd5ea0f022d28cbad45c245d60e8b113be2bd25f0e3244b3284:0): Responding to shutdown 2017-12-07 07:57:53.209 [INF] PEER: ChannelPoint(b675e9cf4c009fd5ea0f022d28cbad45c245d60e8b113be2bd25f0e3244b3284:0): proposing fee of 8688 sat to close chan 2017-12-07 07:57:53.209 [DBG] PEER: Sending Shutdown(chan_id=84324b24e3f025bde23b118b0ed645c245adcb282d020fead59f004ccfe975b6, script=00143cf160a976e3f6ec6e1f27f6d1248129565234c6) to 127.0.0.1:49748 2017-12-07 07:57:53.209 [DBG] PEER: Sending ClosingSigned(chan_id=84324b24e3f025bde23b118b0ed645c245adcb282d020fead59f004ccfe975b6, fee_sat=0.00008688 BTC) to 127.0.0.1:49748 2017-12-07 07:57:53.210 [DBG] PEER: Received ClosingSigned(chan_id=84324b24e3f025bde23b118b0ed645c245adcb282d020fead59f004ccfe975b6, fee_sat=0.00008688 BTC) from 127.0.0.1:49748 2017-12-07 07:57:53.210 [INF] PEER: ChannelPoint(b675e9cf4c009fd5ea0f022d28cbad45c245d60e8b113be2bd25f0e3244b3284:0) fee of 0.00008688 BTC accepted, ending negotiation 2017-12-07 07:57:53.211 [INF] PEER: Broadcasting cooperative close tx: (*wire.MsgTx)(0xc420652080)({ Version: (int32) 2, TxIn: ([]*wire.TxIn) (len=1 cap=15) { (*wire.TxIn)(0xc42069d1a0)({ PreviousOutPoint: (wire.OutPoint) b675e9cf4c009fd5ea0f022d28cbad45c245d60e8b113be2bd25f0e3244b3284:0, SignatureScript: ([]uint8) , Witness: (wire.TxWitness) (len=4 cap=4) { ([]uint8) , ([]uint8) (len=72 cap=144) { 00000000 30 45 02 21 00 d9 80 0c 8e be 3f f5 67 67 cb b3 |0E.!......?.gg..| 00000010 64 24 40 98 35 1c 50 62 ec a0 95 eb 9b 9b f9 3e |d$@.5.Pb.......>| 00000020 31 c1 b0 0c 7e 02 20 57 de 08 c1 ee d7 33 20 cd |1...~. W.....3 .| 00000030 e9 44 53 2e 29 9d 98 77 9c a9 6f d4 6e a9 fa c9 |.DS.)..w..o.n...| 00000040 77 02 7d 1a dd be 0d 01 |w.}.....| }, ([]uint8) (len=71 cap=144) { 00000000 30 44 02 20 48 b1 c5 6c b7 18 db 18 53 02 4a 87 |0D. H..l....S.J.| 00000010 1d c5 71 0b c8 89 a8 fc 3e 38 fe 19 6f fc b9 2b |..q.....>8..o..+| 00000020 06 80 17 5a 02 20 46 7e 14 ed 7d fa 31 a6 0e 4d |...Z. F~..}.1..M| 00000030 d7 5f d9 1a b9 f3 95 72 fb f2 83 ca cd 40 85 01 |._.....r.....@..| 00000040 a2 0f ea 0f a6 17 01 |.......| }, ([]uint8) (len=71 cap=500) { 00000000 52 21 02 19 75 6d 84 78 1b 07 91 47 f0 e2 dd 64 |R!..um.x...G...d| 00000010 64 d9 2a 23 c8 d5 3b ec 5c ed 83 45 56 30 81 09 |d.*#..;.\..EV0..| 00000020 1d 97 29 21 03 82 9d a6 4b 36 5b 1c de 66 0a 13 |..)!....K6[..f..| 00000030 72 46 56 42 85 9e 38 07 0b d9 fb ad 95 64 0e 56 |rFVB..8......d.V| 00000040 00 83 0a 91 4b 52 ae |....KR.| } }, Sequence: (uint32) 4294967295 }) }, TxOut: ([]*wire.TxOut) (len=1 cap=15) { (*wire.TxOut)(0xc4206721c0)({ Value: (int64) 16768528, PkScript: ([]uint8) (len=22 cap=34) { 00000000 00 14 2d 1c 35 50 d6 e2 56 10 c8 38 ca 52 e6 34 |..-.5P..V..8.R.4| 00000010 93 b0 6d ac c3 a4 |..m...| } }) }, LockTime: (uint32) 0 }) 2017-12-07 07:57:53.213 [DBG] PEER: channel close tx from ChannelPoint(b675e9cf4c009fd5ea0f022d28cbad45c245d60e8b113be2bd25f0e3244b3284:0) already exist, probably broadcast by peer: -22: TX rejected: already have transaction a80f5cde751f04175d58f9ca7897ac4c82f71528f36cadc21f849abeec90fb34 2017-12-07 07:57:53.213 [INF] NTFN: Dispatching spend notification for outpoint=b675e9cf4c009fd5ea0f022d28cbad45c245d60e8b113be2bd25f0e3244b3284:0 2017-12-07 07:57:53.213 [DBG] BRAR: ChannelPoint(b675e9cf4c009fd5ea0f022d28cbad45c245d60e8b113be2bd25f0e3244b3284:0) has been settled, cancelling breachObserver 2017-12-07 07:57:53.214 [INF] HSWC: Removing channel link with ChannelID(84324b24e3f025bde23b118b0ed645c245adcb282d020fead59f004ccfe975b6) 2017-12-07 07:57:53.214 [WRN] PEER: unable remove channel link with ChannelPoint(84324b24e3f025bde23b118b0ed645c245adcb282d020fead59f004ccfe975b6): channel link not found 2017-12-07 07:57:53.214 [INF] PEER: Waiting for confirmation of cooperative close of ChannelPoint(b675e9cf4c009fd5ea0f022d28cbad45c245d60e8b113be2bd25f0e3244b3284:0) with txid: a80f5cde751f04175d58f9ca7897ac4c82f71528f36cadc21f849abeec90fb34 2017-12-07 07:57:53.214 [INF] NTFN: New confirmations subscription: txid=a80f5cde751f04175d58f9ca7897ac4c82f71528f36cadc21f849abeec90fb34, numconfs=1 2017-12-07 07:57:53.214 [INF] NTFN: Attempting to trigger dispatch for a80f5cde751f04175d58f9ca7897ac4c82f71528f36cadc21f849abeec90fb34 from historical chain 2017-12-07 07:57:53.215 [DBG] PEER: Sending ClosingSigned(chan_id=84324b24e3f025bde23b118b0ed645c245adcb282d020fead59f004ccfe975b6, fee_sat=0.00008688 BTC) to 127.0.0.1:49748 2017-12-07 07:57:53.222 [INF] DISC: Broadcasting batch of 2 new announcements 2017-12-07 07:57:53.222 [DBG] SRVR: Broadcasting 2 messages 2017-12-07 07:57:53.222 [DBG] PEER: Sending ChannelUpdate(chain_hash=683e86bd5c6d110d91b94b97137ba6bfe02dbbdb8e3dff722a669b5d69d77af6, short_chan_id=425511000014848, flag=0, update_time=2017-12-07 07:57:53 +0000 UTC) to 127.0.0.1:49748 2017-12-07 07:57:53.222 [DBG] PEER: Sending NodeAnnouncement(node=0214acc75ebb82b7f510a9851b3eb65a02f026db1459d3b19529ab782b4476cce9, update_time=2017-12-07 07:57:53 +0000 UTC) to 127.0.0.1:49748 2017-12-07 07:57:53.225 [INF] CRTR: Pruning channel graph using block 1455f399d950011ff8298c4c399da1cc7ff321a14153dfbb0ad0a7f2b5360f21 (height=388) 2017-12-07 07:57:53.226 [DBG] PEER: Received ClosingSigned(chan_id=84324b24e3f025bde23b118b0ed645c245adcb282d020fead59f004ccfe975b6, fee_sat=0.00008688 BTC) from 127.0.0.1:49748 2017-12-07 07:57:53.226 [ERR] PEER: unable to respond to remote close msg: unable to close channel, ChannelID(84324b24e3f025bde23b118b0ed645c245adcb282d020fead59f004ccfe975b6) is unknown 2017-12-07 07:57:53.226 [WRN] NTFN: unable to query for txid(a80f5cde751f04175d58f9ca7897ac4c82f71528f36cadc21f849abeec90fb34): 2017-12-07 07:57:53.227 [INF] NTFN: New block: height=388, sha=1455f399d950011ff8298c4c399da1cc7ff321a14153dfbb0ad0a7f2b5360f21 2017-12-07 07:57:53.227 [INF] NTFN: Dispatching single conf notification, sha=a80f5cde751f04175d58f9ca7897ac4c82f71528f36cadc21f849abeec90fb34, height=388 2017-12-07 07:57:53.227 [INF] PEER: ChannelPoint(b675e9cf4c009fd5ea0f022d28cbad45c245d60e8b113be2bd25f0e3244b3284:0) is now closed at height 388 2017-12-07 07:57:53.227 [INF] CRTR: Block 1455f399d950011ff8298c4c399da1cc7ff321a14153dfbb0ad0a7f2b5360f21 (height=388) closed 1 channels 2017-12-07 07:57:53.230 [INF] LTND: Received shutdown request. 2017-12-07 07:57:53.230 [INF] LTND: Shutting down... 2017-12-07 07:57:53.230 [INF] LTND: Gracefully shutting down the server... 2017-12-07 07:57:53.230 [INF] FNDG: Funding manager shutting down 2017-12-07 07:57:53.230 [INF] CRTR: Channel Router shutting down 2017-12-07 07:57:53.230 [INF] CRTR: FilteredChainView stopping 2017-12-07 07:57:53.230 [INF] HSWC: HTLC Switch shutting down 2017-12-07 07:57:53.230 [INF] UTXN: UTXO nursery shutting down 2017-12-07 07:57:53.232 [INF] BRAR: Breach arbiter shutting down 2017-12-07 07:57:53.232 [INF] DISC: Authenticated Gossiper is stopping 2017-12-07 07:57:53.233 [INF] SRVR: Disconnecting from 127.0.0.1:49748 2017-12-07 07:57:53.233 [DBG] SRVR: removing peer 127.0.0.1:49748 2017-12-07 07:57:53.233 [DBG] SRVR: Peer 127.0.0.1:49748 has been disconnected 2017-12-07 07:57:53.233 [INF] PEER: unable to read message from 127.0.0.1:49748: read tcp 127.0.0.1:19561->127.0.0.1:49748: use of closed network connection 2017-12-07 07:57:53.233 [INF] LTND: Shutdown complete