Post
Topic
Board Speculation
Merits 1 from 1 user
Re: Wall Observer BTC/USD - Bitcoin price movement tracking & discussion
by
Elwar
on 26/01/2018, 03:39:53 UTC
⭐ Merited by Dabs (1)
So I have been thinking about the Lightning Network for a bit as far as running a node goes.

From my limited understanding of it, if you are the node between 2 people you basically fund the transactions going through, they sign a transaction to you, you sign a transaction to them for the equal amount each (so you need twice the amount for the channel), then throughout the length of time of the channel being open you sign transactions back and forth with the people connected to your node then settle everything at the end or whenever someone wants to settle the balance.

Firstly, is that somewhat accurate? I am sure it is super complicated beyond that, otherwise I would know it better.

My question (if that is accurate) is, could I sign every possible transaction for each node connecting to me offline, then only move the signed transactions to a hot database that I pull the transactions from as needed?

For example, A and B connect to me with 1 BTC each. I copy their public key to an offline machine and have it generate a million transactions each (or however many are needed) to account for every possible signed transaction then transfer that to a computer online.

Also, if this is possible, what prevents me from signing all of those transactions then spending the bitcoins somewhere else. Or is this what SegWit fixed?