Bitcoin Forum
June 26, 2024, 02:31:34 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 »
261  Alternate cryptocurrencies / Marketplace (Altcoins) / Re: 300 BTC Coding Contest: Distributed Exchange (MasterCoin Developer Thread) on: November 17, 2013, 03:36:03 PM

Edit: I'm guessing this is because there is no selling order to match to? You consider that an invalid transaction? I think this is a good way to go, shall I add this to the spec?

Same here.  No selling order to match the transaction, it is invalid.
262  Alternate cryptocurrencies / Marketplace (Altcoins) / Re: 300 BTC Coding Contest: Distributed Exchange (MasterCoin Developer Thread) on: November 17, 2013, 03:22:46 PM
Another scenario.

User A sells 10 msc
User B and User C buys 10 at the same (block) time.
Who gets the 10 msc?

I'm thinking it should be order by time, then address.

The person with the highest position in the block. This already has been decided a long time ago and goes for all transactions types.


Ok thanks again Tachikoma.
263  Alternate cryptocurrencies / Altcoin Discussion / Re: The collective Mastercoin-explorer, Mastercoin-ruby and Mastercoin-wallet topic on: November 17, 2013, 03:00:27 PM


Awesome! I just created a purchase offer for 0.1 MSC:
https://blockchain.info/tx/87018464d016a067e5c8fedc07551c027bd011f43f6d3a02e9a1e252b551ba82

Let's see what happens.
EDIT: Should I wait for my purchase offer to appear on Mastercoin-explorer before I send payment?

Hi maxmint

ME Is reporting purchase offer for test master coins (not MSC)

http://mastercoin-explorer.com/transactions/87018464d016a067e5c8fedc07551c027bd011f43f6d3a02e9a1e252b551ba82

I'm also parsing it as test msc. the transaction is invalid.
264  Alternate cryptocurrencies / Altcoin Discussion / Re: The collective Mastercoin-explorer, Mastercoin-ruby and Mastercoin-wallet topic on: November 17, 2013, 02:12:21 PM
I just released 0.0.8 and put a real selling offer online right now for 10 MSC @ 0.2!

It's hosted on address 1EAuHj8Z6rTCHPxXfaGzzPsZevC2mg1XAj. I am guaranteeing this offer, which means that if you buy it and it becomes invalidated because of a spec change at a later date I will return the Bitcoins back to you. Version 0.0.8 can be used to try and purchase this offer.

Prove I own the address:

Quote
GzhVvJFfYXTDtPyuqdkOFXp+EA2+7mK/uOhCgj/Tg37cAB97Lf0xgzuqZhC5Om0Ghjgi9AP1/1U7p3WeLaHDLVA=
Sold by Tachikoma


 first  msc offer  confirmed Someone should buy it this is historic Smiley congrats Tachikoma !
http://mymastercoins.com/Orders.aspx?CurrencyID=1
265  Alternate cryptocurrencies / Marketplace (Altcoins) / Re: 300 BTC Coding Contest: Distributed Exchange (MasterCoin Developer Thread) on: November 17, 2013, 01:58:04 PM
Another scenario.

User A sells 10 msc
User B and User C buys 10 at the same (block) time.
Who gets the 10 msc?

I'm thinking it should be order by time, then address.
266  Alternate cryptocurrencies / Marketplace (Altcoins) / Re: 300 BTC Coding Contest: Distributed Exchange (MasterCoin Developer Thread) on: November 17, 2013, 01:51:00 PM
Developers; I've been thinking about invalidating Purchase Offers which want to buy from a Selling Offer when the Selling Offer is exhausted. Normally you adjust the amount bough to the total amount for sale. But it's not stated what to do when the amount is actually zero. Technically it doesn't matter anyway because both transactions have zero impact on the balance but just to let people know what's going on, and make sure they don't end up paying I would still like to invalidate these type of transactions.

Just an example to make sure everybody understands me.

User A sells 10 MSC
User B buys 8 MSC and gets them
User C buys 2 MSC and gets them
User D sends his request for 5MSC just a little after C and gets added behind him in the block.

Right now user D's transaction would come through but the accepted amount would be 0 MSC. I would propose to invalid this transaction so it's clear this offer is sold out.


+1
User D's transaction should be invalid.

267  Alternate cryptocurrencies / Marketplace (Altcoins) / Re: 300 BTC Coding Contest: Distributed Exchange (MasterCoin Developer Thread) on: November 17, 2013, 01:49:31 PM

Speaking of which - Tachikoma, I'm keen to identify why our orderbook states don't match.  I've taken a quick look at Bitoy's site and his orderbook state looks like mine - I'll look into each transaction to see if I can figure out where we differ.  Is your orderbook on mastercoin-explorer your latest? 

Good to know our order book matches Smiley



Quote


.  Oh and on the subject of the dev MSC calculations you can use https://masterchest.info/sneakpeek/lookupadd.aspx?address=1EXoDusjGwvnjZUyKkxZ4UHEf77z6A5S4P to check your dev MSC numbers against mine (as at time of latest block).


I only recalculate  and validate dev mastercoins only if the exodus address sends msc.
268  Alternate cryptocurrencies / Marketplace (Altcoins) / Re: 300 BTC Coding Contest: Distributed Exchange (MasterCoin Developer Thread) on: November 16, 2013, 01:50:15 AM
https://bitcointalk.org/index.php?topic=334316.0

Quote
I am hereby announcing the first release of a the first patch for miners to filter address reuse:
unique_spk_mempool for bitcoind 0.8.5
For now, since this is still somewhat common, this just deprioritises it to one reuse per block.
If I have time, I plan to write patches to be more and less aggressive that miners can choose between (or maybe others will beat me to it!).

This is an interesting problem to solve.

Without the exodus address, we can just parse the block looking for .000006 transactions.  (Right now I just check the exodus address for transactions)

Thoughts?






269  Alternate cryptocurrencies / Marketplace (Altcoins) / Re: 300 BTC Coding Contest: Distributed Exchange (MasterCoin Developer Thread) on: November 15, 2013, 03:30:35 PM
Tested the new peek and decode algorithm.   This transaction looks valid.

fd093d901c4baf20ea2525fe3b36b2519b9a7915683b45b996023fe2b5dd04e6


Date: 11/15/2013 12:57:28 PM      
Sender: 14hm8rTdknVCDpqXGY5nFqVWruU9UBeuHd      
Amount Sent: 0.20000000 MSC      
Recipient: 1P8GMhC3qYkuvRRBsS5gqGegT7GvQoxAwY    




270  Alternate cryptocurrencies / Marketplace (Altcoins) / Re: 300 BTC Coding Contest: Distributed Exchange (MasterCoin Developer Thread) on: November 15, 2013, 03:26:20 PM
Actually, no. 8932.02057119

I have almost the same number
8932.0225039472534


(1 - (0.5 ^ (  (1385856000 - 1377993600)    / 31557600))) * 56316.23576222

271  Alternate cryptocurrencies / Marketplace (Altcoins) / Re: MasterCoin Buyer/Seller Thread on: November 15, 2013, 02:49:05 AM
Just bought MSC for 0.25 each.

0.25  MSC is now  $103.50  (BTC @ $414  Smiley
272  Alternate cryptocurrencies / Marketplace (Altcoins) / Re: 300 BTC Coding Contest: Distributed Exchange (MasterCoin Developer Thread) on: November 14, 2013, 05:33:29 PM


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
273  Alternate cryptocurrencies / Marketplace (Altcoins) / Re: 300 BTC Coding Contest: Distributed Exchange (MasterCoin Developer Thread) on: November 14, 2013, 02:36:27 AM
Beside blockexplorer and blockchain are there  other json api that show bitcoin transactions?


274  Alternate cryptocurrencies / Marketplace (Altcoins) / Re: 300 BTC Coding Contest: Distributed Exchange (MasterCoin Developer Thread) on: November 14, 2013, 02:25:48 AM
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
275  Alternate cryptocurrencies / Marketplace (Altcoins) / Re: 300 BTC Coding Contest: Distributed Exchange (MasterCoin Developer Thread) on: November 13, 2013, 12:21:46 PM
To make coding shorter, I did peak and decode to get the data address then get the largest sequence as the receipient address.

Quick note, recipient address sequence number is not necessarily the largest - eg change output may be or if the data sequence number is 255 then the recipient will be smallest sequence (0) Smiley



Thanks Zarthas

If there are 3 address and the data sequence is 255 receipt must be sequence zero. I forgot about that Smiley
276  Alternate cryptocurrencies / Marketplace (Altcoins) / Re: 300 BTC Coding Contest: Distributed Exchange (MasterCoin Developer Thread) on: November 13, 2013, 09:39:48 AM
Yeah, that's a transaction that I botched a couple of days ago. The sequence numbers are ascending instead of descending.

It is now valid because of the new specs in 1.2 "peek and decode". (Unless I read wrong Smiley

Sorry guys, I've been snowed the last week or so.  I see JR has included my appendix in the latest revision of the spec Grin which is great news - that means peek & decode is officially in so zbx's case in question would now be valid yep regardless of the bad sequence numbers (credit though; peek & decode was Tachikoma's idea, I just helped flesh it out and documented it Smiley).

Note I'll need to cut a little code for this which I'll include in the coming Masterchest update.  Somehow my current implementation isn't quite up to scratch Tongue

Code:
 
...
Else
   If isvalidtx = False Then  '### fall back to peek and decode
      'peek and decode routine here
   End If
End If
....


To make coding shorter, I did peak and decode to get the data address then get the largest sequence as the receipient address.



277  Alternate cryptocurrencies / Marketplace (Altcoins) / Re: MasterCoin Buyer/Seller Thread on: November 13, 2013, 02:38:12 AM
Over 2600 MSC traded yesterday.  All time high!
http://mymastercoins.com/About.aspx

MSC is $68.78  

Added an MSC price in $USD by manually entering the price from the order book.
  
Is there a way to get the last traded price from the order book via URL link?









278  Alternate cryptocurrencies / Marketplace (Altcoins) / Re: 300 BTC Coding Contest: Distributed Exchange (MasterCoin Developer Thread) on: November 12, 2013, 11:56:22 PM
Yeah, that's a transaction that I botched a couple of days ago. The sequence numbers are ascending instead of descending.

It is now valid because of the new specs in 1.2 "peek and decode". (Unless I read wrong Smiley
279  Alternate cryptocurrencies / Marketplace (Altcoins) / Re: 300 BTC Coding Contest: Distributed Exchange (MasterCoin Developer Thread) on: November 12, 2013, 05:28:27 PM
Hi Tachikoma

I've updated the parsing (all class A is now "peek and decode")  and Master Explorer and MyMastercoins has the same balances (yehey!)

Except for one address
15a4XCuWmx2cCQVf8wZK7mqdvj5uwo1vby

MM=575     ME=570

It is TX
ecb77ee990de29745de949462e1f6e44584c310a0da12c9fbdf86dbe6ffabcfc

btw First line of your API there is a null address with balance 5.0  
[{"address":null,"balance":"5.0"}
280  Alternate cryptocurrencies / Marketplace (Altcoins) / Re: 300 BTC Coding Contest: Distributed Exchange (MasterCoin Developer Thread) on: November 12, 2013, 04:00:07 PM

Quote
Mastercoin explorer has 2617.47620688 for 1AGFxUanxnWnrTiwLsY4NyvNZTv3RWFnfT but Bitboy has 2617.48620688
Mastercoin explorer has 200 for 1MBrNtFBw9QQ1owGsTs6Nd1iL1Err2H4yp but Bitboy has 199.99
Mastercoin explorer has 757.23987298 for 1Q1sFqsi8S5DxV5hz6sWLamGBp9To93iG7 but Bitboy has 752.23987298

Much easier to find which transactions to fix now.

Thanks Tachikoma,

I'll fix the the missing transactions.

Btw the "peek and decode" is already approved.  I'll update and run checks again.

Pages: « 1 2 3 4 5 6 7 8 9 10 11 12 13 [14] 15 16 17 18 19 20 21 22 23 »
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!