Bitcoin Forum

Bitcoin => Bitcoin Discussion => Topic started by: stdset on November 24, 2016, 10:53:44 AM



Title: Scaling Bitcoin. Is consensus achievable?
Post by: stdset on November 24, 2016, 10:53:44 AM
At the time of this post there are about 60000/50MB unconfirmed transactions, total fees are about 100 BTC/24h. Meanwhile average Segwit support per last 144 blocks is around 20%.
We've heard arguments from both sides. Isn't it time now to listen to each other, understand and come to a compromise?
All of us want the same: growth of Bitcoin adoption.

Core team, your opinion, decisions have the heaviest weight. You are the smartest among opposing groups (I indeed think so). But don't you think that if you concede that Bitcoin needs bigger blocks, and that at least one hardfork is inevitable, it will lead to reconciliation and perhaps even acceptance of segwit as a softfork, do you?

Bigger blocks group, it's in your power to block segwit. But don't you think that if you indeed do so, you will strangle Bitcoin and all your investments in mining hardware and in Bitcoin will become worthless?

Currently segwit is the shortest path to increasing Bitcoin throughput. A hardfork needs to be well thought over and announced several months before taking effect. Let's be honest, it won't happen sooner than a year from now.

IMO:
1) There is no way of scaling Bitcoin short term except adopting segwit. Contentious hardfork isn't an option it would be disastrous.
2) Whether or not Segwit will be adopted in it's current form, Bitcoin needs bigger blocks. If we aim at going mainstream, 1MB isn't enough in spite of Segwit, LN, whatever. I beleive even 8MB would still be handleable for Bitcoin enthusiasts running full nodes, not to mention bigger entities such mining pools. I however hope that a solution for dynamic blocksize will be found, which will satisfy all parties.
3) Average total fees per block must remain much lower than block subsidy for more than a decade from now, because of mining energy consumption:
However, we can estimate Bitcoin mining power consumption in 12 years, provided that Bitcoin replaced all M1 money supply in the world, what is very unrealistic, but we want to make a conservative estimate. As of 2009 M1 was about 20*1012USD http://dont-tread-on.me/wp-content/uploads/2011/02/SmallGlobalMoneySupply.png
In 12 years block reward will be 8 times less than now, let's assume that fees still constitute a minor part of block reward, i.e. block reward is 3.125 BTC, that means 18.75 BTC created per hour. Value of 1 BTC equals roughly 1 million USD of 2009 purchasing power (in 2027 USD doesn't exist already, since BTC completely replaced it). Let's now assume, that miners spend half of their revenue to pay for electricity (that's rather unrealistic, but we want to make a conservative estimation), so we have 9.4*106 USD per hour to pay for electricity. If we take a reasonable price of 0.07 USD/kWt*h, that results in 1.3*1011 Watts of total power consumption by all miners in the world. In 2007 the world produced about 20*1015 Wt*h of electric power, or 2.3*1012 Watts on the average. We can see that under such unrealistic conditions bitcoin mining consumes less than 6% of total world electric power.
Hope I didn't make a mistake in calculations.

BTW, we can conclude that even in 12 years Bitcoin is unlikely to replace all money in the world, since 6% of total electric power produced in the world is a bit much, I'd say that bitcoin will need not less than 16 years to achieve that  :)

And again, all of us want the same: Bitcoin adoption growth.


Title: Re: Scaling Bitcoin. Is consensus achievable?
Post by: kiklo on November 24, 2016, 11:46:07 AM
Actually SegWit needs 95% of the Miner's Hash to be accepted ,
1 Mining Pool with 8% said they will block it in favor of a hard fork with larger block size.

You only need ~70% of the hash to have a successful hard fork, so it is odd SegWit is pushed for more.
(The Devs will probably make more money off of LN, which is why they prefer segwit.)
A Hard Fork is no Big Deal, Schedule the update a few weeks later after the software is ready .

BTC Transactions Congestion Problems   :-[

Simulation Example
each block has 1 MB of transactions with a theoretical Limit of 4200 transactions per block with a 10 minute BlockSpeed , [] is a block
One Hour of Blocks
[1] 10 minutes [1] 10 minutes [1] 10 minutes [1] 10 minutes [1] 10 minutes [1] 10 minutes
6 Blocks * 4200 Transactions =  25200 Maximum Theoretical Transactions per Hour

BTC Transactions Congestion Solutions   ;D

Simulation Example Updated with Larger BlockSize and Shorter BlockSpeed
each block has 2 MB of transactions with a theoretical Limit of 8400 transactions per block with a 2½ minute BlockSpeed , [] is a block
One Hour of Blocks
[2] 2½ minutes [2] 2½ minutes [2] 2½ minutes [2] 2½ minutes
[2] 2½ minutes [2] 2½ minutes [2] 2½ minutes [2] 2½ minutes
[2] 2½ minutes [2] 2½ minutes [2] 2½ minutes [2] 2½ minutes
[2] 2½ minutes [2] 2½ minutes [2] 2½ minutes [2] 2½ minutes
[2] 2½ minutes [2] 2½ minutes [2] 2½ minutes [2] 2½ minutes
[2] 2½ minutes [2] 2½ minutes [2] 2½ minutes [2] 2½ minutes

24 Blocks * 8400 Transactions = 201600 Maximum Theoretical Transactions per Hour

Compare Updated Simulation with Original
201600 / 25200  = 8
Updated Version can handle 8X the Transaction Capacity.  ;)

Now the educated asshats that live in these forums will tell you it can't work or it is a security risk, (They are Lying!)
Real World Examples.
PoW coin LTC has a 2½ minute block time with no problems whatsoever from it.
In Fact Chinese Mining Pools are over 51% of the BTC Hash rate , and are also over 51% of the LTC Hashrate.
In Fact some alts run at a 30 second blockspeed.
Oh, they also will complain, it will affect the Block Reward and Halving Dates,
(All of that are Variables that can be modified to compensate for the changes)

If they lower the Blockspeed,
then they will have to increase the Final Supply Number of Bitcoins or allow it to get to the Final Supply Number 4X faster than it would have.

If they only increase the BlockSize ,
then the Block rewards and halving dates are not affected, and will not need modification.
But Transactions grow will be directly proportional to the increase in BlockSize.
IE: 2 MB Block only Double the Transaction Capacity
     8 MB Blocks would increase by 8X also   

 8)


FYI: Reference Links

https://bitcoinmagazine.com/articles/why-viabtc-rejects-segwit-soft-fork-in-favor-of-block-size-hard-fork-interview-with-haipo-yang-1479409475
Quote
Instead, the mining pool favors a hard fork to remove the one megabyte block size limit, as proposed by Bitcoin Core fork Bitcoin Unlimited.

http://www.coindesk.com/lower-bitcoin-block-time-scale/
Quote
Using data pulled from their open source simulator of a proof-of-work blockchain (bitcoin and ethereum are two such blockchains), researchers from ETH Zürich argued that bitcoin could securely reduce its block time from 10 to 1 minute.


Title: Re: Scaling Bitcoin. Is consensus achievable?
Post by: Carlton Banks on November 24, 2016, 11:47:31 AM
Yes, but Segwit increases the blocksize anyway. Which appears to be your point "blocksize needs an increase". Seems like a circular argument to me.


Title: Re: Scaling Bitcoin. Is consensus achievable?
Post by: Senor.Bla on November 24, 2016, 11:59:50 AM
i guess there are different people with different aims involved. many have invested a large sum of money and they want to make money with bitcoin so they push in the most profitable direction and that is not what is best for the technology. i would prefer to see a good solution so that bitcoin is technological in a solid position. even if this means a huge price fall. easy for me to say as i am not invested to much in it. but i think it would be the smart thing to do if you have the long perspective in mind. i do not see this happening, so a crooked compromise that still works will probably be it. still better then a couple of different bitcoin version due to forks.


Title: Re: Scaling Bitcoin. Is consensus achievable?
Post by: stdset on November 24, 2016, 12:01:34 PM
You only need ~70% of the hash to have a successful hard fork, so it is odd SegWit is pushed for more.
Hardforks don't depend on hashpower, you can hardfork off Bitcoin with 1% of hashpower, provided that your hardfork will include difficulty adjustment algo change (otherwise it will take forever to mine several hundreds of blocks for next difficulty adjustment).

If you don't care about users, who can miss your announcement, forget to upgrade their software, then indeed
A Hard Fork is no Big Deal, Schedule the update a few weeks later after the software is ready .


Title: Re: Scaling Bitcoin. Is consensus achievable?
Post by: kiklo on November 24, 2016, 12:06:23 PM
Yes, but Segwit increases the blocksize anyway. Which appears to be your point "blocksize needs an increase". Seems like a circular argument to me.

Quote
One of its many technical improvements is the ability to fit almost 2MB of transactions per block. Many estimates put the total block size, with SegWit, at about 1.7mb.

1.  2mb is higher the 1.7mb (And that is only a doubling of current transaction limits)

2. The Mining Pools have stated they are blocking segwit.
After 1 year if 95% have not updated Segwit Officially Fails

(Unless you can force the Mining Pools to update, segwit is probably not going to happen.)

Hard fork does not require 95% , only ~70% would be enough and the pools are already wanting to increase the size.
Plus Segwit and LN will fail, if the underlying BTC network can not keep up with transactions.

https://bitcoinmagazine.com/articles/here-s-how-bitcoin-s-lightning-network-could-fail-1467736127
Quote
The Lightning Network’s Failure Mode

The Lightning Network failure scenario described by Todd, takes place when a large number of people on the Bitcoin network need to settle their Lightning Network disputes on the blockchain in a relatively short period of time.

https://bitcoinmagazine.com/articles/here-s-how-bitcoin-s-lightning-network-could-fail-1467736127
“We do have a failure mode which is: Imagine a whole bunch of these [settlements] have to happen at once,” Todd explained. “There’s only so much data that can go through the bitcoin network and if we had a large number of Lightning channels get closed out very rapidly, how are we going to get them all confirmed? At some point, you run out of capacity.”

In a scenario where a large number of people need to settle their Lightning contracts on the blockchain, the price for doing so could increase substantially as the available space in bitcoin blocks becomes sparse. “At some point some people start losing out because the cost is just higher than what they can afford,” Todd said. “If you have a very large percentage of the network using Lightning, potentially this cost is very high. Potentially, we could get this mass outbreak of failure.”

No matter if SegWit & LN is activated next week, segwit will not give a 8X increase like my example, so it will likely crash within a year or two, unless the underlying structure is able to handle the load.

Example:
BTC is the Foundation of Building
SegWit , the 1st floor, and LN the Skyscraper on top of it,
If BTC crumbles because it can't handle the stress, SegWit & LN are going to come crashing down on top of it.  :P

 8)


Title: Re: Scaling Bitcoin. Is consensus achievable?
Post by: kiklo on November 24, 2016, 12:11:54 PM
You only need ~70% of the hash to have a successful hard fork, so it is odd SegWit is pushed for more.
Hardforks don't depend on hashpower, you can hardfork off Bitcoin with 1% of hashpower, provided that your hardfork will include difficulty adjustment algo change (otherwise it will take forever to mine several hundreds of blocks for next difficulty adjustment).

If you don't care about users, who can miss your announcement, forget to upgrade their software, then indeed
A Hard Fork is no Big Deal, Schedule the update a few weeks later after the software is ready .


Nope,
Reason:
It has to be close to 70% to make sure your network is still secure, otherwise the other group can 51% attack you all day and block all transactions.

Make a Big Press Release , Call the Largest Mining Pools by Phone to confirm they are ready.
Trying to make out like a hard fork is so hard is BS, it is not.
Make some phone calls, send some email, or even broadcast a alert message out to all wallets, it ain't hard.
https://bitcointalk.org/index.php?topic=898.0;all

 8)


Title: Re: Scaling Bitcoin. Is consensus achievable?
Post by: stdset on November 24, 2016, 12:16:38 PM
Example:
BTC is the Foundation of Building
SegWit , the 1st floor, and LN the Skyscraper on top of it,
If BTC crumbles because it can't handle the stress, SegWit & LN are going to come crashing down on top of it.  :P
That's why it's better to ponder the bigger blocks hardfork very well before implementing it. Bitcoin needs dynamic blocksize to be able to handle LN failure mode described in the article. There are some solutions proposed, for instance Meni Rosenfeld's (https://bitcointalk.org/index.php?topic=1078521.0).


Title: Re: Scaling Bitcoin. Is consensus achievable?
Post by: stdset on November 24, 2016, 12:31:16 PM
Nope,
Reason:
It has to be close to 70% to make sure your network is still secure, otherwise the other group can 51% attack you all day and block all transactions.
ETC is still alive despite they had maybe 10% of the prefork hashpower. Also, if your hardfork is such a minority fork, you can change PoW algo.

Make a Big Press Release , Call the Largest Mining Pools by Phone to confirm they are ready.
Trying to make out like a hard fork is so hard is BS, it is not.
Make some phone calls, send some email, or even broadcast a alert message out to all wallets, it ain't hard.
Imagine a user who doesn't follow all this mess. He turns on his client say a month after the fork to receive a payment but receives worthless original chain coins. He won't be able to spend them, unless he finds somebody as unaware as he is.


Title: Re: Scaling Bitcoin. Is consensus achievable?
Post by: kiklo on November 24, 2016, 12:44:10 PM
Nope,
Reason:
It has to be close to 70% to make sure your network is still secure, otherwise the other group can 51% attack you all day and block all transactions.
ETC is still alive despite they had maybe 10% of the prefork hashpower. Also, if your hardfork is such a minority fork, you can change PoW algo.

I doubt anyone wants to have wasted all of the money spent on ASICS.
Also for all you know they have more mining capacity of the other Algo too.
FYI: Message on Poloniex   (Safer with 70%)  ;)
ETC withdrawal and deposits are disabled due to network issues.
Posted by OldManKidd at 2016-11-24 02:04:11


Make a Big Press Release , Call the Largest Mining Pools by Phone to confirm they are ready.
Trying to make out like a hard fork is so hard is BS, it is not.
Make some phone calls, send some email, or even broadcast a alert message out to all wallets, it ain't hard.
Imagine a user who doesn't follow all this mess. He turns on his client say a month after the fork to receive a payment but receives worthless original chain coins. He won't be able to spend them, unless he finds somebody as unaware as he is.

If Miners don't keep up with the updates , that is on them, you can not hold back an entire community because one guy won't watch the news or check an email.
Otherwise we all still be living in caves.

 8)


Title: Re: Scaling Bitcoin. Is consensus achievable?
Post by: franky1 on November 24, 2016, 12:51:16 PM
firstly although segwit increases the amount of possible future BLOAT (megabytes of data) to 4mb.. the UTILITY!!!! of that bloat is not 4x capacity/scalability

what has been asked by the community is the UTILITY of the blocksize to increase.

so while core thinks 4mb is safe bloat.. then the obvious action is
2mb base 4mb weight to get proper UTILITY of the blocksize and segwit both at same time

we all know that core want 1.8mb for complete transaction data, and call that the compromise. but that 2.2mb of spare buffer will be used for arbitrary data for other features, and not lean clean transactions.

core havnt even bothered to put in rules to stop people writing messages in the transactions. meaning that 2.2mb a block could end up being filled up with crappy messages.

if core stopped with the "it takes months to announce a consensus" yet they themselves made an october announcement for a mid november pool consensus with hopes for activation by christmas!!!

now here is the trick..
go back to last years "promises" made at the scaling bitcoin. where dynamic blocks were part of the segwit plan.

that way everyone is happy
not this bait and switch
here have 4mb ... but have it as:
Xmb base Xmb weight dynamically adaptable via consensus
beginning with default of 2mb base 4mb weight for clean, lean transactions and only 0.4mb for arbitrary bloat

NOT

1mb base(limit scaling)+0.8mb witness(move signatures as 'compromise' side effect one time increase)+2.2mb arbitrary data(bloat)=4mb weight

that way everyone is happy


Title: Re: Scaling Bitcoin. Is consensus achievable?
Post by: kiklo on November 24, 2016, 12:53:52 PM
Example:
BTC is the Foundation of Building
SegWit , the 1st floor, and LN the Skyscraper on top of it,
If BTC crumbles because it can't handle the stress, SegWit & LN are going to come crashing down on top of it.  :P
That's why it's better to ponder the bigger blocks hardfork very well before implementing it. Bitcoin needs dynamic blocksize to be able to handle LN failure mode described in the article. There are some solutions proposed, for instance Meni Rosenfeld's (https://bitcointalk.org/index.php?topic=1078521.0).

Problem is not enough transactions capacity, personally I would not penalize the Miner that used the Larger Blocks, he is actually doing the network a better service.
If anyone had to be penalized , it should be the miner that only adds a few transactions , because he basically wasted the capacity of that block when the queue transactions are over 2000.

Just put a limit on the max size of the blocks, because internet bandwith and communications with other nodes is going to be a limiting factor on block size.
(Unlimited block size without unlimited Bandwith, is not going to work well.)

It is not like BTC core can't set up a testnet and test which block sizes work best with nodes of varying bandwidth to determine a maximum size limit.
(As the internet improves and demands increase , they can reevaluate at those times)

 8)


Title: Re: Scaling Bitcoin. Is consensus achievable?
Post by: stdset on November 24, 2016, 01:09:20 PM
I would not penalize the Miner that used the Larger Blocks, he is actually doing the network a better service.
It's easy to DoS your Bitcoin then, especially if you are a miner. Just send tons of transactions to yourself, pay fees to yourself, make 20 GB blocks. Bloat the chain.
it should be the miner that only adds a few transactions , because he basically wasted the capacity of that block when the queue transactions are over 2000.
What if there are just few unconfirmed transactions around? Are you going to penalize a miner who includes them in a block?


Title: Re: Scaling Bitcoin. Is consensus achievable?
Post by: stdset on November 24, 2016, 01:18:03 PM
Also for all you know they have more mining capacity of the other Algo too.
What do you mean by "the other Algo"? I know many other algos, and much more could be "invented".
If Miners don't keep up with the updates , that is on them, you can not hold back an entire community because one guy won't watch the news or check an email.
Otherwise we all still be living in caves.[/color]
I guess you mentioned miners because the original chain needs to be mined, in order for our unaware user to receive the payment. You don't need many of them however, 1 block in several hours could be enough, users need not to be technical savvy.


Title: Re: Scaling Bitcoin. Is consensus achievable?
Post by: kiklo on November 24, 2016, 01:30:01 PM
I would not penalize the Miner that used the Larger Blocks, he is actually doing the network a better service.
It's easy to DoS your Bitcoin then, especially if you are a miner. Just send tons of transactions to yourself, pay fees to yourself, make 20 GB blocks. Bloat the chain.
it should be the miner that only adds a few transactions , because he basically wasted the capacity of that block when the queue transactions are over 2000.
What if there are just few unconfirmed transactions around? Are you going to penalize a miner who includes them in a block?

That is why there should be a max cap on the size of the Block.
They need to pick a size between 2MB & 8MB for the Block size.
(You can get the same 8X increase, if you increase the block size to 8MB or increase the block size to 2 MB and decrease the Block Speed to 2.5 minutes.)
https://bitcointalk.org/index.php?topic=1691802.msg16975239#msg16975239

Chain Bloat is actually a separate issue and needs to have a separate answer.
More Transactions will take more space , no way around that.
Pruning was 1 option, for that issue. However a Running Genesis Block that dropped off the transactions that are over 7 years old would be my choice.

I think if their are over 2000 transactions in a queue and the miner only mines a block with 1 transaction, yes I would penalize him for wasting capacity,
but that is not my call and just my personal opinion.

 8)


Title: Re: Scaling Bitcoin. Is consensus achievable?
Post by: kiklo on November 24, 2016, 01:36:30 PM
Also for all you know they have more mining capacity of the other Algo too.
What do you mean by "the other Algo"? I know many other algos, and much more could be "invented".
If Miners don't keep up with the updates , that is on them, you can not hold back an entire community because one guy won't watch the news or check an email.
Otherwise we all still be living in caves.[/color]
I guess you mentioned miners because the original chain needs to be mined, in order for our unaware user to receive the payment. You don't need many of them however, 1 block in several hours could be enough, users need not to be technical savvy.

Whatever Algo you come up with Scrypt, or X15 , odds are the Chinese (Largest Manufacturing Industry in the world) will be able to make more cheaper.
The only thing they can't dominate is Proof of Stake, which is why Theymos was trying to get a DPoS added to BTC PoW.

Majority of BTC users are letting someone else maintain their BTC wallets, the few that don't , will not lose anything if they are not mining.
(They will update when their old wallet does not work.)
If they are mining they should be keeping up with Github and BTC core.

 8)

FYI:
One Point to be clear on, if the Chinese Mining Pools refuse to update, since they have over 51% of the BTC mining,
No Changes can happen unless they agree to it. So no mater what we or BTC core decides , the final decision will be theirs to make.
Which is why Segwit will most likely fail unless they change their minds to support it.

Correction: There is one way to take the Choice away from the Mining Pools,
a Hard Fork to a completely 100% Proof of Stake coin, this puts the power directly in the hands of the coin owners and not the ASICS Owners.
Doubtful a PoW mining coin community would do that.



Title: Re: Scaling Bitcoin. Is consensus achievable?
Post by: stdset on November 24, 2016, 02:37:33 PM
I think if their are over 2000 transactions in a queue and the miner only mines a block with 1 transaction, yes I would penalize him for wasting capacity,
but that is not my call and just my personal opinion.
You need to prove blockchainwise that the transactions were broadcasted before the block was mined. Additionally, what if our miner had network outage and didn't receive some transactions? I can't see how such penalizing system could be set up.

Majority of BTC users are letting someone else maintain their BTC wallets, the few that don't , will not lose anything if they are not mining.
(They will update when their old wallet does not work.)
How technical unsavvy user can tell whether his wallet works or not? Also, in the case of hardfork it's likely that there will remain at least several old nodes running worldwide, they will still function as if there was no fork, except new blocks will be very rarely found. Also, given present degree of discord, I would expect that there will remain may be small but frenetic group of original chain supporters.


Title: Re: Scaling Bitcoin. Is consensus achievable?
Post by: stdset on November 24, 2016, 03:11:30 PM
More Transactions will take more space , no way around that.
LN
That is why there should be a max cap on the size of the Block.
With a hard cap and LN running over your chain, your coin is always prone to scenario described in the article you mentioned. Doesn't matter how big your blocks are: 2, 8 or even 20 MB, if Bitcoin goes mainstream, there could be an equilibrium when blocks are mostly full, say they are 90% full on average. Then, if too many LN channels will need to be closed simultaneously It will lead to failure, as described in the article. Blocksize needs to be dynamic. Blocks need to be stretchable, so that the chain is able to digest such sudden influx of transactions.
That's unless you imply there is a mechanism to keep your hard capped blocks half-empty most of time, in which case we are talking about more or less the same thing.


Title: Re: Scaling Bitcoin. Is consensus achievable?
Post by: Kprawn on November 24, 2016, 04:55:06 PM
Have you considered that the " 60000/50MB unconfirmed transactions " have been artificially been created by someone to rush the

decision? We have seen this before, with the Core/XT battle. People spam the Blockchain over time, to create the perception that there

are a congestion problem. It costs them a ton of money, but they do these supposed "stress tests" any way.  ::) ... Smoke & Mirrors

..  :P


Title: Re: Scaling Bitcoin. Is consensus achievable?
Post by: DannyHamilton on November 24, 2016, 05:23:03 PM
This stopped being a technical battle (and became a political battle) long ago.  At this point, it sure seems like consensus is impossible, at least until someone comes along that can change the conversation.  As long as there are a significant number of people on either side that feel like they've "failed" if the "other side gets what they want", consensus will be impossible (as there will be a significant number of people that will try to outlast the "other side" and force them to give up).

"Do it my way, or I'll destroy us both" can be a very effective strategy if one side is significantly more committed to their beliefs and would rather have the whole thing come tumbling down than let "the other guy win".  But if both sides have enough people that feel that way, the end result can be stagnation for a VERY long time.

For that matter, it is entirely possible that there is an influential group of individuals that want bitcoin to fail and believe they can eventually crash the value of bitcoin by holding out against BOTH sides.


Title: Re: Scaling Bitcoin. Is consensus achievable?
Post by: Meuh6879 on November 24, 2016, 05:28:01 PM
Isn't it time now to listen to each other, understand and come to a compromise?

You don't work on full node, isn't it ?

http://imagizer.imageshack.us/a/img922/7170/LIDiTB.gif

No compromise.
Bitcoin network is made to work at home.
It's a decentralized network.
Miners are not the network.

If professionnal want a lightining network, they must build their server over the Bitcoin timelined blockchain.
With Segwit hub.




Bandwidth, time and ... storage.
http://imagizer.imageshack.us/a/img922/9319/37Sem5.jpg
Remember ... ?


Title: Re: Scaling Bitcoin. Is consensus achievable?
Post by: Quickseller on November 24, 2016, 06:21:34 PM
IMO:
1) [...]Contentious hardfork isn't an option it would be disastrous.
The more I think about this, the more I disagree with this statement.

For the most part, Bitcoin related companies will adopt whatever the network adopts. Even if a Bitcoin related company does not actively wish for a particular change to the protocol, if there is a significant enough chance that a change will be made, then the Bitcoin related companies will prepare to accept such changes. If a change to the protocol is made and a Bitcoin company is not prepared, then such companies will be unable to use Bitcoin until they can adopt to the new protocol, and miss out on potential business in the meantime.

I suspect that the majority of Bitcoin related companies wish to stay neutral in the scaling debate, and will not have a strong opinion one way or another, or at least not a strong public opinion.

As we saw with the ETH HF, many exchanges will likely support both branches of a HF to allow them to reap additional trading fees for trades between the two branches. There are however certain technical aspects of Bitcoin that will likely result in the failure of a minority branch of a HF that does not exist with ETH -- long difficulty recalculation time, long block maturity, and currently full blocks.

Also, I do not think that I have seen any Bitcoin related company (with the exception of blockstream) that opposed any of the major HF proposals (XT/classic/BU/ect.) -- the only *real* opposition to any of XT/classic/Bu that I have seen has been from blockstream, and their employees, and the majority of the Bitcoin economy did show their support for XT (via their support for BIP101).


Title: Re: Scaling Bitcoin. Is consensus achievable?
Post by: Carlton Banks on November 24, 2016, 06:39:34 PM
I suspect that the majority of Bitcoin related companies wish to stay neutral in the scaling debate, and will not have a strong opinion one way or another, or at least not a strong public opinion.

What, the same way that Xapo, Coinbase, Circle, Bitpay and all the other bankster affiliated companies pushed as hard as they could for XT and Classic? Please ::)


As we saw with the ETH HF, many exchanges will likely support both branches of a HF to allow them to reap additional trading fees for trades between the two branches. There are however certain technical aspects of Bitcoin that will likely result in the failure of a minority branch of a HF that does not exist with ETH -- long difficulty recalculation time, long block maturity, and currently full blocks.

How is that in any way relevant? The Ethereum hardfork(s) didn't program the fork in a way that literally commandeers the whole ETH network. Classic, XT and BU all programmed their fork in an "all or nothing" fashion. Your point is pointless.

also, I do not think that I have seen any Bitcoin related company (with the exception of blockstream) that opposed any of the major HF proposals (XT/classic/BU/ect.) -- the only *real* opposition to any of XT/classic/Bu that I have seen has been from blockstream, and their employees, and the majority of the Bitcoin economy did show their support for XT (via their support for BIP101).

You're absolutely full of it.

If support from real Bitcoin users was in favour of BIP101, then what happened? And if real people don't support the Bitcoin Core roadmap, how is it that Bitcoin Core consistently gets such overwhelming adoption when a new version is released, and when these so-called "user supported" forks are released, they get overwhelmingly drubbed?


You're a liar, Quickseller, as has been pointed out on many occasions by others


Title: Re: Scaling Bitcoin. Is consensus achievable?
Post by: franky1 on November 24, 2016, 07:49:24 PM
seems someone is mentioning the bankers and XT, classic and blockstream

hmm..

https://i.imgur.com/uKwkIk5.png
hint: "bait and switch"

i require no interaction from that person nor response. i will just leave this here for anyone to work out in their own time what it is hinting

i will just mention that tarring BU with the same brush is a bit pathetic right now. because strange as it is. its actually been blockstream, employee's and fans that have been demanding BU fork off.

if only people learn what consensus meant. they would understand the debate better.


Title: Re: Scaling Bitcoin. Is consensus achievable?
Post by: stdset on November 24, 2016, 10:23:52 PM
This stopped being a technical battle (and became a political battle) long ago.
We live in a profit driven world, and politics is no exception. So what profit, if any, could big blockists derive from blocking segwit?
What profit could core team derive from insisting on segwit acceptance without increasing blocksize?

Who can profit from deadlocking Bitcoin community in current state?
And (a rhetorical question) how many orders of magnitude of profit (how many zeros) could all parties gain from resolving this dispute one way or another?


Title: Re: Scaling Bitcoin. Is consensus achievable?
Post by: franky1 on November 24, 2016, 10:51:54 PM

What profit could core team derive from insisting on segwit acceptance without increasing blocksize?

Who can profit from deadlocking Bitcoin community in current state?
And (a rhetorical question) how many orders of magnitude of profit (how many zeros) could all parties gain from resolving this dispute one way or another?

segwit is to push for offchain, which is where LN hubs (bank2.0) make profit from permission transactions (hub dual-authorises with customer and takes a fee for the privilege)

those coding LN are already conceptualising a 0.0006($4+) prepay buyin/deposit just to use LN to ensure the hub gets paid. even if the customers dont use it theres a penalty fee, if the customer closes channel early theres a penalty fee.

all explained here (cant be bothered to repeat it all)
https://bitcointalk.org/index.php?topic=1686040.msg16925401#msg16925401
basically $4 buyin and only works out cheaper if in a 10day lockin the user does hundreds-thousands of transactions


Title: Re: Scaling Bitcoin. Is consensus achievable?
Post by: kiklo on November 25, 2016, 01:31:26 AM
After closer look at LN,

LN is Offchain Transactions ,

Whether anyone believes it or not , LN will open the door to Fractional Reserve Banking with BTC.
Not at 1st , LN will not dare use FRB in the beginning , however as time progress and their use grows, it will become too temping to resist.

They will monitor the network and calculate how many BTC are kept off the blockchain at a given time
to come to a ratio like LN holds 3 Fake BTC verses 1 real BTC or even a dynamic ratio that changes with market conditions.

Looks like Snidely Whiplash has made his inroads into BTC with LN.  :P
https://encrypted-tbn3.gstatic.com/images?q=tbn:ANd9GcTuJqaLDbM9LZSbvUzlcPrzHi5TqwUNBbQDACH7bFqLFZWAdr345g

Sidenote:
LN could increase the fees needed to go on the block chain as a way, to make sure the majority never cause a Bank Run.
Quote
A bank run (also known as a run on the bank) occurs when, in a fractional-reserve banking system (where banks normally only keep a small proportion of their assets as cash), a large number of customers withdraw cash from deposit accounts with a financial institution at the same time because they believe that the financial institution is, or might become, insolvent; and keep the cash or transfer into other assets, such as government bonds, precious metals or stones. When they transfer funds to another institution it may be characterised as a capital flight. As a bank run progresses, it generates its own momentum: as more people withdraw cash, the likelihood of default increases, triggering further withdrawals. This can destabilize the bank to the point where it runs out of cash and thus faces sudden bankruptcy.[1] To combat a bank run, a bank may limit how much cash each customer may withdraw, suspend withdrawals altogether, or promptly acquire more cash from other banks or from the central bank, besides other measures.

A Bank Run on BTC as it is now is impossible because their is no fractional reserves, everyone owns the full amount of their balance.
With LN , a bank run in the future becomes a real possibility.

BTC was an escape from fractional reserve banking, LN will end that.  :P


 8)


Title: Re: Scaling Bitcoin. Is consensus achievable?
Post by: DannyHamilton on November 25, 2016, 01:39:54 AM
We live in a profit driven world, and politics is no exception.

Sometimes it seems like it.  However, we live in a world full of humans, and unfortunately humans are very good at making financially horrible decisions for emotional reasons.  I see it happen all the time.


Title: Re: Scaling Bitcoin. Is consensus achievable?
Post by: stdset on November 25, 2016, 07:50:26 AM
Whether anyone believes it or not , LN will open the door to Fractional Reserve Banking with BTC.
I don't see any relation between LN and fractional reserve banking. What prevents fractional reserve banking from working with plain old BTC?
Let's consider a simple example, tomorrow you open a Fractional Reserve Bank which borrows and lends BTC. You don't use LN. To attract investors you offer them a small interest.
Say Alice lends 100 BTC to your bank. The next day you lend that 100 BTC to Bob, who spends them to buy something from Carol. Carol in turn lends that 100 BTC to your bank again. Another day Dave borrows the same 100 BTC from your bank and buys something from Eve, who again lends them to your bank. Now you have 300 BTC of liabilities but you have priv keys to only 100 BTC. If for example Alice decides to close her deposit ahead of time, you will be able to pay her, but if Carol or Eve decides to do the same, and your debtors didn't yet return most of their debt you are bankrupt.


Title: Re: Scaling Bitcoin. Is consensus achievable?
Post by: kiklo on November 25, 2016, 08:38:09 AM
Here you go.   :)

Others have also made this connection.
https://www.reddit.com/r/Bitcoin/comments/56ehi1/fractional_reserve_on_lightning_network/
Quote
But if the LN is deployed, it will almost certainly be based on a small number of big hubs.
These big hubs could mutiply the money in circulation in the same way that banks multiply the amount of dollar bills.
Namely, they would start issuing bitcoin IOUs and lend them to people, backed by a fractional reserve of bitcoins.
That is, the hub has 1000 actual BTC, but issues IOUs worth 5000 BTC.

The hubs would extend the LN protocol to let clients use those IOUs for payments (much as people today use checks and bank wires as equivalent alternatives to cash).
Clients would even be able to redeem the IOUs for real BTC; the hubs would be betting that only a small fraction of the clients would redeem at the same time.

https://lists.linuxfoundation.org/pipermail/lightning-dev/2015-December/000400.html
Quote
If we could lower the capital requirement, we'd lower the barrier for
people wishing to run a Lightning Network node.

Here are some thoughts:
   - The trust-based system you're proposing looks like a
   fractional-reserve banking system.
   - Such fractional-reserve hubs will provide lower transaction fees
   (because of lower capital requirements) — so the idea is worth pursuing.

http://www.wallstreettechnologist.com/2016/10/03/lightning-network-will-it-save-bitcoin-or-break-it/
Quote
for instance, if you are a large hub, with lots of capital but with many many connections to individual users and businesses, this means that everyone would want to route payments through you because less hops means less fees. If you had to open up channels by putting matching amounts of your money in with every other user, then this would be a limiting factor. (as you would have to have 100% reserve amounts for all your channels) and inefficient as a whole as the network would require 2 dollars locked up in order to send every 1 dollar.

Instead you only open up channels where the depositor puts in funds. The hub then credits their account balance with that amount. When they are paid money by other parties, the hub just increases the balance by that amount, they don’t actually move the money through a LN channel. This can be done as long as the payee is also another client of the same hub. When a client wants to withdraw, only then do they open up a withdraw LN channel to the client which they can pull money back out. This way the hub only locks up their own funds only when clients withdraw, which most of the time, will be minimal as long as people continue to use the same hub.

When a hub grows large enough, it will start opening bidirectional channels to other large hubs. If they trust each other enough, then they start crediting each other in IOUs instead of real payment channels.
You can end up with a fractional banking system existing as long as hubs trust each other to make good on their promises to pay each other back, and no crisis of confidence happens that causes a bank run.

 8)

FYI:
If you open a bank , everyone knows you are doing a fractional, BTC was created to get away from those shenanigans, and defaults that occurs
because of the way fractional reserves operate.  At some point their will be a bank run, it is never an if , but a when.
Latest example of fractional reserves in Crypto was Cryptsy and you see how well that worked out.  :P

FYI2:   http://www.zerohedge.com/news/2015-11-23/fractional-reserve-banking-pure-fraud-part-i
Quote
This is a commentary which should never have needed to be written.
What is euphemistically called “fractional-reserve banking” is obvious fraud, and obvious crime.
By its very definition, it transforms the banking sector of an economy into a leveraged Ponzi-scheme, and as with all Ponzi-schemes, there is no possible “happy ending” here.
Quote
Fractional-reserve banking evolved literally based upon the temptation of all bankers to perpetrate fraud.
Empirically it has always been observed, down through the centuries, that under normal circumstances, only a tiny percentage of depositors will come to claim their cash/wealth at any one time.
Thus the temptation is for bankers to “lend” more funds than they actually possess, i.e. they are “lending” what does not even exist: “fractional-reserve banking” – the ultimate euphemism of banking and fraud.

It goes without saying that anyone or any entity which endeavours to “lend” something which does not exist is perpetrating fraud.
But before examining this inherent fraud more closely, it is important to back-up, and look at the Law.
Note that even when banks “lend” the money which they actually do hold on deposit (as trustees for the depositors) that this is already wholly/totally illegal.
It is the crime known as“conversion”.

Criminal conversion:
A person who knowingly or intentionally exerts unauthorized control over property of another person commits criminal conversion.

When your bank lends-out money you deposited, which it claims to be “holding” for you as trustee, does it seek your prior authorization before lending-out your property and thus putting it at risk? Of course not. The banks get around the naked criminality of their lending operations through general authorization. In the small-print of any/all bank deposit contracts is a clause whereby the depositor “authorizes” the bank to lend-out their property to Third Parties.


Title: Re: Scaling Bitcoin. Is consensus achievable?
Post by: stdset on November 25, 2016, 08:55:30 AM
But if the LN is deployed, it will almost certainly be based on a small number of big hubs.
These big hubs could mutiply the money in circulation in the same way that banks multiply the amount of dollar bills.
Namely, they would start issuing bitcoin IOUs and lend them to people, backed by a fractional reserve of bitcoins.
That is, the hub has 1000 actual BTC, but issues IOUs worth 5000 BTC.

The hubs would extend the LN protocol to let clients use those IOUs for payments (much as people today use checks and bank wires as equivalent alternatives to cash).
Clients would even be able to redeem the IOUs for real BTC; the hubs would be betting that only a small fraction of the clients would redeem at the same time.

Elaborate please. How exactly a hub could start issuing IOUs on LN? Don't be afraid to go deep in technical details. Your links lead to questions from technical unsavvy users, which are afraid of LN because they don't understand how it works.


Title: Re: Scaling Bitcoin. Is consensus achievable?
Post by: kiklo on November 25, 2016, 09:10:04 AM
But if the LN is deployed, it will almost certainly be based on a small number of big hubs.
These big hubs could mutiply the money in circulation in the same way that banks multiply the amount of dollar bills.
Namely, they would start issuing bitcoin IOUs and lend them to people, backed by a fractional reserve of bitcoins.
That is, the hub has 1000 actual BTC, but issues IOUs worth 5000 BTC.

The hubs would extend the LN protocol to let clients use those IOUs for payments (much as people today use checks and bank wires as equivalent alternatives to cash).
Clients would even be able to redeem the IOUs for real BTC; the hubs would be betting that only a small fraction of the clients would redeem at the same time.

Elaborate please. How exactly a hub could start issuing IOUs on LN? Don't be afraid to go deep in technical details. Your links lead to questions from technical unsavvy users, which are afraid of LN because they don't understand how it works.

You Do understand that LN is offchain?
So whatever tokens is transferred around on LN is not really BTC.

 8)

FYI:
https://lightning.network/lightning-network-summary.pdf
Quote
Scalability.
The bitcoin network will need to support orders of magnitude higher transaction volume to meet demand
from automated payments. The coming increase in internet-connected devices needs a platform for
machine-to-machine payments and automated micropayment services.
Lightning Network transactions are conducted off the blockchain without delegation of trust and ownership, allowing users to conduct nearly unlimited transactions
between other devices


Title: Re: Scaling Bitcoin. Is consensus achievable?
Post by: stdset on November 25, 2016, 09:24:19 AM
You Do understand that LN is offchain?
So whatever tokens is transferred around on LN is not really BTC.
Do you understand, that micropayment channels of which LN consists are opened by broadcasting an onchain transaction that locks BTC in the channel? So BTC transfered over LN are very real.
Moreover, LN requires users to freeze a lot of funds in channels. To be able to use a channel one needs to freeze much greater amount of funds than each payment. Therefore it's quite the opposite to fractional reserve banking.


Title: Re: Scaling Bitcoin. Is consensus achievable?
Post by: kiklo on November 25, 2016, 09:32:02 AM
You Do understand that LN is offchain?
So whatever tokens is transferred around on LN is not really BTC.
Do you understand, that micropayment channels of which LN consists are opened by broadcasting an onchain transaction that locks BTC in the channel? So BTC transfered over LN are very real.
Moreover, LN requires users to freeze a lot of funds in channels. To be able to use a channel one needs to freeze much greater amount of funds than each payment. Therefore it's quite the opposite to fractional reserve banking.

Geez ,

Freeze 1 BTC and Loan out 5 Fake BTC on the LN network.
(Funny everyone in all of those articles can see it but you can't, maybe you should remove those rose colored glasses.)

No it is exactly like fractional reserve banking when we were on the gold standard.
Cash was directly exchangeable at any bank for gold in the 1920s.
Banks used to have to keep a little gold on hand to pay out the very few that asked for it.
Updated for our time
LN=Bank
LN Token=Cash
BTC=Gold

Same game just a new batch of dumb asses to fall for it.  ;)

 8)

FYI:
Quote
So BTC transfered over LN are very real.

LMFAO,  :D  I don't think so ,
those BTC that are frozen on the Active BlockChain are Real, that Crap on the LN Offchain network are LN tokens only.




Title: Re: Scaling Bitcoin. Is consensus achievable?
Post by: stdset on November 25, 2016, 11:21:44 PM
Geez ,
Not Jeez, but FSM. It's only FSM who can freely issue IOUs on LN. And not only that, FSM can also instantly derive private keys from public ones, calculate preimages of any hashes and so on. So better start to worship FSM, before it's too late.

Now seriously. Not only you don't understand how LN is supposed to work. It's OK to not understand it. Even among cryptocurrency enthusiasts most people don't understand it.
But do you believe that so many people (including cryptocurrency experts) are so stupid, that they can't distinguish IOUs from BTC?
Why do you think system so complex, that you can't even understand it, needed, if the purpose is just to exchange IOUs?

I recommend you reading this article (https://bitcoinmagazine.com/articles/understanding-the-lightning-network-part-building-a-bidirectional-payment-channel-1464710791). BTW I always enjoy reading Aaron van Wirdum's articles, he's a great author.

And here is my description of bidirectional micropayment channel. LN works over these channels.
For those who prefer not to puzzle over what is written below, here's a short summary. LN transactions transfer knowledge necessary to redistribute funds locked in multisinature outputs. It's important: bitcoins are first locked and only after that they can be transacted over LN. It even would be wrong to say that LN bitcoins are "backed" 1to1 by real bitcoins, because LN bitcoins are the same bitcoins that everybody transacts today onchain.

Quote
Bidirectional payment channel.

Opening the channel.
1) Alice and Bob create transaction tx1 which sends 5 BTC from Alice and 5 BTC from Bob to a multisignature 2of2 output o1, neither party signs this transaction yet.
2) Alice and Bob create secrets Sa and Sb, and exchange hashes of those secrets (Ha and Hb): Ha goes to Bob, Hb goes to Alice. Alice and Bob will need those hashes to create transactions tx2 and tx3 at steps 3 and 4.
3) Alice creates transaction tx2 which spends o1 and creates 2 new outputs: 5 BTC go Alice (o2), 5 BTC go to output o3, which can be spent in 2 different ways: a) Bob can spend it himself, but only after significant timeout of say 1000 blocks; b) Alice can spend it herself, but only if she provides preimage of Hb i.e. Sb. Alice signs tx2 and sends it to Bob.
4) Bob creates transaction tx3 which spends o1 and creates 2 new outputs: 5 BTC go to Bob (o4), 5 BTC go to output o5, which can be spent in 2 different ways: a) Alice can spend it herself, but only after significant timeout of say 1000 blocks; b) Bob can spend it himself, but only if he provides preimage of Ha i.e. Sa. Bob signs tx3 and sends it to Alice.
5) tx1 is signed, broadcast and confirmed.
The channel now is considered open. 5 BTC from Alice and 5 BTC from Bob are now locked in output o1. Both parties however are safe. If Alice disappears, Bob only needs to sign and broadcast tx2 (Alice already signed it), then wait some time, and get his refund from o3. If Bob disappears, Alice can do the same thanks to tx3. Under normal circumstances tx2 and tx3 aren’t broadcast.


Updating the channel (conducting payments).
1) Alice wants to pay 1 BTC to Bob. Both parties create new secrets S2a, S2b, and exchange hashes of those secrets: H2a and H2b.
2) Alice creates transaction tx4 which spends o1 new way: 4 BTC go to Alice (o6), 6 BTC go to output o7, which can be spent in 2 different ways: a) Bob can spend it himself, but only after significant timeout of say 1000 blocks; b) Alice can spend it herself, but only if she provides preimage of H2b i.e. S2b. Alice signs tx4 and sends it to Bob.
3) Bob creates transaction tx5 which spends o1 similar way to tx4: 6 BTC go to Bob (o8), 4 BTC to output o9, which can be spent in 2 different ways: a) Alice can spend it herself, but only after significant timeout of say 1000 blocks; b) Bob can spend it himself, but only if he provides preimage of H2a i.e. S2a. Bob signs tx5 and sends it to Alice.
4) Alice sends Sa to Bob.
5) Bob sends Sb to Alice.
Now the channel is updated. If either party disappears, remaining party will receive his/her refund thanks to tx4 or tx5. But what prevents Alice from broadcasting tx3 which indirectly pays her 5 BTC, instead of her current share of 4 BTC? Tx3 doesn’t immediately pay 5 BTC to Alice, it immediately pays 5 BTC to Bob and creates o5 which Alice can redeem only after waiting 1000 blocks. But Bob now has Sa, and if he sees tx3 on the chain, he can immediately spend o5, because now he possesses Sa, thus taking all 10 BTC from the channel. Please note, that despite tx3 was created by Bob, his version of this transaction lacks Alice’s signature. Normally only tx1 is broadcast yet. This way the channel can be updated many times. After each update, only the last pair of transactions can be safely broadcast to close the channel and receive proper share of channel funds, because all previous secrets are known to respective counterparties.


Closing the channel.
Both parties know, that they can’t cheat each other. So when they decide to close the channel, one of them (let it be Alice) creates a transaction that spends o1 according to the latest state of the channel, signs it, and sends to Bob. He checks that funds are split fairly, signs it and broadcasts it. This transaction is the second and the last to hit the chain, for the whole lifetime of the channel.
LN adds a third output to intermediate transactions like tx3, tx4, but gist remains the same: transactions transfer knowledge necessary to redistribute funds locked in multisignature outputs created when channels are opened.

It's a good exercise to think what would happen if either party starts to misbehave at any step. If you find any flaw in my description of the protocol, let's discuss it.


Title: Re: Scaling Bitcoin. Is consensus achievable?
Post by: kiklo on November 26, 2016, 12:58:22 AM
Now seriously. Not only you don't understand how LN is supposed to work. It's OK to not understand it. Even among cryptocurrency enthusiasts most people don't understand it.
But do you believe that so many people (including cryptocurrency experts) are so stupid, that they can't distinguish IOUs from BTC?


If you use LN and think it is anything more than a representative trade value of BTC / IOU for BTC, then you are stupid.  ;)

Let me put it this way , the BTC network itself is an energy waster due to ASICS,
if your Delusion was true , then why don't we just shut down the entire BTC network and move all of the BTC to LN and only use LN for everything.
That way we don't even need the miners.

Reason why that won't happen.
1.  BTC never actually leaves the blockchain, (Notice they use the word Frozen or Locked On the blockchain)
2.  BTC design makes sure no one can counterfeit coins or run a fractional reserve from the BlockChain.
3.  LN network design requires that you trust their network, not to counterfeit coins and not to work as a fractional reserve
4.  If we could trust everyone then we would not need BTC, but sadly enough people are untrustworthy that they will take advantage of others.

LN=Bank
Wishin & Hopin & Prayin it is not true , won't make a difference.
Sorry no way around it.

 8)


Title: Re: Scaling Bitcoin. Is consensus achievable?
Post by: stdset on November 26, 2016, 04:31:53 PM
if your Delusion was true , then why don't we just shut down the entire BTC network and move all of the BTC to LN and only use LN for everything.
It's clear from the protocol which you apparently don't even try reading, that LN needs onchain transactions, it can't work without them. Normally each channel produces 2 onchain transactions during it's whole lifetime.


Title: Re: Scaling Bitcoin. Is consensus achievable?
Post by: franky1 on November 26, 2016, 04:52:31 PM
if your Delusion was true , then why don't we just shut down the entire BTC network and move all of the BTC to LN and only use LN for everything.
It's clear from the protocol which you apparently don't even try reading, that LN needs onchain transactions, it can't work without them. Normally each channel produces 2 onchain transactions during it's whole lifetime.

yes LN needs bitcoins mainnet. and we should increase transaction capacity ONCHAIN due to that need.

however if you read the stuff core and LN devs are saying. they are overselling LN as a system where channels never need to close.
which brings up the issues/concerns. about immutability, trust, permissioned transactions, loss of bitcoins ethos.

if we went with LN's rhetoric of never needing to close channels.. then bitcoins mainnet is never needed once funds are deposited.
can you atleast see the twisting of mindsets about the importance of bitcoins mainnet.

rationally LN should regularly close channels. thus ONCHAIN capacity IS important. aswell as the security of users funds


Title: Re: Scaling Bitcoin. Is consensus achievable?
Post by: Carlton Banks on November 26, 2016, 04:54:08 PM
If you use LN and think it is anything more than a representative trade value of BTC / IOU for BTC, then you are stupid.  ;)

Let me put it this way , the BTC network itself is an energy waster due to ASICS,
if your Delusion was true , then why don't we just shut down the entire BTC network and move all of the BTC to LN and only use LN for everything.
That way we don't even need the miners.

Reason why that won't happen.
1.  BTC never actually leaves the blockchain, (Notice they use the word Frozen or Locked On the blockchain)
2.  BTC design makes sure no one can counterfeit coins or run a fractional reserve from the BlockChain.
3.  LN network design requires that you trust their network, not to counterfeit coins and not to work as a fractional reserve
4.  If we could trust everyone then we would not need BTC, but sadly enough people are untrustworthy that they will take advantage of others.

LN=Bank
Wishin & Hopin & Prayin it is not true , won't make a difference.
Sorry no way around it.

There's a problem with your argument. Do you know what it is?


Title: Re: Scaling Bitcoin. Is consensus achievable?
Post by: kiklo on November 26, 2016, 07:38:56 PM

There's a problem with your argument. Do you know what it is?

This should be good , show off that imagined superiority complex you got going for you.  ;)
Waiting to be dazzled.

http://www.animated-gifs.eu/category_miscellaneous/phone-320x480/0182.gif

 8)


Title: Re: Scaling Bitcoin. Is consensus achievable?
Post by: Meuh6879 on November 26, 2016, 08:03:51 PM
LN is Offchain Transactions ,

Whether anyone believes it or not , LN will open the door to Fractional Reserve Banking with BTC.

You can not use BTC not confirmed on LN.

It's not a fractionnal Reserve Banking, because ... at the end of the 10 minutes or LESS, all transactions (with 0-null movment) must be forward to the Bitcoin regular network.

If you have move 100 time your BTC in the LN and lost 10% = at the end of the 10 minutes, you LOOSE 10% on the Bitcoin network.

That's why the Fees of LN is not cheap (for the LN provider) ... because the LN must be withdrawn at the end with the most priority.


Title: Re: Scaling Bitcoin. Is consensus achievable?
Post by: kiklo on November 26, 2016, 08:05:18 PM
if your Delusion was true , then why don't we just shut down the entire BTC network and move all of the BTC to LN and only use LN for everything.
It's clear from the protocol which you apparently don't even try reading, that LN needs onchain transactions, it can't work without them. Normally each channel produces 2 onchain transactions during it's whole lifetime.

Hey, I speed read it like everyone else, but I paid attention to the keywords that make the difference.
Example : OFFCHAIN,
you ignore this word and its definition during all of your conjecture.

By its very definition LN is a OFFCHAIN payment channel.
It has to be ONCHAIN, in order for the BTC to truly move across it, which means all BTC value on LN is a representation of a BTC not an actual BTC,
no other explanation should be needed.  :)

Quote
then why don't we just shut down the entire BTC network and move all of the BTC to LN and only use LN for everything.

You do realized, I made this as a sarcastic statement, so you would see BTC does not really move to the LN network.  :P

 8)


Title: Re: Scaling Bitcoin. Is consensus achievable?
Post by: kiklo on November 26, 2016, 08:38:18 PM
LN is Offchain Transactions ,

Whether anyone believes it or not , LN will open the door to Fractional Reserve Banking with BTC.

You can not use BTC not confirmed on LN.

It's not a fractionnal Reserve Banking, because ... at the end of the 10 minutes or LESS, all transactions (with 0-null movment) must be forward to the Bitcoin regular network.

If you have move 100 time your BTC in the LN and lost 10% = at the end of the 10 minutes, you LOOSE 10% on the Bitcoin network.

That's why the Fees of LN is not cheap (for the LN provider) ... because the LN must be withdrawn at the end with the most priority.

OK, you really don't understand LN or English is not your 1st language.
Post some links to any article that agrees with your statement, it might help me understand what you are trying to say.

Because as it is:
Quote
You can not use BTC not confirmed on LN.
While on-chain transactions require confirmations before they’re considered secure, transactions on the Lightning Network are essentially settled instantly.

Quote
It's not a fractionnal Reserve Banking, because ... at the end of the 10 minutes or LESS, all transactions (with 0-null movment) must be forward to the Bitcoin regular network.
Sorry, this makes no sense, try a link to an article so I can understand what you are trying to say.
Especially considering :https://lists.linuxfoundation.org/pipermail/lightning-dev/2015-December/000400.html
Quote
If we could lower the capital requirement, we'd lower the barrier for
people wishing to run a Lightning Network node.

Here are some thoughts:
   - The trust-based system you're proposing looks like a
   fractional-reserve banking system.
   - Such fractional-reserve hubs will provide lower transaction fees
   (because of lower capital requirements) — so the idea is worth pursuing.


Quote
That's why the Fees of LN is not cheap (for the LN provider) ... because the LN must be withdrawn at the end with the most priority.

The LN Devs stated the following
When estimating the costs of using the Lightning Network, Poon went as far as to say, “The fees people are going to charge are going to be effectively near zero.


 8)


Title: Re: Scaling Bitcoin. Is consensus achievable?
Post by: Carlton Banks on November 26, 2016, 08:46:58 PM

There's a problem with your argument. Do you know what it is?

This should be good , show off that imagined superiority complex you got going for you.  ;)
Waiting to be dazzled.

Here it is: what if people reading your posts actually go out and research and understand the Lightning Network? They're going to realise you're talking out of your ass.


Title: Re: Scaling Bitcoin. Is consensus achievable?
Post by: kiklo on November 26, 2016, 09:04:30 PM

There's a problem with your argument. Do you know what it is?

This should be good , show off that imagined superiority complex you got going for you.  ;)
Waiting to be dazzled.

Here it is: what if people reading your posts actually go out and research and understand the Lightning Network? They're going to realise you're talking out of your ass.

Man, how long did you have to try and sharpen that Dull Wit of yours to come up with that one.  :D

Notice when you post , it is nothing but your empty arrogance.   ;)

When I post , if you bothered to look, I post reference links to articles , some of which are interviews with LN devs themselves.

Again:
http://ct.fra.bz/ol/fz/sw/i59/2/7/12/frabz-Youve-been-weighed-Youve-been-measured-And-you-have-been-found-w-6b14d0.jpg

 8)


Title: Re: Scaling Bitcoin. Is consensus achievable?
Post by: Carlton Banks on November 26, 2016, 09:17:23 PM
My post was a great deal more factual than what you're spouting, and that was my intention, because you are talking nonsense. I notice that you're trying to be witty, however. With your Game of Thrones memes.


Title: Re: Scaling Bitcoin. Is consensus achievable?
Post by: kiklo on November 26, 2016, 10:22:59 PM
My post was a great deal more factual than what you're spouting, and that was my intention, because you are talking nonsense. I notice that you're trying to be witty, however. With your Game of Thrones memes.

Hmm, no reference links to support your Empty arguments,
Sorry the more factual is in your imagination only.  ;)

LOL,
You are even Wrong about the memes.  :D
That picture is from the SyFy series https://en.wikipedia.org/wiki/Defiance_(TV_series) .

 8)

FYI:
One thing to be proud of , is you are Consistent ,
Consistently Wrong!  :D


Title: Re: Scaling Bitcoin. Is consensus achievable?
Post by: Carlton Banks on November 26, 2016, 10:29:40 PM
rofl'ing, hard. Of course I don't know what ridiculous television memes you use, that was the purpose of the comment :D I've never even seen Game of Thrones, "do you watch game of Thrones" typically elicits my response "I'll be right back..."



              ------------------> The Point

              kiklo's head


Title: Re: Scaling Bitcoin. Is consensus achievable?
Post by: kiklo on November 26, 2016, 10:36:07 PM
rofl'ing, hard. Of course I don't know what ridiculous television memes you use, that was the purpose of the comment :D I've never even seen Game of Thrones, "do you watch game of Thrones" typically elicits my response "I'll be right back..."

Actually the point is => You shoot your Mouth off when you are totally Wrong all of the Time.

Unlike others , I don't accept your empty arrogant falsehoods.  ;)

 8)


Title: Re: Scaling Bitcoin. Is consensus achievable?
Post by: franky1 on November 27, 2016, 12:42:58 AM
i think the debate above has got out of hand where the term "fractional reserve" has the issue

one person lets call him (CB) thinking of it as the traditional meaning of if 10 is deposited then a bank can create 10 new money.
the other person call him (K) thinking. deposit 5 each (10 total). and do a craig wright to get 29.6 where collateral (trust of value) becomes value

EG
in a channel between X,Y they deposit 10 publicly on the blockchain to open the channel
X and Y 'spend' the 10 to another active channel user Z
asking Z to not use LN but to use Z's onchain balance address to pay 4.9 each to X,Y ONCHAIN and Z keep the 10 offchain, to spend later


X: i have control of 10 in LN, i have 4.9 personally ONCHAIN too. this is my 14.9 collateral. i can sign a message to my personal 4.9 and a message as part of the LN 10.
now give me a government grant,VC money up to 14.8

Y: i have control of 10 in LN, i have 4.9 personally ONCHAIN too. this is my 14.9  collateral. i can sign a message to my personal 4.9 and a message as part of the LN 10.
now give me a government grant,VC money up to 14.8

they receive VC funding to 29.6btc. where infact X, Y have ZERO LN collateral. and only 9.8 personal collateral.

fractional reserve is not just about money CREATION like (CB) thinks. its also about faking collateral you don't have or moving funds around, to profit from something that you dont have

now lets get back ontopic of scaling bitcoin


Title: Re: Scaling Bitcoin. Is consensus achievable?
Post by: European Central Bank on November 27, 2016, 12:56:04 AM
is there not some way of operating a demo lightning network either by the testnet or other means that finally puts all this crap to bed? the proof would be in the pudding.

i know there are papers and the occasional youtube video. it would be a whole lot more compelling if anyone could log into to something and experiment.


Title: Re: Scaling Bitcoin. Is consensus achievable?
Post by: Carlton Banks on November 27, 2016, 01:04:32 AM
is there not some way of operating a demo lightning network either by the testnet or other means that finally puts all this crap to bed? the proof would be in the pudding.

i know there are papers and the occasional youtube video. it would be a whole lot more compelling if anyone could log into to something and experiment.

Already been done, a few weeks ago (Segwit is activated already on Bitcoin testnet). No doubt the Lightning testing will ramp up as time goes on, I'm only aware that a single Lightning transaction was trialled. Rusty Russell performed the test, IIRC


Title: Re: Scaling Bitcoin. Is consensus achievable?
Post by: stdset on November 27, 2016, 06:48:49 AM
EG
in a channel between X,Y they deposit 10 publicly on the blockchain to open the channel
X and Y 'spend' the 10 to another active channel user Z
asking Z to not use LN but to use Z's onchain balance address to pay 4.9 each to X,Y ONCHAIN and Z keep the 10 offchain, to spend later


X: i have control of 10 in LN, i have 4.9 personally ONCHAIN too. this is my 14.9 collateral. i can sign a message to my personal 4.9 and a message as part of the LN 10.
now give me a government grant,VC money up to 14.8

Y: i have control of 10 in LN, i have 4.9 personally ONCHAIN too. this is my 14.9  collateral. i can sign a message to my personal 4.9 and a message as part of the LN 10.
now give me a government grant,VC money up to 14.8

they receive VC funding to 29.6btc. where infact X, Y have ZERO LN collateral. and only 9.8 personal collateral.

fractional reserve is not just about money CREATION like (CB) thinks. its also about faking collateral you don't have or moving funds around, to profit from something that you dont have

now lets get back ontopic of scaling bitcoin
You described an interesting scenario. However X and Y need a very gullible investor to carry out such scam. Once LN is widespread, nobody will trust, that they really posses 10 BTC in 2 of 2 output, whose script they will anyway need to disclose to the investor, otherwise there is no way of checking whether that output really belongs to them. To prove those funds, they will probably need to show good and old P2PKH outputs, in which case their plan won't work. Still it's not fractional reserve banking, rather it's scamming.


Title: Re: Scaling Bitcoin. Is consensus achievable?
Post by: Quickseller on November 27, 2016, 07:24:28 AM
is there not some way of operating a demo lightning network either by the testnet or other means that finally puts all this crap to bed? the proof would be in the pudding.

i know there are papers and the occasional youtube video. it would be a whole lot more compelling if anyone could log into to something and experiment.
blockchain.info has a competitor to LN called 'thunder' that I believe can actually be used now, although you should only transact with people that you trust with it because the lack of SegWit means that transactions can become invalid.

I don't think the question about LN is if LN works, I believe the question about LN is if LN is how Bitcoin should be used, and who should receive TX fees.


Title: Re: Scaling Bitcoin. Is consensus achievable?
Post by: Lauda on November 27, 2016, 07:28:46 AM
Actually SegWit needs 95% of the Miner's Hash to be accepted ,
1 Mining Pool with 8% said they will block it in favor of a hard fork with larger block size.
If everyone else accepts it, they will either join them or get outhashed.

You only need ~70% of the hash to have a successful hard fork, so it is odd SegWit is pushed for more.
No. You need 95%.

A Hard Fork is no Big Deal, Schedule the update a few weeks later after the software is ready .
This is completely misleading. Such a hard fork would be very dangerous. I highly advise you to stop trolling now, you are very untrustworthy.

now lets get back ontopic of scaling bitcoin
A great options is available today, it just requires more awareness and support. Short-term scaling solved.


Title: Re: Scaling Bitcoin. Is consensus achievable?
Post by: stdset on November 27, 2016, 08:18:49 AM
if we went with LN's rhetoric of never needing to close channels.. then bitcoins mainnet is never needed once funds are deposited.
Mainnet is still needed, even if channels never closed, because without possibility of emergency closing, channels effectively lose state. It's like nuclear deterrence. Nuclear weapons have great impact on international relations, even though never used.

rationally LN should regularly close channels.
Could you please elaborate. Why LN needs to frequently close channels?


Title: Re: Scaling Bitcoin. Is consensus achievable?
Post by: Soros Shorts on November 27, 2016, 10:23:28 AM
rationally LN should regularly close channels.
Could you please elaborate. Why LN needs to frequently close channels?

I would imagine it would be to periodically force an audit the value of the coins in the channel by closing out the books, thus making sure no extra LN coins have been created out of thin air. There should be better ways to do this, though.





Title: Re: Scaling Bitcoin. Is consensus achievable?
Post by: stdset on November 27, 2016, 10:49:21 AM
Could you please elaborate. Why LN needs to frequently close channels?

I would imagine it would be to periodically force an audit the value of the coins in the channel by closing out the books, thus making sure no extra LN coins have been created out of thin air. There should be better ways to do this, though.
What are LN coins and how they could be created out of thin air?


Title: Re: Scaling Bitcoin. Is consensus achievable?
Post by: Carlton Banks on November 27, 2016, 11:14:02 AM
rationally LN should regularly close channels.
Could you please elaborate. Why LN needs to frequently close channels?

I would imagine it would be to periodically force an audit the value of the coins in the channel by closing out the books, thus making sure no extra LN coins have been created out of thin air. There should be better ways to do this, though.

Lightning nodes are connected to Bitcoin nodes, from which any inputs can of course be verified. So that can't happen.


Title: Re: Scaling Bitcoin. Is consensus achievable?
Post by: franky1 on November 27, 2016, 11:19:48 AM
if we went with LN's rhetoric of never needing to close channels.. then bitcoins mainnet is never needed once funds are deposited.
Mainnet is still needed, even if channels never closed, because without possibility of emergency closing, channels effectively lose state. It's like nuclear deterrence. Nuclear weapons have great impact on international relations, even though never used.

rationally LN should regularly close channels.
Could you please elaborate. Why LN needs to frequently close channels?

locktimes
EG say the locktime is  now+864000seconds (10days) 1480244302+864000seconds = 1481108302
LN does not stay active for 10 days
every transaction within LN uses a lock to keep latest relevance
in conception
tx z: unlock 1481108301
tx y: unlock 1481108300
tx x: unlock 1481108299
which means if in milliseconds a hub does 86400 tx's  it now has to close within 9 days of opening
which means if in milliseconds a hub does 172800 tx's  it now has to close within 8 days of opening
which means if in milliseconds a hub does 259200 tx's  it now has to close within 7 days of opening

also the secret is although being conceived that locktime of +864000 seconds means 864000 transactions are possible. its not
firstly. to secure relevance, there needs to be a gap between locks. so that the most relevant(x) doesnt time out and the next irrelevant(y) becomes relevant again due to there not being enough time to broadcast X before Y's time becomes relevant.

its going to end up that locktimes will be 10mins plus, to give a relevance 'grace' period.
eg
tx z: unlock 1481072302
tx y: unlock 1481036302
tx x: unlock 1481000302

meaning only 1440 transactions are possible in 10 days.

i used 10 days as a simple number because it displays limits clearly. but you might be saying well onchain lockin can be set to say 2 years.
i would counter that with the more complicated maths of hubs.. where by in the fantasy land of the 'visa comparable' scenarios or the 'one world currency' scenarios people are propagandising as to why LN is essential. that instead of happily processing just say 500 transactions per channel
for some day trader/gambler in 10 days.. a hub will be processing hundreds of thousands to millions of transactions (visa/oneworld scenario)

so although a 2 year lock effectively means upto 105120 LN tx (with relevance grace) over 2 years.. a hub will use up all of them 105120 locks very very fast.

eg. imagine onchain only copes with 4500 tx.. but at first LN is chosen by 10%. (450 tx)
yes LN free's up 450 tx no longer being onchain.

but now within LN 450 tx are done every 10 minutes instead of onchain. meaning the 2 year locks are used up within a fortnight due to the hub and spoke/multihop model

in short. if lock was set to 2 years. and 105120 were done in lets say 5 minutes. the channel needs to close in 5 minutes of opening and a new channel opened for 2 years

the benefit is obviously 105120tx are aggregated down to a final and single tx onchain. where bitcoins main net does see all the swaps of 105120tx and only sees 1tx of (laymens: final balance outputs)
but requires users to then re open a channel again which becomes a headache in a hub model


Title: Re: Scaling Bitcoin. Is consensus achievable?
Post by: stdset on November 27, 2016, 11:47:34 AM
rationally LN should regularly close channels.
Could you please elaborate. Why LN needs to frequently close channels?

locktimes
EG say the locktime is  now+864000seconds (10days) 1480244302+864000seconds = 1481108302
LN does not stay active for 10 days
every transaction within LN uses a lock to keep latest relevance
in conception
tx z: unlock 1481108301
tx y: unlock 1481108300
tx x: unlock 1481108299
which means if in milliseconds a hub does 86400 tx's  it now has to close within 9 days of opening
which means if in milliseconds a hub does 172800 tx's  it now has to close within 8 days of opening
which means if in milliseconds a hub does 259200 tx's  it now has to close within 7 days of opening

also the secret is although being conceived that locktime of +864000 seconds means 864000 transactions are possible. its not
firstly. to secure relevance, there needs to be a gap between locks. so that the most relevant(x) doesnt time out and the next irrelevant(y) becomes relevant again due to there not being enough time to broadcast X before Y's time becomes relevant.

its going to end up that locktimes will be 10mins plus, to give a relevance 'grace' period.
eg
tx z: unlock 1481072302
tx y: unlock 1481036302
tx x: unlock 1481000302
That's not the case with CSV, which is already adopted on mainnet.

Quote
Scriptable relative locktime provides a predictable amount of time to respond in the event a counterparty broadcasts a revoked transaction: Absolute locktime necessitates closing the channel and reopen it when getting close to the timeout, whereas with relative locktime, the clock starts ticking the moment the transactions confirms in a block. It also provides a means to know exactly how long to wait (in number of blocks) before funds can be pulled out of the channel in the event of a noncooperative counterparty.
https://github.com/bitcoin/bips/blob/master/bip-0112.mediawiki


Title: Re: Scaling Bitcoin. Is consensus achievable?
Post by: franky1 on November 27, 2016, 12:15:47 PM
simple illustration
https://i.imgur.com/40YRxbl.png

lock= 2 hours
left graph: user spends every 10 minutes
spend at 10th minute - lock release at 1hour 50min
spend at 20th minute - lock release at 1hour 40min
spend at 30th minute - lock release at 1hour 30min
spend at 40th minute - lock release at 1hour 20min
spend at 50th minute - lock release at 1hour 10min
cant use as realtime and locktime release lock is soon
end result lock-in was 2 hours but had to close in an hour - tx processed 5 out of 12

middle graph: user spends every 5 minutes
spend at   5th minute - lock release at 1hour 50min
spend at 10th minute - lock release at 1hour 40min
spend at 15th minute - lock release at 1hour 30min
spend at 20th minute - lock release at 1hour 20min
spend at 25th minute - lock release at 1hour 10min
spend at 30th minute - lock release at 1hour
spend at 35th minute - lock release at 50min
cant use as realtime and locktime release lock is soon
end result lock-in was 2 hours but had to close in 40 minutes - tx processed 7 of 12

middle graph: just once
spend at   Xth minute - lock release at 1hour 50min
time passes locktime release lock is soon
end result lock-in was 2 hours but had to close in at 1 hour 50 minutes - tx processed 1 of 12


Title: Re: Scaling Bitcoin. Is consensus achievable?
Post by: franky1 on November 27, 2016, 01:39:02 PM
That's not the case with CSV, which is already adopted on mainnet.

Quote
Scriptable relative locktime provides a predictable amount of time to respond in the event a counterparty broadcasts a revoked transaction: Absolute locktime necessitates closing the channel and reopen it when getting close to the timeout, whereas with relative locktime, the clock starts ticking the moment the transactions confirms in a block. It also provides a means to know exactly how long to wait (in number of blocks) before funds can be pulled out of the channel in the event of a noncooperative counterparty.
https://github.com/bitcoin/bips/blob/master/bip-0112.mediawiki

yes
i just called it a laymens term of relevant gap/grace period (dont get hung up on my 10minute arbitrary number i used),
the old mechanism "in number of blocks" (as you quoted)
new concepts are using seconds instead. so instead of saying blockheight. or seconds. i for easy explanation for the scenarios said 10 minutes.. but the 10 minutes is not important. its just a demo purpose random number


the point is: gap simply wont be 1 second as that can be abused, much like in paypal everyone waits till the final second to push their bids)

the gap between acceptable bids needs to be more then one second. due to onchain issues about relay-propagation times and other factors
also i factored in that say the gap was 3 seconds. every time a person doesnt use LN for 3 seconds thats one possible lock wasted.
also i factored in that say the gap was 3 seconds. every time a person uses LN in milliseconds that takes away 3 seconds of utility

meaning its not an unlimited amount of transactions right up to the ONCHAIN nlocktime, there are actual limits to LN


to add to this..

in practice.. using say the middle graph (of my last post)
or
"which means if in milliseconds a hub does 259200 tx's  it now has to close within 7 days of opening" (scenario of post previous to that)

even though a onchain timelock wont allow the close session to be allowed/confirmed onchain until:
middle graph agreed tx(close session) reached 2hours 10 minutes
259200tx agreed tx (close session) reached 10 days 10 minutes

it still closes at:
middle graph 40 minutes - but just not confirmed onchain for another 1 hour 30 minutes (after 2 hours from opening due to onchain lock)
259200tx agreed tx 7 days - but just not confirmed onchain for 3 days. (after 10 days from opening due to onchain lock)

in short .. users are waiting hours or days unable to use LN at all, because all (inner LN) locks are used up. where users cant keep spending and the funds are not released onchain.. basically leaving users left in limbo.

meaning practically the channels SHOULD close earlier to not leave users in limbo. hense my gripe that channels should be able to close earlier.


from what i can see is in concept as their 'work around'
while users are in limbo between the LN inner lock being used up and the onchain locktime (scenario1:1h 30mb, scenario2: 3days)
users are persuaded to make a second channel using different funds (while initial funds are locked) to restart using the service while the limbo time of first session expires.

https://i.imgur.com/692ENHx.png


Title: Re: Scaling Bitcoin. Is consensus achievable?
Post by: stdset on November 27, 2016, 02:06:12 PM
simple illustration
https://i.imgur.com/40YRxbl.png

lock= 2 hours
left graph: user spends every 10 minutes
spend at 10th minute - lock release at 1hour 50min
spend at 20th minute - lock release at 1hour 40min
spend at 30th minute - lock release at 1hour 30min
spend at 40th minute - lock release at 1hour 20min
spend at 50th minute - lock release at 1hour 10min
cant use as realtime and locktime release lock is soon
end result lock-in was 2 hours but had to close in an hour - tx processed 5 out of 12

middle graph: user spends every 5 minutes
spend at   5th minute - lock release at 1hour 50min
spend at 10th minute - lock release at 1hour 40min
spend at 15th minute - lock release at 1hour 30min
spend at 20th minute - lock release at 1hour 20min
spend at 25th minute - lock release at 1hour 10min
spend at 30th minute - lock release at 1hour
spend at 35th minute - lock release at 50min
cant use as realtime and locktime release lock is soon
end result lock-in was 2 hours but had to close in 40 minutes - tx processed 7 of 12

middle graph: just once
spend at   Xth minute - lock release at 1hour 50min
time passes locktime release lock is soon
end result lock-in was 2 hours but had to close in at 1 hour 50 minutes - tx processed 1 of 12
I'm not sure if I understand you right. But it seems to me that you mean, that each consecutive pair of commitment transactions (those that aren't broadcast under normal circumstances) occurring on the channel must have shorter locktimes, so that later ones could be confirmed sooner than earlier ones?
If so, that's not the case. All commitment transactions produce outputs that may have the same time lock of say 1000 blocks, beginning from the block which includes parent commitment transaction. Commitment transactions are invalidated not thanks to newer commitment transactions have shorter timelock, but through exchanging secrets, whose hashes are exchanged at the beginning of state update. So at any step each party has only 1 commitment transaction that can be safely posted to the network, that's the latest transaction. All previous transactions are invalidated because should say X posts one of those transactions, Y can immediately take all funds form the channel.


Title: Re: Scaling Bitcoin. Is consensus achievable?
Post by: franky1 on November 27, 2016, 02:24:21 PM

I'm not sure if I understand you right. But it seems to me that you mean, that each consecutive pair of commitment transactions (those that aren't broadcast under normal circumstances) occurring on the channel must have shorter locktimes, so that later ones could be confirmed sooner than earlier ones?
If so, that's not the case. All commitment transactions produce outputs that may have the same time lock of say 1000 blocks, beginning from the block which includes parent commitment transaction. Commitment transactions are invalidated not thanks to newer commitment transactions have shorter timelock, but through exchanging secrets, whose hashes are exchanged at the beginning of state update. So at any step each party has only 1 commitment transaction that can be safely posted to the network, that's the latest transaction. All previous transactions are invalidated because should say X posts one of those transactions, Y can immediately take all funds form the channel.

im trying not to use buzzwords or over complex things so other readers can understand the fundamentals.

as for the individual spends within LN, they too need to do some things.
the 'secret exchange' in practice does not work. hense the need for the locks aswell.

EG (your concept version)
 i could have a direct connection to a pool and have bribed them to put my tx into a block the exact moment the 1000 block lock is released.. so when i send X in the last second, its in.
you spot mine and think your Y would over ride my X. the problem is that your Y transaction has to relay around the network and sit with the other high fee paying blocks in mempool before a pool accepts it into a block.. which after seeing the mempool bloat this week might be 2 hours.
where as mine gets in. making yours invalid(double spend attack).

thats why locktimes are needed too. to delay mine from being acceptable.

the bip you referenced may have exampled a 24 hour revoke time. but in practice.. users wont accept that.
also that can be attacked/abused in atleast 3 ways.

but hey there are many LN concepts, i just hope the one your viewing is not going to ignore using inner locktimes of descending order.. otherwise thats a weakness of that concept.




Title: Re: Scaling Bitcoin. Is consensus achievable?
Post by: stdset on November 27, 2016, 02:44:16 PM
im trying not to use buzzwords or over complex things so other readers can understand the fundamentals.

as for the individual spends within LN, they too need to do some things.
the 'secret exchange' in practice does not work. hense the need for the locks aswell.

EG (your concept version)
 i could have a direct connection to a pool and have bribed them to put my tx into a block the exact moment the lock is released.. so when i send X in the last second. you think your Y would over ride it. the problem is that your Y transaction has to relay around the network and sit with the other high fee paying blocks in mempool before a pool accepts it into a block.. which after seeing the mempool bloat this week might be 2 hours.
where as mine gets in. making yours invalid.

thats why locktimes are needed too.

but hey there are many LN concepts, i just hope the one your viewing is not going to ignore using inner locktimes of descending order.. otherwise thats a weakness of that concept
The concept I'm talking about works the following way:
Let's say current channel state is: 5 BTC belong to X, 5 BTC belong to Y. But among previous states there is one where 9 BTC belong to X and only 1 BTC belong to Y. X likes the older state much more. So he broadcasts it. The transaction that he broadcasts spends the original 2 of 2 output and creates 2 new outputs: 1 BTC immediately goes to Y, and another output is created, let's call it o2. o2 can be spent in 2 different ways. First: X can spend it after 1000 blocks are mined on top of the block where o2 was created. Second: Y can spend it at any moment if, besides signature, he also provides preimage of a certain hash. Since Y already has this preimage, otherwise he would refuse to update state of the channel, he can immediately spend o2, thus taking all 10 BTC from the channel. Friendly pool can't help X, because it takes 1000 blocks before o2 can be spent in way preferable for X.


Title: Re: Scaling Bitcoin. Is consensus achievable?
Post by: franky1 on November 27, 2016, 04:26:13 PM
im trying not to use buzzwords or over complex things so other readers can understand the fundamentals.

as for the individual spends within LN, they too need to do some things.
the 'secret exchange' in practice does not work. hense the need for the locks aswell.

EG (your concept version)
 i could have a direct connection to a pool and have bribed them to put my tx into a block the exact moment the lock is released.. so when i send X in the last second. you think your Y would over ride it. the problem is that your Y transaction has to relay around the network and sit with the other high fee paying blocks in mempool before a pool accepts it into a block.. which after seeing the mempool bloat this week might be 2 hours.
where as mine gets in. making yours invalid.

thats why locktimes are needed too.

but hey there are many LN concepts, i just hope the one your viewing is not going to ignore using inner locktimes of descending order.. otherwise thats a weakness of that concept
The concept I'm talking about works the following way:
Let's say current channel state is: 5 BTC belong to X, 5 BTC belong to Y. But among previous states there is one where 9 BTC belong to X and only 1 BTC belong to Y. X likes the older state much more. So he broadcasts it. The transaction that he broadcasts spends the original 2 of 2 output and creates 2 new outputs: 1 BTC immediately goes to Y, and another output is created, let's call it o2. o2 can be spent in 2 different ways. First: X can spend it after 1000 blocks are mined on top of the block where o2 was created. Second: Y can spend it at any moment if, besides signature, he also provides preimage of a certain hash. Since Y already has this preimage, otherwise he would refuse to update state of channel, he can immediately spend o2, thus taking all 10 BTC from the channel. Friendly pool can't help X, because it takes 1000 blocks before o2 can be spent in way preferable for X.

^ wrote to try showing how X cant attack but reveals Y is now the attacker
which is another attack vector.

cant you see the attack vector..
dont think about X doing the 9btc.. for X to gain.. thats then everted by Y(your hope of scenario outcome)

think about Y broadcasting th X9Y1... triggering X so Y can then get 10btc
lets say Y broadcasts X's 9btc. to then allow Y to broadcast the tx that gives Y the whole 10btc

anyway theres many concepts throwing about. and many attack vectors in each.
the bip u quoted is not strong enough on its own and actually makes one person gain.

not really a moral/equal paradigm like some other concepts i have seen


Title: Re: Scaling Bitcoin. Is consensus achievable?
Post by: stdset on November 27, 2016, 05:05:24 PM
The concept I'm talking about works the following way:
Let's say current channel state is: 5 BTC belong to X, 5 BTC belong to Y. But among previous states there is one where 9 BTC belong to X and only 1 BTC belong to Y. X likes the older state much more. So he broadcasts it. The transaction that he broadcasts spends the original 2 of 2 output and creates 2 new outputs: 1 BTC immediately goes to Y, and another output is created, let's call it o2. o2 can be spent in 2 different ways. First: X can spend it after 1000 blocks are mined on top of the block where o2 was created. Second: Y can spend it at any moment if, besides signature, he also provides preimage of a certain hash. Since Y already has this preimage, otherwise he would refuse to update state of channel, he can immediately spend o2, thus taking all 10 BTC from the channel. Friendly pool can't help X, because it takes 1000 blocks before o2 can be spent in way preferable for X.

^ wrote to try showing how X cant attack but reveals Y is now the attacker
which is another attack vector.

cant you see the attack vector..
dont think about X doing the 9btc.. for X to gain.. thats then everted by Y(your hope of scenario outcome)

think about Y broadcasting th X9Y1... triggering X so Y can then get 10btc
lets say Y broadcasts X's 9btc. to then allow Y to broadcast the tx that gives Y the whole 10btc

anyway theres many concepts throwing about. and many attack vectors in each.
the bip u quoted is not strong enough on its own and actually makes one person gain.

not really a moral/equal paradigm like some other concepts i have seen
Y can't broadcast that transaction because he doesn't have it. He instead has another transaction corresponding to the same state, which immediately pays 9 BTC to X and 1 BTC to similar fancy output which can be spent in 2 different ways. If he broadcasts his version of that obsolete state, X will immediately take all 10 BTC from the channel.


Title: Re: Scaling Bitcoin. Is consensus achievable?
Post by: franky1 on November 27, 2016, 05:13:03 PM
The concept I'm talking about works the following way:
Let's say current channel state is: 5 BTC belong to X, 5 BTC belong to Y. But among previous states there is one where 9 BTC belong to X and only 1 BTC belong to Y. X likes the older state much more. So he broadcasts it. The transaction that he broadcasts spends the original 2 of 2 output and creates 2 new outputs: 1 BTC immediately goes to Y, and another output is created, let's call it o2. o2 can be spent in 2 different ways. First: X can spend it after 1000 blocks are mined on top of the block where o2 was created. Second: Y can spend it at any moment if, besides signature, he also provides preimage of a certain hash. Since Y already has this preimage, otherwise he would refuse to update state of channel, he can immediately spend o2, thus taking all 10 BTC from the channel. Friendly pool can't help X, because it takes 1000 blocks before o2 can be spent in way preferable for X.

^ wrote to try showing how X cant attack but reveals Y is now the attacker
which is another attack vector.

cant you see the attack vector..
dont think about X doing the 9btc.. for X to gain.. thats then everted by Y(your hope of scenario outcome)

think about Y broadcasting th X9Y1... triggering X so Y can then get 10btc
lets say Y broadcasts X's 9btc. to then allow Y to broadcast the tx that gives Y the whole 10btc

anyway theres many concepts throwing about. and many attack vectors in each.
the bip u quoted is not strong enough on its own and actually makes one person gain.

not really a moral/equal paradigm like some other concepts i have seen
Y can't broadcast that transaction because he doesn't have it.

you do know that multisigs needs 2 signatures.
you do know that to agree to what you call a "commitment" both parties need to see and agree to it.

so if your saying Y cannot transmit X's preferred tx because Y has never seen it, been handed it or knows of its existance.. then im guessing whatever LN concept you are viewing has far more weaknesses.

i made the bits bold that you mention.. first bold bit.. an old state.. im assuming for practical reasons Y did infact see that state earlier in the day/weeks when it was relevant. so by seeing it, would have (lik any malicious user) kept a copy of it. then as shown by the second bold part its assumed Y is involved to signing the commitments by seeing the commitments..

reason being both SHOULD be signing together.. so my last paragraph is highlighting even your scenario assumes this to be true..
so im not sure why last post says Y never had first state


Title: Re: Scaling Bitcoin. Is consensus achievable?
Post by: kiklo on November 27, 2016, 05:28:36 PM
Actually SegWit needs 95% of the Miner's Hash to be accepted ,
1 Mining Pool with 8% said they will block it in favor of a hard fork with larger block size.
If everyone else accepts it, they will either join them or get outhashed.

Or if they hold their 8% for 1 year from the segwit install date, Segwit Fails
Let the Betting Pools Begin!


You only need ~70% of the hash to have a successful hard fork, so it is odd SegWit is pushed for more.
No. You need 95%.

Reading comprehensions is not your strong suit,
SegWit is a Soft Fork, which major design changes that require the 95%.
(No one is Arguing that point.)

A True Hard Fork only requires 70% , because you want enough hash to make sure the 30% can not 51% attack your new chain.  ;)


A Hard Fork is no Big Deal, Schedule the update a few weeks later after the software is ready .
This is completely misleading. Such a hard fork would be very dangerous. I highly advise you to stop trolling now, you are very untrustworthy.

You Nervous Nancies do realized that some ALTs hard fork 2 or 3 times a year with Zero Problems.
Comparing technical aspects of different crypto is not trolling , it is called Analyzing.
So your Fear is amazingly Child like.



 8)

FYI: Insulting my trustworthiness, shows how weak your attempts at logic are.
I run a Blockchain snapshot Service, Multiple Coins Communities Trust Me , can you say the same?
Kiklo's Premium Blockchain Snapshot Service  (https://bitcointalk.org/index.php?topic=1378653.msg14024451#msg14024451)


FYI2:
If your BTC Devs had the Courage to Hard Fork SegWit, then it would have already been implemented or had already failed.
Now it could be a Year before the final outcome of segwit is determined , and during this time BTC Design evolution is basically halted.



Title: Re: Scaling Bitcoin. Is consensus achievable?
Post by: stdset on November 27, 2016, 06:17:37 PM
you do know that multisigs needs 2 signatures.
you do know that to agree to what you call a "commitment" both parties need to see and agree to it.
Sure, when parties want to update the channel, the following happens:

1) Alice wants to pay 1 BTC to Bob. Both parties create new secrets S2a, S2b, and exchange hashes of those secrets: H2a and H2b.
2) Alice creates transaction tx4 which spends o1 new way: 4 BTC go to Alice (o6), 6 BTC go to output o7, which can be spent in 2 different ways: a) Bob can spend it himself, but only after significant timeout of say 1000 blocks; b) Alice can spend it herself, but only if she provides preimage of H2b i.e. S2b. Alice signs tx4 and sends it to Bob.
3) Bob creates transaction tx5 which spends o1 similar way to tx4: 6 BTC go to Bob (o8), 4 BTC to output o9, which can be spent in 2 different ways: a) Alice can spend it herself, but only after significant timeout of say 1000 blocks; b) Bob can spend it himself, but only if he provides preimage of H2a i.e. S2a. Bob signs tx5 and sends it to Alice.
4) Alice sends Sa to Bob.
5) Bob sends Sb to Alice.
Now the channel is updated. If either party disappears, remaining party will receive his/her refund thanks to tx4 or tx5. But what prevents Alice from broadcasting tx3 which indirectly pays her 5 BTC, instead of her current share of 4 BTC? Tx3 doesn’t immediately pay 5 BTC to Alice, it immediately pays 5 BTC to Bob and creates o5 which Alice can redeem only after waiting 1000 blocks. But Bob now has Sa, and if he sees tx3 on the chain, he can immediately spend o5, because now he possesses Sa, thus taking all 10 BTC from the channel. Please note, that despite tx3 was created by Bob, his version of this transaction lacks Alice’s signature. Normally only tx1 is broadcast yet. This way the channel can be updated many times. After each update, only the last pair of transactions can be safely broadcast to close the channel and receive proper share of channel funds, because all previous secrets are known to respective counterparties.

You can read this series of articles (https://bitcoinmagazine.com/articles/understanding-the-lightning-network-part-building-a-bidirectional-payment-channel-1464710791). I learned this design from there.

I made bold part of the quote which is closely related to your concerns.


Title: Re: Scaling Bitcoin. Is consensus achievable?
Post by: franky1 on November 27, 2016, 06:20:51 PM
You only need ~70% of the hash to have a successful hard fork, so it is odd SegWit is pushed for more.
No. You need 95%.
A True Hard Fork only requires 70% , because you want enough hash to make sure the 30% can not 51% attack your new chain.  ;)

ok clear the matter up.

at any majority. the orphan game will eventually sort it self out.
at a low majority say 55%. it might take a many blockheights where half is disagreeing and the orphan rate is say 65 blocks of 144 have a corresponding orphan..
headache nightmare .. headache nightmare .. headache nightmare
mining pools will be screaming. nodes will be syncing and losing sync.. bad for everyone.. but deemed temporary drama as eventually it leads to one chain and the minority left unsynced.
retailer merchant guidance: wait upto say 100 confirms before fully trusting a tx

at a low say 70%. it might take a many blockheights where a third is disagreeing and the orphan rate is say 42 blocks of 144 have a corresponding orphan..
blah blah same thing. a bit less screaming, but lots of crying still while the orphan drama sorts itself out
retailer merchant guidance: wait upto say 70 confirms before fully trusting a tx

at say 85%. it might take a few dozen blockheights where inder a quarter  is disagreeing and the orphan rate is say 20 blocks of 144 have a corresponding orphan..
blah blah same thing. not screaming, but not much crying while the orphan drama sorts itself out, but not happy
retailer merchant guidance: wait upto say 45 confirms before fully trusting a tx

at say 95%. it might take a a couple blockheights where a few is disagreeing and the orphan rate is say 7 blocks of 144 have a corresponding orphan..
not as bad and miners could live with a slight risk elevation compared to the usual 1-2% a day they usually put up with.
retailer merchant guidance: wait upto 10 confirms before fully trusting a tx

usual daily 1-2% risk advises waiting upto 6 confirms


Title: Re: Scaling Bitcoin. Is consensus achievable?
Post by: Lauda on November 27, 2016, 06:36:58 PM
if they hold their 8% for 1 year from the segwit install date, Segwit Fails
Nope. They would get outhashed.

A True Hard Fork only requires 70% , because you want enough hash to make sure the 30% can not 51% attack your new chain.  ;)
False. Requires 95% for any reasonable design.

You Nervous Nancies do realized that some ALTs hard fork 2 or 3 times a year with Zero Problems.
Comparing technical aspects of different crypto is not trolling , it is called Analyzing.
Nobody in their right mind gives a damn about some shitcoins hard forking 100 times a year.

I run a Blockchain snapshot Service, Multiple Coins Communities Trust Me , can you say the same?
That service is as useful as your trolling attempts.

If your BTC Devs had the Courage to Hard Fork SegWit, then it would have already been implemented or had already failed.
Hard forks are inherently dangerous in a widely deployed infrastructure (which no shitcoin, e.g. ZEIT, is).


Title: Re: Scaling Bitcoin. Is consensus achievable?
Post by: kiklo on November 27, 2016, 07:13:32 PM
if they hold their 8% for 1 year from the segwit install date, Segwit Fails
Nope. They would get outhashed.

Rules say 95 % required for segwith soft fork, unless the others can hold 95% for 2 Weeks , it will fail.

A True Hard Fork only requires 70% , because you want enough hash to make sure the 30% can not 51% attack your new chain.  ;)
False. Requires 95% for any reasonable design.

Ok, you're just being stupid now.
Reason they went with a pussy ass soft fork is they know the Chinese mining pools would block it now.
They are hoping enough public pressure comes that forces the Chinese mining pools to succumb to their will over the course of a year.
Again the Betting Pools are open.



You Nervous Nancies do realized that some ALTs hard fork 2 or 3 times a year with Zero Problems.
Comparing technical aspects of different crypto is not trolling , it is called Analyzing.
Nobody in their right mind gives a damn about some shitcoins hard forking 100 times a year.

Nobody gives a Damn , that BTC devs are too incompetent to pull off 1 Hard fork in a year.
You should just ask your self why all of the Alt devs you insult are more competent than your BTC devs.
But I can see Thinking is not something you are good at.   
 :P

I run a Blockchain snapshot Service, Multiple Coins Communities Trust Me , can you say the same?
That service is as useful as your trolling attempts.

People smarter than you appreciate it.

If your BTC Devs had the Courage to Hard Fork SegWit, then it would have already been implemented or had already failed.
Hard forks are inherently dangerous in a widely deployed infrastructure (which no shitcoin, e.g. ZEIT, is).

And there you go being a DumbAss,
ZEIT has had no hard forks in more than a year.
ZEIT has been Fully Operational, for going on 3 years. (No DownTime Junior)
ZEIT has 20X the Transaction Capacity of your BitCrap coin and requires no ASICS, so it is fair to all.

Eth hard forks every month,  maybe BTC devs should ask them for help.   :D


 8)



Title: Re: Scaling Bitcoin. Is consensus achievable?
Post by: kiklo on November 27, 2016, 07:52:23 PM
Here is a Point for those that can think.

If segwit does actually manage to get activated.

And people use LN for the majority of their transactions, and stay off the Blockchain.

Do you think the mining pools have already figured out less transactions on the blockchain means less fees for them to collect.
Especially when they need to survive off of transaction fees only and no more BTC are created. Less than 5 Million BTC left to mine.
LN will take money out of the BTC miners pocket.  ;)

 8)



Title: Re: Scaling Bitcoin. Is consensus achievable?
Post by: franky1 on November 27, 2016, 07:58:28 PM
You can read this series of articles (https://bitcoinmagazine.com/articles/understanding-the-lightning-network-part-building-a-bidirectional-payment-channel-1464710791). I learned this design from there.

I made bold part of the quote which is closely related to your concerns.

i see your failure.
1. outdated. may 2016
2. belief that alice and bob have separate(slightly differing) copies (um thats the opposite of the bidirectional buzzword)

in simple terms
its one transaction data they BOTH agree on and both treat as most relevant and both keep
EG (ignore the addresses they are random letters and numbers obviously)

Txid
In:3abcdeklmn987654321 val:5btc (originally A(X) deposit)
In:3abcdeklmn987654321 val:5btc (originally B(Y) deposit)
Out: 1abcdefghij123456789 val: 9btc (goes to A(X))
Out: 1klmnopqrs987654321 val: 1btc (goes to B)
Signature (A(X) signed inputs and output to agree)
Signature (B(Y) signed inputs and output to agree)
lock: now+9d23h58m

where they simply change the out values to who deserves what and then sign together to enforce it.
a tx wont get into a block without both signatures.
so both need to sign the same copy

thats the whole point of multisig. (buzzword bidirectional)

obviously with the out which goes to A can be a script that can halt A from being able to spend it straight after its confirmed
obviously with the out which goes to B can be a script that can halt B from being able to spend it straight after its confirmed

but its one transaction not 2 transactions.
its not about A holds one tx in their favour
its not about B holds one tx in their favour

they both hold the same relevant tx at the same time.

however if they keep a channel open that surpasses the locktime(onchain) set up when opening the channel EG
20 blocks after.. the malicious user can look at their LN history and grab a tx from the say 1-19 relevance ago. and that too would also now be relevant because they went passed the deadline.
which is the case not just for recent concepts but the outdated concept you dragged up from may2016

in your concept. there is a 1000CSV block delay even after its in the blockchain (much like blockreward coinbase tx has 100 block delay)
however the failure of that is simple.
your article says it
Quote
CSV, instead, uses relative time. Once a CVS-output is recorded on the blockchain, it takes a specific amount of blocks from that point on before the bitcoins can be spent again.

having a week CSV delay(1000 block) that can be interrupted by another person broadcasting a more relevant tx.. fails
because the LN outputs are already on the blockchain when alice (x in your other scenario) closed the channel.

also another fail is because although on the blockchain. it cant be spent untill it matures in a week. thus like banks... its not "available balance" which then is worse than Visa because visa settles in 2 days.

and by going by your scenario. during that week it can be "charged back" to bob (Y) going by your scenario

see the social issues with that.. funds not being spendable for days..and chargebacks possible!!

thats why other concepts are doing the opposite. having relevance time locks within LN to close a channel sooner and getting it broadcast sooner and simply opening a new channel if the 2 parties want to continue transacting




Title: Re: Scaling Bitcoin. Is consensus achievable?
Post by: franky1 on November 27, 2016, 07:59:57 PM
Here is a Point for those that can think.

If segwit does actually manage to get activated.

And people use LN for the majority of their transactions, and stay off the Blockchain.

Do you think the mining pools have already figured out less transactions on the blockchain means less fees for them to collect.
Especially when they need to survive off of transaction fees only and no more BTC are created. Less than 5 Million BTC left to mine.
LN will take money out of the BTC miners pocket.  ;)

 8)

core devs dont care about bitcoin. they want everyone offchain so they can throw the onchain tx sky high to make people hate bitcoins blockchain.
then push people over to hyperledger..

core devs spend most of their time working on the hyperledger.. by core devs i mean the PAID devs.. not the 90 unpaid interns that just spellcheck the code.
pieter wuille - paid by blockstream - team leader segwit - also programs bankers hyperledger
Rusty Russel - paid by blockstream - team leader LN - also programs bankers hyperledger
matt corralo - paid by blockstream - main committer - also programs bankers hyperledger
greg maxwell- paid by blockstream - main committer - also programs bankers hyperledger

i could name more


Title: Re: Scaling Bitcoin. Is consensus achievable?
Post by: stdset on November 27, 2016, 09:41:35 PM
however if they keep a channel open that surpasses the locktime(onchain) set up when opening the channel EG
No locktime is set onchain at the opening of the channel. o1 is just a plain 2 of 2 output without locktime or anything.

they both hold the same relevant tx at the same time.
No, they hold different txes, which however distribute funds in similar ways.
Let current channel state be: 9 BTC belong to Bob, 1 BTC to Alice.

Tx which Alice holds is created and  signed by Bob. It immediately pays 9 BTC to Bob, and creates a fancy 1 BTC output, which Alice can spend after 1000 blocks are mined on top of the block containing this output, or it can be spent immediately by Bob if he knows Alice's secret corresponding to current step.

Tx which Bob holds is created and signed by Alice. It immediately pays 1 BTC to Alice, and creates a fancy 9 BTC output, which Bob can spend after 1000 blocks are mined on top of the block containing this output, or it can be spent immediately by Alice if she knows Bob's secret corresponding to current step.

If Alice disappears, Bob publishes his tx. Alice gets her share immediately, Bob needs to wait 1000 blocks for that. If Bob disappears, Alice publishes her tx, Bob receives his 9 BTC immediately, Alice needs to wait 1000 blocks to be able to spend her share.

a tx wont get into a block without both signatures.
so both need to sign the same copy
Alice can sign her tx at any time and publish it, because it's already signed by Bob. Bob can sign his tx at any time and publish it, because it's already signed by Alice.

having a week CSV delay(1000 block) that can be interrupted by another person broadcasting a more relevant tx..
At this stage o1 - anchoring output is already spent, this is already onchain, there's no way to spend it another way. One of resulting outputs can only be spent by say Alice. Another output is also recorded on the chain, there no way to spend it except 2 ways defined by it's script.

and by going by your scenario. during that week it can be "charged back" to bob (Y) going by your scenario
no "charge backs" are possible

May be it's your design which is outdated. With this design, channels can indeed be kept open for arbitrarily long periods of time. There is essentially no limit on amount of back and forth transactions, unless they completely exhaust share of one of the parties. There is no risk of funds theft because of collusion of one of the parties with a miner.


Title: Re: Scaling Bitcoin. Is consensus achievable?
Post by: franky1 on November 27, 2016, 09:55:49 PM
lol

your article is out dated. its actually time stamped may 2016.

also even if you believe its current try reading it fully.. learn multisig.
Quote
Building Block #3: Multisig

have a nice day


Title: Re: Scaling Bitcoin. Is consensus achievable?
Post by: stdset on November 27, 2016, 10:03:57 PM
learn multisig.
Read what is written in bold. Btw, you should be thankful that someone patiently explains this complex design to you. I had no such help.

I'm however grateful to Aaron van Wirdum for those great articles.


Title: Re: Scaling Bitcoin. Is consensus achievable?
Post by: franky1 on November 27, 2016, 10:11:05 PM
Another output is also recorded on the chain, there no way to spend it except 2 ways defined by it's script.

and by going by your scenario. during that week it can be "charged back" to bob (Y) going by your scenario
no "charge backs" are possible

you literally talk about a chargeback method where bob can get funds destined for alice, then suddenly say its impossible

but im loving how your changing the theory..
im guessing you need to update yourself

anyway. you can continue theorising with old concepts. while i continue looking into the latest stuff that has overcome some of the issues your OLD concept had.

goodluck though
have a nice day


Title: Re: Scaling Bitcoin. Is consensus achievable?
Post by: stdset on November 27, 2016, 10:17:44 PM
you literally talk about a chargeback method where bob can get funds destined for alice, then suddenly say its impossible
That's not chargebacks, but punishment for theft attempt. One party takes all funds from the channel only if another party tries to use an outdated state to steal funds.


Title: Re: Scaling Bitcoin. Is consensus achievable?
Post by: thejaytiesto on November 27, 2016, 10:22:48 PM
We will never achieve full consensus. We had a lot of discussion back in the internet days regarding how to scale the protocol and there was never a full consensus, but a majority went the TCP + layers route. Similarly, a majority will go with Core + layers route.


Title: Re: Scaling Bitcoin. Is consensus achievable?
Post by: franky1 on November 27, 2016, 10:42:59 PM
you literally talk about a chargeback method where bob can get funds destined for alice, then suddenly say its impossible
That's not chargebacks, but punishment for theft attempt. One party takes all funds from the channel only if another party tries to use an outdated state to steal funds.

and why do you think banks do charge backs.
seriously.

think about it.. your topic is about scaling. where you are thinking that LN is the solution. will the whole community use LN and not care about onchain?

no

a system where funds are locked for a week after settling. where they cant be spent....... = worse then merchants/customers get from accepting visa/paypal
a system where the other person can trick the system and chargeback in that week........ = same as visa - worse than wire transfer
a system that

at the moment some of those issues that you are trying to disguise are being weeded out and thrown out. hense your out of date.
however there are still some issues even with the latest concept.

i think you should let go of the tight grip you have on last May. go read the mailing list, go check out IRC. if you prefer google. use the search tools and set it to only 1 month ago.
get yourself upto date..

oh and yea. the article writer.. is not a coder, his speciality is politcs and history.
it may help you to actually create a multisig and actually see the things you can do with a multisig. play around. go to a testnet and do some stuff. learn more about it.

for instance the many other penalties LN dev's are dreaming up on one banker funded team.. vs the other concepts that are just doing ethical and dual signed mutually assured version of LN. where CODE ensures no risk no loss.

you can usually spot the banker paid devs who thing economic penalties are the answer. and holding funds ransom for days is the answer

move passed the May2016 article, it will help you

have a nice day


Title: Re: Scaling Bitcoin. Is consensus achievable?
Post by: stdset on November 27, 2016, 10:55:30 PM
a system where the other person can trick the system and chargeback in that week........ = same as visa - worse than wire transfer
Show, how the system can be tricked.
a system where funds are locked for a week after settling. where they cant be spent....... = worse then merchants/customers get from accepting visa/paypal
Finally a reasonable argument, thanks. It however will rarely happen. There is a way to gracefully close the channel.
Quote
Closing the channel.
Both parties know, that they can’t cheat each other. So when they decide to close the channel, one of them (let it be Alice) creates a transaction that spends o1 according to the latest state of the channel, signs it, and sends to Bob. He checks that funds are split fairly, signs it and broadcasts it. This transaction is the second and the last to hit the chain, for the whole lifetime of the channel.
Only in the case of uncooperative counterparty, one of the parties will need to wait to regain control of his/her share of channel funds.


Title: Re: Scaling Bitcoin. Is consensus achievable?
Post by: franky1 on November 28, 2016, 12:06:46 AM
a system where the other person can trick the system and chargeback in that week........ = same as visa - worse than wire transfer
Show, how the system can be tricked.

your scenario using outdated concept already has.. but ill explain in easy steps based on your outdated scenario
you can read previous pages.. but here step by step.

1. do you agree that LN uses multisig. where 2 parties co-sign agreed tx data. if yes read on, if not, research and come back later
Quote
step 1: two people communicate together and agree to open a multisig to start a channel.

step 2: they both independently fund the multisig with their amounts. ONCHAIN.

step 3: they agree to the terms of who owes what. initially agreeing to whatever they deposit they get back.
hint 1: the funds cannot be spent in a multisig without both signatures
TXID:AB3
In:3abcdeklmn987654321 val:5btc (originally A(X) deposit)
In:3abcdeklmn987654321 val:5btc (originally B(Y) deposit)
Out script1: if relevant(1abcdefghij123456789 A(X) val: 5btc); if irrelevant(1klmnopqrs987654321 B(Y) val: 5btc)
Out script2: if relevant(1klmnopqrs987654321 B(Y) val: 5btc); if irrelevant(1abcdefghij123456789 A(X) val: 5btc)

maturity 1000 blocks

step 4: and both sign the same tx data.
hint 1: the funds cannot be spent in a multisig without both signatures
TXID:AB3
In:3abcdeklmn987654321 val:5btc (originally A(X) deposit)
In:3abcdeklmn987654321 val:5btc (originally B(Y) deposit)
Out script1: if relevant(1abcdefghij123456789 A(X) val: 5btc); if irrelevant(1klmnopqrs987654321 B(Y) val: 5btc)
Out script2: if relevant(1klmnopqrs987654321 B(Y) val: 5btc); if irrelevant(1abcdefghij123456789 A(X) val: 5btc)
Signature (A(X) signed inputs and output to agree)
Signature (B(Y) signed inputs and output to agree)
maturity 1000 blocks

step 5: B(Y) decides to give A(X) say 4BTC, they agree and they BOTH SIGN
hint 1: the funds cannot be spent in a multisig without both signatures
hint 2: both signing = both seeing a copy to be able to sign
hint 2: they both agree there should be a harsh penalty rather then getting what they deposited back
hint 2: in your scenario they now decide to not having matching data. but both sign each others tweaked tx data

A(X) creates and signs this. making A(X) lose out if not moral
TXID:A5
In:3abcdeklmn987654321 val:5btc (originally A(X) deposit)
In:3abcdeklmn987654321 val:5btc (originally B(Y) deposit)
Out script1: if relevant(1abcdefghij123456789 A(X) val: 9btc); if irrelevant(1klmnopqrs987654321 B(Y) val: 10btc)
Out script2: if relevant(1klmnopqrs987654321 B(Y) val: 1btc); if irrelevant(1abcdefghij123456789 A(X) val: 0btc)
Signature (A(X) signed inputs and output to agree)
maturity 1000 blocks

B(Y) creates and signs this. making B(Y) lose out if not moral
TXID:B5
In:3abcdeklmn987654321 val:5btc (originally A(X) deposit)
In:3abcdeklmn987654321 val:5btc (originally B(Y) deposit)
Out script1: if relevant(1abcdefghij123456789 A(X) val: 9btc); if irrelevant(1klmnopqrs987654321 B(Y) val: 0btc)
Out script2: if relevant(1klmnopqrs987654321 B(Y) val: 1btc); if irrelevant(1abcdefghij123456789 A(X) val: 10btc)
Signature (B(Y) signed inputs and output to agree)
maturity 1000 blocks

step 6: they both hand eachother a copy and sign their counterparts version
hint 1: the funds cannot be spent in a multisig without both signatures
hint 2: both signing = both seeing a copy to be able to sign
hint 3: doing this invalidates previous TX (step 4)

A(X) created, now B(Y) signs, B(X) KEEPS aswell as the other one below
TXID:A6
In:3abcdeklmn987654321 val:5btc (originally A(X) deposit)
In:3abcdeklmn987654321 val:5btc (originally B(Y) deposit)
Out script1: if relevant(1abcdefghij123456789 A(X) val: 9btc); if irrelevant(1klmnopqrs987654321 B(Y) val: 10btc)
Out script2: if relevant(1klmnopqrs987654321 B(Y) val: 1btc); if irrelevant(1abcdefghij123456789 A(X) val: 0btc)
Signature (A(X) signed inputs and output to agree)
Signature (B(Y) signed inputs and output to agree)
maturity 1000 blocks

B(Y) created, now A(X) signs
TXID:B6
In:3abcdeklmn987654321 val:5btc (originally A(X) deposit)
In:3abcdeklmn987654321 val:5btc (originally B(Y) deposit)
Out script1: if relevant(1abcdefghij123456789 A(X) val: 9btc); if irrelevant(1klmnopqrs987654321 B(Y) val: 0btc)
Out script2: if relevant(1klmnopqrs987654321 B(Y) val: 1btc); if irrelevant(1abcdefghij123456789 A(X) val: 10btc)
Signature (A(X) signed inputs and output to agree)
Signature (B(Y) signed inputs and output to agree)
maturity 1000 blocks

step 7: many many many trades like steps 5,6 happen where values change hands.. making previous txs irrelevant
hint 1: the funds cannot be spent in a multisig without both signatures
hint 2: both signing = both seeing a copy to be able to sign
hint 3: doing this invalidates previous TX
lets say they are at TXID:A200   TXID:B200 making A4-199  and B4-199irrelevant

step 8: B(Y) kept A6 (step 6), initially you think thats crazy right. but B(Y) broadcasts it

step 9: B(Y) lets it get confirmed

step 10: B(Y) uses the revoke code on the A6 Out script1 to then make the output spendable to him instantly before maturity expires


Title: Re: Scaling Bitcoin. Is consensus achievable?
Post by: kiklo on November 28, 2016, 12:49:51 AM
Everyone here understands how to send Coins on BTC.

LN , if implemeted is going to confuse the daylights out of the majority of people.
And alot of people will get their money stolen because they don't understand it.

If you read the following or the whole whitepaper, it states that
a BLOCKSIZE increase will be a Necessity Anyway.  :P

So they could have just increased the blocksize (to fix the transaction issue) and saved everyone from this convoluted system called LN.
LN does 3 things:
1  adds banking into BTC economics
2. attempts to win back the micro-payment industry, which the current BTC transaction fees are too high to be used in.
3. takes control of BTC away from the miners and gives it to LN Nodes

Reference: https://lightning.network/lightning-network-paper.pdf

Quote
9    Risks
The primary risks relate to timelock expiration.  Additionally, for core nodes
and possibly some merchants to be able to route funds, the keys must be
held online for lower latency.  However, end-users and nodes are able to keep
their private keys  rewalled o  in cold storage.
9.1    Improper Timelocks
Participants must choose timelocks with suffcient amounts of time.
If insuffcient time is given, it is possible that timelocked transactions believed to
be invalid will become valid, enabling coin theft by the counterparty.
There is a trade-off  between longer timelocks and the time-value of money.
When writing wallet and Lightning Network application software, it is necessary
to ensure that suffcient time is given and users are able to have their trans-actions
enter into the blockchain when interacting with non-cooperative or malicious channel counterparties.

9.2    Forced Expiration Spam
Forced expiration of many transactions may be the greatest systemic risk when using the Lightning Network.  
If a malicious participant creates many channels and forces them all to expire at once, these may overwhelm block data capacity,
forcing expiration and broadcast to the blockchain.  The re-sult  would  be  mass  spam  on  the  bitcoin  network.  
The  spam  may  delay transactions to the point where other locktimed transactions become valid.

This may be mitigated by permitting one transaction replacement on
all  pending  transactions.   Anti-spam  can  be  used  by  permitting  only  one
transaction replacement of a higher sequence number by the inverse of an
even or odd number.  For example, if an odd sequence number was broad-
cast, permit a replacement to a higher even number only once.  Transactions
would use the sequence number in an orderly way to replace other trans-
actions.   This  mitigates  the  risk  assuming  honest  miners.
 This attack  is extremely  high  risk,  as  incorrect  broadcast  of  Commitment  Transactions entail a full penalty of all funds in the channel.
Additionally,
one may attempt to steal HTLC transactions by forcing a timeout transaction to go through when it should not.
This can be easily mitigated by having each transfer inside the channel be lower than the total
transaction fees used.  Since transactions are extremely cheap and do not
hit the blockchain with cooperative channel counterparties, large transfers
of value can be split into many small transfers.  This attempt can only work
if  the  blocks  are  completely  full  for  a  long  time.   While  it  is  possible  to
mitigate it using a longer HTLC timeout duration, variable block sizes may
become common, which may need mitigations.
If this type of transaction becomes the dominant form of transactions which are included on the blockchain,
it may become necessary to increase the  block  size  and  run  a  variable  blocksize  structure  and  timestop   ags as described in the section below.

This can create suffcient penalties and
disincentives  to  be  highly  unpro table  and  unsuccessful  for  attackers,  as
attackers lose all their funds from broadcasting the wrong transaction,  to
the point where it will never occur.

9.4    Data Loss
When one party loses data, it is possible for the counterparty to steal funds.
This can be mitigated by having a third party data storage service where
encrypted data gets sent to this third party service which the party cannot
decrypt.   Additionally,  one  should  choose  channel  counterparties  who  are
responsible  and  willing  to  provide  the  current  state,  with  some  periodic
tests of honesty.
9.5    Forgetting to Broadcast the Transaction in Time
If one does not broadcast a transaction at the correct time, the counterparty may steal funds.
This can be mitigated by having a designated third party
to send funds.  An output fee can be added to create an incentive for this
third party to watch the network.  Further,  this can also be mitigated by
implementing OP CHECKSEQUENCEVERIFY

10    Block Size Increases and Consensus
If we presume that a decentralized payment network exists and one user will
make  3  blockchain  transactions  per  year  on  average,  Bitcoin  will  be  able
to  support  over  35  million  users  with  1MB  blocks  in  ideal  circumstances

(assuming 2000 transactions/MB, or 500 bytes/Tx).

This is quite limited, and an increase of the block size may be necessary to support everyone in the world using Bitcoin.
A simple increase of the block size would be a hard fork,  meaning  all  nodes  will  need  to  update  their  wallets  if  they  wish  to
participate in the network with the larger blocks.


While it may appear as though this system will mitigate the block size increases in the short term,
if it achieves global scale, it will necessitate a block size increase in the long term.


 8)

FYI: LN means Snidely Whiplash Wins.  :P
http://cdn.quotesgram.com/small/64/28/449675158-922864_10151667671914602_1694026713_n_1_1024x1024.jpeg


Title: Re: Scaling Bitcoin. Is consensus achievable?
Post by: kiklo on November 28, 2016, 02:36:33 AM
This is an interesting site to keep an eye on segwit integration.
Props out to BitcoinNewsMagazine for posting it.

https://coin.dance/blocks#blocksminedbyclient
Shows the support for each client.
Classic Support (1.7%)    Unlimited Support (8.9%)    8MB Support (10.8%)    SegWit Support (25%)


 8)

FYI: Update
Classic Support (1.5%)    Unlimited Support (8.6%)    8MB Support (10.4%)    SegWit Support (22.2%)


Title: Re: Scaling Bitcoin. Is consensus achievable?
Post by: stdset on November 28, 2016, 07:24:15 AM
1. do you agree that LN uses multisig. where 2 parties co-sign agreed tx data. if yes read on, if not, research and come back later.
hint 2: both signing = both seeing a copy to be able to sign
Somewhy you fail to understand, that both parties sign the same commitment transactions before they can be broadcast. I've put that in bold, repeated several times, doesn't help.
Another hint: commitment transaction that Alice holds was created and signed by Bob. Now Alice holds this transaction, she sees it, she can sign it. Same with Bob's transaction. It was created by Alice. But Alice can't herself broadcast transaction which she created, because this transaction lacks Bob's signature. It's how multisignature works. You need both signatures for a transaction to be valid. Please bother to carefully read either the articles or my narration (or both). May be I'm bad at explaining, because English isn't my native language?

About your scenario. I'm not sure I fully understand it, what do you mean by B(X) for instance? What do you mean by "maturity 1000 blocks"? It's not tx which matures in 1000 blocks, it's one of it's outputs that does so (in fact not even so, it's one of ways the output can be spent which matures in 1000 blocks).

By "out scripts" you mean scripts of 2 outputs which commitment transactions create, Out script1 is for output1, Out script2 is for output2, right?
Then how it's possible
Out script2: if relevant(1klmnopqrs987654321 B(Y) val: 1btc); if irrelevant(1abcdefghij123456789 A(X) val: 0btc)
that the same output may result in significantly different amount of BTC spent, depending on a condition?
Not to mention, that commitment transactions in simple bidirectional channels create only 1 conditional output.


Title: Re: Scaling Bitcoin. Is consensus achievable?
Post by: stdset on November 28, 2016, 09:38:40 AM
Let me explain that multisignature stuff yet another way.

Both parties have seen both commitment transactions. But each party has only one of two commitment transactions with both signatures. So each party can drop on the chain only one of two txses. Alice can drop tx which Bob created. Bob can drop tx which Alice created. Since these txses spend the same anchoring output, only one of them can be confirmed.


Title: Re: Scaling Bitcoin. Is consensus achievable?
Post by: RawDog on November 29, 2016, 11:07:45 PM
We will never achieve full consensus.

'Consensus' turned out to be the death of Bitcoin.


Title: Re: Scaling Bitcoin. Is consensus achievable?
Post by: franky1 on November 30, 2016, 12:32:22 AM
1. do you agree that LN uses multisig. where 2 parties co-sign agreed tx data. if yes read on, if not, research and come back later.
hint 2: both signing = both seeing a copy to be able to sign
Somewhy you fail to understand, that both parties sign the same commitment transactions before they can be broadcast.

i understand it.. i was the one telling YOU that
here is me telling you its one TX they both sign and you arguing the opposite

they both hold the same relevant tx at the same time.
No, they hold different txes, which however distribute funds in similar ways.

Both parties have seen both commitment transactions. But each party has only one of two commitment transactions with both signatures.

you do know that multisigs needs 2 signatures.
you do know that to agree to what you call a "commitment" both parties need to see and agree to it.

Y can't broadcast that transaction because he doesn't have it. He instead has another transaction corresponding to the same state,

funny that in lastest post your arguing with yourself

Another hint: commitment transaction that Alice holds was created and signed by Bob. Now Alice holds this transaction, she sees it, she can sign it. Same with Bob's transaction. It was created by Alice. But Alice can't herself broadcast transaction which she created, because this transaction lacks Bob's signature. It's how multisignature works. You need both signatures for a transaction to be valid.[/b] Please bother to carefully read either the articles or my narration (or both). May be I'm bad at explaining, because English isn't my native language?

another failure on your part. unless its signed by both sides its not committed.
it needs to be seen by both sides to be signed by both sides to be fully commited. otherwise the state wont update.
no one in LN will update the state unless its fully committed. you cannot broadcast a tx without both signatures so you wont accept anything thats only one sided.

hense they both sign to both commit to the same terms. so that that if one of them goes offline they know the other has signed their part on the side they kept...

like any contract.
imagine a bank loan agreement if a bank signed a loan and passed it to you... you kept it but didnt sign the copy you kept
imagine a bank loan agreement if you signed a loan and passed it to the bank... they kept it but didnt sign the copy they kept

this leaves things open to abuse.
hense why both need to see BOTH signatures


About your scenario. I'm not sure I fully understand it, what do you mean by B(X) for instance? What do you mean by "maturity 1000 blocks"? It's not tx which matures in 1000 blocks, it's one of it's outputs that does so (in fact not even so, it's one of ways the output can be spent which matures in 1000 blocks).

firstly
THE scenario was me writing it in YOUR concept to show wher YOUR concept fails.

secondly
A(X)is using YOUR identifiers because you first started with X and Y.. then changed to A and B.. so i combined A(X) lets call her alice xavier.. and then a separate person B(Y) lets call him Bob Yonker.

thirdly
right at the bottom i said "the output spendable to him instantly before maturity expires"
im not sure where you got tx from.

summary:
they are just 2 entities. but i tried to use your identifiers.. but YOU kept switching between  X Y then later A B ..
aswell as your flip flops between dual signed single tx and duel signs separate tx..

JUST PICK ONE CONCEPT THAT MAKES SENSE TO YOU AND STICK TO IT.
OR EVEN BETTER
stay uptodate and then know the latest concepts and know what the main guys are trying to build. rather than the flawed out of date stuff



By "out scripts" you mean scripts of 2 outputs which commitment transactions create, Out script1 is for output1, Out script2 is for output2, right?
Then how it's possible
Out script2: if relevant(1klmnopqrs987654321 B(Y) val: 1btc); if irrelevant(1abcdefghij123456789 A(X) val: 10btc)
that the same output may result in significantly different amount of BTC spent, depending on a condition?
Not to mention, that commitment transactions in simple bidirectional channels create only 1 conditional output.

you can have a condition attached to any and all outputs
when its first broadcast its treated as relevant. so a future spender (once maturity expires) would care about this:
Out script1: if relevant(1abcdefghij123456789 A(X) val: 9btc); if irrelevant(1klmnopqrs987654321 B(Y) val: 10btc)
Out script2: if relevant(1klmnopqrs987654321 B(Y) val: 1btc); if irrelevant(1abcdefghij123456789 A(X) val: 0btc)
it ignores the irrelevant part meaning A(X) alice Xavier gets 9btc.  B(y)bob yonker would get 1btc.

however if B(Y) Bob yonker invoked a CSV revoke
when its first broadcast its treated as relevant. but revoke is invoked and so a future spender would care about this:
Out script1: if relevant(1abcdefghij123456789 A(X) val: 9btc); if irrelevant(1klmnopqrs987654321 B(Y) val: 10btc)
Out script2: if relevant(1klmnopqrs987654321 B(Y) val: 1btc); if irrelevant(1abcdefghij123456789 A(X) val: 0btc)
it ignores the relevant part meaning B(y)bob yonker would get 10btc. A(X) alice Xavier gets 0btc.


Title: Re: Scaling Bitcoin. Is consensus achievable?
Post by: stdset on November 30, 2016, 06:53:19 AM
hense they both sign to both commit to the same terms. so that that if one of them goes offline they know the other has signed their part on the side they kept...
This is your failure. I repeat it again and and again.
Let's see how it happens step by step.
1) Alice creates a tx, let's call it txa, which spends 2 of 2 output o1, she signs it.
2) She sends this tx to Bob
3) Bob signs it.
Now Bob has txa with both signatures. He can broadcast it, but Alice can't.
When I say that Alice doesn't have it, I mean that Alice doesn't have it with both singnatures.

hense they both sign to both commit to the same terms. so that that if one of them goes offline they know the other has signed their part on the side they kept...
Both latest commitment transactions distribute funds similar way. If Alice broadcasts her version, Bob immediately gets his share, Alice gets her share too, but after a significant timeout.
If Bob broadcasts his version, Alice immediately gets her share, but Bob needs to wait to get his share.
Terms don't change across these 2 transactions, it's just additional term: party which initiates emergency channel closing needs to wait to get it's share. Having 2 txes instead of 1 allows to introduce this (and one another) additional term.

so i combined A(X) lets call her alice xavier..
So, I guess B(X) is a typo. However, I suggest calling the parties either Alice, Bob, or A, B, or X, Y. A(X) looks like a function or operator.

when its first broadcast its treated as relevant. so a future spender (once maturity expires) would care about this:
Out script1: if relevant(1abcdefghij123456789 A(X) val: 9btc); if irrelevant(1klmnopqrs987654321 B(Y) val: 10btc)
Out script2: if relevant(1klmnopqrs987654321 B(Y) val: 1btc); if irrelevant(1abcdefghij123456789 A(X) val: 0btc)
it ignores the irrelevant part meaning A(X) alice Xavier gets 9btc.  B(y)bob yonker would get 1btc.

however if B(Y) Bob yonker invoked a CSV revoke
when its first broadcast its treated as relevant. but revoke is invoked and so a future spender would care about this:
Out script1: if relevant(1abcdefghij123456789 A(X) val: 9btc); if irrelevant(1klmnopqrs987654321 B(Y) val: 10btc)
Out script2: if relevant(1klmnopqrs987654321 B(Y) val: 1btc); if irrelevant(1abcdefghij123456789 A(X) val: 0btc)
it ignores the relevant part meaning B(y)bob yonker would get 10btc. A(X) alice Xavier gets 0btc.
This tx doesn't even closely resemble a commitment tx from design being discussed, so it's irrelevant.


OR EVEN BETTER
stay uptodate and then know the latest concepts and know what the main guys are trying to build. rather than the flawed out of date stuff
OK. Let's look at the picture from this perspective, if you insist. You mentioned that core devs overselling LN, claiming that channels need to be very rarely closed. You disagree with this claim. Now you are presented with design which has this property. Still you claim it's outdated, still you claim that some 'main' guys are trying to build something inferior. Who are those 'main' guys?
however if you read the stuff core and LN devs are saying. they are overselling LN as a system where channels never need to close.