Pages:
Author

Topic: 300 BTC Coding Contest: Distributed Exchange (MasterCoin Developer Thread) - page 40. (Read 129207 times)

hero member
Activity: 938
Merit: 1000
Actually, no. 8932.02057119
sr. member
Activity: 266
Merit: 250
Are you still using this (or similar) code?

EDIT: Post went in at the same time, cool Smiley If you take the timezone into account do we match?
hero member
Activity: 938
Merit: 1000
Ah sorry. Rails automatically parses the date with my timezone and adds an hour. That explains the diff. Thanks! Smiley
sr. member
Activity: 266
Merit: 250
Zathras, or an other dev could you double check my Exodus vesting. The code is online now but I want to triple check I'm doing it right since I kept messing up the math earlier in the thread Wink

Code:
    it "should generate coins based on the time since exodus" do
      tx = FactoryGirl.create(:simple_send, tx_date: Time.parse("2013-12-01 00:00:00"), address: "1EXoDusjGwvnjZUyKkxZ4UHEf77z6A5S4P")
      tx.balance.should eq(8842.012600662521)
    end

I calculate the generated dev MSC as at 1385856000 (01/12/2013 00:00:00) to be 8932.02250394.

Code:
Console.WriteLine((1 - (0.5 ^ ((1385856000 - 1377993600) / 31557600))) * 56316.23576222)
8932.02250394725

hero member
Activity: 938
Merit: 1000
Zathras, or an other dev could you double check my Exodus vesting. The code is online now but I want to triple check I'm doing it right since I kept messing up the math earlier in the thread Wink

Code:
    it "should generate coins based on the time since exodus" do
      tx = FactoryGirl.create(:simple_send, tx_date: Time.parse("2013-12-01 00:00:00"), address: "1EXoDusjGwvnjZUyKkxZ4UHEf77z6A5S4P")
      tx.balance.should eq(8842.012600662521)
    end
hero member
Activity: 938
Merit: 1000
I'm not sure Armory has coin control. Can you freeze addresses? If so you could freeze everything but your MSC address.

An other option is to use mastercoin-explorer to create the transaction for you and then sign it using Armory and broadcast it.

hero member
Activity: 874
Merit: 1000
Tachi -

From inside Armory one wallet has many addresses.  How do I force the transaction to choose the address having the MSC on it?  I can't seem to find any way to use that address as the source of the transaction funds.
hero member
Activity: 938
Merit: 1000
Because the sender address doesn't own any Mastercoins.
hero member
Activity: 874
Merit: 1000
Can anyone explain why this transaction is marked 'invalid': 02a3b6d6d189da0e50c528312158dd36495e752de4f3a56498afd8231211451a

I tried this about an hour ago.  Maybe it needs more time.  Maybe something is wrong.  I can't tell which.  Can someone check and let me know if they see something wrong?
sr. member
Activity: 449
Merit: 250


Beside blockexplorer and blockchain are there  other json api that show bitcoin transactions?

Check out this API based on bitcoin-ruby: http://webbtc.com/api Smiley

Thanks Tachikoma, i will look at it.

I'll be rewriting the codes to speed up parsing. Looking forward to see more transactions with the release of the wallets Smiley
newbie
Activity: 49
Merit: 0
The foundation gives 100k to the coders, and they still don't work full time on this? Well, I hope this will incentivize the coders in the future (if MSC continues its climb) to focus 100% on this project.
hero member
Activity: 874
Merit: 1000
You guys are a huge part of the reason those coins are worth what they are.

It is an insane bonus - too much.  But it helps us - even more than it helps them.  Juicing the coders with an extra 100K now will give them very good reason to work hard over the next 12 months.  

My vote is double the 1500MSC and find more excellent programmers to give it to.  We all win.

And good job for JR to maintain the very high level of transparency.  This keeps all parties happy.
legendary
Activity: 1260
Merit: 1031
Rational Exuberance
We're going ahead with the 1500 MSC.

You guys are a huge part of the reason those coins are worth what they are.

It will still take me awhile to set this up. I'm very sorry about that, but 1500 MSC it will be. (split 4 ways, so 375 MSC for each of the four webmasters)

I will state it again. I personally have no problem if you reduce the amount to a more normal number. I won't hold it against you or the board. Don't do it because you blurted it out excited in a forum post and now want to hold true to your word. However noble it is, if you don't really stand behind it feel free to change it.

Beside blockexplorer and blockchain are there  other json api that show bitcoin transactions?

Check out this API based on bitcoin-ruby: http://webbtc.com/api Smiley

I know you meant what you said. It's not just because I blurted something out.

When I took this to the board, they saw it as an opportunity to give you guys a bigger stake in the success of MSC. It's not just payment for a feature, it's also a big grant of stake in the Mastercoin project. You of course are welcome to do whatever you want with the MSC we send you, but we hope you will hold onto them and get filthy stinking rich Smiley

(And if you DO get rich, I feel you'll have a responsibility to use that money to help people, because a lot of people could get hurt from the rise of distributed currencies. Those of us who profit from it have a moral obligation to help those who are harmed by it. See the "dystopian" link in my sig for my thoughts on the matter)
hero member
Activity: 938
Merit: 1000
Just FYI this is how I am handling requested versus accepted amount for Purchase Offers. My wallet will only show accepted_amount and hide amount, accepted amount is always the amount you are getting when you buy. All validation code is now finished for these offers except for the reserved discussion on the pull request. Once a decision has been made I will update my wallet and enable distributed exchange features.
sr. member
Activity: 284
Merit: 250
Just an update on progress:

You can look at http://dev.masterchain.info/index.html?currency=TMSC and see the new icons we have.
Parsing of the sell/accept is not fully done, but you can go to page 2,3,4 in test mastercoins, and see parsing of such tx.
There are some implementation complications, but they have nothing to do with https://github.com/mastercoin-MSC/spec/pull/1
I will finish implementing the fully flexible option #2 and maybe I could convince that this is the right way.
Anyway, it will be almost trivial to change to option #1 if you keep your mind.
I will have time to continue only next week.

hero member
Activity: 938
Merit: 1000
We're going ahead with the 1500 MSC.

You guys are a huge part of the reason those coins are worth what they are.

It will still take me awhile to set this up. I'm very sorry about that, but 1500 MSC it will be. (split 4 ways, so 375 MSC for each of the four webmasters)

I will state it again. I personally have no problem if you reduce the amount to a more normal number. I won't hold it against you or the board. Don't do it because you blurted it out excited in a forum post and now want to hold true to your word. However noble it is, if you don't really stand behind it feel free to change it.

Beside blockexplorer and blockchain are there  other json api that show bitcoin transactions?

Check out this API based on bitcoin-ruby: http://webbtc.com/api Smiley
sr. member
Activity: 449
Merit: 250
Beside blockexplorer and blockchain are there  other json api that show bitcoin transactions?


sr. member
Activity: 449
Merit: 250
We're going ahead with the 1500 MSC.

You guys are a huge part of the reason those coins are worth what they are.

It will still take me awhile to set this up. I'm very sorry about that, but 1500 MSC it will be. (split 4 ways, so 375 MSC for each of the four webmasters)


thank you JR for the generous bonus ! Smiley
legendary
Activity: 1260
Merit: 1031
Rational Exuberance
We're going ahead with the 1500 MSC.

You guys are a huge part of the reason those coins are worth what they are.

It will still take me awhile to set this up. I'm very sorry about that, but 1500 MSC it will be. (split 4 ways, so 375 MSC for each of the four webmasters)
legendary
Activity: 1834
Merit: 1019
Sending dev MSC to you guys is a bit controversial at the previously quoted number. The board is currently discussing this, since at current prices the 1500 MSC we discussed sending earlier would be worth ~$100k, which is stupidly out of proportion with the amount of work involved with recognizing dev MSC.

I really need to get out of the habit of quoting prices in MSC. I'm guessing the actual send will be closer to the value it had when I first mentioned this. Something like $10k worth of MSC, if I recall correctly. This is currently under discussion.

I hope you guys weren't spending money in anticipation of a windfall!

This change is my fault (for quoting prices in MSC), and I apologize.

hahah no problem. No reason to supply us with 100k for something that should take a day at most Wink

I know you are busy but could you make a decision on https://github.com/mastercoin-MSC/spec/pull/1 ? It doesn't matter either way but a decision needs to be made so we can move on. I'm kinda waiting on the outcome at the moment Smiley

Actually, we're taking this very seriously, because we don't want to be seen as going back on what we said. We may actually still do it at that higher price, which would be a HUGE payday for you guys, and would make us all very happy. Sorry for the uncertainty. This is still being hashed out and not everybody on the board has weighed in yet.

Regarding the pull request, sorry - I need to figure out how to turn on email notifications for github discussions. I'm sure it's trivial.

I've read through the discussion, and I'm going to merge this pull request once I figure out how to deal with the conflicts.


Consider very carefully how you choose to quote payouts in the future. This reflects badly in many ways.

I agree, this was a tiny deliberation that JR wanted to let the board and the community know of so that we could form a supported opinion before making a move (transparency!), but we realize that even that deliberation would reflect poorly. It was decided that we follow through with our word, of course, within a few messages' exchange.

I suggested to the board we do hybrid payouts so that we could hedge against future volatility like what we're experiencing and so that situations like this don't occur again.
Something like "accomplish this and get 10BTC + $10000 (in BTC or MSC at time of completion)"
Pages:
Jump to: