Bitcoin Forum
April 27, 2024, 03:00:55 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
  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 »
321  Economy / Securities / Re: Starting a new FPGA mining farm/contract! Cognitive Resurrected on [BTC-TC] on: September 09, 2013, 03:39:18 PM
Garr, can you describe the costs tied to requesting a refund on the Avalons? I believe some people here don't know that assembly costs will not be refunded, as the investments are already made. It would help if we could compare both options, to see where we can minimize the losses.
The more people ask for a refund, the better the expectation on mining gets..


I didn't realize part of the costs might be sunk - if that's the case. the motion should include that info.  Good point.

You forgot to re-login, Garr.
322  Alternate cryptocurrencies / Altcoin Discussion / Re: OFFICIAL LAUNCH: New Protocol Layer Starting From “The Exodus Address” on: September 04, 2013, 03:14:44 PM
If you want to check the balance of your account and you did not buy from the Exodus address I first need to backtrace the transactions to your address. I need to make sure that address _did_ buy from the Exodus address and that at the time he did the transaction to your address he actually held enough Mastercoins for the transaction. This is not an easy feat when you consider the tons of data that are in the bitcoin blockchain and the fact that ever Mastercoin transaction is pretty much virtual and might not or might have happened based on how a client implements these cases.

I believe the only viable approach is to parse blokchain sequentially up from the first block which includes a mastercoin-relevant data, and to maintain state in a database of sorts, which notes how much each address holds now, etc.

Going from another end, i.e. backward scan, is pretty much impossible. While forward scan is almost trivial.

"Almost" because existing tools, like ABE and blockparse, are optimized for scanning whole blockchain rather than a part of it. But it's possible to deal with it by "throwing hardware at the problem". (Or another approach is to modify tools, or use ones which are better.)
323  Bitcoin / Project Development / Re: Is Mastercoin bloating the blockchain and what we can do about it? on: August 31, 2013, 11:09:06 PM
If you have 1 MB block size limit and each input is approximately 250 bytes, you only have at most 4000 inputs per block.

Well, the size limit (at least the 1MB version) is not likely to last indefinitely.

My point is that we can associate performance requirements with block size rather than with UTXO set size.

If you think about it, it makes more sense: block size limit is the part of the protocol. It is something which can be controlled, and is being controlled now. But UTXO set size might be as high as 21*10^14, and controlling it is rather problematic and non-trivial.

So it is possible to design software in such a way that block size limit will dictate hardware requirements for full nodes. If there is a need to increase throughput, block size limit will be increased and hardware requirements will be adjusted accordingly.

So you can just tell full nodes maintainers which hardware they need to keep up with blockchain growth. It will give them peace of mind. Isn't that nice?

However, it does reduce the overall performance of the system.
If it is harder to spend "old" transaction outputs, then that weakens the ability of the system to act as a long term store of value.

You can prioritize them by value. E.g. if size of 1 UTXO  in memory is 100 bytes, storing 21 million entries requires only 2.1 GB, and thus you can easily guarantee that all UTXOs which have at least 1 Bitcoin in them will never be flushed away.
324  Bitcoin / Project Development / Re: Is Mastercoin bloating the blockchain and what we can do about it? on: August 31, 2013, 05:15:06 PM
The advantage of storage is that you can verify more transactions.  However, that is not much good if other miners drop your block because they dropped the UTXO.

If you have 1 MB block size limit and each input is approximately 250 bytes, you only have at most 4000 inputs per block.

Thus you only have to buy hardware which can do ~400 random reads per second if you want to spend no more than 10 seconds to verify a block.

I'm fairly certain you can do this with 4 ordinary HDDs if they can do reads in parallel.

Or you can buy a SSD, pretty much any device can do more than 10000 random reads per second.

As for inputs in transactions not included in blocks, you can just drop ones you cannot fetch in a reasonable time. There is nothing wrong with dropping transactions.
325  Bitcoin / Project Development / Re: Is Mastercoin bloating the blockchain and what we can do about it? on: August 31, 2013, 09:13:45 AM
With any luck you'll face competition from clones that realize the entire idea is just dumb. Are you planning to release the sourcecode to MasterCoin? Because if you don't, we'll all just say how it's probably got hidden backdoors that are going to steal all your (master)coins, and if you do release it, we can just take that code and remove the silly requirement for the exodus address/MasterCoins.

They say MasterCoin has an advantageover copycats; just like Bitcoin has advantages over "alt-coins".

Or just stick with, who was it, TierNolan and co's colored coins stuff?

Also, even if you want to use the colored coins paradigm, you actually don't need any data in the blockchain at all beyond what appear to be bog-standard pubkeys.

MasterCoin and "colored coins" use different approaches and implement different features.

Within 'colored coins' approach we use Bitcoin transaction graph, and state changes are localized in the sense that one transaction cannot affect another transaction which doesn't depend on it.

MasterCoin's approach is different: there is a global state, and MasterCoin transactions are processed sequentially, in the order they appear in the blockchain, and the modify the global state. This is absolutely necessary because many MasterCoin features absolutely require global state.

J.R.W. believes that these features are very important, and for this reason colored coins are not suitable for what he is trying to do.

These features, their importance and possibility to accomplish same goals though other means are out of scope of this discussion. (I'll just note that it is possible to implement arbitrarily complex rules through 'oracle' or 'operator' of some sort, then the only concern is trustworthiness of that oracle and possibility of recovery from malfunction.)

Anyway, the MasterCoin's paradigm is: there is a list of messages (commands) which are reliably timestamped (i.e. all actors agree on their order) and carry authorization information (are signed with corresponding private key); messages are processed in order and each one affects the global state.

It's quite obvious that the Bitcoin blockchain is used for two things here:

1. Message timestamping, i.e. blockchain ensures that everybody sees these messages in same order.
2. Message storage and distribution.

It is possible to decouple these things: use Bitcoin blockchain for timestapming, but keep messages in some other place.

In the idea case (if our goal is to minimize the bloat) it's possible to keep only root hash in the Bitcoin blockchain (one hash per block), and messages themselves can go either to some alt-chain, or to DHT, or whatever.

Obviously, such a change will affect many aspects, so it won't be exactly same as the current form of MasterCoin, but all important features will be preserved.

I really doubt J.R. is willing to organize it in such a way, as he wants to make it possible to use ordinary Bitcoin client to send MasterCoin commands.

There is a quick and dirty way to modify it: move to some merged-mined alt-coin, as is. Most Bitcoin clients can be adapted to work with an alt-coin.

However, J.R. believes that MasterCoin is beneficial for Bitcoin, so there goes an opportunity...

Even better, is that you can design your protocol to really make it censorproof by allowing the colored coins to be included in standard CoinJoin transactions in such a way that anyone looking at the blockchain data will have no way of knowing what outputs were the colored coins.

Eh? How do colored coin clients know which outputs were the colored coins then? They sort of need it to show balance etc.
326  Bitcoin / Project Development / Re: Is Mastercoin bloating the blockchain and what we can do about it? on: August 30, 2013, 04:48:20 PM
Quote
Hi JR, thanks for your work on Mastercoin so far. I am about to be investing ~50BTC...just finishing up my due diligence.

Regarding your post at: https://bitcointalk.org/index.php?topic=284178.msg3043044#msg3043044

So the plan is to fork a full client (I'd think bitcoin QT or Armory ...the latter you've forked from for your test implementation) and add all the Mastercoin functionality to that? How much effort is adding the ability to store the data in OP_CHECKMULTISIG ?? (Sorry, I'm a software developer by trade, but am not familiar with the bitcoin codebase).

If it's not a ton of work, why not plan to do this from the start? That would avoid issues with the bitcoin community at large around this (especially if you have folks like Gavin saying that it should be avoided). Having the bitcoin devs irked from this initiative from the start won't bode well... :/

-----

Frankly, I don't know how hard this will be yet.

I believe no more than a couple of days of work, if you know what are you doing. Likely less than that for a person who is very familiar with the client codebase, data structures etc.

So, yes, it makes sense to do this from the start.
327  Bitcoin / Project Development / Re: [Crowdfund] User-issued assets, p2p exchange, off-chain transactions, and more on: August 27, 2013, 11:34:49 PM
killerstorm, if you're willing to invest in return for 6% of your investment amount as freicoins (current market prices), would you not also be willing to donate 94% of that original amount, and buy up your own coins on the exchange of your choice?

I guess you misunderstood me, it's not about buying Freicoins below market price, it is about bringing market price up to that level... One person cannot do that, but you bring investors' attention to it and explain how Freimarkets can make Freicoin much more useful than an average alt-coin, investors will be eager to invest into the next big thing...

Jorge mentioned that alt-coins can simply copy Freimarkets, but it's not so simple... It really matters which coin is endorsed by developers, as that one will, likely, get all the necessary maintenance, latest features, security fixes, etc.

Technically speaking, it could work without funding from Foundation, but we get a prisoners' dilemma-like situation. For each individual, it isn't rational to donate anything, even though if everybody donates a bit all would benefit from it. So you gotta depend on altruism... Or use a mechanism like Foundation, which you cannot use.
328  Bitcoin / Project Development / Re: [Crowdfund] User-issued assets, p2p exchange, off-chain transactions, and more on: August 27, 2013, 11:21:12 PM
Yes, I'm in favor of replace-by-fee. I think we mean something different by binding, however. In this case we mean that the orders are pre-signed, even though the counter-party is not known at the time the offer is created: the signature on the offer is all that's required to get the final matched exchange transaction on the chain. You could, for example, sign an offer, broadcast it, and then disconnect from the network and never come back. The offer remains in force until some other condition invalidates it, such as a double-spend, passing the nExpireTime, scriptValid ceasing to validate, etc.

The important distinction is not whether you can back out or what steps are required, but the fact that the participants need not be online at the same time. This is in contrast to some other proposals, which clear the market by generating regular bitcoin transactions, which then must be signed by each of the participants before being included in a block*. In these proposals the offer isn't really a binding offer, because the participation of both counter-parties is required up to the very last moment. Having offers be binding (sufficient for inclusion) allows the protocol to operate over a decentralized, p2p network with lossy message transmission/retention and occasionally-connected nodes.

* It is possible to do some limited pre-signing with SIGHASH_SINGLE, but sighash modes really are not general enough to handle all the use cases we desire. It was through investigating the problems with SIGHASH_SINGLE that we were eventually lead down the path of adding isolated sub-transactions.

OK, this makes sense.

But I don't think that "binding" is the right word here. Perhaps you could describe such orders as 'autonomously executed' as they can be executed even if one who submitted them is offline. But "binding" implies that somebody is forced to stick to his order.
329  Bitcoin / Project Development / Re: [Crowdfund] User-issued assets, p2p exchange, off-chain transactions, and more on: August 27, 2013, 11:15:39 PM
The foundation was NOT created to fund Freicoin development but because although proof of work is a great security solution, we think is a wasteful issuance mechanism.

This is funny... Suppose Freicoin is wildly successful, and total monetary base is equivalent to 10 trillion 2013 US dollars.

Then miners get 500 billlion USD worth of Freicoins each year, and, due to the way mining economics works, they'll burn equivalent amount of energy (and pay for amortization of equipment). This is wasteful on epic scales.

On the other hand, Freicoins which Foundation gets now are worth pennies...

Do you see what I'm talking about? IMO it would make much more sense to give all created money to miners, but send 80% of demurrage money to Foundation.

This way you could redirect money miners are going to spend on electricity to charity... Potentially that might be a large sum each year.

But you did exactly the opposite...

Well, Freicoin economics in general looks completely alien to me. I guess it works in mysterious ways... Good luck with that.

Isn't private donations the funding model for colored coins as well?

Yes, but nobody have offered anything on scale of $100k so far... If they did, we could actually hire people and get it done. Instead, we have people who work in their free time... As you can guess, progress is kinda slow.

However, colored coins require much less work than Freimarkets.
330  Bitcoin / Project Development / Re: [Crowdfund] User-issued assets, p2p exchange, off-chain transactions, and more on: August 27, 2013, 10:48:47 PM
Killerstorm, any comment on the content of the proposal? You've been working in this area for a while, so I thought you might have something to say. There's a thread in the developer subforum:

https://bitcointalk.org/index.php?topic=280292.0

Well, it would take a while for me to review this...

One the first glance, one thing I didn't like is "binding" orders. If they can be double-spent, they aren't really binding...

Mempool rules are not enforced, they depend on miners being good guys and running non-modified node software.

You know about replace-by-fee patch, right? https://bitcointalk.org/index.php?topic=179612.0

I don't think that mempool rules will be relevant in future, as they go against what game theory suggests.
331  Bitcoin / Project Development / Re: [Crowdfund] User-issued assets, p2p exchange, off-chain transactions, and more on: August 27, 2013, 11:17:41 AM
Freicoin Foundation gets 80% of all mined Freicoins.

I thought it's supposed to finance further development of Freicoin, why are you looking for external donations then?

Is that because price of Freicoin is too low? (i.e. sum which  Freicoin Foundation is able to donate isn't enough for this development.)

Or is that the case that Freicoin Foundation cannot donate towards this?

If the former is the case, perhaps you can do fundraiser in a different way:

1. Suppose Freicoin Foundation agrees to donate 1 million FRC to this. (Which is only ~1.25% of all funds it will ever get.)
2. If your fundraiser goal is $125k, then it works when exchange rate is 1 FRC = $0.125 USD.
3. So you just ask investors to buy freicoins up to that point. Currently it is equivalent to FRC/BTC being 0.00125.  Which is not absolutely ridiculous because it was traded around that price when it was first introduced on vircurex.
4. Perhaps you can offer these investors a deal to sell them Freicoins for 0.00125 BTC each even if market is above that. (I.e. offer a forward or call option contract.)
5. Investors might see returns on their investments when Freimarkets are implemented.
6. I don't think it costs that much to bump FRC exchange rate upwards... Currently you need only 87 BTC to eat all asks below 0.00125 on vircurex... Of course, more asks might appear in process, so don't do that at home.
7. In any case, investors find buying something much more palatable than donating towards something. Even if investors need 5000 BTC to finance this endeavor this way, it is still easier than to collect 1250 BTC in donations.

HTH

EDIT: Disclosure: I bought some Freicoins, but I'm not going to donate them to you guys, sorry.
332  Bitcoin / Project Development / Re: BitcoinWifi Hotspot - Ready for Production, and Shipping Worldwide to customers on: August 25, 2013, 01:01:52 PM
The problem is with the drivers for those specific consumer routers, I agree, they are most likely not open source, hence one would have no chance to make them work in UNIX.

Wat?

There is a plenty of routers which work with OpenWRT, it really isn't a problem to buy one, and they cost about $100.

Quote
OpenWrt is described as a Linux distribution for embedded devices.

Instead of trying to create a single, static firmware, OpenWrt provides a fully writable filesystem with package management. This frees you from the application selection and configuration provided by the vendor and allows you to customize the device through the use of packages to suit any application. For developer, OpenWrt is the framework to build an application without having to build a complete firmware around it; for users this means the ability for full customization, to use the device in ways never envisioned.

Routers supported by OpenWRT: http://wiki.openwrt.org/toh/start
333  Bitcoin / Project Development / Re: BitcoinWifi Hotspot - Ready for Production, and Shipping Worldwide to customers on: August 25, 2013, 10:46:11 AM
It most likely could, however I don't have any experience with consumer routers, and the firmware used in these, (sadly)

Well, the general idea is that it is possible to install fairly normal Linux distro on the most of such devices, some people even managed to run Debian.

I.e. you aren't restricted to the version vendor provides if open source drivers exist, you can use whatever you want.

Still BitcoinWifi is probably like 10x times more powerful than a consumer router anyway, and optimized for many concurrent users. You will probably not run our of STATES in your State Table with this hardware.

Yes, they have less memory and significantly slower CPU...

However, there are high-end models with 256 MIB of RAM, that should be enough for all networking-related things. And then you just need to avoid bloated software...

There are also business-class devices which are more powerful, e.g. D-Link DSR-250N has 1 GiB RAM on board, costs $200: http://www.newegg.com/Product/Product.aspx?Item=9SIA0AT0FS2746

I think Atom-based wifi spot makes sense if operator wants to host some additional services on it. Otherwise installation on COTS routers makes more sense.
334  Bitcoin / Project Development / Re: BitcoinWifi Hotspot - Ready for Production, and Shipping Worldwide to customers on: August 25, 2013, 08:40:30 AM
This is cool, but I don't see a reason why it cannot be done with a regular wifi router (e.g. Asus RT-N66U) with customer firmware, which will be quite a bit cheaper.
335  Other / Archival / Re: btt on: August 24, 2013, 09:03:58 PM
Sorry, guy, but I cannot understand this market psychology Smiley
Share price is going down and down like asicminer, but why???
If I had a lot of free money, I would buy tonns of basic-mining shares right now, because I believe, it is the best way to invest money at btct.co
I have an experience in investing money at other exchanges, in internet companies and in the real sector of the economy. But I have never seen such unjustified ups and downs.
Sorry, if my English is bad  Smiley

People often say it like BASIC-MINING is the best investment ever, but I'm afraid they (and you, specifically) just do not understand Bitcoin mining economics;

Currently difficulty increases at a very fast pace, like 30% each 10 days. This is insane, you have to increase your hashrate 30% just to mine same amount of Bitcoins per day.

Of course, buying 30% more hashing power costs a lot. Currently BASIC-MINING has money to do this, but it cannot do it indefinitely.

E.g. suppose currently it costs 100 BTC to increase hashing power, in 10 days it would cost 120 BTC, and so on. If current reserves are 800 BTC, they will last no more than 80 days.

On the other hand, P/E suggest that investors assume that BASIC-MINING will be able to pay approximately same dividends at least for 4 years.

This means that share price is about 10x higher than it should be. But I'm afraid you people will only understand it in a couple of months when reserves will dry out.
336  Alternate cryptocurrencies / Altcoin Discussion / Re: OFFICIAL LAUNCH: New Protocol Layer Starting From “The Exodus Address” on: August 19, 2013, 06:54:05 PM
Since unwinding bitcoin transasctions (in event of reorg) also unwinds MasterCoin transactions, I don't think anything would be needed other than a re-scan of the block-chain data.

Do you mean that full rescan of blockchain is needed after each reorg?

Bitcoin nodes handle reorgs much more efficiently.
337  Alternate cryptocurrencies / Altcoin Discussion / Re: OFFICIAL LAUNCH: New Protocol Layer Starting From “The Exodus Address” on: August 19, 2013, 05:37:52 PM
MasterCoin clients can safely ignore the vast majority of bitcoin transactions, since only transactions with an output to the Exodus Address need to be parsed. (For instance, no MasterCoin client will ever need to look at a SatoshiDice transaction.)

The only reliable way to find all transactions which mention certain address is to scan all Bitcoin transactions.

So this doesn't buy you anything: you still need to read all transactions in block, parse them as Bitcoin transactions, checking whether they mention exodus address. If they don't you can skip further processing step.

This doesn't improve scalability. Maybe you'll have processing twice faster if you avoid "multipart" transactions, but processing time/download time is linear on number of transactions in blockchain.

You might be able to fetch only transactions which mention exodus address if you use centralized service like blockchain.info, but then you will depend on such service. For example, such service might omit a transaction to perform a double-spend on you.



If you only consider 'full node' clients (or ones using similar design), you should be concerned with what they need to keep in db and what changes they need to apply to it, not with number of transactions processed, since full node clients need to process all transactions anyway.

Say, what do you do in case of reorg, i.e. how do you unwind the state back to the point it was N blocks ago where fork happened?

One way to do this is to keep track of all changes to the state, but then you'll store the whole history...
338  Other / Archival / Re: btt on: August 18, 2013, 11:47:00 AM
This is assuming difficulty continues to double as fast as it does. Well, OK, there's Moore's law and all.

This isn't related to Moore's law in any way. We simply know that a lot of ASIC mining devices are being manufactured, and many of them will be more efficient than the current generation.

Extrapolation simply gives you an idea how fast this process is.
339  Other / Archival / Re: btt on: August 18, 2013, 11:01:24 AM
Electricity costs are still by far negligible with ASICs,

We are talking about what it would be years from now.

Let's say difficulty increases 10% per week, in a year you'll have 142 difficulty increase. So if electricity costs are only 0.7% of mining revenue now, in a year they will be 100% of mining revenue, and it will be no longer profitable to mine. (Assuming Bitcoin price doesn't change.)

Now, the thing is, difficulty increases much faster than 10% per week now.

All in all, it is extremely likely we'll get there by the next reward halving.

I find it hilarious that you wrote "still" when we are at the very beginning of ASIC deployments and situation changes each week.
340  Other / Archival / Re: btt on: August 18, 2013, 08:54:33 AM
mining is no longer profitable for those with inefficient gear
As long as it makes some sort of profit after electricity costs

"Mining is no longer profitable" means that electricity costs are higher than what you get for Bitcoins it mines.

It is expected that future generations of ASIC chips will be much more energy-efficient.
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 »
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!