Bitcoin Forum
April 24, 2024, 08:12:49 PM *
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 58 59 ... 64 »
161  Alternate cryptocurrencies / Altcoin Discussion / Re: Mastercoin reference implementation proposal. on: December 04, 2013, 04:07:10 PM
Actually we will be using libraries wherever possible, as long as they don't bring in hard depdencies, like Bitcoind. I've already talked with Amir about using Libbotcoin for Mastercoin purposes. An other option we came up with is using parts of BTCD which is a pure Go implementation of the Bitcoin reference implementation. It is still alpha but it's already passing block acceptance tests so it looks like we can cut development time by using parts of their libs. The only problem is we haven't had time to really dive into their code and see how useful it would be for us.

We have considered using Bitcoind as an interim solution however we rather cut that out since it would be wasting a lot of resources. We only need a small part of the Blockchain it makes no sense to waste all those resources saving data on transactions we will never use.
162  Bitcoin / Electrum / Re: Electrum 1.9 released on: December 04, 2013, 01:52:36 PM
Ah yeah. The new file it's looking for is wallets/default_wallet. I believe there should however be a migration system in place that should automatically do this for you. If it hasn't try moving your wallet to that folder/ filename but please back it up first Smiley
163  Alternate cryptocurrencies / Marketplace (Altcoins) / Re: 300 BTC Coding Contest: Distributed Exchange (MasterCoin Developer Thread) on: December 04, 2013, 01:49:43 PM
Are you always invalidating it? Or only if there are two purchase offers on both of the addresses? I think it would add flexibility if we would allow multi-input payments we just need to track which inputs have an offer open.

In other news:

I just posted our proposal for a reference implementation, comments/critique welcome.
164  Alternate cryptocurrencies / Altcoin Discussion / Re: MasterCoin: New Protocol Layer Starting From “The Exodus Address” on: December 04, 2013, 01:47:45 PM
I just posted our proposal for a reference implementation, comments/critique welcome.
165  Alternate cryptocurrencies / Altcoin Discussion / Mastercoin reference implementation proposal. on: December 04, 2013, 01:43:22 PM
Hey guys,

I wanted to give my proposal for an official Mastercoin daemon reference implementation. I think enough valid arguments have already been raised why this is needed but just to confirm.

  • It would enable rapid development of products based on Mastercoin without having to know all the ins and outs of the protocol.
  • It would serve as a guideline for other implementations on how interpret the rules.
  • It would make it easier to get Mastercoin trading on exchanges.

Now when creating a reference implementation the following features are of major importance.

  • Cross-platform
  • The least amount of dependencies
  • Optimised for speed and security
  • Readable code and documentation
  • Testable (TDD/BDD)
  • High level API on top

I've discussed this a lot over the last few weeks with a dear friend of mine, who hopefully be involved with the project soon too, and we came up with the following suggestions.

We would develop a reference implementation in Go using Leveldb as data storage. The application would exist of multiple levels and be developer in the following steps

  • Reader module; the reader module would be responsible for reading and listening for messages from different sources (this doesn't have to be Bitcoin perse but would be so initially).
  • Parser; retrieves and parses data specifically for Mastercoin and save it to a key value storage (leveldb).
  • API Library; the higher level API library which serves as a wrapper around the reader, parser and database interface (so it should be possible to develop upon the specification, rather than the JSON RPC)
  • JSON-RPC; A JSON interface wrapper around the library API

The lowest level would be the reader module. This module would read messages from different sources. Initially this would be the Bitcoin block chain. The reader module would be responsible for listing in on a network, gathering messages and then saving these messages to be parsed by the second module. The second module would be the parser itself. It would go through all unparsed messages and retrieve the Mastercoin data. It would then go through all the logic dictated in the spec and save the data in a presentable form in the leveldb database. The last module would be a JSON-RPC interface that gives easy access to all the data saved in the database. There will be no hard dependency on any Bitcoin specific application like Bitcoind. We want it to be as much as stand-alone project as possible carefully weighing development against the dependency cost.

We are considering Go for the following reasons.

  • Cross-platform portability and cross-platform compilable
  • Easy multithreading
  • Secure out of the box. I.e. buffer overflows can't lead to arbitrary code execution
  • Build in garbage collection
  • Easy dependency management
  • Easy syntax, compared to languages like c

Of course there are also downsides to Go.

  • Although production-ready it's a relatively young language
  • Slower to develop than Python / Ruby

This would be no small project and would probably not make any quick gains. However we believe this might be what is needed for the the future stability of Mastercoin. The idea is that I would keep my curren Ruby libraries up to date with the new features while simultaneously working on the Go implementation. However my friend would have the main role and would be doing the most work on it.

Please voice your opinions and concerns so we can come to a final solution for this problem.
166  Alternate cryptocurrencies / Marketplace (Altcoins) / Re: 300 BTC Coding Contest: Distributed Exchange (MasterCoin Developer Thread) on: December 04, 2013, 12:51:45 PM
What kind of payment is this suppose to be? A payment for the distributed exchange?

I guess we need to think of a way to properly handle this case. I'm guessing that we could backtrace and see if one of these addresses did a Purchase Offer. If both of them did a purchase offer we invalidate the transaction. Could that work?
167  Alternate cryptocurrencies / Marketplace (Altcoins) / Re: 300 BTC Coding Contest: Distributed Exchange (MasterCoin Developer Thread) on: December 04, 2013, 12:23:49 PM
Devs, please take a look at this pull request and comment on the spec.
168  Alternate cryptocurrencies / Altcoin Discussion / Re: MasterCoin: New Protocol Layer Starting From “The Exodus Address” on: December 04, 2013, 11:41:21 AM
Hey guys,

I just had a interesting call with Ron so I thought I would chime in.

Ron made me a very interesting offer for the lead developer position, one that might actually be good enough for me to drop my day job. One of the things we discussed was the need for a reference implementation. I will be creating a topic in the coming days to specify my thoughts on this reference implementation and how it might differ from Robby's idea's.

I also sent in the following pull request, comments welcome. It should help clear up some earlier confusing and make the spec more clear. Please comment on the pull request and not in thread.
169  Alternate cryptocurrencies / Altcoin Discussion / Re: The collective Mastercoin-explorer, Mastercoin-ruby and Mastercoin-wallet topic on: December 03, 2013, 10:27:28 AM
Ah, you were trying to get it directly from javascript? That won't work because of cross-origin restrictions.
170  Bitcoin / Electrum / Re: Electrum - Bitcoin client for the common users (friendly and instant) on: December 03, 2013, 10:22:51 AM
Is it possible it's just validating your transactions? Open Electrum open an acitivity monitor like top and see if Electrum is doing something.
171  Bitcoin / Electrum / Re: Electrum 1.9 released on: December 03, 2013, 10:14:28 AM
Electrum 1.9.5 portable isnt working portable. It doesnt find the wallet and creates a directory in the system dir which shouldnt happen for a portable version i guess.

What's the md5 of your 1.9.5 portable.
172  Alternate cryptocurrencies / Altcoin Discussion / Re: The collective Mastercoin-explorer, Mastercoin-ruby and Mastercoin-wallet topic on: December 03, 2013, 10:12:19 AM
The question was actually for Maxmint  Cheesy
173  Bitcoin / Electrum / Re: Electrum - Bitcoin client for the common users (friendly and instant) on: December 03, 2013, 10:11:48 AM
And then it quits back to the console?
174  Alternate cryptocurrencies / Altcoin Discussion / Re: The collective Mastercoin-explorer, Mastercoin-ruby and Mastercoin-wallet topic on: December 03, 2013, 10:05:40 AM
That's the point Smiley
175  Bitcoin / Electrum / Re: Electrum - Bitcoin client for the common users (friendly and instant) on: December 03, 2013, 10:05:25 AM
What does electrum -v give you ?
176  Alternate cryptocurrencies / Altcoin Discussion / Re: The collective Mastercoin-explorer, Mastercoin-ruby and Mastercoin-wallet topic on: December 03, 2013, 09:24:28 AM
Can you open the link in your browser?
177  Alternate cryptocurrencies / Altcoin Discussion / Re: MasterCoin: New Protocol Layer Starting From “The Exodus Address” on: November 29, 2013, 09:01:07 PM
Perhaps Killerstorm would be interested.

I'm not interested, but I have few recommendations on how to fix the immediate problem, see below.

As it is, he appears to already be dedicating more time to mastercoin than colored coins anyways.

I was temporary distracted by mastercoin for a couple of days (I wasn't very productive with code anyway, for a couple of reasons). But three other developers are working on colored coin software now (NGCCC), so it's not like we aren't making progress...

So, recommendations... First of all, try to hire security people (practicing cryptographers, basically) and ask them to help to fix surface problems.

Something like this:

1. disable everything except simple send and decentralized exchange. as few as possible things need to be enabled
Everything is already disabled.

2. if possible, restrict decentralized exchange
How would you propose restricting it? Currently none of the clients allow it. That should be restriction enough. I opened it up once to get some test results into the blockchain, this gave us a lot of valuable information and I'm still happy I did it.

3. compartmentalize distributed exchange feature: people should be able to tell whether coins came to them only through simple sends, or whether decentralized exchange was involved. paranoid people would want coins of the first kind.

We should have done this from the start. Register a handful of MSC addresses that are 'allowed' to do these transactions before the protocol officially supports it. It's the only way to safely develop new features.

4. introduce a notion of a reference implementation, say, Tachikoma's one. if people disagree about how to implement the spec, they should look into how it is implemented in the reference one. (This is how it works for Bitcoin: Satoshi's implementation is the reference, and people who make other implementations had to read its source code.)
Full transparency; I already suggested this to J.R. I asked him if somebody, perhaps even me, could get the rights to make the decision on trivial things that are unclear in the spec and if I (or somebody else) would be allowed to create a portable reference implementation that could be comparable to bitcoind.  

5. make it versioned. Say, current rules are guaranteed to be valid until block 300000. At that point old version of instalable clients will stop and ask user to upgrade. This way you can enable more and more features gradually without compromising the security.

I believe this was always the plan.

I will give you one thing. We are quickly getting to the point that we need more leadership. I've tried to fill in where I could but it's just not doable anymore. The worst thing about Mastercoin is that it already has value. If it was up to me I probably would have done that differently but it's too late for that now. It is out there, people gave it value and we have to work with what we got. If Mastercoin wouldn't have any monetory value nobody would have given a rat's ass about how it was all handled.
178  Alternate cryptocurrencies / Altcoin Discussion / Re: MasterCoin: New Protocol Layer Starting From “The Exodus Address” on: November 29, 2013, 08:36:48 PM
"Mastercoin is a joke": http://www.reddit.com/r/Bitcoin/comments/1rpx26/mastercoin_is_a_joke/

Would someone knowledgeable please care to limit damage?

Seriously this is so childish. Mastercoin is one big experience and we are still trying to figure everything out as we go. I really don't get why you, Killerstorm, are on such a witch-hunt to bring so much negative attention to the project. What do you think to gain by this?

I'm out. I just want to build cool technologies, I don't feel like being sucked in to your negative spiral of attention. I have enough going on in my life not to be soaked in by internet-drama.
179  Alternate cryptocurrencies / Altcoin Discussion / Re: MasterCoin: New Protocol Layer Starting From “The Exodus Address” on: November 29, 2013, 03:28:07 PM
Your second argument is valid.

I'm sorry, I don't quite get you...

Does this mean that it is possible to fool person who uses something other than mastercoin-explorer.com to check whether he received transactions?

I tried a couple of mastercoin sites on this address: 1EAuHj8Z6rTCHPxXfaGzzPsZevC2mg1XAj

1. mastercoin-explorer. com shows its balance as 0.2 MSC (http://mastercoin-explorer.com/addresses/1EAuHj8Z6rTCHPxXfaGzzPsZevC2mg1XAj)
2. masterchest.info shows that it is 0 MSC (https://masterchest.info/lookupadd.aspx?address=1EAuHj8Z6rTCHPxXfaGzzPsZevC2mg1XAj)
3. masterchain.info show it as 10 MSC (https://masterchain.info/Address.html?addr=1EAuHj8Z6rTCHPxXfaGzzPsZevC2mg1XAj)
4. mymastercoins.com shows 0.7 MSC

I understand that distributed exchange is in development, but the problem is that it affects people who think that they receive mastercoins via simple send: even if you receive a transaction via simple send, it is possible that at some point in history balance was influenced by a distributed exchange transaction, and from that point discrepancy can propagate.

How are people supposed to user mastercoins? Should they check all 4 available sites?

What should they do if they received a payment and after that they see a discrepancy?

From what I see, it is currently impossible to use Mastercoin in a safe way. (Even if one tries to use only simple sends.) Am I missing something?

If somebody wants to evil then yes, he could write his own Mastercoin messages for distributed exchange, send them over the network see how they are interpret by the different sites and then see if he can somehow use that in such a way that he can invalidate a later send Simple Send. However at this moment the knowledge only exists with the developers and there is no guaranteed way to safely do this as the evil doer since there is no way of knowing who currently has the right way of implementing a feature.

In the future this might become a problem, but as of right now I see nothing wrong with it. I agree that in the future it's better to discuss a block at which a certain future will be enabled to prevent evil-doers from abusing it.
180  Alternate cryptocurrencies / Altcoin Discussion / Re: MasterCoin: New Protocol Layer Starting From “The Exodus Address” on: November 29, 2013, 02:14:52 PM
Your second argument is valid.
Pages: « 1 2 3 4 5 6 7 8 [9] 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 ... 64 »
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!