Bitcoin Forum
May 03, 2024, 04:19:42 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1] 2 »  All
  Print  
Author Topic: Will segwit reduce the number of transactions by any significant amount?  (Read 1139 times)
blackowl11 (OP)
Newbie
*
Offline Offline

Activity: 13
Merit: 0


View Profile
May 16, 2017, 11:08:39 PM
 #1

I want to know real world use cases of segwit, it seems like segwit is similar to 3D Tv technology which though is improvement in TV technology but in reality very few users will actually use it.

Most bitcoin transactions are generally one time like: User withdraws money from any exchange/website or User buys something using bitcoin online or user buys a service using bitcoin. I dont understand how segwit/lightening can be used in this general usecase. Some services are paid monthly but is the lightening network developed for such cases to keep the payment channel open for a month?

Thus it seems segwit/lightening  is not useful in most transactions, so though theoretically it should reduce the number of bitcoin transactions but in reality it will not make much difference to the actual number of transactions because it does not cover most common bitcoin use-cases and completely useless for average bitcoin user.   
"Governments are good at cutting off the heads of a centrally controlled networks like Napster, but pure P2P networks like Gnutella and Tor seem to be holding their own." -- Satoshi
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1714753182
Hero Member
*
Offline Offline

Posts: 1714753182

View Profile Personal Message (Offline)

Ignore
1714753182
Reply with quote  #2

1714753182
Report to moderator
HCP
Legendary
*
Offline Offline

Activity: 2086
Merit: 4316

<insert witty quote here>


View Profile
May 17, 2017, 12:17:34 AM
 #2

But think what will happen if that payment channel is between you and a "payment provider"... and that provider is being utilised by your local cafe, your local convenience store, the book shop down the street, a fast food chain that you frequently visit etc etc...

It suddenly allows you to be able to make multiple "micro" transactions without the overhead of full "on chain" transactions... you don't need to stand in the store for 4 days while you wait for your transaction to confirm due to there being 150,000 unconfirmed transactions... and you don't have to pay $5 in transaction fees to purchase your $3.50 coffee with all your faucet dust.

The provider can effectively guarantee payment and your transaction can have "insta confirmation" etc...

Granted this suddenly brings the concept of "Trusted 3rd Parties" into the mix... but a vast majority of the folks who want to use bitcoin for day to day transactions aren't going to be too worried about that... if it means their transactions get confirmed almost instantly and the fees are at an acceptable level.

Obviously, not something your hardcore anti-bank, privacy loving, bitcoin hodler is interested in... but I can certainly see the benefits for a lot of folks who want bitcoin to be like android/apple/samsung pay or debit/credit card...

I guess it all depends on your definition of "average bitcoin user"

█████████████████████████
████▐██▄█████████████████
████▐██████▄▄▄███████████
████▐████▄█████▄▄████████
████▐█████▀▀▀▀▀███▄██████
████▐███▀████████████████
████▐█████████▄█████▌████
████▐██▌█████▀██████▌████
████▐██████████▀████▌████
█████▀███▄█████▄███▀█████
███████▀█████████▀███████
██████████▀███▀██████████
█████████████████████████
.
BC.GAME
▄▄░░░▄▀▀▄████████
▄▄▄
██████████████
█████░░▄▄▄▄████████
▄▄▄▄▄▄▄▄▄██▄██████▄▄▄▄████
▄███▄█▄▄██████████▄████▄████
███████████████████████████▀███
▀████▄██▄██▄░░░░▄████████████
▀▀▀█████▄▄▄███████████▀██
███████████████████▀██
███████████████████▄██
▄███████████████████▄██
█████████████████████▀██
██████████████████████▄
.
..CASINO....SPORTS....RACING..
█░░░░░░█░░░░░░█
▀███▀░░▀███▀░░▀███▀
▀░▀░░░░▀░▀░░░░▀░▀
░░░░░░░░░░░░
▀██████████
░░░░░███░░░░
░░█░░░███▄█░░░
░░██▌░░███░▀░░██▌
░█░██░░███░░░█░██
░█▀▀▀█▌░███░░█▀▀▀█▌
▄█▄░░░██▄███▄█▄░░▄██▄
▄███▄
░░░░▀██▄▀


▄▄████▄▄
▄███▀▀███▄
██████████
▀███▄░▄██▀
▄▄████▄▄░▀█▀▄██▀▄▄████▄▄
▄███▀▀▀████▄▄██▀▄███▀▀███▄
███████▄▄▀▀████▄▄▀▀███████
▀███▄▄███▀░░░▀▀████▄▄▄███▀
▀▀████▀▀████████▀▀████▀▀
Tesorex
Full Member
***
Offline Offline

Activity: 204
Merit: 100



View Profile
May 17, 2017, 12:31:26 AM
 #3

What is that reduce the number of transactions? you can't stop people from transacting, segwit does it by reducing the size of the data included in each block. who opens channels in LN?
Rajadurai
Newbie
*
Offline Offline

Activity: 30
Merit: 0


View Profile
May 17, 2017, 12:38:52 AM
 #4

Objectively, it appears they are striving for consensus, not stalling.
blackowl11 (OP)
Newbie
*
Offline Offline

Activity: 13
Merit: 0


View Profile
May 17, 2017, 01:05:04 AM
 #5

But think what will happen if that payment channel is between you and a "payment provider"... and that provider is being utilised by your local cafe, your local convenience store, the book shop down the street, a fast food chain that you frequently visit etc etc...

It suddenly allows you to be able to make multiple "micro" transactions without the overhead of full "on chain" transactions... you don't need to stand in the store for 4 days while you wait for your transaction to confirm due to there being 150,000 unconfirmed transactions... and you don't have to pay $5 in transaction fees to purchase your $3.50 coffee with all your faucet dust.

The provider can effectively guarantee payment and your transaction can have "insta confirmation" etc...

Granted this suddenly brings the concept of "Trusted 3rd Parties" into the mix... but a vast majority of the folks who want to use bitcoin for day to day transactions aren't going to be too worried about that... if it means their transactions get confirmed almost instantly and the fees are at an acceptable level.

Obviously, not something your hardcore anti-bank, privacy loving, bitcoin hodler is interested in... but I can certainly see the benefits for a lot of folks who want bitcoin to be like android/apple/samsung pay or debit/credit card...

I guess it all depends on your definition of "average bitcoin user"
But then what is the point of using bitcoin ?
The normal payment processors like visa provide the exact same service , what extra will I as a bitcoin user get using a lightening payment processor.
blackowl11 (OP)
Newbie
*
Offline Offline

Activity: 13
Merit: 0


View Profile
May 17, 2017, 01:14:11 AM
 #6

What is that reduce the number of transactions? you can't stop people from transacting, segwit does it by reducing the size of the data included in each block. who opens channels in LN?
Yes what I am trying to say is not many people use bitcoin the way lightening network wants ie repeated micro payments to same receiver, so basically the number of onchain transactions remain the same, which segwit/lightening claims to reduce.
ImHash
Hero Member
*****
Offline Offline

Activity: 924
Merit: 506


View Profile
May 17, 2017, 02:23:23 AM
 #7

But think what will happen if that payment channel is between you and a "payment provider"... and that provider is being utilised by your local cafe, your local convenience store, the book shop down the street, a fast food chain that you frequently visit etc etc...

It suddenly allows you to be able to make multiple "micro" transactions without the overhead of full "on chain" transactions... you don't need to stand in the store for 4 days while you wait for your transaction to confirm due to there being 150,000 unconfirmed transactions... and you don't have to pay $5 in transaction fees to purchase your $3.50 coffee with all your faucet dust.

The provider can effectively guarantee payment and your transaction can have "insta confirmation" etc...

Granted this suddenly brings the concept of "Trusted 3rd Parties" into the mix... but a vast majority of the folks who want to use bitcoin for day to day transactions aren't going to be too worried about that... if it means their transactions get confirmed almost instantly and the fees are at an acceptable level.

Obviously, not something your hardcore anti-bank, privacy loving, bitcoin hodler is interested in... but I can certainly see the benefits for a lot of folks who want bitcoin to be like android/apple/samsung pay or debit/credit card...

I guess it all depends on your definition of "average bitcoin user"
But then what is the point of using bitcoin ?
The normal payment processors like visa provide the exact same service , what extra will I as a bitcoin user get using a lightening payment processor.
In case if you missed it, bitcoin miners are mining LTC ever since 2011 and now they need to sell their stash, we need to wait a bit longer for them to come back to the bitcoin table.

While every one debating about the current issue I'm more concerned about alts pumping I'm afraid it becoming a habit for people/ investors to start thinking investing on alt coins has potentially more profit than bitcoin.
Who said users should have a saying in current situation?
Bitcoin is the revolution to change the world not being kept busy with talks about a few satoshi here and there, fees, bla bla, etc, etc.

Allow me to describe the image that I see when I step back from it watching from outside;

I can see a vast network of miners with hundreds of billions invested on mining farms, getting much powerful that even governments start competing to increase their hash power.
After seeing that image suddenly I realized I'm missing on thousands of bitcoins because I could be a major player potentially in the future if I just hold 1000 coins.
jbreher
Legendary
*
Offline Offline

Activity: 3038
Merit: 1660


lose: unfind ... loose: untight


View Profile
May 17, 2017, 03:05:50 AM
 #8

But think what will happen if that payment channel is between you and a "payment provider"... and that provider is being utilised by your local cafe, your local convenience store, the book shop down the street, a fast food chain that you frequently visit etc etc...

Yeah...just think... Your payment provider will sell the details of every last purchase you have made to your insurance company, so they can adjust your rates based upon your unhealthy lifestyle. Just like Facebook. I can't wait.

Quote
It suddenly allows you to be able to make multiple "micro" transactions without the overhead of full "on chain" transactions... you don't need to stand in the store for 4 days while you wait for your transaction to confirm due to there being 150,000 unconfirmed transactions... and you don't have to pay $5 in transaction fees to purchase your $3.50 coffee with all your faucet dusT.

IOW, the same way bitcoin used to work, and would continue to work, we're it not for this stupid, centrally-planned production quota. Again...i can't wait!!!!!11!!!!1!1!1!!!

Anyone with a campaign ad in their signature -- for an organization with which they are not otherwise affiliated -- is automatically deducted credibility points.

I've been convicted of heresy. Convicted by a mere known extortionist. Read my Trust for details.
Kakmakr
Legendary
*
Offline Offline

Activity: 3444
Merit: 1957

Leading Crypto Sports Betting & Casino Platform


View Profile
May 17, 2017, 06:02:05 AM
Last edit: May 17, 2017, 06:50:17 AM by Kakmakr
 #9

But think what will happen if that payment channel is between you and a "payment provider"... and that provider is being utilised by your local cafe, your local convenience store, the book shop down the street, a fast food chain that you frequently visit etc etc...

Yeah...just think... Your payment provider will sell the details of every last purchase you have made to your insurance company, so they can adjust your rates based upon your unhealthy lifestyle. Just like Facebook. I can't wait.

Quote
It suddenly allows you to be able to make multiple "micro" transactions without the overhead of full "on chain" transactions... you don't need to stand in the store for 4 days while you wait for your transaction to confirm due to there being 150,000 unconfirmed transactions... and you don't have to pay $5 in transaction fees to purchase your $3.50 coffee with all your faucet dusT.

IOW, the same way bitcoin used to work, and would continue to work, we're it not for this stupid, centrally-planned production quota. Again...i can't wait!!!!!11!!!!1!1!1!!!

How will they gather this information, if you are running this node? You provide your own payment channel without having to store or share information with anybody? The way I understand this, anyone can host a node, not just specific companies or certain individuals.

We are totally open to the same thing, if miners are owned and run by huge corporate entities and/or financial institutions. Who says these mining farms are not funded by the Chinese government for instance? ^hmmmmm^

..Stake.com..   ▄████████████████████████████████████▄
   ██ ▄▄▄▄▄▄▄▄▄▄            ▄▄▄▄▄▄▄▄▄▄ ██  ▄████▄
   ██ ▀▀▀▀▀▀▀▀▀▀ ██████████ ▀▀▀▀▀▀▀▀▀▀ ██  ██████
   ██ ██████████ ██      ██ ██████████ ██   ▀██▀
   ██ ██      ██ ██████  ██ ██      ██ ██    ██
   ██ ██████  ██ █████  ███ ██████  ██ ████▄ ██
   ██ █████  ███ ████  ████ █████  ███ ████████
   ██ ████  ████ ██████████ ████  ████ ████▀
   ██ ██████████ ▄▄▄▄▄▄▄▄▄▄ ██████████ ██
   ██            ▀▀▀▀▀▀▀▀▀▀            ██ 
   ▀█████████▀ ▄████████████▄ ▀█████████▀
  ▄▄▄▄▄▄▄▄▄▄▄▄███  ██  ██  ███▄▄▄▄▄▄▄▄▄▄▄▄
 ██████████████████████████████████████████
▄▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▄
█  ▄▀▄             █▀▀█▀▄▄
█  █▀█             █  ▐  ▐▌
█       ▄██▄       █  ▌  █
█     ▄██████▄     █  ▌ ▐▌
█    ██████████    █ ▐  █
█   ▐██████████▌   █ ▐ ▐▌
█    ▀▀██████▀▀    █ ▌ █
█     ▄▄▄██▄▄▄     █ ▌▐▌
█                  █▐ █
█                  █▐▐▌
█                  █▐█
▀▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▀█
▄▄█████████▄▄
▄██▀▀▀▀█████▀▀▀▀██▄
▄█▀       ▐█▌       ▀█▄
██         ▐█▌         ██
████▄     ▄█████▄     ▄████
████████▄███████████▄████████
███▀    █████████████    ▀███
██       ███████████       ██
▀█▄       █████████       ▄█▀
▀█▄    ▄██▀▀▀▀▀▀▀██▄  ▄▄▄█▀
▀███████         ███████▀
▀█████▄       ▄█████▀
▀▀▀███▄▄▄███▀▀▀
..PLAY NOW..
Carlton Banks
Legendary
*
Offline Offline

Activity: 3430
Merit: 3071



View Profile
May 17, 2017, 06:56:48 AM
 #10

Lightning can hop through payment channels, you can pay anyone on the rest of the Network, infinitely, sometimes for free (if someone wants lots of BTC going through their channel)


The clue is in the word "Network", if you can only pay one person again and again, it's not really a Network. Lightning is a network, where you can pay anyone.

Vires in numeris
blackowl11 (OP)
Newbie
*
Offline Offline

Activity: 13
Merit: 0


View Profile
May 17, 2017, 07:25:10 AM
 #11

But think what will happen if that payment channel is between you and a "payment provider"... and that provider is being utilised by your local cafe, your local convenience store, the book shop down the street, a fast food chain that you frequently visit etc etc...

Yeah...just think... Your payment provider will sell the details of every last purchase you have made to your insurance company, so they can adjust your rates based upon your unhealthy lifestyle. Just like Facebook. I can't wait.

Quote
It suddenly allows you to be able to make multiple "micro" transactions without the overhead of full "on chain" transactions... you don't need to stand in the store for 4 days while you wait for your transaction to confirm due to there being 150,000 unconfirmed transactions... and you don't have to pay $5 in transaction fees to purchase your $3.50 coffee with all your faucet dusT.

IOW, the same way bitcoin used to work, and would continue to work, we're it not for this stupid, centrally-planned production quota. Again...i can't wait!!!!!11!!!!1!1!1!!!

How will they gather this information, if you are running this node? You provide your own payment channel without having to store or share information with anybody? The way I understand this, anyone can host a node, not just specific companies or certain individuals.

We are totally open to the same thing, if miners are owned and run by huge corporate entities and/or financial institutions. Who says these mining farms are not funded by the Chinese government for instance? ^hmmmmm^
Yes that is my original question, everyone can open a payment channel but those channels are useless as most bitcoin transactions are one time type of transactions unlike lightening requirement of multiple small transactions between same parties where it can help reduce the network load.
blackowl11 (OP)
Newbie
*
Offline Offline

Activity: 13
Merit: 0


View Profile
May 17, 2017, 07:36:43 AM
 #12

Lightning can hop through payment channels, you can pay anyone on the rest of the Network, infinitely, sometimes for free (if someone wants lots of BTC going through their channel)


The clue is in the word "Network", if you can only pay one person again and again, it's not really a Network. Lightning is a network, where you can pay anyone.
So you are saying that all payment channels are connected or is this a special case. Like if there is a channel between A and B and another channel between B and C , so does it mean there is automatically a channel between A and C?
DoublerHunter
Hero Member
*****
Offline Offline

Activity: 2590
Merit: 644


View Profile
May 17, 2017, 07:53:46 AM
 #13

If segwit will be implemented to bitcoin then it will be a huge help for bitcoin because the block size will be bigger and the stuck transactions will be lessen and the flow of the transaction in the blockchain network will be faster because of the bigger sizes of blocks which is very important for us because we love fast transactions.
lionheart78
Legendary
*
Offline Offline

Activity: 2898
Merit: 1152



View Profile WWW
May 17, 2017, 07:59:18 AM
 #14

What is that reduce the number of transactions? you can't stop people from transacting, segwit does it by reducing the size of the data included in each block. who opens channels in LN?

Probably he is talking about the reduced of unconfirmed transaction once SegWit is implemented.  I believe that is the purpose of Segwit, to establish the fix for bitcoin scalability if I am not mistaken.  It gives way to Lightning Network that will greatly help in the transaction.

▄▄███████████████████▄▄
▄█████████▀█████████████▄
███████████▄▐▀▄██████████
███████▀▀███████▀▀███████
██████▀███▄▄████████████
█████████▐█████████▐█████
█████████▐█████████▐█████
██████████▀███▀███▄██████
████████████████▄▄███████
███████████▄▄▄███████████
█████████████████████████
▀█████▄▄████████████████▀
▀▀███████████████████▀▀
Peach
BTC bitcoin
Buy and Sell
Bitcoin P2P
.
.
▄▄███████▄▄
▄████████
██████▄
▄██
█████████████████▄
▄███████
██████████████▄
███████████████████████
█████████████████████████
████████████████████████
█████████████████████████
▀███████████████████████▀
▀█████████████████████▀
▀██████████████████▀
▀███████████████▀
▀▀███████▀▀

▀▀▀▀███▀▀▀▀
EUROPE | AFRICA
LATIN AMERICA
▄▀▀▀











▀▄▄▄


███████▄█
███████▀
██▄▄▄▄▄░▄▄▄▄▄
████████████▀
▐███████████▌
▐███████████▌
████████████▄
██████████████
███▀███▀▀███▀
.
Download on the
App Store
▀▀▀▄











▄▄▄▀
▄▀▀▀











▀▄▄▄


▄██▄
██████▄
█████████▄
████████████▄
███████████████
████████████▀
█████████▀
██████▀
▀██▀
.
GET IT ON
Google Play
▀▀▀▄











▄▄▄▀
Xester
Hero Member
*****
Offline Offline

Activity: 994
Merit: 544



View Profile
May 17, 2017, 08:07:01 AM
 #15

Lightning can hop through payment channels, you can pay anyone on the rest of the Network, infinitely, sometimes for free (if someone wants lots of BTC going through their channel)


The clue is in the word "Network", if you can only pay one person again and again, it's not really a Network. Lightning is a network, where you can pay anyone.

Does lightning network can make transaction much faster and can it really lower the transaction fees. There are many claims that the lightning network can solve the slow confirmation and its name suggests that it has the power to do so. But it is too early to say those things we can only tell if we are already using lightning network. After which we can claim if it is fast or slow, if it is cheap or not.
Faiyz
Sr. Member
****
Offline Offline

Activity: 392
Merit: 250

Dijual


View Profile
May 17, 2017, 08:10:32 AM
 #16

What is that reduce the number of transactions? you can't stop people from transacting, segwit does it by reducing the size of the data included in each block. who opens channels in LN?

Probably he is talking about the reduced of unconfirmed transaction once SegWit is implemented.  I believe that is the purpose of Segwit, to establish the fix for bitcoin scalability if I am not mistaken.  It gives way to Lightning Network that will greatly help in the transaction.

And also it would just lower the transaction fees in any transactions. It really would fasten transactions because of the reduced amount now that the witness or blockchain has its own. but i think it is not enough for the growing problem in the blockchain recently. i would see hardfork also as a good solution for the blockchain. Other than that i observed segwit is really helpful in other coins as far i have observed.
franky1
Legendary
*
Offline Offline

Activity: 4214
Merit: 4461



View Profile
May 17, 2017, 12:08:18 PM
 #17

to explain LN channels(hop)..

firstly ill display this image and then explain it


first some people think anyone can set up a channel with a click and remain permissionless(#1).. wrong!
 you have to set it up WITH ANOTHER PARTY (#2) !! permissioned as you need their signature to sign off on payments !!

next you cant just instantly pay anyone. for instance A cant just pay E,
you  need to have to find a route to the intended 'anyone' by finding a path of channels that can link you to the intended party.

this involves some parties having more than one channel open (#3) as you can see B has 2, C has 2, D has 2..

next is the funding..
A doesnt just fund E.. A has to pass funds to B(plus a fee) in the A_B channel... B then needs to use a separate channel B_C with separate funding to fund C, and so on. (#4)
this means with a cap per channel of lets say 0.1btc
B needs to deposit 0.1 into 2 channels
C needs to deposit 0.1 into 2 channels and so on

now, with many channels available and channels having funds, this then allows a path (route)(#5) to be established from A to E

now lets say A wants to pay E
we will start with the blank slate(#6)
imagine A wants to pay E 0.01btc... and each 'hop' cost 0.001 fee to thank each person of the route for participating.
(dont knit pick the fee or take it literally. i chose 0.001 randomly for demo purposes only, i simply couldnt be arsed to do lengthy decimals to show a very small fee)

as you can see in(#7) A has worked out it would cost him 0.003 in fee's to get to E and so A passed 0.013 to B
B in A_B is where B's 0.001 fee remains.

in (#8) B using the separate stash knows its going to cost him 0.002 in fee's to get to E and so B passed 0.012 to C
C in B_C is where C's 0.001 fee remains.

in (#9) C using the separate stash knows its going to cost him 0.001 in fee's to get to E and so C passed 0.011 to D
D in B_C is where C's 0.001 fee remains.

in (#10) D using the separate stash passes 0.011 to E
D in D_D is where D's 0.001 fee remains.


which when if they all closed channels and totalled up their holdings
(#11) A=0.087 B=0.101 C=0.101 D=0.101  E=0.110
which means the guys in the middle are 0.001(fee) in profit from acting as routes(hops) and E has the 0.01 which indirectly came from A
because A is down by 0.01... (and down by 0.003 for the fee's)


all that the mainnet chain see's to set up the channels is the 8 transactions (into a channel) to set up the 4 channels (2 tx per channel)
as shown by the arrows in (#5)
A(0.1)->A_B               B(0.1)->A_B               B(0.1)->B_C                C(0.1)->B_C  
C(0.1)->C_D               D(0.1)->C_D              D(0.1)->D_E                E(0.1)->D_E

and 4 final transactions when closing the channels
A_B(0.2)->A(0.087)B(0.103)                  B_C(0.2)->B(0.088)C(0.102)    
C_D(0.2)->C(0.089)B(0.101)                  D_E(0.2)->B(0.09)C(0.110)  

which when if they all closed channels and totalled up their holdings
(#11) A=0.087 B=0.101 C=0.101 D=0.101  E=0.110

which means the guys in the middle are 0.001(fee) in profit from acting as routes(hops) and E has the 0.01 which indirectly came from A
because A is down by 0.01... (and down by 0.003 for the fee's)

the steps #7 to #10 are funds moved all off chain.. never seen by the mainnet chain
and funds can move back and forth as many times as possible off chain as long as:
the channels have enough funds to work as a route for the particular payment
and
there are enough channels to link/create a route

I DO NOT TRADE OR ACT AS ESCROW ON THIS FORUM EVER.
Please do your own research & respect what is written here as both opinion & information gleaned from experience. many people replying with insults but no on-topic content substance, automatically are 'facepalmed' and yawned at
shinratensei_
Legendary
*
Offline Offline

Activity: 3094
Merit: 1024


Leading Crypto Sports Betting & Casino Platform


View Profile
May 17, 2017, 01:01:08 PM
 #18

What is that reduce the number of transactions? you can't stop people from transacting, segwit does it by reducing the size of the data included in each block. who opens channels in LN?

Probably he is talking about the reduced of unconfirmed transaction once SegWit is implemented.  I believe that is the purpose of Segwit, to establish the fix for bitcoin scalability if I am not mistaken.  It gives way to Lightning Network that will greatly help in the transaction.
The purpose of SegWit to fixed the malleability problem of bitcoin and to increase the blocksize is not the main reason to implement SegWit.

The lightning network as an off-chain solution for bitcoin to make the transaction will be faster.

Without SegWit, LN just will less on his benefits.
I mean SegWit is not to solve the scalability problem.

..Stake.com..   ▄████████████████████████████████████▄
   ██ ▄▄▄▄▄▄▄▄▄▄            ▄▄▄▄▄▄▄▄▄▄ ██  ▄████▄
   ██ ▀▀▀▀▀▀▀▀▀▀ ██████████ ▀▀▀▀▀▀▀▀▀▀ ██  ██████
   ██ ██████████ ██      ██ ██████████ ██   ▀██▀
   ██ ██      ██ ██████  ██ ██      ██ ██    ██
   ██ ██████  ██ █████  ███ ██████  ██ ████▄ ██
   ██ █████  ███ ████  ████ █████  ███ ████████
   ██ ████  ████ ██████████ ████  ████ ████▀
   ██ ██████████ ▄▄▄▄▄▄▄▄▄▄ ██████████ ██
   ██            ▀▀▀▀▀▀▀▀▀▀            ██ 
   ▀█████████▀ ▄████████████▄ ▀█████████▀
  ▄▄▄▄▄▄▄▄▄▄▄▄███  ██  ██  ███▄▄▄▄▄▄▄▄▄▄▄▄
 ██████████████████████████████████████████
▄▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▄
█  ▄▀▄             █▀▀█▀▄▄
█  █▀█             █  ▐  ▐▌
█       ▄██▄       █  ▌  █
█     ▄██████▄     █  ▌ ▐▌
█    ██████████    █ ▐  █
█   ▐██████████▌   █ ▐ ▐▌
█    ▀▀██████▀▀    █ ▌ █
█     ▄▄▄██▄▄▄     █ ▌▐▌
█                  █▐ █
█                  █▐▐▌
█                  █▐█
▀▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▀█
▄▄█████████▄▄
▄██▀▀▀▀█████▀▀▀▀██▄
▄█▀       ▐█▌       ▀█▄
██         ▐█▌         ██
████▄     ▄█████▄     ▄████
████████▄███████████▄████████
███▀    █████████████    ▀███
██       ███████████       ██
▀█▄       █████████       ▄█▀
▀█▄    ▄██▀▀▀▀▀▀▀██▄  ▄▄▄█▀
▀███████         ███████▀
▀█████▄       ▄█████▀
▀▀▀███▄▄▄███▀▀▀
..PLAY NOW..
spartacusrex
Hero Member
*****
Offline Offline

Activity: 718
Merit: 545



View Profile
May 17, 2017, 01:14:08 PM
 #19

Wow - Very Nice. Like the Diagram.. ^^

And a great description of the inner workings.

Thanks.

..

BUT - it is NOT permissioned..

You can cash at AT ANY TIME without the permission of the HUB. The whole point is that you both hold valid TXNs that you can publish at any time should you wish to.

This is called 'Closing the Channel'.

It's not a new concept - it's just like a payment channel.

Stop scaring people Franky..  Grin

...

I would imagine ALL the crypto exchanges run LN Hubs.

BlockChain.info would run a hub.

CoinBase would run a hub.

Any 'social group' could run it's own hub..  and Cafe's, Restaurant, Bars, Casinos! etc etc.. ( So any txn between any of these participants would be LN based )

Now ( I reckon.. ) MOST of the current BTC traffic would be off-chain, instant, and for as little as a satoshi.. ( it's all of us moving money in and out of exchanges that really clogs things up.. ).. Seriously - like 90%.

THIS IS WHY THE BLOCK SIZE WON'T MATTER. We may find 1MB is PLENTY. (For now..)

(..or in SegWit's case 1+3MB..)

Life is Code.
blackowl11 (OP)
Newbie
*
Offline Offline

Activity: 13
Merit: 0


View Profile
May 17, 2017, 01:25:40 PM
 #20

to explain LN channels(hop)..

firstly ill display this image and then explain it
https://i.imgur.com/MRvPhrs.png

first some people think anyone can set up a channel with a click and remain permissionless(#1).. wrong!
 you have to set it up WITH ANOTHER PARTY (#2) !! permissioned as you need their signature to sign off on payments !!

next you cant just instantly pay anyone. for instance A cant just pay E,
you  need to have to find a route to the intended 'anyone' by finding a path of channels that can link you to the intended party.

this involves some parties having more than one channel open (#3) as you can see B has 2, C has 2, D has 2..

next is the funding..
A doesnt just fund E.. A has to pass funds to B(plus a fee) in the A_B channel... B then needs to use a separate channel B_C with separate funding to fund C, and so on. (#4)
this means with a cap per channel of lets say 0.1btc
B needs to deposit 0.1 into 2 channels
C needs to deposit 0.1 into 2 channels and so on

now, with many channels available and channels having funds, this then allows a path (route)(#5) to be established from A to E

now lets say A wants to pay E
we will start with the blank slate(#6)
imagine A wants to pay E 0.01btc... and each 'hop' cost 0.001 fee to thank each person of the route for participating.
(dont knit pick the fee or take it literally. i chose 0.001 randomly for demo purposes only, i simply couldnt be arsed to do lengthy decimals to show a very small fee)

as you can see in(#7) A has worked out it would cost him 0.003 in fee's to get to E and so A passed 0.013 to B
B in A_B is where B's 0.001 fee remains.

in (#8) B using the separate stash knows its going to cost him 0.002 in fee's to get to E and so B passed 0.012 to C
C in B_C is where C's 0.001 fee remains.

in (#9) C using the separate stash knows its going to cost him 0.001 in fee's to get to E and so C passed 0.011 to D
D in B_C is where C's 0.001 fee remains.

in (#10) D using the separate stash passes 0.011 to E
D in D_D is where D's 0.001 fee remains.


which when if they all closed channels and totalled up their holdings
(#11) A=0.087 B=0.101 C=0.101 D=0.101  E=0.110
which means the guys in the middle are 0.001(fee) in profit from acting as routes(hops) and E has the 0.01 which indirectly came from A
because A is down by 0.01... (and down by 0.003 for the fee's)


all that the mainnet chain see's to set up the channels is the 8 transactions (into a channel) to set up the 4 channels (2 tx per channel)
as shown by the arrows in (#5)
A(0.1)->A_B               B(0.1)->A_B               B(0.1)->B_C                C(0.1)->B_C  
C(0.1)->C_D               D(0.1)->C_D              D(0.1)->D_E                E(0.1)->D_E

and 4 final transactions when closing the channels
A_B(0.2)->A(0.087)B(0.103)                  B_C(0.2)->B(0.088)C(0.102)    
C_D(0.2)->C(0.089)B(0.101)                  D_E(0.2)->B(0.09)C(0.110)  

which when if they all closed channels and totalled up their holdings
(#11) A=0.087 B=0.101 C=0.101 D=0.101  E=0.110

which means the guys in the middle are 0.001(fee) in profit from acting as routes(hops) and E has the 0.01 which indirectly came from A
because A is down by 0.01... (and down by 0.003 for the fee's)

the steps #7 to #10 are funds moved all off chain.. never seen by the mainnet chain
and funds can move back and forth as many times as possible off chain as long as:
the channels have enough funds to work as a route for the particular payment
and
there are enough channels to link/create a route

Thanks, great explanation.
Pages: [1] 2 »  All
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!