Bitcoin Forum
July 22, 2024, 08:19:25 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
  Home Help Search Login Register More  
  Show Posts
Pages: [1] 2 »
1  Bitcoin / Development & Technical Discussion / Checksums for blocks with pruned transactions on: May 02, 2013, 06:14:42 AM
The way how I understand the current approaches for pruning of transactions is that those approaches:

  • Allow a node that already stored the full blockchain to prune fully spent transactions
  • Still require the full unpruned blockchain to be initially transfered if the node should be able to validate transactions by itself

Are these assumptions correct?

If yes: Why can't each block also contain an additional checksum over the unpruned data in preceding blocks? So let's assume during runtime the client implementation dynamically generates a checksum over the unpruned data in every single block. Every new generated block contains an additional hash over all of those checksums in the preceding blocks, at the time when the block was generated. In addition, for every new transactions clients immediately prune old fully spent transactions and recalculate the checksum of the particular block. For every new block miners verify the hash over the checksums and only accept blocks if the hash corresponds with their locally calculated hash. This would allow a new validating client to only obtain the pruned blockchain and still be able to find out if its data is correct.

Are there any drawbacks of this approach that I overlooked? Or is this (or something similar) already implemented in clients (or planned for newer clients)?
2  Alternate cryptocurrencies / Altcoin Discussion / Re: Why Litecoin? on: April 27, 2013, 05:10:02 PM
(copy&pasted from my response to another thread)

Litecoin serves a huge function in the crypto-currency world, because Scrypt based hashing is orders of magnitudes more secure than SHA256.

http://www.reddit.com/r/litecoin/comments/1cssqr/the_math_why_litecoin_is_more_secure_than_bitcoin/

http://en.wikipedia.org/wiki/Scrypt

So the first reddit links provides a very dubious calculation based on some Javascript calculator that's on some random website. And the second link discusses Scrypt as key-deriviation function, where it provides considerable benefits over other function. But as proof-of-work requirements are considerable different from key-derivation requirements those benefits don't really apply to Litecoin.

Quote
LTC serves as a hedge against any issues with BTC, both in terms of bugs with the software and any sort of attack on the network.

Bugs with the software? Litecoin isn't some new software, but just an outdated Bitcoin client. Look at the source code.
3  Alternate cryptocurrencies / Altcoin Discussion / Re: Why Litecoin? on: April 27, 2013, 04:42:01 PM
Litecoin to me is useful and valuable to me in a lot of ways.

1. Diversification of one's cryptocoin portfolio. Someone such as myself that really likes Bitcoin can use other crypto currencies to diversify their crypto portfolio (this valuable trait is not specific to Litecoin.) Age old investing ideology comes into play here and this is just smart investing. Only investing in Bitcoin is like going all in on Google stock.

I'm not holding crypto-currencies because I'm investing, but because I think they're a good idea to conduct transactions over the internet. I bought a set of such currencies (Bitcoins, Litecoins) a long time before all of the hype (see the creation date of my user account, started buying Bitcoins well before I created the account) and I didn't really expect them to rise in value that much. "Investing" in currencies is just stupid, because that's basically a Ponzi-scheme. That's even true for Bitcoin to a given degree now, but at least there you have actual usage of the protocol to offset the speculation. If you want to "invest" in something invest in Bitcoin/Litecoin related companies instead of bubbles.

Quote
2. Litecoin being built upon Scrypt makes it stronger than most other ALT currencies, especially the ones that are SHA-256 based. If you look into the problems TRC is facing, you will see that ASICs are hoping on their chain and sending difficulty into the stratosphere. They then go to hash something else, leaving the TRC block chain moving at a snail's pace and transactions taking hours to days to confirm. All SHA-256 based ALT coins (that do not have Scrypt) will suffer from this problem until they are fixed.

That's only a very temporary advantage. While Scrypt has the advantage that it is "memory-hard", technology changes still have the same effect on Litecoin as on Bitcoin (and other cryptocurrencies). Once ASICs are the primary hashing technology in the Bitcoin world it's hard for adversaries to come up with more effective solutions (unless they can spend lots of energy). With Scrypt on the other hand you'll be facing the same problems, but just at a later time. And the attack described by you above would also be possible against Scrypt, as you could use a Botnet instead of an ASIC for this. OTOH, once ASICs are the standard in the Bitcoin world Botnet attacks aren't feasible at all, as the hashing rate that can be reached with them is much lower than what a few ASICs deliver.

Quote
3. Litecoin is useful to the crypto currency ecosystem in the way that it's useful to have Visa, MasterCard, and Discover Card... or Wells Fargo, Bank Of America, and Chase. Sure, they all do the same thing, but they all do the same thing a little bit differently. Also, if one were to fail, there are others in existance so all commerce would not screech to a halt across the nation. It is good for Bitcoin to have a competing entity that is similar but not the exact same to itself. For the benefit of free market competition, each currency will always be striving to stay ahead or to catch up to one another, at the end of the day mutually improving both currencies by default.

Visa and Mastercard are different technologies, but they still use a commonly agreed on currency. You already have that in the Bitcoin world: A common currency and dozens of different client implementations. You don't have that in the Litecoin world - there you can only choose one from two outdated and unmaintained clients.

Quote
4. Litecoin confirms in 1/4 the time that Bitcoin does. This one is brought up the most often for obvious reasons. I am sometimes impatient and do not want to wait 10 minutes to a hour+ for one or ten confirmations on the Bitcoin block chain. Although in theory this makes Litecoin 1/4 as secure as Bitcoin, I personally have never suffered any problems using Litecoin. Also, Bitcoiners refute this point by stating Bitcoin will soon be faster as soon as the devs increase the block size (I think this is the method they are trying to use), but it is a lot easier said than done. If it was an easy thing to do, then it would have been done long ago. Litecoin is faster right at this moment, which is valuable to me.

Waiting for 6 transactions (or whatever) is just an arbitrary number. You correctly noticed that the same transaction amount for Litecoins is less secure than for Bitcoins. So why not just wait for less transactions when using Bitcoins?

Quote
7. The Litecoin community is growing at an exponential rate. Similar to the growth of Bitcoin, as the community grows then so will Litecoin. Litecoin is already far too big and the people that believe in it are too invested in Litecoin for it to fail at this point. Litecoin can at this point proudly say that they are king of the ALT coins. It can no longer be brushed aside as a scam/pump and dump/whatever, it has real value and people are starting to see that.

The only reason why the community grows is because previous Bitcoin miners find out that there equipment is suddenly useless and therefore try to earn money with Litecoins instead. The fallacy here is that miners don't really matter much when it comes to the utility of a currency. The community that would need to grow are the actual users conducting transactions via Litecoin and this community is still extremely tiny.

Quote
9. Not everyone was so lucky to be around when Bitcoin was first started and able to buy them for pennies. The possibility of becoming an "early adopter" is very appealing to new crypto currency users. A ton of "noobs" have recently appeared in the last wave of Bitcoin mania and I've noticed that a lot of them overwhelmingly support and/or already use Litecoins.

So you say that Litecoin is a classical bubble? People just buy it because they assume that its value will rise?

Quote
10. As Bitcoins become more valuable over time, this will further push the poor and "working class" away from it. Some can no longer afford to buy one Bitcoin even at today's prices. People like to get more for their money, and when buying at today's exchange rate people can get more Litecoins than Bitcoins. If the same services and merchants start accepting Litecoins, then what is the purpose of paying $100+, $200+, or $300+ per bitcoin?

The exchange rate is just an arbitrary number and doesn't affect real-life utility. The Zimbabwean dollar is not a better currency than the US dollar, just because you need billions of them in your pocket to buy a breakfast. But if there's really a psychological reason behind this it might be time for the Bitcoin community to switch to mBTC or all the way to Satoshis as currency unit.

Quote
11. Litecoin has the advantage of doing everything after Bitcoin. By sitting and waiting in the shadows for people to bring to light exploits and bugs on Bitcoin, these problems can be fixed before there is much of a problem or before someone exploits it. Bitcoin would obviously be exploited first if there was something to exploit, because of the bigger market cap and it is more valuable for someone to exploit Bitcoin first rather than Litecoin.

In practice (if you look at the source code) Litecoin is basically a copy of an old Bitcoin version and has not been updated for a very long time. In other words: Almost all of the attacks applicable against Bitcoin are also applicable against Litecoin. In addition, all the security issues that have been long fixed in the Bitcoin have been mostly ignored by Litecoin (so Litecoin is still vulnerable to them). Litecoin users are claiming that Litecoin is "more modern" than Bitcoin, but the truth is that it is basically outdated and unmaintained.
4  Alternate cryptocurrencies / Altcoin Discussion / Why Litecoin? on: April 27, 2013, 07:27:02 AM
During the last weeks I've read dozens of forum posts from people suggesting to use Litecoins instead of Bitcoins. Several of them also here on bitcointalk, but none of them provides technical evidence of why Litecoin should be better (or even comparable) to Bitcoins. My personal opinion is that Litecoin is inferior from a protocol and implementation point of view and that other alt-currencies (such as PPCoin) would be a much better alternative than Litecoin. I've listed my reasons for this assumptions below. I'd be interested in counter-arguments to my points and in a discussion about the benefits of Litecoins.

In my opinion those are the main disadvantages of Litecoin:

  • Litecoin doesn't provide significant technological advantages in comparison to Bitcoin. My first question when seeing an alt-currency is "Why should I use this?". Some alt-currencies have good answers to this question. For example, PPCoin's proof-of-stake mining looks extremely innovative making PPCoin a possible candidate for a Bitcoin 2.0 network. Litecoin, in comparison, is just a relatively straightforward copy of the Bitcoin code. (I know about Scrypt and the shorter confirmation times. However, those are just minor changes and neither of them provides any major advantages.)
  • The client code is essentially unmaintained and based on an outdated Bitcoin version. In one of the most recent Litecoin commits the authors even had to remove a warning from the source code, preventing the client from reporting that it is obsolete. None of the newer security and performance improvements of the Bitcoin code made it into Litecoin.
  • The price is purely driven by speculation. There are currently next to zero applications for Litecoins. The only thing one can do with them is buying them on an exchange and hoping that they can be sold for more money at some later point. If I'd felt like gambling I'd rather use Satoshi Dice with Bitcoins instead.
  • The fact that Mtgox announced it will support Litecoins sounds like a red herring. If they support one alt-currency they are likely to also support some other alt-currencies. So why invest in overpriced Litecoins, when there are other alt-currencies that are cheaper and provide real technological advantages?

So for the Litecoin supporters: Which advantages does Litecoin have? And is there any client software that's actually maintained?
5  Alternate cryptocurrencies / Altcoin Discussion / Re: Ripple Giveaway! on: March 12, 2013, 04:28:42 AM
rB5mEnapSe63th61aUb8QEcX1h6TteZn2K
6  Bitcoin / Bitcoin Discussion / Re: Why the hell this shit was not tested on testnet? on: March 12, 2013, 03:27:32 AM
What the hell are the devs thinking? What is the testnet for? Testnet is not only to test userland code, but it is a fine place to test mining code too damnit!

So are you paying the devs for developing the Bitcoin software? And why didn't YOU test the code in testnet before it was released as 0.8?
7  Bitcoin / Development & Technical Discussion / Re: Use a strong password for your local bitcoind on: April 23, 2012, 10:11:00 PM
Quote
Create an <img /> tag that loads a URL with a username:password given in the img tag. This gets you get around the HTTP basic authentication of the bitcoind.

Care to elaborate on this?

The local bitcoind uses HTTP basic authentication. So usually I need to enter a username/password in my browser if I send HTTP requests to the bitcoind. However, image tags allow to embed authentication information within the URL, for example: <img src="username:password@http://localhost:1234/" />. Furthermore, if this authentication is successful username and password are cached by the browser and automatically used on subsequent requests.

So if you have a list of common usernames and passwords you can just:
  • Take a username and password from the list and dynamically inject an <img /> tag in your page that loads this resource.
  • Create a client-side HTTP POST request that uses this cached authentication data to send a request to your bitcoind. For example by using Flash (as discussed in my first post) or by using a HTTP form submit in an iframe.
  • Repeat in a loop with many different combinations for usernames and passwords.

Basically that's very similar to a standard CSRF attack (https://en.wikipedia.org/wiki/Cross-site_request_forgery) and the password is the only protection against it. So if your password is just "password" (or word that's likely to be on a wordlist) this attack would succeed.

It seems like this won't work with current Chrome development versions, because they prevent embedding username/passwords inside URLs (https://code.google.com/p/chromium/issues/detail?id=123150). However, this should still work with the current stable Chrome version and other browsers such as Firefox.
8  Bitcoin / Development & Technical Discussion / Re: Use a strong password for your local bitcoind on: April 23, 2012, 09:48:35 PM
Bitcoind listens on port 8332.  IF your firewall is blocking port 8332 then those attacks aren't going to work.

That's exactly the misconception I've pointed out: Your firewall does not protect you, as the connection is not established by the remote attacker, but by your Web browser. This should work with any browser that has Flash installed. It does not work without Flash (e.g., with Javascript), as Javascript applies the same-origin policy to the request, instead of the response.
9  Bitcoin / Development & Technical Discussion / Use a strong password for your local bitcoind on: April 23, 2012, 09:29:55 PM
I've heard from several people now that they don't need a secure password for their local bitcoind, as "it's only listening on localhost" or as "the local network is secured by a firewall". Just a friendly reminder that neither of those protects you. If you have a bitcoind running on localhost and you use a weak password, it's trivial for an attacker to steal your bitcoins.

For example, a potential attack that uses the user's webbrowser might look like the following:
  • Create an <img /> tag that loads a URL with a username:password given in the img tag. This gets you get around the HTTP basic authentication of the bitcoind.
  • Use Flash to send a HTTP request to the bitcoind that transfers the coins to another address. Same-origin policies don't protect you here, as Flash applies those policies to the response instead of the request. So the Flash applet can't read bitcoind's reply, but can still send the request.
  • Repeat in a loop with a large number of potential passwords.
10  Bitcoin / Bitcoin Discussion / Re: Mt. Gox to open trading in competition with churches around the world... on: June 26, 2011, 02:00:21 PM
Come on, we're not a nation of atheists, even if some people here are! 

Just a friendly reminder:

We are not a nation, but a global community. Mt. Gox is sitting in Japan, there are traders in Europa, Asia, Africa, Australia, and also some in the US.

15 GMT works fine: Most people in the US are already awake, while most people in Japan aren't already asleep. And of course it's also daytime in Europe. So for most people 15 GMT is at some point during the morning/day/evening, and only few people need to trade during the(ir) night.

In addition, it's Sunday, so many people don't need to work today (except for some middle-eastern countries, where Friday takes the role of our Sunday).

So I'd say that Sunday 15 GTM is one of the fairest solutions for everybody. If this doesn't work for you just don't go to church. Or buy a 3G SIM card and take your laptop with you.
11  Bitcoin / Bitcoin Discussion / Re: Opening a BitCoin exchange is futile - ready why on: June 22, 2011, 07:57:25 PM
Look at the way how Bitmarket works:

The (Bitcoin) seller sends his Bitcoins to the Bitmarket escrow service
The buyer directly wires the Bitcoins to the seller
The seller releases the coins in the escrow

So you don't have to deal with any real money at all.

Another nice thing is that you can operate such an exchange 100% anonymous over Tor - you just need to somehow gain the trust of the community.
12  Bitcoin / Bitcoin Discussion / Re: mybitcoin.com potential lawsuit on: June 22, 2011, 07:50:03 PM
It does but I forgot why.

http://math.ucr.edu/home/baez/physics/General/hot_water.html
13  Bitcoin / Bitcoin Discussion / Re: mybitcoin.com potential lawsuit on: June 22, 2011, 07:38:05 PM
From https://www.mybitcoin.com/contact-us.php :

MyBitcoin LLC
Main Street, Box 556
Charlestown
Nevis, West Indies

So good luck with suing them! You will need it.

There is probably a potential lawsuit against mybitcoin.com for negligence.

Numerous users have complained about the theft of bitcoins from mybitcoin.com
http://forum.bitcoin.org/index.php?topic=20427.0

If they were aware of the potential security breach and did not take adequate measure to protect their members they could be liable

So let me get this straight:

1) There were no security problems at mybitcoin.com
2) mtgox was cracked
3) Some users were so f***ing stupid to use the same username and password on both sites

And you claim 3) is the fault of mybitcoin.com? I don't see any reason why they should reset any passwords due to the Mt. Gox issue. To be honest, as a user of Mt. Gox I was really annoyed that I had to reset my password at some other sites, just because some users were too stupid to take minimal security precautions.

Being just stupid is one thing, suing others for your own stupidness is another thing - and not acceptable to me.
14  Bitcoin / Development & Technical Discussion / Are transactions bound to a specific block or can they be applied to any block? on: June 21, 2011, 08:13:39 PM
Let's say I have a fork of the blockchain into chains A and B. My client currently only sees A and I submit a transaction.

Would it now be possible that someone else also applies the same transaction to B? Or is the transaction somehow bound to the chain (e.g. by specifying the hash of a chain block that must exist before the transaction is considered valid), so that a transaction submitted for fork A is invalid for fork B.

The reason why I'm asking is that some "Bitcoin banks" seem to only credit received coins after a given number of blocks have passed. If it would be possible to bind a transaction to a specific block chain (e.g., by specifying a required "previous" block) one could avoid this problem, by instantly crediting received coins, but by binding newly sent coins to the same fork of the chain where the previous coins have been received.
15  Bitcoin / Bitcoin Discussion / Re: Decentralized Exchange Service on: June 21, 2011, 07:43:27 PM
Ok. The MT Gox situation is a lesson for the whole BTCommunity to learn. We did. Now it is time to think about the future. It is clear that the current exchange model has flaws and it needs to evolve. We, the people in this community, are one of the smartest groups of people on the planet, yet this issue made us look like fools for a while, but that is the past. If when Mt. Gox returns to business we should all support it as usual, but, we need to start coding the new system ASAP.

This Topic is where the new Decentralized Exchange Service is Born.

Why create one central decentralized exchange, when you can just create many decentralized independent exchanges?

As an individual just don't use the monopoly (where the Lemmings go), but one of the other exchanges.

While I have a Mt. Gox account I did all my recent trades over Bitmarket and so I did not have to care about the Mt. Gox problems at all.

Unfortunately it seems that all the Lemmings are moving now to TradeHill. Instead of learning something from the Mt. Gox fail everyone switches to the same exchange waiting for the next crash.
16  Bitcoin / Bitcoin Discussion / Re: Are 24/hr Trades Really That Good Of An Idea? on: June 21, 2011, 10:05:16 AM
There will be differences in pricing no matter what. Look at Ebay,they are still trading at around $25 dollars there , which is amazing considering what just happened at MTGOX.. That point is irrelevant.

The high prices on Ebay are almost certainly due to the fraud risk that the sellers have. If they are, e.g., paid with Paypal, the buyer can reverse the transaction after receiving the Bitcoins. Therefore, every seller will charge a premium to cover that risk.

On the other hand, the buyers also get an advantage for paying more: They don't need to trust platforms like MtGox, but can buy there coins on a more reputable platform. If the seller does not send them the Bitcoins they can be sure that they will get there money back.
17  Bitcoin / Bitcoin Discussion / Re: Are 24/hr Trades Really That Good Of An Idea? on: June 21, 2011, 09:44:00 AM
You're seeing price differences NOW. What are you talking about?

http://bitcoinwatch.com/

Yes - because right now there's a high volatility on individual markets and some of the listed markets only have a very low volume.

This will change. You see arbitrage on all types of financial markets and Bitcoins are no exception.
18  Bitcoin / Bitcoin Discussion / Re: Are 24/hr Trades Really That Good Of An Idea? on: June 21, 2011, 09:34:00 AM
Every single exchange market will have their own rate going

Not really. As soon as you see price differences between the markets you can make money with arbitrage: Buy cheap on one market, sell expensive on the other markets. So the people who do this balance the prices between the individual markets.

So even if your market closes during the night: If there are crashes on other major markets during this time people on your market will sell (or buy) as soon as your market opens again.
19  Bitcoin / Bitcoin Discussion / Re: Are 24/hr Trades Really That Good Of An Idea? on: June 21, 2011, 09:18:10 AM
REAL investors don't like going to sleep knowing that their multi-million dollar investments can potentially be turned into cow manure while they sleep, (What happened at MTGOX). How about you grow up...

And again: Which solution do you propose? Bitcoin is a _global_ community. There is no day and no night. In addition, Bitcoin is decentralized - everyone can open an exchange and you can't prevent this.

These are like to rules of physics: Even if you wanted to - you can't change them. Better learn to live with them.
20  Bitcoin / Bitcoin Discussion / Re: Are 24/hr Trades Really That Good Of An Idea? on: June 21, 2011, 08:41:20 AM
Europeans trade in the NASDAQ even though it's only open during USA work hours. The point is irrelevant.

Yes, the same way how people in the US trade at European exchanges, even though it's night in the US. And in practice, one of those reasons is that the exchanges aren't open 24/7: If I can't get a trade through at an European exchange because they are already closed, I'll just buy the stuff at an US-based exchange instead, if this one is still open.

But to be honest, the whole question is irrelevant. Let's consider all major exchanges are based in the US (which they aren't!) and all of them close during the night. How long do you think would it take for a new exchange to open in Europe or Japan that does not abide to those closing times? And in reality even existing exchanges won't abide to this: MtGox is based in Japan, Bitmarket is based in Europe, etc. So why should they abide to US timezones?
Pages: [1] 2 »
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!