Bitcoin Forum
April 19, 2024, 10:08:46 AM *
News: Latest Bitcoin Core release: 26.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 60 61 62 63 64 »
461  Alternate cryptocurrencies / Marketplace (Altcoins) / Re: 300 BTC Coding Contest: Distributed Exchange (MasterCoin Developer Thread) on: November 02, 2013, 03:26:30 PM
here is the tx hash

9d6c10c366036f3523b81437ebaa68f62cce89f9951e97022c129ae39008b475

so the .00025 are actually fees and are for sending out the transaction offer?

on the build page the only thing I changed was the "amount" from 10 to 4

I was trying to set up a buy to this offer

http://mastercoin-explorer.com/purchase_offers/new?address=13NRX88EZbS5q81x6XFrTECzrciPREo821&amount=10.0&currency_id=2&forced_fee=0.00001

Sorry I should have asked for the encoded transaction, do you still have that? The raw transaction hash?
462  Alternate cryptocurrencies / Altcoin Discussion / Re: MasterCoin: New Protocol Layer Starting From “The Exodus Address” on: November 02, 2013, 03:15:42 PM
Here is the latest blog update.  Also I have a link to a tutorial to test MSC-BTC transactions but I think I am having some issues, if someone want to check it out, perhaps I misread something.


Programming, Testing and More Testing of Mastercoin

News for week 44.2013.

There is a lot of excitement building up around Mastercoin and some important milestones have been set since last week’s blog.  But we have a lot of hard work cut out for us.  The developers are working hard on the next code contest and always looking for more folks to join the effort. Take some of your  spare time to check out the tutorial (see bottom) for conducting exchange transactions.

We now finally have a price graph of the MSC/BTC trades that have occurred, the Board has decided to engage a PR firm, we have a new addition to the Mastercoin repo’s on Github, there is a bounty open for building an MSC faucet, and a new proposal for enabling the limiting of spending of MSC on addressed that have been identified to have this feature enabled.  And if you are interested in the current economic distribution of Mastercoins here are the Top 50 MSC wallets....


http://blog.mastercoin.org/2013/11/02/programming-testing-and-more-testing/


Tutorial: Test MSC – BTC Distributed Exchange Transactions

http://blog.mastercoin.org/2013/11/02/tutorial-test-msc-btc-distributed-exchange-transactions/

Already answered in the development topic.
463  Alternate cryptocurrencies / Marketplace (Altcoins) / Re: 300 BTC Coding Contest: Distributed Exchange (MasterCoin Developer Thread) on: November 02, 2013, 03:12:18 PM
then I went here, because the instructions say to decode the raw tx to do a check

http://mastercoin-explorer.com/raw/transactions/new

i got this page





but if i went here

https://coinb.in/decode-raw-transaction.html

I get

<code here>

That page on Mastercoin explorer is meant to decode raw Mastercoin keys, not Bitcoin transactions. Also verifying the output of a site using the same site is madness. The whole point is to verify that the site is not lying to you.

ok another issue (I probably am doing something wrong but I cannot figure it out)

so i did sendrawtransaction

and got this




but a few blocks have passed now and none of those tx have any confirmation

also I have a question about the 0.00012 amount where is that going?

Can you give me the transaction id? Perhaps the fee was too low or something similar.

The 0.000012 is the output for the Mulitisig output.
Quote
Note that after you send this purchase offer and it's accepted by the site you will have to send the proper amount in Bitcoin from your MasterCoin address. Make sure your address is funded and that you send the coins from this address.

Isn't this already a part of the sendrawtransaction?  Or am I mistaken?  

Also in the "Amount" in the "Building new purchase offer"  what does this mean?

 I understood it to mean how many MSC I want to buy from the offer but perhaps I got it wrong because the sell offer wanted 0.0001 btc and my total out btc was 0.0025, and I put in 4 as the amount (assumed it would be 4 MSC).

thanks!

You are indeed mistaken. Only once your "Accept Purchase" has been confirmed in a block and flagged as valid can you send the actual Bitcoin amount. This does not happen at the same time. You were right about the amount. It's the amount you want to buy from the offer.

A general note: you don't have to rely on an external site to decode your transaction. You can use the Bitcoin console for this as well. Just type decoderawtransaction <txhash>.
464  Alternate cryptocurrencies / Altcoin Discussion / Re: MasterCoin: New Protocol Layer Starting From “The Exodus Address” on: November 02, 2013, 03:07:18 PM
What are the rules for testing? I'd like to take part in that contest.

Well, you help out however you can, making sure to post what you are doing publicly. Then at the end of the contest, you summarize everything you did, and we split up the money among contestants based on the opinions of myself and the other contestants and devs about how valuable each person's work was to the project. More valuable = more money. It is subjective though, and payout is highly dependent on how many other people are helping out and how much they are doing.

I've never seen anybody else do bounties this way, but it seemed to work pretty well for the last one we did.

I think we might need a to-do list. Then I'll select something I can do from the list.
If it's sending test transactions maybe I can do that when there are clearer rules and instructions on how to make decentralized transactions.



I hope to provide a test plan for people who are on Linux/OS x and who want to test my Wallet software. It will run on Windows but it's a bit harder to make it work. I will provide instructions when my next build is ready.
465  Alternate cryptocurrencies / Marketplace (Altcoins) / Re: 300 BTC Coding Contest: Distributed Exchange (MasterCoin Developer Thread) on: November 02, 2013, 09:13:23 AM
We were mostly doing the groundwork, updating our internal libraries to support the new calls. The next step will be to implement it in our wallet-like applications. These can be tested once they are updated. I think that would be a good point to jump in Smiley
466  Alternate cryptocurrencies / Altcoin Discussion / Re: MasterCoin: New Protocol Layer Starting From “The Exodus Address” on: November 02, 2013, 09:07:34 AM
Edit 2: Fixed deployed! Could you verify everything is as expected now? Also congrats on being the first non-dev to make an actual purchase Cheesy

Wow, that was fixed fast! And yes, everythings looks good now and behaves as expected.

I think we need to move this kind of discussion to a testing specific thread as I'm sure there will be much more and posting here might be to distracting.
You don't have to post on the coding contest thread if you don't want to, but I know the devs appreciate seeing stuff like this separated out from the general discussion.

Yes, you're right – I'll keep the main thread clean from bug reports.

Hey Maxmint just a quick follow up since I don't think you read the development thread (often). Zathras pointed out that the actual Bitcoin payment also needs an output to Exodus. This means yesterday's trade is not actually valid. Just so you know why you might be down 1 test coin later today Wink
467  Alternate cryptocurrencies / Marketplace (Altcoins) / Re: 300 BTC Coding Contest: Distributed Exchange (MasterCoin Developer Thread) on: November 02, 2013, 09:02:16 AM
Good news! I will update my codebase and know that I can move forward in safety now Smiley
468  Alternate cryptocurrencies / Marketplace (Altcoins) / Re: 300 BTC Coding Contest: Distributed Exchange (MasterCoin Developer Thread) on: November 02, 2013, 08:57:16 AM
Wooops! My bad. I will update my verification to reflect this and reparse the transactions.
469  Alternate cryptocurrencies / Altcoin Discussion / Re: MasterCoin: New Protocol Layer Starting From “The Exodus Address” on: November 01, 2013, 10:45:30 PM
Thanks for testing it Maxmint, much appreciated. Smiley
470  Alternate cryptocurrencies / Marketplace (Altcoins) / Re: 300 BTC Coding Contest: Distributed Exchange (MasterCoin Developer Thread) on: November 01, 2013, 10:41:35 PM
You know I may have been operating on a bad assumption re the above; being as an unconfirmed transaction propagated throughout the network it would be added to the bottom of the (currently being mined) block template, thus transactions broadcast earlier would have a better chance of being first in the block.  It sounds like you're saying this is not the case? (Is there some kind of block reorganization etc?)  As I mentioned early on I'm quite new on this cryptocurrency 'scene' and have just been teaching myself by reading as much bitcoin literature (wikis, papers, forum posts etc) as I can get my hands on - so I'm certainly more than happy to be corrected if my interpretation is wrong! Smiley

I'm not saying I'm an expert yet, so as far as I know it could be that transactions are added 'to the bottom' but I don't think that is the case. And even if it is, there is no 'one block'. Every miner or pool is working on his own version of a block based on the transactions he saw during the last block. There is no 100% propagation per transaction so a lot of time a node only learns about transactions because they have been added to the block. This being the case it does not even matter where the transaction gets added. The only importance is where it got added by the block that wins the race. I would like to learn how transactions get added though. Initial searches didn't give me the answer so I'm afraid I need to dive into the source code.

Thanks for the additional info Smiley I'm just going to throw out an idea I've been playing with to see what you guys think (feel free to tear it apart if it's not a good idea!).  What about an additional optional message.  An 'acknowledge' if you will.   MSC/BTC exchange could function as per the discussion so far but have additional support for the user that created the sell to broadcast a message to 'acknowledge' a specific accept/Purchase Offer before it's confirmed in a block.  So:

Wallet broadcasts sell offer > Wallet sees a valid accept/Purchase offer in the block template > Wallet broadcasts an 'acknowledge' including the ID of the accept/Purchase offer it's agreeing to > Trade is considered locked in & waiting to be funded > Other parties see no point trying to accept this sell now and move on to the next

All of that can happen intra-block, as long as the user (specifically their wallet) participating in trading stays online.

Of course a wallet can also simply post a sell, go offline and have it bought by the first accept/Purchase in a block as per the current spec if their is no 'acknowledge' in that block sent by the seller.

I am concerned that perhaps doing anything at all with unconfirmed messages at a fundamental level regardless of how we structure it is a bad idea because we can't be 100% sure those unconfirmed transactions will be included in the next block.  Appreciate your thoughts Smiley

I like the idea but I wouldn't want to spend time on it right now. There are so many things to build and it will be some time before we will need such a feature. It might help solve the scalability issues in the long term though.

There is just one major problem with it. Like I explained before there will never be 100% propagation, so there is a huge chance the buyer will never see the acknowledge before it ends up in a block. I really think we should try to steer away from doing messages on unconfirmed transactions.
471  Alternate cryptocurrencies / Altcoin Discussion / Re: MasterCoin: New Protocol Layer Starting From “The Exodus Address” on: November 01, 2013, 09:46:59 PM

Nope, you send it in time. Only five blocks so should have worked. I'm going to dive into this one now and see if I can find out why it thinks it expired! Will get back to you asap. The good thing is as long as you did what the spec prescribes you are in the clear. I just need to tweak the software to work as well as the words in the spec Smiley

Edit: Think I spotted my error; working on a fix now.

Edit 2: Fixed deployed! Could you verify everything is as expected now? Also congrats on being the first non-dev to make an actual purchase Cheesy
472  Alternate cryptocurrencies / Altcoin Discussion / Re: MasterCoin: New Protocol Layer Starting From “The Exodus Address” on: November 01, 2013, 09:29:28 PM
Could you link me all the transactions involved so I can check it out?
473  Alternate cryptocurrencies / Altcoin Discussion / Re: MasterCoin: New Protocol Layer Starting From “The Exodus Address” on: November 01, 2013, 08:42:16 PM
Tachikoma, maybe you can help me here. I created a purchase offer using Mastercoin-explorer:
http://mastercoin-explorer.com/transactions/264b5b2ae09af4c74ddf9d5948695e8e70d788c87668d2cff8a8dc2383d86406

This was in reaction to this selling offer:
http://mastercoin-explorer.com/transactions/9087a1b72536f3b2909943553ba6d4e320565eeea1e42379dd4337b532f09fd8

Creating the purchase offer went well so far (thanks for the great help section!) but I'm not entirely sure what to do now to execute the offer.
Status now is "Waiting on Payment". Should I just send payment to the seller's address now?

Yes, that is exactly it. It recognised your payment as a valid one and is now waiting for the payment from the address that send the Purchase Offer. You might need to lock your unspent outputs to make sure the payment comes from the right address. Also note that you need to pay in time, the time set out by the original Selling Offer. Hope this explains it a bit more.

Thanks for the explanation. The timeout is specified in number of blocks, is that correct? And does Mastercoin-explorer mark an purchase offer invalid if it is not paid within the required timeframe?

The timeout is indeed specified in the number of blocks. If all goes well it should indeed change the status to expired and flag it as invalid if you don't pay within the proper timeframe Smiley

However this is not instant when a block if found but happens on a 15 minute interval, it might be a bit lagging.
474  Alternate cryptocurrencies / Altcoin Discussion / Re: MasterCoin: New Protocol Layer Starting From “The Exodus Address” on: November 01, 2013, 08:31:13 PM
Tachikoma, maybe you can help me here. I created a purchase offer using Mastercoin-explorer:
http://mastercoin-explorer.com/transactions/264b5b2ae09af4c74ddf9d5948695e8e70d788c87668d2cff8a8dc2383d86406

This was in reaction to this selling offer:
http://mastercoin-explorer.com/transactions/9087a1b72536f3b2909943553ba6d4e320565eeea1e42379dd4337b532f09fd8

Creating the purchase offer went well so far (thanks for the great help section!) but I'm not entirely sure what to do now to execute the offer.
Status now is "Waiting on Payment". Should I just send payment to the seller's address now?

Yes, that is exactly it. It recognised your payment as a valid one and is now waiting for the payment from the address that send the Purchase Offer. You might need to lock your unspent outputs to make sure the payment comes from the right address. Also note that you need to pay in time, the time set out by the original Selling Offer. Hope this explains it a bit more.
475  Alternate cryptocurrencies / Marketplace (Altcoins) / Re: 300 BTC Coding Contest: Distributed Exchange (MasterCoin Developer Thread) on: November 01, 2013, 10:26:29 AM
I wouldn't do that if I were you. The problem is that just because somebody else did a Purchase Offer already does not mean he will end up getting it. The position of your transaction in the block could still be above the one send earlier.
It doesn't necessarily have to be a hide, it can be a highlight/color change etc - just something to let the user know that there is already an accept visible on the blockchain for this sell and thus their accept is likely to be invalidated.  

You're correct in that there is nothing stopping the user (protocol wise) from sending their own accept and hoping it gets included earlier in the block than the accept already visible.

That's essentially the crux of the scalability problem - an exchange where the lowest ask sell can only be bought once every (on average) 10 minutes just doesn't scale. To avoid everyone trying to accept the same sell we need a way to consider that lowest sell 'pending acceptance' (or 'Purchase Offered') and have users look to the next lowest sell intra-block to make it scalable in my opinion.

A color indication would be a great idea. I personally would still try to get the cheapest option since I have just as much chance of getting it then the person who already submitted an offer. All I wanted to convey is that the first message seen by a certain node has no increased chance of being the first one in the block. I would prefer the cheapest option, even if I need to fight for it. But by coloring it you at least give people an option to decide what is important for them.
476  Alternate cryptocurrencies / Marketplace (Altcoins) / Re: 300 BTC Coding Contest: Distributed Exchange (MasterCoin Developer Thread) on: November 01, 2013, 07:59:50 AM
I wouldn't do that if I were you. The problem is that just because somebody else did a Purchase Offer already does not mean he will end up getting it. The position of your transaction in the block could still be above the one send earlier.
477  Alternate cryptocurrencies / Marketplace (Altcoins) / Re: 300 BTC Coding Contest: Distributed Exchange (MasterCoin Developer Thread) on: November 01, 2013, 07:35:05 AM
Sure thing! Thanks :}
478  Alternate cryptocurrencies / Marketplace (Altcoins) / Re: 300 BTC Coding Contest: Distributed Exchange (MasterCoin Developer Thread) on: November 01, 2013, 07:14:20 AM
OK, so grazcoin posted a MSC address, and tachikoma said to use the one he gave me for the contest. Just need one from zathras now Smiley

Sure Smiley 1zAtHRASgdHvZDfHs6xJquMghga4eG7gy

No big hurry on this (the distributed exchange is way more important). Sorry for the distraction. The board just wanted to get some concrete evidence that the "dev mastercoins" (I like that name, vokain) would be treated as valid.

No problems - the dev Mastercoins deliverable is likely to be another couple days work and should be quite straight forward to do Smiley Still working on adding exchange support to my wallet too - at the moment I'm playing with a bunch of variations on trading by unconfirmed transactions (which greatly increases the speed of the exchange but brings a whole new set of problems) - if I can get it right though our distributed Exchange will be as close to real-time as unconfirmed transaction propagation allows.

Are you at a point where you can confirm that my Selling/Purchase offers are valid? I don't really want to move forward until I know I'm actually creating valid messages.
479  Alternate cryptocurrencies / Altcoin Discussion / Re: MasterCoin: New Protocol Layer Starting From “The Exodus Address” on: October 31, 2013, 07:34:44 PM
You can't use test Bitcoins, sadly. I've lobbied to get an official Exodus on testnet but so far it has not happened yet.

another question, which is more helpful for you:

a)  make a new thread on the project dev forum for people to post their test exchange transactions and offers, and issues they encounter

or

b) have people post issues to https://github.com/maran/mastercoin-explorer/issues/new

I prefer a thread right here on the forums for now. Smiley
480  Alternate cryptocurrencies / Altcoin Discussion / Re: MasterCoin: New Protocol Layer Starting From “The Exodus Address” on: October 31, 2013, 04:32:22 PM
It's harder then it sounds. For one I want J.R. to be in control of of the private key for this address. Also we need a consensus about the way MSC on testnet are bought. Further more we will need to adjust our code to support both nets, testnet and realnet and also preferable host different versions of Mastercoin explorer for both nets.  

I rather spend time coding up new Mastercoin functions then work on a testnet version. It's fairly easy to create Selling Offers for a few cents so we can work around the problem.
Pages: « 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 [24] 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 »
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!