bitcoin core – Can I open many channels to 1 connection?

0
82
bitcoin core – Can I open many channels to 1 connection?


Making an attempt to be taught the Lightning Community 🙂

Can I do one thing like this:

STEP 1: Generate new addresses

  • address_1 = cli/lightning-cli newaddr
  • address_2 = cli/lightning-cli newaddr
  • address_3 = cli/lightning-cli newaddr
  • address_4 = cli/lightning-cli newaddr
  • address_5 = cli/lightning-cli newaddr

STEP 2: Get transaction ids

  • txnid_1 = bitcoin-cli -testnet sendtoaddress address_1 60000
  • txnid_2 = bitcoin-cli -testnet sendtoaddress address_2 70000
  • txnid_3 = bitcoin-cli -testnet sendtoaddress address_3 80000
  • txnid_4 = bitcoin-cli -testnet sendtoaddress address_4 90000

Query 1: the instructions above switch cash the BITCOIN NETWORK to the LIGHTNNG NETWORK – proper??? In that case, which BITCOIN “FROM” tackle is getting used?

STEP 3: See who I’m related to

run: cli/lightning-cli listpeers (to see who I’m related with)

Please observe that for my instance:

  • Public Key for NODE_B => will not be on checklist above (not a peer)
  • Public Key for NODE_C => will not be on checklist above (not a peer)
  • Public Key for NODE_D => will not be on checklist above (not a peer)

STEP 4: Fund the channels:

The command I see for funding a channel is: cli/lightning-cli fundchannel

What I want to do:

  • cli/lightning-cli fundchannel NODE_B 10000 [txnid_2]

  • cli/lightning-cli fundchannel NODE_C 20000 [txnid_2]

  • cli/lightning-cli fundchannel NODE_B 30000 [txnid_3]

  • cli/lightning-cli fundchannel NODE_D 40000 [txnid_4]

For instance I wish to fund a channel to NODE_B with 10000 Satoshi from txnid_2

Query 2: Is what I want to do potential?

TIA

LEAVE A REPLY

Please enter your comment!
Please enter your name here