Bitcoin Forum
June 23, 2024, 04:50:20 AM *
News: Voting for pizza day contest
 
  Home Help Search Login Register More  
  Show Posts
Pages: « 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 [51] 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 ... 315 »
1001  Bitcoin / Development & Technical Discussion / Re: Why blocktime decrease instead of blocksize increase is not discussed? on: March 01, 2016, 03:59:14 PM
I've posted several threads about this. It looks as if the optimum would be a 3 minute block interval with a 5 bitcoin reward for miners. The change to be implemented instead of the halving. Smiley
Now you just need to convince the miners that they are ok with 50% revenue cut, even as hashrate increases and no need to boost fees to 0.01 BTC per tx. As I saw in a movie once: "These are not the txfees you are looking for"

James
1002  Bitcoin / Development & Technical Discussion / Re: Proof that Proof of Stake is either extremely vulnerable or totally centralised on: March 01, 2016, 03:55:18 PM
This attack is known for years, just the first link from google: https://bitcointalk.org/index.php?topic=1019320.0
It's not easy to carry it out though.
Imagine you bought a key k1. In order to keep it's balance, the latest point where you can start building you fork is right before the key was emptied. Now you can buy another empty (on the main chain) key k2, but what state the key k2 is on your fork? Your history is different, maybe k2 was never funded on your fork, if it was, OK you buy it, but your history inevitably drifts away from the main history more and more and it becomes more and more difficult to find suitable keys from the main chain to buy.
Also I can't agree, that setting a limit on the reorg depth doesn't help. In the case of such a major attack node owners will have to manually choose what branch they want to stay on, and likely it will be easy to see which branch is a legit one.
I have a use case of needing to have many weak chains all be able to do atomic swaps between each other and to be as secure as possible. The problem is that there probably will only be a dozen nodes per chain and PoS is the only practical way to secure these chains. While it would be great to have an unlimited electricity budget, these nodes wont, especially the ones running off of batteries.

So, while the ultimate super duper security is by doing a zillion hashes and PoW, I dont think anybody debates this. The issue is that not all networks can afford this, so the choice is not between PoW and PoS, the choice is between PoS and no network at all.

My idea is to infuse these weak chains with BTC's security. Not for every tx of course, but certainly a backstop from reorgs that go too deep is one protection. Just knowing that after X amount of time, it cant be changed, regardless of how smart/powerful an attacker comes around.

The other thing that BTC can provide via a few consensus rules is a common clock. By segmenting time periods to match the BTC blocktimes (probably grouped into batches of 10 or so), then all the different chains can have a verifiable common reference. The mere presence of a BTC blockhash proves an "after" time relationship.

To get the "before", the weak chains will need a consensus rule to either reject or add any later BTC blockhash that is available. Only "permanent" BTC blockhashes are used, ie 10+ blocks to avoid confusions from small reorgs. maybe it needs to be 30 blocks, but some amount where we can be pretty certain that it will never get reorged.

With a leeway of one to account for lag time that happens when a new block arrives, all chains can have at least a +/- 1 btc block resolution. The consensus rules still need to be completely worked out, but so far, nobody has found a fatal flaw. Which means even the weakest chain with enough confirmations will be able to trade with other weak chains and still with enough confirms (past the max reorg allowed), all can pretend they have BTC level security. Of course prior to reaching the permanent point, any weak chain is subject to all the usual suspects of attacks

including the fantasy one of buying old keys for $5 or $500 or whatever token amount is supposed to be possible. It just isnt so easy to buy something at significantly less than what they are worth from rich crypto traders. Arguably, anybody with a privkey that used to be a large enough stake you want to obtain it, is smart enough to ask for market value. So the cost of the private keys will trade at the expected value for them, with a bit of a discount. And it would not be a contingent payment as once the privkey is delivered there is no way to collect. So now we are looking at not $5 for "worthless" keys, but $X upfront, where X is some discount from the expected value, ie chance of success * size of successful attack. So this goes from a riskless attack to one that rapidly approaches some sort of breakeven level, but uncertain proposition.

The bigger attack that any coin PoW or PoS has is the hardfork attack. This attack is when the parties that control the hardfork version can transfer value from one part of the system to themselves. Their self interest assures they will do this if such a hardfork is available. What this means is that ALL derived cryptos are totally insecure from the hardfork attack.

James
1003  Bitcoin / Development & Technical Discussion / Re: Why blocktime decrease instead of blocksize increase is not discussed? on: March 01, 2016, 12:13:24 PM
I don't think we ever have to go below 5 minutes. It's a great middle ground I feel.

History is filled with stories of people with a certain 'feeling'.

And besides, you should only give a patient some adrenaline when it's unresponsive and dead anyway.
Bitcoin's heartbeat of 10 minutes is ok and doesn't need crystal meth while it's still alive.

Oh I agree that Bitcoin is doing just fine and I don't think the transaction rate limit is much of an issue or that it will be in the near future because of TX fees but i also know that many many people think that it's a grave issue so I entertained the idea (even though it's clear we won't reach clear consensus anytime soon if ever).

I said I feel and not I'm convinced because that's what I think is reasonable with the small knowledge I have. But I'm open to change my opinion.
it is not a technical issue. I dont even think any code would need to be changed, just some constants, but it would be a hardfork, so it is an economic/politics issue that is determined in BTC via hashrate (aka money)
1004  Bitcoin / Development & Technical Discussion / Re: Fee market or Fullblockapolypse on: March 01, 2016, 12:11:48 PM

Just to get things back on track, I guess what I was wondering when I started the thread was:

1. Are these txs we've seen in the current surge real?

And

2. Is the fee market functioning or are people mindlessly sending genuine txs with too low fees and getting stuck?
With ~$2 billion in crypto (BTC) VC investments, it wouldnt surprise me if some of these startups are entering test or even rollout phases.
1005  Bitcoin / Development & Technical Discussion / Re: Fee market or Fullblockapolypse on: March 01, 2016, 11:48:59 AM
There's no fee market, no wallet is prepared for such a thing, nor are users.

Plus there's no need for a 'fee market', we still have subsidy.

What do you mean by "we still have subsidy" ?

25 new bitcoins block reward.

So you believe that a fee market would spontaneously manifest in the year 2140 when mining is done?
I think a fee market would be priced in long before that moment.
Unless, of course, we HF and create unlimited blocksize (and kill the infant before we even get close to 2140)
block rewards are cutting in half. expenses going up
need to boost revenues
limit available tx
boost txfee revenues

in 2016, not any 2140

Mining is a highly competitive business and the reward halving has been known since before Satoshi fired up the first node. There is no reason to try to protect the mining industry in this way.
Nobody needs to protect the miners, since the control the blockchain. Since the miners determine which hardfork wins, to expect they will choose a version that gives them less money is not realistic.

That just means they won't do anything to destroy the fiat value of BTC.

So they'll go with one that, in their view, ensures the future success of Bitcoin.


there are strong arguments on both sides of whether 10x higher txfees will help or hurt bitcoin. It seems to complicated to accurately understand.

I predict txfees will asymtotically approach sqrt(blockreward)
1006  Bitcoin / Development & Technical Discussion / Re: Fee market or Fullblockapolypse on: March 01, 2016, 11:27:41 AM
There's no fee market, no wallet is prepared for such a thing, nor are users.

Plus there's no need for a 'fee market', we still have subsidy.

What do you mean by "we still have subsidy" ?

25 new bitcoins block reward.

So you believe that a fee market would spontaneously manifest in the year 2140 when mining is done?
I think a fee market would be priced in long before that moment.
Unless, of course, we HF and create unlimited blocksize (and kill the infant before we even get close to 2140)
block rewards are cutting in half. expenses going up
need to boost revenues
limit available tx
boost txfee revenues

in 2016, not any 2140

Mining is a highly competitive business and the reward halving has been known since before Satoshi fired up the first node. There is no reason to try to protect the mining industry in this way.
Nobody needs to protect the miners, since the control the blockchain. Since the miners determine which hardfork wins, to expect they will choose a version that gives them less money is not realistic.
1007  Bitcoin / Development & Technical Discussion / Re: Proof that Proof of Stake is either extremely vulnerable or totally centralised on: March 01, 2016, 11:00:02 AM
Imagine the difficulty of contacting enough such stakeholders. So with a very long term horizon and actively targeting a coin and aggressively buying keys (has anyone every actually done even a single sale) from ex-whales, then at some point you have enough keys, but you cant go back in time with a one day moving checkpoint. So now you need to setup a zillion nodes to sucker in newbies and exchanges?

I just imagine setting up a forum post to get the key stake holders together with a trusted escrow to action it in one go. Can't see that being difficult, or expensive.

Remember, these are not ex-whales, these are current whales and they're not selling their stake, they're selling old private keys which are now empty and thus valueless.

In addition, the one day moving checkpoint you're describing is a reorg-depth limit, not a checkpoint. A checkpoint is a block hash and a height.
what I suggest is a moving checkpoint, utilizing BTC blockhashes
1008  Bitcoin / Development & Technical Discussion / Re: Fee market or Fullblockapolypse on: March 01, 2016, 10:58:51 AM
There's no fee market, no wallet is prepared for such a thing, nor are users.

Plus there's no need for a 'fee market', we still have subsidy.

What do you mean by "we still have subsidy" ?

25 new bitcoins block reward.

So you believe that a fee market would spontaneously manifest in the year 2140 when mining is done?
I think a fee market would be priced in long before that moment.
Unless, of course, we HF and create unlimited blocksize (and kill the infant before we even get close to 2140)
block rewards are cutting in half. expenses going up
need to boost revenues
limit available tx
boost txfee revenues

in 2016, not any 2140
1009  Bitcoin / Development & Technical Discussion / Re: Why blocktime decrease instead of blocksize increase is not discussed? on: March 01, 2016, 10:57:25 AM
It has been discussed. There are threads here about it.

Does not really help with anything. The shorter block time has a comparable effect to larger blocks in terms of relay latency sensitivity. The bandwidth and storage requirements are unchanged.

There is an advantage in terms of faster confirmations, but a disadvantage in terms of longer header chains for SPV clients.

So overall, maybe worth considering, but overall kind of pointless.




doubling tx capacity is pointless?

What I mean is halving the block time vs. doubling the block size is largely pointless.

Quote
supposedly dealing with the massive 1MB blocks are the issue that creates resistance to increasing the blocksize. Establishing a txfee market has nothing to do with this resistance. The miners absolutely dont want to make more money by forcing txfees up.

5 minute blocks of 1MB doubles the tx capacity and delays the txfee market that the miners say they dont want, since the block reward is all they care about. Whats a few satoshis worth of txfees anyway?

I don't think you will find it any easier to double the block rate than double the block size. Just my opinion.
Yes, the problem is that the people with the power to decide are incentivized to create a smaller supply of available tx, and cutting the time in half only eliminates the "bandwidth is so bad here we use pigeons and 1 MB is all that fits in the tiny pouches" excuse. ipoac to the rescue

so it seems we are headed for significant txfee inflation
1010  Bitcoin / Development & Technical Discussion / Re: Proof that Proof of Stake is either extremely vulnerable or totally centralised on: March 01, 2016, 10:41:52 AM
Where can I buy these keys? I am interested to buy up any PoS using this method and then short sell it

Theoretical vs Practical issues.

Also, what if the PoS chain utilized a PoW chain, like BTC? By effectively using BTC blockhashes directly in a PoS, you can get at least a backstop level of protection. By putting in a moving checkpoint onto the BTC blockchain, then you can create a decentralized and verifiable PoS chain.

Use BTC at the trusted party. Now maybe that changes it from a pure PoS, but maybe you can see a way to attack that too? The assumption is that all nodes are directly monitoring the BTC blockchain and the PoS staking node also puts data into the BTC blockchain, maybe once per hour or so.

James

Imagine the temptation for any stakeholder being presented with an offer to buy his empty private key for $1000? It has no value to him, he gets 'free' money and is unaware of the risks.

Using BTC as a provider of sidechains for PoS candidates has been discussed before, of course. I haven't studied it well enough to form any conclusions on the viability of combined consensus techniques.
Imagine the difficulty of contacting enough such stakeholders. So with a very long term horizon and actively targeting a coin and aggressively buying keys (has anyone every actually done even a single sale) from ex-whales, then at some point you have enough keys, but you cant go back in time with a one day moving checkpoint. So now you need to setup a zillion nodes to sucker in newbies and exchanges?

also the lack of any large short selling market. My estimate is the manual labor cost to do this makes it have a negative expected return and as such is in the same category of economically nonviable endeavors.

Anyway, my interest on this topic is not about pure PoS, but a way to allow all of crypto to benefit from the electricity BTC is using.

I wrote up a little bit on how to use BTC as a unversal sequence server, like a clock for all of crypto.
https://bitcointalk.org/index.php?topic=1372879.msg14034846#msg14034846

It came out of a post  made the other day, so I am sure it is not perfect, but I am pretty sure that weak PoS chains can be made a lot more secure by utilizing BTC. It would make BTC the heart of all these hybrid BTC/PoS and should appeal to the BTC maximalists.

As always, I am agnostic. I just seek the truth to find the best solution for each specific case

James
1011  Bitcoin / Development & Technical Discussion / Re: Proof that Proof of Stake is either extremely vulnerable or totally centralised on: March 01, 2016, 10:18:22 AM
Where can I buy these keys? I am interested to buy up any PoS using this method and then short sell it

Theoretical vs Practical issues.

Also, what if the PoS chain utilized a PoW chain, like BTC? By effectively using BTC blockhashes directly in a PoS, you can get at least a backstop level of protection. By putting in a moving checkpoint onto the BTC blockchain, then you can create a decentralized and verifiable PoS chain.

Use BTC at the trusted party. Now maybe that changes it from a pure PoS, but maybe you can see a way to attack that too? The assumption is that all nodes are directly monitoring the BTC blockchain and the PoS staking node also puts data into the BTC blockchain, maybe once per hour or so.

James

1012  Bitcoin / Development & Technical Discussion / Re: Why blocktime decrease instead of blocksize increase is not discussed? on: March 01, 2016, 09:34:25 AM
The coming halving of the blockward, also has absolutely no effect on making the miners wanting to get more txfees.

After all, all businesses love it when their revenues just get cut in half, instantly. When all their costs stay the same, so why would miners do anything to boost their txfee side of the income? With a few thousand tx per block, if the market rate for txfee is pushed to 0.005, then all of a sudden, it isnt just a few satoshis anymore

Follow the money. Usually the answers are there

James
1013  Bitcoin / Development & Technical Discussion / Re: Why blocktime decrease instead of blocksize increase is not discussed? on: March 01, 2016, 09:30:18 AM
It has been discussed. There are threads here about it.

Does not really help with anything. The shorter block time has a comparable effect to larger blocks in terms of relay latency sensitivity. The bandwidth and storage requirements are unchanged.

There is an advantage in terms of faster confirmations, but a disadvantage in terms of longer header chains for SPV clients.

So overall, maybe worth considering, but overall kind of pointless.




doubling tx capacity is pointless?
supposedly dealing with the massive 1MB blocks are the issue that creates resistance to increasing the blocksize. Establishing a txfee market has nothing to do with this resistance. The miners absolutely dont want to make more money by forcing txfees up.

5 minute blocks of 1MB doubles the tx capacity and delays the txfee market that the miners say they dont want, since the block reward is all they care about. Whats a few satoshis worth of txfees anyway?
1014  Bitcoin / Development & Technical Discussion / Re: Why blocktime decrease instead of blocksize increase is not discussed? on: March 01, 2016, 09:15:48 AM
I don't think we ever have to go below 5 minutes. It's a great middle ground I feel. It doesn't have the disadvantage that pools require superb internet connection (like 2+ MB block sizes) and it's also virtually immune to orphans.
I also think transaction fees should be higher to prevent spam but most people hate that idea.

Blockchain bloat I think is a non-issue; internet bandwidth is increasing much faster and even SSD storage prices decrease in a much faster rate than the blocksize would increase. It might be even true even if the TX per second would be unlimited.

The blockchain is like 56 GB or so today and while that seems large, it really isn't. The smallest HDD you can buy is multiple times bigger than that. You can even fit the blockchain on SD cards/pen drives.

Edit: Ipoac  Grin
When you can do a full blockchain sync in 30 minutes, there is no bloat problem.

I think a much bigger issue is the lack of standard for iporc. If pigeons are compared to rats with wings, then the rat lobby demands representation for ip packets encoded into bits of cheese. The technical challenges are immense, primarily due to consumption of the cheese prior to proper checksums are verified. However, I am assured that the rodents in general and rats in particular are confident that they will be able to create a more reliable packet routing than their flying counterparts

James
1015  Bitcoin / Development & Technical Discussion / Re: Why blocktime decrease instead of blocksize increase is not discussed? on: March 01, 2016, 08:51:48 AM
I mean I know the disadvantages of bigger block sizes but I can't think of any disadvantages to having like 5 minute blocks (with obviously half rewards).

Blockchain bloat is not an issue as it's practically all about block sizes anyway.
And of course Bitcoin is quite slow for today's standard so halving the blocktime would help both with that and the maximum TX per seconds as well.
Add 2MB blocks to the mix and the maximum TX per second is already quadrupled without any major effects that I can think of.

It's obviously not even discussed for a good reason but I'm curious what that reason might be.
Actually the real reason is that there is an active behind the scenes campaign from the avian lobby:

https://en.wikipedia.org/wiki/IP_over_Avian_Carriers

They have spent a lot of money on higher reliability and faster packet times. At the 10 minute blocktime, they have a chance. Dont take that away from them

James
1016  Bitcoin / Development & Technical Discussion / Re: Why blocktime decrease instead of blocksize increase is not discussed? on: March 01, 2016, 08:48:30 AM
I mean I know the disadvantages of bigger block sizes but I can't think of any disadvantages to having like 5 minute blocks (with obviously half rewards).

Blockchain bloat is not an issue as it's practically all about block sizes anyway.
And of course Bitcoin is quite slow for today's standard so halving the blocktime would help both with that and the maximum TX per seconds as well.
Add 2MB blocks to the mix and the maximum TX per second is already quadrupled without any major effects that I can think of.

It's obviously not even discussed for a good reason but I'm curious what that reason might be.
its a slippery slope.
first its 5 minutes
then 4, 3, 2, 1

and well before that a lot of hashrate is wasted on orphans and then instead of very rarely seen a block only to see it replaced, it will become much more frequent.

Also, it will bloat the blockhain by 0.01% due to extra overhead of blockheader's 81 bytes
i guess it is 0.008% at 1MB blocks.

James
1017  Bitcoin / Development & Technical Discussion / Re: Bitcoin's Weakest Link on: February 29, 2016, 06:55:07 PM
P.S. For consistency, taking lower 160 bits of double sha256 would have removed the need for a ripemd160 hashing, but probably the thinking was that it was incrementally safer to use two different hash functions

It does use double SHA256 for the address checksum.  Perhaps they wanted to do something wildly different for the hash.

Some of the altcoins chain pretty much every known hash function for proof of work.  The idea being that if a bunch of them would be solved, the code would still be usable.


double sha256 is used in quite a few places, the blockhash, the data that is signed, the address checksum and also for checksum of network messages.

While using different hash functions would require all of them to be solved to invert them, the danger of using any old hash function is that if any of them loses a lot of entropy, you could get a lot more collisions or just a clumping of outputs, which could cause bad behavior in other parts of the system that is expecting cryptographic strength hash

Hopefully, the resulting hashes are verified for collision resistance

James
1018  Bitcoin / Development & Technical Discussion / Re: Bitcoin's Weakest Link on: February 29, 2016, 06:50:49 PM
So is it your opinion that Bitcoin with broken RIPEMD-160 is as robust as Bitcoin with unbroken RIPEMD-160?
I just don't see any realistic attack vector that would use collisions in rimped160, which are (BTW) still due to be discovered.

If you want to scare me, or impress me, you need to show me a potential attack vector.
on an unrelated issue, do you know what the likely range for the tx version field will be?

both version and locktime have very low entropy when viewed as an aggregate, but I dont want to encode it with too few bits if either of them will start being used actively. I think for locktime, encoding it as a relative to block or block timestamp for the cases it is nonzero could get both fields encoded into average of 8bits

I am using fixed space allocation though, so I need to make the worst case be as small as possible

James
1019  Bitcoin / Development & Technical Discussion / Re: Bitcoin's Weakest Link on: February 29, 2016, 06:30:47 PM
AFAIK, bitcoin protocol never uses RIPEMD-160 to hash data.

Whenever the protocol mentions RIPEMD160(data) it is actually RIPEMD160(SHA256(data))

Therefore, IMHO exploiting collisions is rather impossible.

So is it your opinion that Bitcoin with broken RIPEMD-160 is as robust as Bitcoin with unbroken RIPEMD-160?

Given that I wrote a client, you'd think I would have remembered the extra SHA256 in there.

Back to the drawing board.


all usage of ripemd-160 in the bitcoin protocol is to the result of the sha256's 256 bits, there is OP_RIPEMD160 that does just the RIPEMD, but there is also OP_SHA1. Unless you are using custom scripts on a core that supports those script opcodes, you are safe from the dangers of weak hash funcs.

Not sure if there is a way for any function to reduce the entropy of the sha256 output in a meaningful way, short of using an anti-sha256 after the sha256, it is probably harmless to use ripemd-160, and it could even make things that much harder to inverse.

If to just rely on lower bits of sha256, then once that is fully solved, well, I guess a lot in crypto will be an open book at that point. and if sha256 is cracked, then probably ripemd160 is also cracked.

James

P.S. For consistency, taking lower 160 bits of double sha256 would have removed the need for a ripemd160 hashing, but probably the thinking was that it was incrementally safer to use two different hash functions
1020  Bitcoin / Development & Technical Discussion / Re: The first successful Zero-Knowledge Contingent Payment on: February 29, 2016, 04:49:46 AM
solution to a 16x16 Sudoku puzzle for 0.10 BTC....good idea
Have to start with something. Seems much better than a solution to a tic-tac-toe problem.

Just keep in mind it is the "hello world" to show this concept actually works

I hope there will be reference verifies and easy to follow examples for more practical things, like privkey swap for BTC

hint, hint

James

P.S. before you start posting that to swap a privkey is silly, consider a 2of2 msig where you already have the other half
Pages: « 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 [51] 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 ... 315 »
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!