Bitcoin Institute

BitDNS and Generalizing Bitcoin

appamatto November 14, 2010 18:02 UTC Link to this message

This is based on a discussion on 11/14/2010 on the IRC channel.

BitDNS

Although there have been attempts to tackle DNS in a distributed way in the past, I don’t think there have been solutions that have fully removed authority from the equation.

If there was such a solution, it probably would have been able to implement bitcoin directly on top of it, and we all know that didn’t happen.

However, it seems possible to create a bitcoin clone (bitDNS) that provides a solution to distributed authority-free name allocation and transfer.

Basically, the system is a copy of bitcoin where miners generate 50 new name mappings of their choosing whenever they win a block. The name mappings change hands in a way similar to btc.

This system is separate from btc, and it is likely that escrow services will provide a name market in btc, since any such escrow can leverage the two block chains to verify transactions. Miners can pick names that are already being bid upon with funds in escrow to make sure they are able to sell generated names quickly.

Generalizing Bitcoin: BitX

This is all well and good, but now there are two block chains, and any given miner can only generate for one at a time. This will be really bad when even more clever applications are developed that require bitcoin-like properties but will be susceptible to attack in their early development. Enter BitX, designed to support any and every such application on a single block chain.

BitX has a block chain like bitcoin’s. However, miners choose to distribute arbitrary application data in the following manner:

  1. The payload in a block is a mapping from application names to hashes: [“bitcoin”: <hash>, “bitDNS”: <hash>, “bitHaiku”: <hash>, …]

  2. Any given block is only allowed to create one new application that does not already appear somewhere in the block chain. This is to prevent spam.

  3. Any given block may omit data for any application. Similarly to the current situation, miners have a choice as to what transactions to include, and this extends to the choice over which applications to choose to send data for.

  4. Application data is transfered separately, so for instance a bitcoin client will never have to care about haikus or DNS names, as it can simply ask someone for the bitcoin payload and make sure it matches the hash in the appropriate block.

  5. On the client side, blocks are only ever rejected for an error relating to the previous four points. In other words, blocks aren’t rejected for carrying a faulty bitcoin payload, because this might result in rejecting valid DNS transfers. Instead, bitcoin clients accept the most recent block but ignore the invalid bitcoin transactions.

Miners will engage in activities they feel profitable. For example, miners may not see a profit motive in haikus, but will want to generate DNS names because they can be sold easily. I think this system could support a very wide range of useful applications while adding only a minimal overhead to the block chain itself. Application proliferation is kept in check by the interests of the miners themselves.

This also seems to make the block chain more modular, as it separates concerns; the block chain is strictly for creating a universal state of the system for everyone in the world, and application data travels out of band but is verified against the block chain.

One effect of the modularity is that applications can ignore illegal or undesirable application data and only download payloads for the applications they care about.

As a last thought: BitX poses a significant threat to bitcoin, because money may not be the “killer app” for the block chain. In other words, what happens when bitBeanieBabies becomes bigger than bitcoin? Suddenly the bitcoin system doesn’t seem as secure. If both were running on top of BitX, they would enhance each other’s security, and interfere with one another minimally.

Thanks for reading, Appamatto

kiba November 30, 2010 18:06 UTC Link to this message

Quick! Offer a bounty in bitcoin!

kiba December 1, 2010 17:27 UTC Link to this message
Quote from: sandos on December 01, 2010, 8:26:14 AM UTC

If you just allow any number of applications “on top” of bitcoin, isn’t that a bit messy? Suddenly some guy says he invented this bitdns2 where all domains are available!

Maybe make it a tad bit hard to add applications?

Hmm? I thought we’re going to use a separate blockchain than what bitcoin use.

kiba December 2, 2010 00:25 UTC Link to this message
Quote from: bober182 on December 02, 2010, 12:22:26 AM UTC

I find tieing in bitcoins to DNS retarded. There are already some other p2p DNS systems that need help lifting off the ground why make a new one. http://dot-p2p.org/index.php?title=Main_Page http://wiki.opennicproject.org/dotP2PTLD

Calling something retard and having no substance to back it up is not a good argument.

kiba December 2, 2010 00:41 UTC Link to this message
Quote from: tyler on December 02, 2010, 12:30:56 AM UTC

retarded means “slowed” which ironically is the case here

❓

kiba December 2, 2010 01:22 UTC Link to this message
Quote from: tyler on December 02, 2010, 12:51:53 AM UTC

retard - cause to move more slowly or operate at a slower rate; “This drug will retard your heart rate”

meaning… using a bitcoin based dns will be slow to adopt

Not really. Since, 144 blocks were generated each day in the bitcoin network, this mean 7200 addresses that can be assigned a domain name. Plenty, if you asked me.

kiba December 2, 2010 05:00 UTC Link to this message

How would domain name renewal work?  ❓

kiba December 2, 2010 06:33 UTC Link to this message
Quote from: RHorning on December 02, 2010, 5:36:46 AM UTC

Presumably if the protocol requires a renewal transaction, the identity authentication system (likely a public/private hash key) would allow you to create a new “transaction” on the network submitting the necessary information along with a transaction fee.

I see. Then the miners will set the fee for domain renewal.

kiba December 2, 2010 17:21 UTC Link to this message
Quote from: ribuck on December 02, 2010, 5:16:23 PM UTC

I assumed you would have the domain name forever without further fee. After all, we don’t pay an annual fee to keep our bitcoins working.

The fees could come from domain name transfers, and of course the generation of new domain names.

If someone lost their wallet, their domain name stay with them forever, with no way to transfer it.

Eventually, you get a long string of really good domain name that can’t be used forever.

kiba December 2, 2010 17:33 UTC Link to this message
Quote from: ribuck on December 02, 2010, 5:30:22 PM UTC

It’s the same as with bitcoins, it just makes the remaining names more valuable.

if sex.bitcoin is lost for example, it can’t be used forever. And there is only one sex.bitcoin in the whole universe.

It doesn’t necessary make other domain names more valuable. What it does though is make certain resource useless.

kiba December 2, 2010 17:52 UTC Link to this message
Quote from: ribuck on December 02, 2010, 5:49:35 PM UTC

The loss of sex.bitcoin would surely make sexy.bitcoin and xxx.bitcoin more valuable.

I concede that one.

ribuck

I don’t argue from a matter of principle, just from a personal preference that I would prefer non-expiring but losable domain names, compared to ones that must be renewed regularly or lost to others.

Then this is a matter of competition between various BitDNS system then.

kiba December 2, 2010 17:56 UTC Link to this message
Quote from: RHorning on December 02, 2010, 5:54:45 PM UTC

None of these are intractable problems, and IMHO much of this makes domain addresses much more secure than is the case at the moment with domain addresses you get from GoDaddy, Verisign, or ICANN directly.  Social hacking and some other generally minor hacking by somebody with just some casual knowledge about computers is all that is really necessary at the moment to change most domain registrations or “steal” a domain.

Can you please explain what you mean by this?

kiba December 2, 2010 18:06 UTC Link to this message
Quote from: RHorning on December 02, 2010, 6:05:53 PM UTC

What do you need explained?

Why is it so easy? How is it done?

kiba December 4, 2010 09:01 UTC Link to this message

Quote from: irc

<genjix> dot-p2p: “We currently believe the best way to create a stable     environment for TLDs is to enact a central authority. We know this     will cause much argument within the community, but we have made the     decision that we believe will be best for the continued development     of this project.”

Knew it. They sucks.

Our opportunity is now, but unfortunately I think we lack the expertise to create a BitDNS.

kiba December 4, 2010 09:13 UTC Link to this message

http://bitcointalk.org/index.php?topic=2072.0

Started a pledge drive. Go. Go. Go.

kiba December 4, 2010 20:50 UTC Link to this message
Quote from: RHorning on December 04, 2010, 8:44:11 PM UTC

ames. Of course they have to be new names that were not in earlier blocks.

BTW, I created a stub of a document on the wiki for this concept if anybody is interested in filling out some more details of this idea in terms of a formal spec:

http://www.bitcoin.org/wiki/doku.php?id=bitdns_draft_0_1

I’ll see what I can contribute to filling this out, and I’m thinking of bumping this idea up on my own priority schedule for perhaps writing an application to do this.  It sounds like something to really get my teeth into even though I got a couple of other good ideas I’d like to try.  Besides, it sounds like there is some real interest to get this going sooner rather than later among many in the Bitcoins community.

I am using this document as the BitDNS bounty’s protocol document.

kiba December 5, 2010 01:36 UTC Link to this message
Quote from: ShadowOfHarbringer on December 05, 2010, 1:31:31 AM UTC

Sorry for being too lazy to read all previous posts…

But has anybody actually proposed using bitcoin algorithms to create decentralized DNS to Peter Sunde yet ?

People already put up links about BitDNS.

kiba December 5, 2010 05:14 UTC Link to this message
Quote from: Anonymous on December 05, 2010, 5:12:07 AM UTC

As far as I know the argument against using bitcoin is that if you lost your keys to access the domain you would not be able to recover them.

How does bitdns get around that?

A domain name key should be so important that people will backing it up, automatically.

kiba December 5, 2010 07:33 UTC Link to this message
Quote from: Anonymous on December 05, 2010, 5:23:50 AM UTC

I added bitdns to the ideas page here http://dot-p2p.org/index.php?title=Ideas#BITDNS

The likelyhood of the idea getting implemented is likely slim to none.

kiba December 5, 2010 16:57 UTC Link to this message
Quote from: Anonymous on December 05, 2010, 12:36:58 PM UTC

I say we prove everyone wrong and do our own thing. Centralisation is a big steaming bag of FAIL.

Yes, yes. This is why I offered a bounty. I encourage everyone to pledge some bitcoins if they aren’t capable of doing this project.

Why it is only 40 BTC at this stage is beyond me.

kiba December 5, 2010 20:43 UTC Link to this message

Best way to get the BitDNS system running off the ground?

Adapt the bitcoin source code?

kiba December 5, 2010 21:31 UTC Link to this message
Quote from: ribuck on December 05, 2010, 9:18:14 PM UTC

Adapting the bitcoin source code is probably the only practical way for us to get this running. But first I would like to see us produce a brief white paper setting out the design principles, and a non-technical FAQ.

Ribuck, If only I have the necessary knowledge to adapt it, I would have dropped it and just implement it.

kiba December 5, 2010 22:17 UTC Link to this message

Speed is of the essence if we’re going to show .p2p how to really do distributed DNS.

kiba December 5, 2010 22:40 UTC Link to this message
Quote from: ribuck on December 05, 2010, 10:33:30 PM UTC
  • Set up the development environment. Are we going to use SourceForge? GitHub?

Github and git. I like. It’s distributed version control system. Any developer can fork the project and continue on their own implementation and they can request pulls as necessary.

Also remember, everything is in version control. If you messed up the code, it’s not a big deal. Just revert to the last state. Remember to commit as well push often too.

kiba December 5, 2010 22:45 UTC Link to this message
Quote from: chaord on December 05, 2010, 10:43:58 PM UTC

I would like to be looped into this project.

By all means, pledge some bitcoins if you can’t code, or do anything. I can’t do any of the real important stuff, but I can show that I am serious.

kiba December 6, 2010 00:00 UTC Link to this message
Quote from: RHorning on December 05, 2010, 11:54:55 PM UTC
  • Potential Social Conflicts - What sort of “legal” requirements might there be for “domain registrations” and what do we do about them?  Do we care?

When in doubt, remove human elements. Adopt certainty of computer software code over uncertainty of judges. Complicated rules invite gaming and abuse.

Anonymous December 6, 2010 11:53 UTC Link to this message

I suggest tahoe lafs if you are looking for a database for storage.

kiba December 6, 2010 13:12 UTC Link to this message
Quote from: Anonymous on December 06, 2010, 11:53:37 AM UTC

I suggest tahoe lafs if you are looking for a database for storage.

Remember, speed is of the essence. We can alway replace the database with something else, but not time.

All non-essential features should be blocked from implementation focus.

That mean the core developers don’t work on a fancy GUI. They will focus on:

  1. The mechanism to mine, register, and change a domain name.

  2. The mechanism to distribute or output the DNS database.

kiba December 6, 2010 16:25 UTC Link to this message

Yes, the core developers should be focused on the network and the protocol.

I am making it my project to write a BitDNS client. I don’t need the bitcoins. I just want to help so that the core developers can focus on the important stuff.

kiba December 6, 2010 17:19 UTC Link to this message
Quote from: ribuck on December 06, 2010, 5:04:01 PM UTC

Before we go too far down the track, can we agree on a project name? I’m uneasy about BitDNS, because we aren’t writing a Domain Name Server. How about BitDomains, or DomainChain?

It’s easy for me to change the name of the git project, whatever you decide. Still BitDNS is catchy.

kiba December 6, 2010 19:17 UTC Link to this message
Quote from: ribuck on December 06, 2010, 5:53:42 PM UTC

Exactly. The domain name block chain.

Anyway, I have registered domainchain.org, in case people like it. I think DomainChain better-explains what’s going on than BitDNS. But I won’t object if people prefer another name.

What software are you using for the site?

kiba December 6, 2010 19:30 UTC Link to this message
Quote from: chaord on December 06, 2010, 7:28:40 PM UTC

+1 on DomainChain or BitRegister over BitDNS (no offense kiba 😉 )

Bleg. All I need to do is change the name.

In any case, do ribuck and RHorning have any inkling on what you guys agree on and how to implement the protocol? The faster some things that are agreed on, the more code we can do.

kiba December 6, 2010 20:14 UTC Link to this message

I have no complaint.

kiba December 6, 2010 20:33 UTC Link to this message
Quote from: bencoder on December 06, 2010, 8:30:07 PM UTC

I like DomainChain as well.

I would also argue against any particularly special attachment to bitcoins, what would the purpose of that be except to hopefully promote bitcoin? I prefer to allow it to be a separate market in it’s own right. With people able to pay for domains from those who’ve managed to generate them using whatever payment method they want to agree on.

Do we have a wiki yet?

Where the incentive for generators to get paid?

On the other hand, it won’t be limited right? It will be a unique name of some kind.

kiba December 6, 2010 22:12 UTC Link to this message
Quote from: ribuck on December 06, 2010, 10:08:45 PM UTC

Good. Something everyone completely agrees on!

So the formula for creating problems and adjusting difficulty will be the same?(Forgive my ignorance)

kiba December 7, 2010 00:39 UTC Link to this message
Quote from: Hal on December 07, 2010, 12:29:38 AM UTC

If we create only 50 domains per block, 6 blocks per hour, that is 7200 domain names per day. At that rate it would take like 50 years to create 100 million domains. So it seems necessary to make names faster.

100 domains per block is 25 years.

150 domains per block is 18.5 years.

200 domains per block is 12.5 years.

Personally, I don’t feel like I am a rush to do a lot of domain registration fast. 15 years is good enough for me. We don’t need to register tons of domain within a few short years, since not everybody will be willing to switch from central to decentralized.

Also, the population of humanity ain’t likely to grow forever… So we can expect that growth at some taper off at some point in the future.

However, this generation rate have the potential to spark a long debate..so we need a method that let us decide quickly somehow.

kiba December 7, 2010 02:43 UTC Link to this message

Wait, I am a bit confused. Alternative currency for DomainChain?

Oh, these represent addresses?

kiba December 7, 2010 03:19 UTC Link to this message
Quote from: Hal on December 07, 2010, 3:01:38 AM UTC

Actually I am concerned that transactions between BTC and DCC may not be simple. Because both currencies tend to be anonymous, it is hard to make the two transfers in a coordinated way. If Anne wants to sell Beth 1 DCC (allowing 1 domain to be created) for a certain number of Bitcoins, then Beth must send Anne the Bitcoins via the Bitcoin block chain, while Anne sends Beth the DCC on the DomainChain. If the two are anonymous to each other, it seems there must be a trusted third party like a reputable exchange. It seems hard to do peer to peer.

Doesn’t seem hard to me. It’s a normal trade to me.

kiba December 7, 2010 04:30 UTC Link to this message

At any rate, do we have enough information that’s agreed so that the core hackers can develop right now?

kiba December 7, 2010 05:08 UTC Link to this message
Quote from: Anonymous on December 07, 2010, 5:06:26 AM UTC

http://www.politico.com/news/stories/1210/46003.html

For motivation  😊

I RAGE.

kiba December 7, 2010 06:02 UTC Link to this message

Remember, we can’t let those .p2p dudes beat us to the punch!

kiba December 7, 2010 06:19 UTC Link to this message
Quote from: Hal on December 07, 2010, 6:13:34 AM UTC

I’m not sure how it would work to only create one coin per block. Would this only buy the creation of one domain name?

The reason I like the idea of fractional coins is it would give more flexibility in transaction fees. If it costs one coin to register a domain, it might make sense that a good size for the transaction fee would be fractional.

Umm, each coin stand for one domain.

However, I don’t think we need transaction fee. This is not bitcoin after all.

The incentive for 50 coins each block they generate ARE the transaction fee. Maybe?

I am worried about people who spam change to the DNS database?

kiba December 7, 2010 06:56 UTC Link to this message
Quote from: RHorning on December 07, 2010, 6:46:07 AM UTC

The exchanges might really appreciate at least some fractional quantities to play with, although that could also be internal to the exchange itself.  The real advantage is for some granularity in terms of competing miners which might want to snag a few additional registrations.  It would also help in terms of setting up a per-kilobyte charge for people throwing stuff into the coin transactions too.  Attacks on the network can also happen through filling up coin transaction information with useless junk, and charging a fee for that can help stop or at least slow down such a flood attack and at least put cost to such an attack that must be borne by the person making the transaction.  Such a charge may require at least some fractional coins, even if it isn’t nanocoins necessarily.

Let me this straight: so we use fractional coins to prevent network spamming? Or is it bitcoin?

kiba December 7, 2010 07:26 UTC Link to this message
Quote from: RHorning on December 07, 2010, 7:02:18 AM UTC

This is another currency that is essentially identical to Bitcoin, but with a few tweaks and miners more concentrated on working with domain records.  We could put this into the main Bitcoin protocol, but then we would have to change the Bitcoin miners as well.

So if you spent a coin to register a domain, then it stay frozen until the domain expire?

kiba December 7, 2010 07:30 UTC Link to this message
Quote from: RHorning on December 07, 2010, 7:28:44 AM UTC

No, that coin is received by the miner processing the transactions and handled just like coin transaction fees are right now in Bitcoin.

So domain name generation are limited by the velocity of miners spending, but then they have to generate a block to get the coin.

kiba December 7, 2010 08:06 UTC Link to this message

We need a wiki real bad so Rhorning can write down what he means.

RRRRRRRRRRRRRibuck?

kiba December 7, 2010 15:23 UTC Link to this message
Quote from: ribuck on December 07, 2010, 3:10:26 PM UTC

Yes I’ll do this. Don’t panic!

But first, I’ve thought of a design for DomainChain that is simple, elegant, powerful, and very easily integrated with Bitcoin. I just need to think it through a bit more before I post it here so that I don’t make a complete fool of myself.

We won’t make fun of you.

On my Bitcoiner honor!

kiba December 7, 2010 15:34 UTC Link to this message
Quote from: theymos on December 07, 2010, 2:48:01 PM UTC

Trying to predict the exact numbers required is equal to central economic planning, and pointless.

<--- In another thread.

So there’s an economic calculation problem. We…cannot reliably predict how many domain name registration are needed each block.

So we going to need to price generation of blocks, somehow?

kiba December 7, 2010 17:02 UTC Link to this message

Ribuck: I believed that is a brilliant hack. We finally have intrinsic value for bitcoin!

kiba December 7, 2010 20:23 UTC Link to this message
Quote from: Hal on December 07, 2010, 8:06:02 PM UTC

My concern is that there would be a rush to grab hot domains. I would expect that the first blocks generated with this system will all be maximum size and filled with the equivalent of sex.com. These domain names are worth millions of dollars, if the system succeeds. I suppose transaction fees would be enormous, otherwise miners will just fill blocks with their own registrations. Ordinary transactions would be crowded out, if this were part of Bitcoin.

Speculation is natural; even healthy.

kiba December 7, 2010 21:04 UTC Link to this message

Do we have a consensus on nanotube’s proposal? Any objection?

kiba December 7, 2010 21:47 UTC Link to this message
Quote from: em3rgentOrdr on December 07, 2010, 9:27:23 PM UTC

I read your draft bitcoin DNS spec Nanotube and theymous…very interesting.  And it’s fascinating that ribuck also came up with a very similar design independently.

Simultaneous inventions are not surprising. This phenomenon had been happening throughout the history of science and invention.

kiba December 8, 2010 00:22 UTC Link to this message
Quote from: da2ce7 on December 08, 2010, 12:18:40 AM UTC

Maybe we could have a ‘time-lock’ of about a week or so where you claim a domain, and if half of the network decides that that domain should be in the trust they can deny that request.  Once the network is more established the minimum time-lock can be reduced.

No, no, no. The DNS system should be kept as simple as possible.

There will be no silly voting, or court, or any complicating shit.

kiba December 8, 2010 02:08 UTC Link to this message
Quote from: chaord on December 08, 2010, 1:27:07 AM UTC

Overall, great work guys!!! If we can get some pros/cons of each proposal down on paper, I’m prepared to up my bounty considerably and help out where I can (perhaps on forming an official DomainChain/BitDNS foundation?)

Very strange to form a foundation for DomainChain before we form an organization for Bitcoin.

kiba December 8, 2010 04:57 UTC Link to this message

Yes, coding need to be done soon.

Repeating ad nauseum:

Speed is of the essence.

kiba December 8, 2010 16:02 UTC Link to this message
Quote from: ribuck on December 08, 2010, 4:00:02 PM UTC

We really don’t want the DomainChain system saying that it will “protect” 1000 names but “refuse to protect” all the rest.

It could set some precedent for protocol change that allow people to shut down certain domains.

I suspect most of the domain names will be grabbed by speculators who will ransom it to large corporations. Search engines would ignore domain names that violate certain standard of a business mark.

kiba December 8, 2010 17:24 UTC Link to this message
Quote from: RHorning on December 08, 2010, 4:27:27 PM UTC

Who would be given the “authority” to remove domain names?  That implies central authority of some sort that has control over this network.

Domain squatting has a time honored and long tradition anyway and isn’t going to change with how we are going to be running this system.  By setting up a system to “delist” a domain name, it also sets up the person or group of people with presumably some private key which can in turn authorize the removal of domains as a target for receiving judicial injunctions and potentially other sorts of legal problems.  If instead you can demonstrate that it is cryptographically impossible to change the domain registration information, all you can do is throw your handseddrli up and say “I can’t change that, sorry”.

The owner of the IP address referenced by the domain registration should be the target of attack, not the domain registration system.

You have forgotten the rule that I asserted earlier in the thread:

When in doubt, remove human elements. Adopt certainty of computer software code over uncertainty of judges. Complicated rules invite gaming and abuse.

Nowhere did I suggest that we should give authority to whoever, or shutting down the DNS system in favor of court/judges/messyhumanjudgement.

kiba December 8, 2010 17:44 UTC Link to this message
Quote from: RHorning on December 08, 2010, 5:43:54 PM UTC

Then I’m confused about how else you would set up a system to arbitrarily remove a domain record from the DNS network?  If you got an idea on how to implement that, I’m interested.  The only system I can think of is to arbitrarily assign authority to “somebody” to take care of that issue.  You could have a “voting” system perhaps that would count up requests to eliminate a domain from a majority of the network and therefore “by consensus” drop the domain.  It would also provide an unneeded attack vector on the network as well as the “votes” would also be subject to some kind of manipulation that perhaps would be even worse than a trusted authority figure.

You misunderstood me. I didn’t suggest anything like voting or whatever.

kiba December 8, 2010 17:54 UTC Link to this message
Quote from: ribuck on December 08, 2010, 5:49:22 PM UTC

Obviously there needs to be a business case made that non-expiring domain names will work. But there also needs to be a business case made for the renewal process of the theymos/nanotube design.

Time based expiry date rather than block based expiration system. Obviously registrar could remain users to renew as they had done in the earlier system.

kiba December 9, 2010 00:39 UTC Link to this message

Miners are rejecting the [edit]isStandard.

kiba December 9, 2010 00:59 UTC Link to this message

Others elsewhere or previously have suggested we build a chain dependent on the bitcoin chain. Some way to hash the data against a block.

That way, miners would still be strengthening the bitcoin network.

kiba December 9, 2010 02:30 UTC Link to this message
Quote from: da2ce7 on December 09, 2010, 2:24:16 AM UTC

I believe the problem with the generalized BitX is that the more that one adds to the chain, the higher the payload and overhead.

The solution to this is to use the Bitcoin chain, and use transaction fees to add additional content, the market will decide what is worth including in the chain or not, based solely on the cost/benefit of doing so.

Bigger stuff mean higher priority. Bitcoin users who didn’t load the bitcoin chain data with lards are left with lower priority.

kiba December 9, 2010 19:51 UTC Link to this message

Our code repository is non-existent and we’re still debating the best route for DomainChain/BitDNS.

  • kiba is anxious.

I think it would be possible for BitDNS to be a completely separate network and separate block chain, yet share CPU power with Bitcoin.  The only overlap is to make it so miners can search for proof-of-work for both networks simultaneously.

The networks wouldn’t need any coordination.  Miners would subscribe to both networks in parallel.  They would scan SHA such that if they get a hit, they potentially solve both at once.  A solution may be for just one of the networks if one network has a lower difficulty.

I think an external miner could call getwork on both programs and combine the work.  Maybe call Bitcoin, get work from it, hand it to BitDNS getwork to combine into a combined work.

Instead of fragmentation, networks share and augment each other’s total CPU power.  This would solve the problem that if there are multiple networks, they are a danger to each other if the available CPU power gangs up on one.  Instead, all networks in the world would share combined CPU power, increasing the total strength.  It would make it easier for small networks to get started by tapping into a ready base of miners.

ribuck December 9, 2010 21:05 UTC Link to this message

Kiba, I wrote this response before Satoshi posted above. I’ll need some time to understand Satoshi’s post.

Quote from: kiba on December 09, 2010, 7:51:05 PM UTC
  • kiba is anxious.

Don’t be anxious. I already said I thought it would take 2 weeks to agree design directions before coding.

There has been excellent development over the past 24 hours. It has become clear that Gavin’s changes to handling of non-standard transactions don’t rule out domain registration integrated with Bitcoin.

It is also becoming clearer that there is less distance between my DomainChains ideas and the theymos/nanotube design. Their design does not have the tangled ties with domain name server operators, that I previously thought it did.

Hang in there! Two weeks will seem like nothing in the long term outcome.

Quote from: satoshi on December 09, 2010, 9:02:42 PM UTC

I think it would be possible for BitDNS to be a completely separate network and separate block chain, yet share CPU power with Bitcoin. The only overlap is to make it so miners can search for proof-of-work for both networks simultaneously.

sounds excellent in theory…

seems that the miner would have to basically do “extra work”. and if there’s no reward from the bitdns mining from the extra work (which of course, slows down the main bitcoin work), what would be a miner’s incentive to include bitdns (and whatever other side chains) ?

very curious to hear your further thoughts on this. 😊

Quote from: satoshi on December 09, 2010, 9:02:42 PM UTC

I think it would be possible for BitDNS to be a completely separate network and separate block chain, yet share CPU power with Bitcoin. The only overlap is to make it so miners can search for proof-of-work for both networks simultaneously.

The networks wouldn’t need any coordination. Miners would subscribe to both networks in parallel. They would scan SHA such that if they get a hit, they potentially solve both at once. A solution may be for just one of the networks if one network has a lower difficulty.

This sounds very very interesting, something to explore.

Can you elaborate on how would it work in practice? Separate networks and block chains implies hashing one block header for each network, with different resulting hashes, does it not?

The only thing I can come up with is the completely naive and slightly cache-unfriendly implementation…

while (nonce < 0xffffff) nonce++ for each network data_block[nonce_offset] = nonce // ie. our nonce scanhash(data_block)

or

for each network while (nonce < 0xffff) data_block[nonce_offset]++ scanhash(data_block)

I could easily update cpuminer to poll multiple RPC endpoints for ‘getwork’…

Quote from: nanotube on December 09, 2010, 9:20:40 PM UTC

seems that the miner would have to basically do “extra work”. and if there’s no reward from the bitdns mining from the extra work (which of course, slows down the main bitcoin work), what would be a miner’s incentive to include bitdns (and whatever other side chains) ?

Same incentive as the main chain — you get paid.

Quote from: Jeff Garzik on December 09, 2010, 9:49:06 PM UTC
Quote from: nanotube on December 09, 2010, 9:20:40 PM UTC

seems that the miner would have to basically do “extra work”. and if there’s no reward from the bitdns mining from the extra work (which of course, slows down the main bitcoin work), what would be a miner’s incentive to include bitdns (and whatever other side chains) ?

Same incentive as the main chain — you get paid.

but if you get paid just as much by mining pure bitcoin without the side hashing…

Quote from: nanotube on December 09, 2010, 9:20:40 PM UTC

seems that the miner would have to basically do “extra work”. and if there’s no reward from the bitdns mining from the extra work (which of course, slows down the main bitcoin work), what would be a miner’s incentive to include bitdns (and whatever other side chains) ?

The incentive is to get the rewards from the extra side chains also for the same work.

While you are generating bitcoins, why not also get free domain names for the same work?

If you currently generate 50 BTC per week, now you could get 50 BTC and some domain names too.

You have one piece of work.  If you solve it, it will solve a block from both Bitcoin and BitDNS.  In concept, they’re tied together by a Merkle Tree.  To hand it in to Bitcoin, you break off the BitDNS branch, and to hand it in to BitDNS, you break off the Bitcoin branch.

In practice, to retrofit it for Bitcoin, the BitDNS side would have to have maybe ~200 extra bytes, but that’s not a big deal.  You’ve been talking about 50 domains per block, which would dwarf that little 200 bytes per block for backward compatibility.  We could potentially schedule a far in future block when Bitcoin would upgrade to a modernised arrangement with the Merkle Tree on top, if we care enough about saving a few bytes.

Note that the chains are below this new Merkle Tree.  That is, each of Bitcoin and BitDNS have their own chain links inside their blocks.  This is inverted from the common timestamp server arrangement, where the chain is on top and then the Merkle Tree, because that creates one common master chain.  This is two timestamp servers not sharing a chain.

Judson December 9, 2010 23:00 UTC Link to this message

I agree with satoshi’s idea. It seems like the best of both worlds.

da2ce7 December 10, 2010 00:10 UTC Link to this message
Quote from: satoshi on December 09, 2010, 10:46:50 PM UTC

If you currently generate 50 BTC per week, now you could get 50 BTC and some domain names too.

I’m still trying to get my head around your idea completely. The main reason that I liked the idea of including BitDNS into the bitcoin block chain via transaction fees is that it gives BitDNS a very comprehensive economic support using bitcoins, thus increasing the value and usefulness of bitcoins.

I gather from Sotoshi’s model, both BitDNS coins and bitcoins are generated by the same block, allowing them both to be traded as a commodity. The problem I see with that is that domain names have value from their name, registration costs, and bandwidth/computer cost , not scarcity in number.

In nanotube’s+theymos’s proposal, the real cost making a BitDNS is automatically paid by the transaction fee, their is no need to create a second market. As many or as little domains names will be included in the chain, and the generators will be compensated in bitcoins for providing that service.

Satoshi’s idea eliminates the need for BitX. Alternative chains can be made without splitting CPU power.

Our version of BitDNS would never use its own chain, though, because creating domains should not be tied to a proof-of-work, and we therefore have no generation incentive.

120 bytes with an OP_CHECKSIG is enough for our proposal, I think.

ribuck December 10, 2010 11:23 UTC Link to this message
Quote from: satoshi on December 09, 2010, 10:46:50 PM UTC

The incentive is to get the rewards from the extra side chains also for the same work.

You don’t really get any extra reward. Either you are collecting generation fees + transaction fees from the Bitcoin side, plus some profits from the Domain Name side. Or, everything is in the Bitcoin block and you earn the same total profits, but all from the Bitcoin side (due to the additional Domain Name transaction fees on the Bitcoin side).

ribuck December 10, 2010 12:21 UTC Link to this message

[edit: nevermind this post. I haven’t been able to express my idea clearly here.]

Suppose you have a separate block chain for domain name registrations, and you want people to pay in Bitcoins.

To register foo.domain, the buyer pays 10 BTC using the standard Bitcoin system, then goes to the other system to claim their domain name. But how to know that they paid? They can prove cryptographically that the 10 BTC payment came from them, but they can’t prove that the payment was for a domain name. They might be using that same payment to claim services from several separate sites.

So obviously Bitcoin needs a way to associate a transaction ID with a Bitcoin payment. If you can include a transaction ID (of say 64 characters), then you may as well just use the Domain Name details as the transaction ID (because it’s short enough), in which case there’s no need for a separate domain name registration chain.

A domain registration is just a Bitcoin Payment to an unspecified miner, with a transaction ID that happens to be meaningful.

Quote from: da2ce7 on December 10, 2010, 12:10:07 AM UTC
Quote from: satoshi on December 09, 2010, 10:46:50 PM UTC

If you currently generate 50 BTC per week, now you could get 50 BTC and some domain names too.

In nanotube’s+theymos’s proposal, the real cost making a BitDNS is automatically paid by the transaction fee, their is no need to create a second market. As many or as little domains names will be included in the chain, and the generators will be compensated in bitcoins for providing that service.

The thing is that the miner receiving the transaction fee is just getting that as a sort of free lunch. The fee may be in place to cut out spammers, but they aren’t doing any work so far as anything to do with the DNS system. Those computers which are processing and authenticating the raw data are not getting any sort of fee at all and the generators are not being compensated in Bitcions. All that is happening is that the miners are getting paid essentially as a data storage service entirely, and that is of marginal utility in my opinion.

This is also why there are some huge complaints about using the Bitcion blockchain as a generic data storage system… rightfully so I might add.

Quote from: ribuck on December 10, 2010, 12:21:34 PM UTC

Suppose you have a separate block chain for domain name registrations, and you want people to pay in Bitcoins.

Let’s assume for a minute we have another block chain which contains just domain data which is cryptographically hashed, but may or may not have proof of work (let’s ignore that for now, which I’ll address below). The purpose of the block chain is for the authentication of the data primarily where the “network” of domain servers can “certify” that the data fits the network rules and that domain data within that chain is valid in terms of who “owns” what domain. As a public block chain, it also shows what the majority of the “network” agrees ought to be in that chain too. Improperly formatted data that is not agreed to by the majority of the network is rejected from this block. Since it is a chain it also verifies against tampering and does a timestamp, and more importantly by being outside of the main Bitcoin chain it reduces the data payload for what is admittedly a specialized service which not all Bitcion users are necessarily interested in. These are the features of the Bitcoin transaction database that are being desired to be applied to other sets of data.

So far that is the easy stuff. We also want to set up some system where the “registrar” putting data into this chain is going to be “paid” for the registration and authentication of this system. I emphasize this as this is both going to be a reason to be a registrar as to even exist as a registrar has a strong financial stake in maintaining the database to receive more registrations, and provides a reason to have fees to cut down on spamming domain names or abusing the public commons. The fees are being paid to maintain the database, which is the important thing here. Without this fee, at best this database is being authenticated and supplied to the world at large strictly as a public service for free. Some people like that but I hope that those involved with the Bitcoin project can appreciate how being paid for such a service can be very useful and motivating. The Theymos/Nanotube proposal and for that matter all registrations into the Bitcoin database through extra data in a transaction sidestep this issue entirely by ignoring authentication and only using the timestamp ability of Bitcoin, where this database would have to be built anyway but derived from Bitcoin and thus provided as a public service for free.

Here is the real issue, however: Since there is no central server, the registrant wants to make sure their registration is put in by whatever registrar happens to be in line to put in the next record onto the block chain, however that is decided (by proof of work or some other agreed upon system). They want to send out some sort of generic transaction that can be received by the “authenticator” of their registration application who puts this registration into that block chain. Only if their registration is accepted into the block chain should that authenticator be paid.

A problem arises here: A bitcoin miner may know that a fee is available from a registrant, but how do you decide where those coins properly belong? Keep in mind that once a fee is processed in Bitcoin, it is irreversible. If there is a chain split on the domain records due to a formatting/authentication dispute (it likely will happen just like it is happening with Bitcoin even now) those Bitcoin transactions may be going to an authenticator who in fact never did get the registration done because the majority of the network has ignored that domain registration block. Some other registrar may pick up the registration and simply out of the kindness of their heart decide to include it in another block, but they won’t be receiving any fee at all for that service. Some system could be perhaps set up where after a block is down to a given depth in the block chain that the fee can be “released”. Still, regardless of how you set this up there will be some trolls who will be collecting fees, pretending to put stuff into the domain registry but not really caring about the domain registry protocols and siphoning off the fees for themselves, perhaps in collaboration with a Bitcoin miner. Since this represents serious money, there will always be some trolls doing this. Even an “honest” registrar is still going to make some mistakes due to a bug or something similar which may on occasion capture fees when they are deserved under this system.

I believe the fee system is critical to the success of this domain registration system. That ensures selfish behavior on the part of the registrars which puts it into their self-interest to maintain the databases, computer equipment, and everything else which makes this work. Yes, there are other ways that a domain name server can earn some coins, and perhaps that ought to be done too, but registration fees are already a part of the marketplace and something which this system is trying to capture as well.

In short, I am trying to demonstrate here that the authentication simply must happen with an entirely different currency, or that authentication of the data (not merely the time stamping) must happen within the Bitcoin client and that data at least in some fashion or another included more directly into the Bitcion block chain with the data authenticated by the miner itself. A Bitcoin miner may choose not to process domain data, but some system must be set up that can certify that a given block including the domain data meets some sort of authentication standard to be accepted into the block chain to “earn” those registration fees. Otherwise the system falls apart and any talk of fees other than as a pure transaction fee to a Bitcoin miner alone is meaningless, with that transaction only to be used to preserve the transaction database.

I am also suggesting that to ensure promptness of registration, that it may also have to be a separate currency simply because not all miners are going to want to bother with domain registration authentication and over time the latency of even getting a domain registration into the system may be intolerably long (on the order of days or weeks) depending on the setup of the Bitcoin network and other priorities of the miners. I’m not suggesting an alternate currency to drive this project out of Bitcoin as useless data, but to point out that it is unworkable even from the perspective of the goals of the peer to peer domain server concept too. Putting the data into transactions isn’t authentication and is also losing much of the power of what Bitcoin offers in terms of the authentication too. The proof of work system as used by Bitcion is also the only reasonable way to ensure that the system stays decentralized in terms of deciding who gets to put in the next block. Certainly some sort of common protocol for finding the next proof of work hash can be set up through a common mining pool between multiple currencies like this, but that is a completely separate issue from if it is to be a separate currency or not which I don’t think has been decided on this thread.

The only other solution would be for Bitcoin to fully embrace this and other similar concepts that might come along and provide hooks and some sort of standard protocol to authenticate data of this nature on the main Bitcoin network. I think in theory that could be done and may be done in the more distant future in terms of “unifying” the proliferation of currencies that may result if it isn’t done. I just don’t see how that is going to get into the main Bitcoin chain anytime soon and even that has a whole bunch of drawbacks which I haven’t fully explored either.

bitcoinex December 10, 2010 14:51 UTC Link to this message
Quote from: kiba on December 06, 2010, 1:12:33 PM UTC
Quote from: Anonymous on December 06, 2010, 11:53:37 AM UTC

I suggest tahoe lafs if you are looking for a database for storage.

Remember, speed is of the essence. We can alway replace the database with something else, but not time.

All non-essential features should be blocked from implementation focus.

That mean the core developers don’t work on a fancy GUI. They will focus on:

  1. The mechanism to mine, register, and change a domain name.

  2. The mechanism to distribute or output the DNS database.

  1. “powerdns” can work with plugins and with bind9 configs by default. We can write a plugin for it.
ribuck December 10, 2010 14:57 UTC Link to this message
Quote from: RHorning on December 10, 2010, 1:39:27 PM UTC

… Keep in mind that once a fee is processed in Bitcoin, it is irreversible. If there is a chain split on the domain records due to a formatting/authentication dispute … those Bitcoin transactions may be going to an authenticator who in fact never did get the registration done because the majority of the network has ignored that domain registration block

That doesn’t really reflect how it works. If there is a chain split, eventually the network will settle on one of the chains. The generator that mined the block in the “winning” chain gets the transaction fee.

There is no “irreversible” payment to the generator in the “losing” chain. Well, in a sense it is irreversible but as they can only spend it in the losing chain it’s not much use to them.

ribuck December 10, 2010 14:59 UTC Link to this message
Quote from: bitcoinex on December 10, 2010, 2:51:50 PM UTC

“powerdns” can work with plugins and with bind9 configs by default. We can write a plugin for it.

No-one has made a proof-of-concept, but we think that all we need is a program that trawls through the block chain, extracts the registration details, and writes them out in bind’s data format. No plugin or hacks should be needed.

bitcoinex December 10, 2010 15:11 UTC Link to this message
Quote from: ribuck on December 10, 2010, 2:59:27 PM UTC
Quote from: bitcoinex on December 10, 2010, 2:51:50 PM UTC

“powerdns” can work with plugins and with bind9 configs by default. We can write a plugin for it.

No-one has made a proof-of-concept, but we think that all we need is a program that trawls through the block chain, extracts the registration details, and writes them out in bind’s data format. No plugin or hacks should be needed.

bind9 is not the best format. pdns have a simple interface for plugins, do not worry.

Quote from: ribuck on December 10, 2010, 2:57:37 PM UTC
Quote from: RHorning on December 10, 2010, 1:39:27 PM UTC

… Keep in mind that once a fee is processed in Bitcoin, it is irreversible. If there is a chain split on the domain records due to a formatting/authentication dispute … those Bitcoin transactions may be going to an authenticator who in fact never did get the registration done because the majority of the network has ignored that domain registration block

That doesn’t really reflect how it works. If there is a chain split, eventually the network will settle on one of the chains. The generator that mined the block in the “winning” chain gets the transaction fee.

There is no “irreversible” payment to the generator in the “losing” chain. Well, in a sense it is irreversible but as they can only spend it in the losing chain it’s not much use to them.

I think you got the context mixed up here. The reason why the payment is irreversible is because it is derived from a completely different chain. If there is a chain split in the domain registry chain, the fees spent as bitcoins (going into a completely different system) will have already been spent for those block in the “losing” chain. Transaction going into that “losing block” are essentially a wasted effort.

I’m suggesting that somebody simply sets up enough of the protocol to be able to appear to be following the domain processing rules so as to appear “legit”, but they only have to make an appearance to get a block accepted. Perhaps they even get some blocks accepted, but then start to make up stuff or somebody attempts to register an existing name (as a scammer claiming they can hijack a domain from somebody else or however). If there is any reason why the rest of the network doesn’t accept the block, for any reason, all of the fees collected by that “miner” or “registrar” would still be collected by that scammer regardless of if it actually gets into the chain.

On the other hand, if the block being “authenticated” is a part of the same chain that creates the currency, this isn’t a problem. If the blocks get rejected by the network, any fees (set up in a system like how transaction fees are done with Bitcoin) are also similarly rejected by the network too. Any chain splits remove any fees paid to “losing” blocks and therefore can be ignored. This is why the authentication must happen in the same chain as the transaction. Either that is in Bitcoin or a parallel currency, but if it is with Bitcoin, the authentication must happen within the Bitcoin network too. Otherwise, there isn’t a way to get payment to the miner with an outside currency that is similar to Bitcoin without fraud and a significant attack on the payment system. This is fraud because a service is being claimed and paid for, but the service isn’t being rendered.

Hacking the data into Bitcoin transactions does not perform authentication of the data and pushes that need somewhere else. In effect, it permits “double spending” of a domain name or allocation of a domain name to more than one person with ambiguity over who actually owns that domain.

ribuck December 10, 2010 16:58 UTC Link to this message
Quote from: RHorning on December 10, 2010, 4:50:01 PM UTC

The reason why the payment is irreversible is because it is derived from a completely different chain.

Got you now. Yes, keeping two chains synchronised is fraught with difficulty.

Piling every proof-of-work quorum system in the world into one dataset doesn’t scale.

Bitcoin and BitDNS can be used separately.  Users shouldn’t have to download all of both to use one or the other.  BitDNS users may not want to download everything the next several unrelated networks decide to pile in either.

The networks need to have separate fates.  BitDNS users might be completely liberal about adding any large data features since relatively few domain registrars are needed, while Bitcoin users might get increasingly tyrannical about limiting the size of the chain so it’s easy for lots of users and small devices.

Fears about securely buying domains with Bitcoins are a red herring.  It’s easy to trade Bitcoins for other non-repudiable commodities.

If you’re still worried about it, it’s cryptographically possible to make a risk free trade.  The two parties would set up transactions on both sides such that when they both sign the transactions, the second signer’s signature triggers the release of both.  The second signer can’t release one without releasing the other.

ribuck December 10, 2010 18:55 UTC Link to this message
Quote from: satoshi on December 10, 2010, 5:29:28 PM UTC

Piling every proof-of-work quorum system in the world into one dataset doesn’t scale.

If you say “no” after you’ve seen how this runs on the test network, I will totally respect that and won’t generate domain registrations on the live network.

Bitcoin is your bird, and if you don’t want it to soar as high as it can, that’s OK.

But even if the domain name stuff is on a separate chain, there is still going to be a Bitcoin transaction for every DNS registration. So having two chains would cause no reduction in the number of Bitcoin transactions, just 40 or 50 bytes reduction in the size of the transactions in the Bitcoin chain.

Quote from: satoshi on December 10, 2010, 5:29:28 PM UTC

Fears about securely buying domains with Bitcoins are a red herring. It’s easy to trade Bitcoins for other non-repudiable commodities.

I dont see how this was a red herring. Unfortuantely if you use a Bitcoin-like system of authentication of a transaction, you can’t conduct that transaction in Bitcoins, at least for authentication transaction fees.

satoshi

If you’re still worried about it, it’s cryptographically possible to make a risk free trade. The two parties would set up transactions on both sides such that when they both sign the transactions, the second signer’s signature triggers the release of both. The second signer can’t release one without releasing the other.

I’m really curious about how you make this sort of transaction risk-free without having it integral to Bitcoin as some sort of authentication mechanism.

One thing that really makes this nasty is that the “miner” is unknown until the block is added into an authentication hash tree. You don’t have the two key release mechanism because one of the parties in the transaction is unknown until after the hash is successfully put in, and even that is conditional.

It makes it much more secure and coincidentally easier to scale to treat it as a simple exchange between two currencies, something that happens entirely outside of the system as evidenced by the various exchanges that already exist between Bitcoin and other currencies. BTW, I agree that Bitcoin or any other monolithic application should not be the ultimate repository of all human knowledge and interaction, as I don’t think any sort of system can possibly scale to that size. I’m not even sure TCP/IP itself can scale to that size.

This is much of what Jgarzik has said that it is unworkable, but going from a different perspective. The problem is that everybody is trying to get these fees paid for with bitcoins, and I don’t think that can be done at all, at least directly. As an indirect mechanism, perhaps, such as a floating currency that isn’t locked down until after the exchange takes place.

BTW, the idea of a “locking exchange” would be a fantastic idea for a peer-to-peer currency exchange network, particularly for electronic currencies like Bitcoin or Liberty Reserve. I just don’t see how you can put any sort of authentication transaction fee in a block that is denominated by a currency other than the currency represented by that block itself.

MoonShadow December 10, 2010 19:11 UTC Link to this message

Also, why on Earth would a BitDNS want a blockchain that updates every 10 minutes? Why not an hour instead? Or every minute? Why be chained to the cycles set for another purpose? It’s less than ideal from the beginning.

Hal Finney (Hal) December 10, 2010 19:14 UTC Link to this message

Satoshi, are you endorsing the idea that additional block chains would each create their own flavor of coins, which would trade with bitcoins on exchanges? These chain-specific coins would be used to reward miners on those chains, and to purchase some kinds of rights or privileges within the domain of that chain?

Quote from: Hal on December 10, 2010, 7:14:04 PM UTC

Satoshi, are you endorsing the idea that additional block chains would each create their own flavor of coins, which would trade with bitcoins on exchanges? These chain-specific coins would be used to reward miners on those chains, and to purchase some kinds of rights or privileges within the domain of that chain?

It might be coins, but it doesn’t have to be. Your reward could be a portion of namespace, ie. the domains themselves.

The possibilities are endless.

Bitcoin rewards you, essentially, with a piece of [digital] property.

Quote from: Jeff Garzik on December 10, 2010, 7:22:40 PM UTC

It might be coins, but it doesn’t have to be. Your reward could be a portion of namespace, ie. the domains themselves.

The possibilities are endless.

Bitcoin rewards you, essentially, with a piece of [digital] property.

If you are a miner and you “win” the block, yes, you can throw in any domains to the chain for free I suppose, and the network could accept or reject your block depending on whatever rules that network sets up to regulate that behavior. That is like a Bitcoin miner can throw any transactions they care for as much as they care without having to pay a transaction fee, since they are paying for themselves. Including a transaction fee in the process is just rearranging coins and doesn’t change the net amount actually being spent or received.

I think that is of limited utility, unless you are saying that miners can eventually “earn” the “right” to a top-level domain after a certain number of hashes and inclusions into the domain registry. That would be an artificial form of scarcity that would be interesting to implement, but it still fails to get fees paid by registrants to the registrar. It would just make you “god-king” over a particular TLD… if you really “owned” that.

Such a non-coin “reward” also doesn’t provide any incentive to maintain the database, while a coin-based reward would.

bitcoin itself is artificial scarcity.

Quote from: Hal on December 10, 2010, 7:14:04 PM UTC

Satoshi, are you endorsing the idea that additional block chains would each create their own flavor of coins, which would trade with bitcoins on exchanges? These chain-specific coins would be used to reward miners on those chains, and to purchase some kinds of rights or privileges within the domain of that chain?

Right, the exchange rate between domains and bitcoins would float.

A longer interval than 10 minutes would be appropriate for BitDNS.

So far in this discussion there’s already a lot of housekeeping data required.  It will be much easier if you can freely use all the space you need without worrying about paying fees for expensive space in Bitcoin’s chain.  Some transactions:

Changing the IP record.

Name change.  A domain object could entitle you to one domain, and you could change it at will to any name that isn’t taken.  This would encourage users to free up names they don’t want anymore.  Generated domains start out blank and the miner sells it to someone who changes it to what they want.  

Renewal.  Could be free, or maybe require consuming another domain object to renew.  In that case, domain objects (domaincoins?) could represent the right to own a domain for a year.  The spent fee goes to the miners in the next block fee.

kiba December 10, 2010 20:03 UTC Link to this message
Quote from: Jeff Garzik on December 10, 2010, 7:41:41 PM UTC

bitcoin itself is artificial scarcity.

The supply of bitcoin is just an integer determined by network. Otherwise, bitcoin are non-scarce. I can copy a wallet a millllllllllllioooooooooon of time and it will contain the same integer. It’s a very weird form of scarcity and non-scarcity.

Hal Finney (Hal) December 10, 2010 20:12 UTC Link to this message

OK so if there are going to be bitdnscoins (aka DCCs, DomainChain Coins) then they have to be useful for something. Otherwise every BitDNS miner is going to fill every block with his own domain name registrations, rather than replace one with someone else’s registration in exchange for a transaction fee in a useless currency.

The rules have to be that you have to spend a certain amount of bitdnscoins/DCCs in order to register your names and/or do other BitDNS transactions. That’s the only way to make this alternative currency desirable and valuable.

(Well we could do like Bitcoin and say there would only ever be 22 million DCCs ever created, so they’d get valuable from scarcity just like bitcoins. But that seems weak.)

I agree.  All transactions, IP changes, renewals, etc. should have some fee that goes to the miners.

You might consider a certain amount of work to generate a domain, instead of a fixed total circulation.  The work per domain could be on a schedule that grows with Moore’s Law.  That way the number of domains would grow with demand and the number of people using it.

bitcoinex December 10, 2010 20:41 UTC Link to this message
Quote from: creighto on December 10, 2010, 7:11:28 PM UTC

Also, why on Earth would a BitDNS want a blockchain that updates every 10 minutes? Why not an hour instead? Or every minute? Why be chained to the cycles set for another purpose? It’s less than ideal from the beginning.

Then be sure to add the ability to specify multiple authoritative servers for one domain. This is possible for DNS as I know (MS Windows AD does it)

So those who do not want what their site to be able to shutdown can make a lot of spare servers and when they turned off by Big Brother name owner just change the settings by removing old servers and adding new ones.

da2ce7 December 11, 2010 00:01 UTC Link to this message

It seems like killing two birds with one stone isn’t enough on the bitcoin forum; one has to kill three.

Firstly, I would like to commend nanotube’s+theymos proposal. I like it because it makes economic sense, and it is simple. The design that I am proposing in this post is backwards compatible with nanotube’s+theymos proposal, however solves all the ‘issues’ said. (I still think there is really nothing wrong about how it is proposed to work as it is. However, if there is a better way of doing it, why not?)

Before we start, one must state that domain names a fundamentally different to currency, as they obtain their value in a very different manner; currency obtains values from being something that has restricted supply. Domain names, rather have values from the quality of the name, i.e. a short dictionary word has more value that a long random sequence.

If a restriction of the total number of domain names is made, it would be an arbitrary restriction, causing a lower efficiency market, thus reducing the attractiveness of using that market. So with this in mind, lets design a system that can have an unlimited number of domain names; providing people are willing to pay for the service of claiming the domain name.

The main concern on the forum is the inclusion of ‘other data’ in the block chain; the problem isn’t a fundamental one, as the bitcoin transactions block chain is indeed data in its own right. In discussions elsewhere, it has been shown that:

  1. Generators will happily include any data that is profitable to include.
  2. The block size will grow to a size that balances data demands and the profitably of the miners.
  3. Clients only need to ‘keep’ data that they interested in. Data that is irrelevant to the client may be forgotten once processed.
  4. Transaction balances may be used to cull the chain of old transactions. Therefore it has already been shown that the amount of data in the chain is not an issue with: generation (they get paid for it), or storage (they only keep what they want). The only outstanding issue is: transfers.

What has been discussed is that every client must download the entire block chain (before it is culled) then, every new block generated and check it. Only after processing may a client delete any data that it doesn’t want. This accounts for a small amount of work while the chain is small, however the fear is when large amounts of irrelevant data (to any particular client) is included in the chain this task will become overly taxing.

I propose, a design hinted at by Satoshi, to solve this problem: Split bitcoin transactions into multiple groups. While keeping the important tie between data and bitcoin transactions, (every bit of data still must include it’s compensation to the miners as a bitcoin transaction fee). Group the transactions by templates. For example: Put the ‘vanilla template’ bitcoin transactions into the vanilla group, the ‘bitdns template’ bitcoin transactions into the bitdns group, the ‘bitpgp template’ bitcoin transactions into the bitpgp group, and so on.

Finally include a ‘summary’ group that contains only the changes to the transaction balances accumulated in all the other groups.

A Block could contain something like this:

Once one block has confirmed the previous block (checking that all the accounting is correct in the summary block), only downloading the merkle tree and the summary group is required to keep up2date about the changes. This is in-effect less data than is required to download now! If the client decides that it needs some in-particular bit of data from one of the other groups after checking the summary, it can optionally download that also.

The important thing to notice is it that there is no free lunch, every bit of data must still include the appropriate transaction fees, in bitcoins.

Nanotube and Teymos’s design fits very nicely on top of this design, as the transactions that the BitDNS system makes will simply be automatically grouped by the template that the generators use to check the BitDNS transactions before accepting them. Allowing clients to download the BitDNS data if they want it, or just download the transaction summaries.

dtvan December 11, 2010 07:43 UTC Link to this message

After reading through this whole thread, I’ve got a couple of comments that I think would be helpful:

  1. Everyone in the thread seems intent on replacing the entire DNS infrastructure in one fell swoop, which I think is the wrong approach. The real problem with the DNS system as it exists today is that somebody has to own the root. At the end of the day, you have to trust ICANN. What the DomainChain/BitDNS system should strictly focus on is establishing ownership of domain names. All it needs to track is that the holder of Key A owns domain foo.bar. Once we’ve established this shared trust, we can support many different DNS infrastructures that can be implemented independently from this project. Whatever new systems are created use DomainChain/BitDNS to establish which key owns the domain, and only allows that individual to insert records for that domain. This works out well, since all participants in the system can validate that the record they’ve looked up is valid. Right now it is easy to get bogged down in all the details of managing DNS records, when all we need to do is establish a trusted, distributed authority that can form the root of DNSSEC, some new p2p DNS, or whatever.

I’m also thinking this could be used to solve the CA problem with HTTPS, since signing your certificate with the same key would prove that I’ve reached the correct server. But I digress…

  1. Limiting the TLDs should be a requirement. If this system doesn’t inter-operate with the existing DNS infrastructure by preventing name collisions, it will undermine the trust you are trying to generate. Even I’m not sure I’m ready to sign up for a distributed DNS system if someone new can pick up www.mylocalbank.com and cause havok. I’d humbly suggest .web as the TLD to use, but anything will work as long as it is short and not currently in use.

Right now the focus should be on getting this up and running in a way that doesn’t conflict with the existing system. If this system becomes dominant at some point and needs to tackle additional TLDs, that is a “problem” that can be dealt with then.

  1. Personally, I think expiring domain names are the way to go. Even with relatively expensive renewals today, there is still a ton of junk out there. I can’t imagine how bad it would be if you owned a domain forever. It isn’t asking much to say that you have to renew your domain periodically to keep it, especially since this shouldn’t be the ripoff that the existing system is today.

I’d like to close out by saying that this is really exciting stuff. I’ve read a number of different ideas about how to solve the DNS problem, and this is the first one I’ve seen that could actually solve it (and not just replace ICANN with pick-your-new-benevolent-dictator).

kiba December 13, 2010 17:11 UTC Link to this message

Are we…dead?

kiba December 13, 2010 20:18 UTC Link to this message

Do we have enough uncontroversial detail that somebody can start coding?

kiba December 16, 2010 02:14 UTC Link to this message

How long this debate had been going on? I am still unclear on whether or not you guys agree on anything.

The longer we wait, the less chance of success we will have.

kiba December 16, 2010 04:22 UTC Link to this message
Quote from: da2ce7 on December 16, 2010, 3:31:55 AM UTC

Hmm, I don’t think that the longer the wait the less chance of success…

There is some compoetition in the form of dot p2p project.

kiba December 18, 2010 21:45 UTC Link to this message

I am under the impression that nothing codewise is getting done.

kiba December 22, 2010 00:46 UTC Link to this message

Progress report?

kiba December 24, 2010 00:05 UTC Link to this message

theymos/nanotube, working on your implementation?

kiba December 29, 2010 22:57 UTC Link to this message

Progress report?

FreddyFender January 6, 2011 15:55 UTC Link to this message

From what I can tell, the proposal located on domainchain: (see http://domainchain.org/wiki/doku.php?id=start#proposal ) goes against Satoshi’s wishes to keep the bitcoin blockchain unencumbered and ties domain assignments directly to bitcoin. Many community members have stated that this is impractical and will leave bitcoin if attempts continue to include domainchain into bitcoin directly. Satoshi asked that a new tree be created with a separate currency that floats its value according to demand with the bitcoin service.

Quote from: satoshi on December 09, 2010, 9:02:42 PM UTC

I think it would be possible for BitDNS to be a completely separate network and separate block chain, yet share CPU power with Bitcoin. The only overlap is to make it so miners can search for proof-of-work for both networks simultaneously.

The networks wouldn’t need any coordination. Miners would subscribe to both networks in parallel. They would scan SHA such that if they get a hit, they potentially solve both at once. A solution may be for just one of the networks if one network has a lower difficulty.

What we have here are dedicated coders/hackers that are racing ahead of theorists. The theory must be bulletproof before any proposals are launched. I think we need mathematical theorists to begin the process and then hand off to coders the basic structure while pointing out weaknesses.

A new chain with grassroot development should excite the miners and coders and calm the fears of the thinkers/theorists among the community. The funny thing is, once the theory is solid the porting of a new BitDNS(Domainchain?) will be very simple. All the stumbling blocks appear to be centered around including Domainchain into the Bitcoin structure instead of branching it into its own chain.

Domainchain is dead, long live Domainchain! 😊