Bitcoin Forum
May 26, 2024, 12:45:02 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
  Home Help Search Login Register More  
  Show Posts
Pages: « 1 2 3 4 5 [6] 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 ... 83 »
101  Alternate cryptocurrencies / Altcoin Discussion / Re: Masterchest Wallet Alpha Testing Thread on: March 10, 2014, 09:10:49 PM

Reindexing the blockchain should be a one-time event Smiley  However I have considered that yep - it would be a 'consensus based' thin client - so a thin client in the traditional sense, except that it only works on matching transaction data retrieved from multiple sources.  It all depends on the direction the project takes Smiley

Thanks!
Zathras


That would be sweet!

On a side note, I know you've been working through the weekends lately. Don't push yourself too hard!!

On the other hand, I hope the financial rewards of all this work will also make your wife very happy in the long run Smiley
102  Alternate cryptocurrencies / Marketplace (Altcoins) / Re: 300 BTC Coding Contest: Distributed Exchange (MasterCoin Developer Thread) on: March 10, 2014, 08:10:07 PM

We have 5 days before we go live, and originally we wanted 10-14 days of consensus before that. We will not have that, but we really can't wait for the last moment.
Two implementations have consensus on the current code base now, and if we make another change, we may lose that.

I was asking to drop the whole multiple payments saying that it contradicts the basic design of my code, and it hides some complexities that we didn't think of, but you guys insisted.
It was 2 full working days with a lot of testing, and a huge patch.

At the current stage, I prefer either to keep the consensus without limiting user freedom for multiple accepts and ask Zathras to join the consensus, or roll back the whole multiple payments feature.


Ah. I didn't realize you two were in consensus already on that. That does help. I don't particularly like any option here, but we have to take the path of least resistance at this point.

I had hoped that it would be trivial to invalidate additional accept offers after the first. Is that not the case?

Bitoy, I hope you'll weigh in on this too.

Zathras, I know it sucks, but we may need to change yours if it is a large change for the other two implementations to disable multiple accepts.

103  Alternate cryptocurrencies / Marketplace (Altcoins) / Re: 300 BTC Coding Contest: Distributed Exchange (MasterCoin Developer Thread) on: March 10, 2014, 06:54:58 PM
Actually, unfortunately this is not simply a UI issue for me.  It goes to the core of the logic I currently apply.  Let's say there is an accept in block 3 for 50 MSC.  I then search block 3 to block 3+timelimit for payments to the seller.  For example:
1) Accept 50 MSC for 5 BTC in block 3
2) Check blocks 3 to 9 for payment, yep found 5 BTC payment to seller in block 8
3) Accept 50 MSC for 5 BTC in block 6
4) Check blocks 6 to 12 for payment, yep found 5 BTC payment to seller in block 8

Oops, same payment has now been applied to two accepts.  So as we can see logic was written with the design assumption of a single accept per address per sell.

Also we can't simply merge the two accepts, what happens if the seller updated the sell with a different price in between the two accepts?  They have to be handled as seperate entities and thus we have to define an order of precedent for applying payments and so on.

I'll put my thinking hat on and go review my code logic, but there will be some complexities to allowing this.


Ugh. Good point. I'm leaning towards just one accept allowed per unique buyer/seller at a time, because it is more complicated than I at first thought, and I like simplicity whenever I can get it.

Bitoy and Grazcoin, how bad does that sound to you?
104  Alternate cryptocurrencies / Marketplace (Altcoins) / Re: 300 BTC Coding Contest: Distributed Exchange (MasterCoin Developer Thread) on: March 10, 2014, 05:21:25 PM

Brings up another interesting question that needs to be answered - can a buyer have multiple 'accept offers' to the same seller open at the same time?  There (iirc) is nothing in the spec that says you can, or that you can't.

I actually haven't coded for that scenario at all, I'll have a look through your test case to see how Masterchest has handled it.  At first thought I think it adds unncessesary complexity (allowing multiple accepts from the same buyer at the same time - for example we then need to explicitly define in what order/how bitcoin payments are applied to which accept) - but I haven't looked at it deeply.

J.R. - can we get a ruling?  Multiple 'accept offers' from the same buyer to the same seller open simultaneously.  Yay or nay?

FYI:
* Graz (assuming from the above) allows multiple accept offers from the same buyer, unsure how applies payments
* Bitoy allows multiple accept offers from the same buyer, and applies payment to the first accept until paid, then to the next accept until paid and so on.  But only for whole payments, so if the first payment did not fully pay the first accept, the second payment would be applied to the first accept and any remaining would be an overpayment and not applied to the next accept offer.
* Masterchest hasn't factored for multiple accept offers one way or the other - will need to evaluate behaviour

Ooooo. Interesting. You're right - I never considered this situation.

I think the most intuitive handling of two offers from the same buyer to the same seller is to append them. That is, if the buyer offered to purchase 2 MSC, then 2 more MSC, then their total amount they can buy is actually 4 MSC.

I don't think the UI needs to necessarily offer the user the ability to do this, but I don't think it makes sense to prevent it at the protocol level either. Zathras, I hope when you say it would be a big change for you, that you mean it would be a big change to allow this in the UI. I don't think you need to do that as long as Masterchest parses it correctly.

We go live with real MSC in 5 days! I think/hope this is the last major issue to iron out?
105  Alternate cryptocurrencies / Marketplace (Altcoins) / Re: 300 BTC Coding Contest: Distributed Exchange (MasterCoin Developer Thread) on: March 08, 2014, 01:30:05 AM
I've looked over the consensus posts, and it appears that you guys are quickly converging: Graz is going to allow multiple payments, and then we just have to make sure we all round stuff the same way. Also, we need to determine the unit price from the initial sell order and remember it forever.

Everybody please make sure your code is ready to take a block number for the switchover to allow real MSC trading on 3/15! We'll choose the block number once that day is closer Smiley

For spectators, there are currently a LOT of ways to test the distributed exchange with bitcoins and test mastercoins, and WE WILL PAY YOU! Payouts for February are being decided, and we'll have another big payout at the end of March. Please test!
106  Alternate cryptocurrencies / Marketplace (Altcoins) / Re: 300 BTC Coding Contest: Distributed Exchange (MasterCoin Developer Thread) on: March 08, 2014, 01:16:56 AM


I was wondering about the payment itself. Currently it's simply a transaction with the seller + exodus referenced and no message. I'm trying to figure out, if there is an edge case where I could scam a seller by buying something else and at the same time making the payment for an dex offer? At least related to dex it should be fine, as long as there is only one offer at the same time per seller allowed.

Yeah, only one offer per seller is allowed. "Buying something else" at the same time would just be a bitcoin double-spend, which is a problem Satoshi solved for us Smiley

Thanks!
107  Alternate cryptocurrencies / Marketplace (Altcoins) / Re: 300 BTC Coding Contest: Distributed Exchange (MasterCoin Developer Thread) on: March 07, 2014, 11:57:00 PM
There is also a minimum fee that the seller can impose.    This means if someone would like to accept an offer, he has to pay a minimum miners fee.   If the seller post a high minimum fee, it will be expensive for the attacker to shut down the Dex.

Gotcha, thanks a lot! My very first thought was that this fee is to make sure the transaction confirms in time, but this makes a lot more sense now.

I assume the reason why Bitcoin payments are not combined and included in the accept transaction is to prevent the case that two users buy at the same time and one of them is screwed. And only after balances are locked after the accept offer transaction was confirmed, it's really safe?

This kind of dos protection could lead to very interesting mechanics and questions, e.g. "is it more profitable to sell higher and disable competitors or play fair" etc.

Here is an idea: from a seller point of view I'm in conflict with my interests, because I want to have a minimum of fee required to have an edge against competitors, but at the same time I don't want to run into the risk of being dos-frozen. What if the dos-fee is sent to the seller instead of the miners and credited/considered as form of advance payment?

Hey Dexx,

Sorry, I only just noticed your post.

I actually thought a long time about who to give the fee to. Giving the fee to the seller presents another attack vector, where the seller attempts to yank their sell order just as someone tries to accept it, and pocket the fee. Also, a seller could post a very attractive offer way below market with a high fee in hopes of getting a ton of fees from different people all at once.

The problem gets easier if we do the fees in Mastercoin instead of bitcoin, but requiring a mastercoin fee in order to purchase mastercoin shuts out anybody buying for the first time.

All this game theory makes my head hurt!

edit: also, paying lots of larger-than-average fees to miners endears us to them, and we want them to like us!
108  Alternate cryptocurrencies / Altcoin Discussion / Re: MyMastercoins Wallet on: March 07, 2014, 05:18:21 PM
Running setup.exe from within the 2.01 zip, I get this:




After dragging the application files manually to a folder on my desktop, I run it and get this:



Hope that helps!
109  Alternate cryptocurrencies / Marketplace (Altcoins) / Re: 300 BTC Coding Contest: Distributed Exchange (MasterCoin Developer Thread) on: March 06, 2014, 10:16:59 PM
From our dev mailing list (in regards to sending multiple bitcoin payments to a sell offer):

Quote
This is not a new change as of yesterday. It has been in the spec since 2/10. Here is the history of that in the spec:

on 2/10, this clarification was added: "Please note that all transactions between the Purchase Offer and expiration block should be accumulated and that this value must be used to adjust the Purchase Offer accordingly."
on 2/20, it was clarified to read "Please note that the buyer is allowed to send multiple bitcoin payments between the Purchase Offer and expiration block which are accumulated and used to adjust the Purchase Offer accordingly."
The 2/10 change was a result of an email conversation which everyone was included on. (Sorry, I know there is a ton of email).

The change yesterday merely changed other language to more closely match what was already there. It was NOT a feature change.

Now, what graz is proposing here essentially means that as soon as someone sends payment, their reservation expires, and they can't send additional funds. I'm open to making this change if other people prefer it, but it has been in the spec for quite a while, and other implementations are doing what the spec currently says.

Zathras and Alvin, which way do your implementations go with this?

Let's try really hard to not draw this conversation out. Either way will work just fine.

Thanks,

-J.R.

Quote
Incidentally, I agree with Graz that last-minute spec changes are BAD, which is why I lean towards keeping it as is and treating this as a masterchain bug which just needs to be fixed. However, if Alvin and Zathras say it's trivial to match Graz's code, I'm open to that.
110  Alternate cryptocurrencies / Marketplace (Altcoins) / Re: 300 BTC Coding Contest: Distributed Exchange (MasterCoin Developer Thread) on: March 06, 2014, 10:09:57 PM
Ugh. I apologize for not putting a unit price in the spec. That's awful.

How hard is it to infer the unit price from the initial post and remember it for the duration of the sell?

What I mean is, literally don't even store the btc desired. Just calculate the unit price from btc desired and msc for sale and store that instead. Is that difficult? I think that is the most intuitive behavior.
111  Alternate cryptocurrencies / Marketplace (Altcoins) / Re: 300 BTC Coding Contest: Distributed Exchange (MasterCoin Developer Thread) on: March 05, 2014, 10:15:41 PM
I'm still missing summaries from a couple key people!! I'm going to wait a bit longer, but please fill out the form if you haven't yet!!!

Here's the link again to the form: https://docs.google.com/spreadsheets/d/175XceNMqPv6LNNosIj0MYdfUvm3MGUQuQQkvZFW6cOU/edit?usp=sharing

Here are the responses received so far: https://docs.google.com/spreadsheets/d/175XceNMqPv6LNNosIj0MYdfUvm3MGUQuQQkvZFW6cOU/edit?usp=sharing

Also, I haven't been able to identify the person who wrote "Roughly 16 hours testing the security of the omniwallet. There are a few open tickets on Github Issues." Sorry I didn't have a name field the first time around.

Thanks!

-J.R.
112  Alternate cryptocurrencies / Marketplace (Altcoins) / Re: 300 BTC Coding Contest: Distributed Exchange (MasterCoin Developer Thread) on: March 03, 2014, 07:06:33 PM

At least on my entry I have no write permissions, and the table looks empty - one has to scroll down a long way to see something.
I could repeat it here with my name and BTC/MSC address though.
Grazcoin


Yeah, you can't edit the results spreadsheet, but you should be able to do the form again to update the spreadsheet.

Adam pointed out that I can add fields even after you guys start doing submissions, so I added fields for name and BTC/MSC addresses
113  Alternate cryptocurrencies / Marketplace (Altcoins) / Re: 300 BTC Coding Contest: Distributed Exchange (MasterCoin Developer Thread) on: March 03, 2014, 05:33:22 PM
Sorry - I should have posted it on MastercoinTalk too. Here's the link to Ron's post there: http://mastercointalk.org/index.php?topic=184.msg345#msg345

You can view everything submitted so far here: https://docs.google.com/spreadsheets/d/175XceNMqPv6LNNosIj0MYdfUvm3MGUQuQQkvZFW6cOU/edit?usp=sharing

Humorously, the results spreadsheet does not include any info about WHO submitted the form. I naively assumed that it would give me the Google Account info. If you did not put your NAME or FORUM HANDLE in your submission, please update your submission to include that, so we know WHO to pay for your work.

I also did not include a form for BTC or MSC addresses, which was equally silly. Please add your address(es), otherwise I will just use the ones you gave me for the last contest.

Thanks,

-J.R.
114  Alternate cryptocurrencies / Marketplace (Altcoins) / Re: 300 BTC Coding Contest: Distributed Exchange (MasterCoin Developer Thread) on: March 01, 2014, 12:27:50 AM
Yeah, 0 required fee is fine. It's up to the seller. The only need for the fee is when somebody is trying to attack the system with spam to gum up the works, so at times when things are flowing smoothly the minimum fee might not even be needed.
115  Alternate cryptocurrencies / Marketplace (Altcoins) / Re: 300 BTC Coding Contest: Distributed Exchange (MasterCoin Developer Thread) on: February 28, 2014, 08:29:23 PM
The end of February is here. If you have worked on any element of our distributed exchange, engaged in testing, worked on the spec, laid the groundwork for smart property, or did something nifty for the project you'd like to be considered for the general innovations bounty, please fill out this form:

https://docs.google.com/forms/d/12RJqahjVjwRi2xXHKbhJurb4d7uWK21ZxD7EZIlMzuI/viewform

YOUR WORK SUMMARIES ARE DUE WITHIN 5 DAYS (3/6/2013 0:00:00 GMT) to qualify for bounty payout. Please do this early, and do it well, to ensure your maximum possible payout.

Thanks!
116  Alternate cryptocurrencies / Marketplace (Altcoins) / Re: 300 BTC Coding Contest: Distributed Exchange (MasterCoin Developer Thread) on: February 27, 2014, 01:03:07 AM
From the dev mailing list:

Quote
Ron, Craig, and I have been trying to get a more standardized method for collecting your work summaries and mutual feedback for the monthly $100k milestone bounties.

On 3/1, we'll start collecting your work summaries for the month of February.

YOUR WORK SUMMARIES ARE DUE WITHIN 5 DAYS (3/6/2013 0:00:00 GMT) to qualify for bounty payout. You can check out the form for submitting your work summaries here:

https://docs.google.com/forms/d/12RJqahjVjwRi2xXHKbhJurb4d7uWK21ZxD7EZIlMzuI/viewform

On 3/6, and 3/7 I will update our feedback form to include the appropriate names. YOU WILL THEN HAVE UNTIL 3/12/2014 0:00:00 GMT to complete the feedback form. This is also required to get a payout.

Based on feedback data, I should be able to start making BTC payments by 3/17, with MSC payments shortly thereafter.

You can see what the feedback form will look like here (seeded with names from last round, in the order I got work summaries from people):

https://docs.google.com/forms/d/1Q2ltuJiWAxBfoUYTbJYBA1REb3xwhFokgm9thLXm9Tw/viewform

You'll note that we have changed from direct percentage evaluations to a grading Q&A (the output of which will yield a percentage for each person).

Please take a look at this now, as we will be using these forms very soon (you can enter fake data to see the next page, but please don't actually submit any data with them yet!).

Thanks!

The rules of the contest have not changed, and you should review them (OP of this thread) before using the forms.
117  Alternate cryptocurrencies / Altcoin Discussion / Re: MasterCoin: New Protocol Layer Starting From “The Exodus Address” on: February 26, 2014, 12:16:01 AM
any good news about wallet? Grin

Uhm, YES: http://www.mastercoinwallets.org
118  Alternate cryptocurrencies / Altcoin Discussion / Re: Masterchest Wallet Alpha Testing Thread on: February 26, 2014, 12:14:47 AM
Yup!

http://www.mastercoinwallets.org
119  Alternate cryptocurrencies / Altcoin Discussion / Re: Masterchest Wallet Alpha Testing Thread on: February 24, 2014, 11:22:41 PM
I'm using win8 successfully, so I know it isn't that.

Zathras - prophetx is trying to set up a skype chat with you. I've been chatting with him trying to figure it out, but you could probably do it better Smiley

Thanks J.R. - just talked with prophetx and located a bug with rpcport detection, commit w/ updated binary has just gone up.


Nice! That was fast!

Also, there appears to be an emerging consensus problem for real MSC between Masterchest and Masterchain on the dev thread. Smiley

I hope you're enjoying finally being full-time. I know my first few days as full-time have been very very full!
120  Alternate cryptocurrencies / Altcoin Discussion / Re: Masterchest Wallet Alpha Testing Thread on: February 24, 2014, 11:03:40 PM
I'm using win8 successfully, so I know it isn't that.

Zathras - prophetx is trying to set up a skype chat with you. I've been chatting with him trying to figure it out, but you could probably do it better Smiley
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 ... 83 »
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!