Bitcoin Forum
April 24, 2024, 01:34: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 ... 64 »
101  Alternate cryptocurrencies / Altcoin Discussion / Re: The collective Mastercoin-explorer, Mastercoin-ruby and Mastercoin-wallet topic on: January 03, 2014, 09:46:00 AM
buggy but interesting

If you tell me more about the buggy part I might be able to make it just interesting Smiley
102  Alternate cryptocurrencies / Altcoin Discussion / Re: Mastercoin reference implementation proposal. on: December 31, 2013, 01:19:20 PM
One of the additional best reasons for going with Go is an existence of almost fully functional bitcoin fully validating node in Go language: https://github.com/conformal/btcd   

Watch a video about it here:  http://www.youtube.com/watch?v=d1IYvJs5GGw

If you read the doc you would have seen we are indeed using that Smiley
103  Alternate cryptocurrencies / Altcoin Discussion / Re: MasterCoin: New Protocol Layer Starting From “The Exodus Address” on: December 31, 2013, 12:37:09 PM
new blog post

INTRODUCING THE FIRST TWO FULL-TIME MASTERCOIN DEVELOPERS

http://blog.mastercoin.org/2013/12/31/introducing-first-two-full-time-mastercoin-developers/

Wow you beat me to it! The last few weeks have been crazy but I'm happy I can finally let the world know I will be spending more time on Mastercoin in the following months Smiley
104  Alternate cryptocurrencies / Altcoin Discussion / Re: The collective Mastercoin-explorer, Mastercoin-ruby and Mastercoin-wallet topic on: December 31, 2013, 10:00:15 AM
Awesome, thanks for testing it!

I will update the Github page and OP as this seems to work Smiley
105  Alternate cryptocurrencies / Marketplace (Altcoins) / Re: 300 BTC Coding Contest: Distributed Exchange (MasterCoin Developer Thread) on: December 31, 2013, 09:56:47 AM
Bitoy I see that your implementation has a whole lot of different numbers all of a sudden. Any idea where these differences are coming from?

Blockexplorer.com is stuck at block 277595.  That is where I get data.

  Is there a way to get exodus trans using bitcoind?

I think that is what Zathras is doing, I would check out his tools on his Github. Or ask him directly how he manages that.
106  Alternate cryptocurrencies / Altcoin Discussion / Re: The collective Mastercoin-explorer, Mastercoin-ruby and Mastercoin-wallet topic on: December 30, 2013, 04:40:48 PM
Hey guys,

I've been mostly AFK these past two weeks but I'm back.

For those on (x/l/k)Ubuntu 13.10 (and perhaps 13.04) I made a script that should hopefully help you install the wallet but I require some testers.

Code:
sudo apt-get -y install curl
curl -L https://gist.github.com/maran/8182379/raw/7309391a1e2341ff9f0cb1ae6603e8006cb891cc/install.sh | bash

This should install the dependencies, install rvm, install ruby-2.1 and install the wallet software.

I developed it on a Xubuntu 13.10 version and it works there.

Please let me know.

 
107  Alternate cryptocurrencies / Marketplace (Altcoins) / Re: 300 BTC Coding Contest: Distributed Exchange (MasterCoin Developer Thread) on: December 30, 2013, 03:01:18 PM
Bitoy I see that your implementation has a whole lot of different numbers all of a sudden. Any idea where these differences are coming from?
108  Alternate cryptocurrencies / Marketplace (Altcoins) / Re: 300 BTC Coding Contest: Distributed Exchange (MasterCoin Developer Thread) on: December 30, 2013, 01:42:05 PM
Hey guys I'm back! Catching up on a lot of stuff just wanted to say this:

I just added support for sending to yourself today. There is no reason to disallow this although it makes no sense.

109  Alternate cryptocurrencies / Altcoin Discussion / Re: Mastercoin reference implementation proposal. on: December 30, 2013, 11:24:54 AM
We've started drafting some general overview document and filling the Trello board. It's not that exciting yet but if you have any comments please let us know.
110  Alternate cryptocurrencies / Marketplace (Altcoins) / Re: 300 BTC Coding Contest: Distributed Exchange (MasterCoin Developer Thread) on: December 22, 2013, 10:49:59 AM
Developers, I just made a pull request to change some things that should make way for always falling back on p&d. The changes are minimal so please see if I caught everything.

The pull is here.
111  Alternate cryptocurrencies / Marketplace (Altcoins) / Re: 300 BTC Coding Contest: Distributed Exchange (MasterCoin Developer Thread) on: December 22, 2013, 10:40:13 AM
Quote
UserA has a balance of 50 tmsc

A: Balance 50

Quote
UserA sends a offer to sell 30 tmsc

A: Balance 20 - Reserved 30

Quote
UserB sends a purchase offer 10 tmsc (not yet paid)

A: Balance 20 - Reserved 20 - Reserved for Purchase Offer 10

Quote
UserA changes sell offer to 5 tmsc

A: Balance 35 - Reserved 5 - Reserved for Purchase Offer 10

Quote
What is the maximum tmsc can  UserA simple send to UserC?

The maximal amount user A can send is 20 tMSC. Once the Purchase Offer expires the amount will be changed to 30.


The maximum amount  userA can send is 35 (since 5 and 10 are withheld from the 50 balance).  When the purchase offer expires it max is 45.

Yes you are right, I made a mistake there Smiley

Quote
UserA has a balance of 50 tmsc

A: Balance 50

Quote
UserA sends a offer to sell 30 tmsc

A: Balance 20 - Reserved 30

Quote
UserB sends a purchase offer 10 tmsc (not yet paid)

A: Balance 20 - Reserved 20 - Reserved for Purchase Offer 10

Quote
UserA changes sell offer to 5 tmsc

A: Balance 35 - Reserved 5 - Reserved for Purchase Offer 10

Quote
What is the maximum tmsc can  UserA simple send to UserC?

The maximal amount user A can send is 20 tMSC. Once the Purchase Offer expires the amount will be changed to 30.


The maximum amount  userA can send is 35 (since 5 and 10 are withheld from the 50 balance).  When the purchase offer expires it max is 45.


Bitoy - this doesn't seem right to me, it seems like this approach could end up harming users.

To frame this example using slightly different values:

1. UserA has 50 MSC
(Balance 50)

2. UserA lists 30 MSC for sale
(Balance 20 available, 30 reserved)

3. UserB sends purchase offer for all 30 MSC
(Balance 20 available, 30 reserved for purchase offer)

4. UserA changes offer to 20 MSC for sale
(Balance TBC1 available, TBC2 reserved, 30 reserved for purchase offer)

5. UserC sends purchase offer for 20 MSC
(Balance TBC3 available, TBC4 reserved, TBC5 reserved for purchase offer)

So UserA has attempted to reduce the size of a listed offer, this can't be allowed to result in a scenario in which the revised offer is treated as new and unreserved (and could result in all 50 of UserA's coins being sold).

The amount remaining available to UserA should be: Unsold balance - the greater of (all reserved purchases OR the revised offer amount).

So in the example above:

1. UserA has 50 MSC
(Balance 50)

2. UserA lists 30 MSC for sale
(Balance 20 available, 30 reserved)

3. UserB sends purchase offer for all 30 MSC
(Balance 20 available, 30 reserved for purchase offer)

4. UserA changes offer to 20 MSC for sale
(Balance 20 available, 30 reserved, 30 reserved for purchase offer)

5. UserC sends purchase offer for 20 MSC
(Balance 20 available, 30 reserved, 30 reserved for purchase offer)

Now - what if UserA was actually trying to sell the other 20 MSC?  I would expect them to increase the sell offer to 50 (although we still need to be sure this interpreted as an adjustment and not another 50, which is quite possible the same problem in reverse!).

Does this make any sense? Cheers

Just like with Bitcoin all sales are final. If you broadcast a Selling Offer for 50 MSC by error while you only wanted to sell 20 MSC you should just broadcast a new offer as soon as possible hoping that you are added to the block first.

That is if I understood you correctly Smiley
112  Alternate cryptocurrencies / Marketplace (Altcoins) / Re: 300 BTC Coding Contest: Distributed Exchange (MasterCoin Developer Thread) on: December 20, 2013, 12:55:01 PM
Ok so I think we should allow p&d for unequal outputs.

I think it's better to support as much Class A transactions as possible and that the risks of perhaps misinterpreting, which might not ever happen, outweighs the amount of transactions that can be valid through p&d.

I will write up a pull request over the weekend that covers all bases to support this so we can have a final ook at it but I think it should be fine.

 
113  Alternate cryptocurrencies / Marketplace (Altcoins) / Re: 300 BTC Coding Contest: Distributed Exchange (MasterCoin Developer Thread) on: December 19, 2013, 09:46:58 PM
Quote
UserA has a balance of 50 tmsc

A: Balance 50

Quote
UserA sends a offer to sell 30 tmsc

A: Balance 20 - Reserved 30

Quote
UserB sends a purchase offer 10 tmsc (not yet paid)

A: Balance 20 - Reserved 20 - Reserved for Purchase Offer 10

Quote
UserA changes sell offer to 5 tmsc

A: Balance 35 - Reserved 5 - Reserved for Purchase Offer 10

Quote
What is the maximum tmsc can  UserA simple send to UserC?

The maximal amount user A can send is 20 tMSC. Once the Purchase Offer expires the amount will be changed to 30.

A lot of stuff J.R. said.
Thanks for the endorsement J.R. I had a very long and intensive day, which is on-going, so I will see what should be decided on the p&d stuff tomorrow Smiley
114  Alternate cryptocurrencies / Marketplace (Altcoins) / Re: 300 BTC Coding Contest: Distributed Exchange (MasterCoin Developer Thread) on: December 18, 2013, 07:14:16 AM
Perhaps it's time to summon the magical being known as J.R. and let him make a decision on whether to p&r transactions that have unequal output amounts.
115  Alternate cryptocurrencies / Marketplace (Altcoins) / Re: 300 BTC Coding Contest: Distributed Exchange (MasterCoin Developer Thread) on: December 18, 2013, 07:01:57 AM
Have we had a conversation already about allowing/disallowing based on whether output amounts are the same?

I don't think it ever came up before. So let's make a decision on it now Smiley

I think my previous arguments still stand. We need to debate whether we want to opt-in for as much valid transactions that might be interpret wrong every once in a while. Or play it safe and require some baseline requirements (same value outputs) to be met in order to reduce the risk of interpreting it wrong.
116  Alternate cryptocurrencies / Marketplace (Altcoins) / Re: 300 BTC Coding Contest: Distributed Exchange (MasterCoin Developer Thread) on: December 17, 2013, 07:17:20 PM
We could indeed fall back to peek and decode however right now the spec says:

Quote
Has all output values equal & above the 'dust' threshold (currently 0.00005430 BTC). An additional output is permitted for the remainder of the input (the 'change' address).

I have a feeling that allowing p&d on unequal output values might increase the risk of a change address being assigned as recipient address by accident.

I really want to catch human error whenever possible and support as many formats as possible but on the other hand when an error was clearly made it rather have it be invalidated then sent to the wrong address.

Can anybody think of a reason that could sway the argument one way or an other? 
117  Alternate cryptocurrencies / Marketplace (Altcoins) / Re: 300 BTC Coding Contest: Distributed Exchange (MasterCoin Developer Thread) on: December 16, 2013, 12:46:55 PM
Guys I'm documenting these edge-cases mostly for my own use on Pivotal tracker. Forum posts get lost fast but action should be taken on these transactions.

I use it the following way:

The story name is the transaction id, the labels are the implementations that are affected and the description describes how the transactions should or shouldn't be parsed. If you want to use this system as well please let me know your account name and I will add you.

Zathras, thanks for the filtered version btw. That's exactly what I needed Smiley
118  Alternate cryptocurrencies / Marketplace (Altcoins) / Re: 300 BTC Coding Contest: Distributed Exchange (MasterCoin Developer Thread) on: December 16, 2013, 12:41:37 PM
I rather have multiple output only be supported for Class A for now since like Zathras said there are no sequence numbers for multisigs. Once we enforce change to multisig when wallets are more feature-rich the problem should go away anyway.

I went through all addresses where I was the odd-one out and fixed most of them except two where I think I actually did it right. It comes down to two missing transactions. They are:

ecb77ee990de29745de949462e1f6e44584c310a0da12c9fbdf86dbe6ffabcfc
Missing on: Masterchain and Masterchest

and

a497e4fd11d2223e2129828e44b0d2110b2bb0ec3cb8a0f36bbd28f37a15ceef
Missing on: Masterchain and MyMastercoins

Could you look at these and tell me why your implementations don't have these transactions?

I'll have to look a bit further into that one (ecb77ee990de29745de949462e1f6e44584c310a0da12c9fbdf86dbe6ffabcfc) - it's detected as a simple send but fails decoding.  To be continued...

EDIT: Are you falling back to peek & decode on this one?  I make the data address 15efTnSCG13druGmetEp1AULCEqudtCSwq and the reference address 15a4XCuWmx2cCQVf8wZK7mqdvj5uwo1vby.  The data address has sequence number 51 while the reference address has sequence number 50.  It should be the other way around.  This should have fallen to peek & decode, but I have a feeling since the sequence numbers don't look ambiguous, my implementation is taking seqnum 50 (the ref address) and trying to decode it probably resulting in a trapped exception.

Need to set this up as a dummy transaction to watch the decoding in action - I'll try and get some more time to look at this tomorrow.

Thanks Smiley

Yeah I'm falling back on p&d on this one.

Quote
D, [2013-12-16T13:41:18.347691 #3558] DEBUG -- : Found data for address 15efTnSCG13druGmetEp1AULCEqudtCSwq
D, [2013-12-16T13:41:18.348294 #3558] DEBUG -- : Looking for data sequence 51 +1 == 52
D, [2013-12-16T13:41:18.349347 #3558] DEBUG -- : Sequence: 148 for 1EXoDusjGwvnjZUyKkxZ4UHEf77z6A5S4P
D, [2013-12-16T13:41:18.349637 #3558] DEBUG -- : Sequence: 50 for 15a4XCuWmx2cCQVf8wZK7mqdvj5uwo1vby
D, [2013-12-16T13:41:18.349896 #3558] DEBUG -- : Sequence: 51 for 15efTnSCG13druGmetEp1AULCEqudtCSwq
D, [2013-12-16T13:41:18.349940 #3558] DEBUG -- : Target address not found attempting peek & decode.
SimpleSend transaction from 1Q1sFqsi8S5DxV5hz6sWLamGBp9To93iG7 for 5.00000000 Mastercoin to 15a4XCuWmx2cCQVf8wZK7mqdvj5uwo1vby.
119  Alternate cryptocurrencies / Marketplace (Altcoins) / Re: 300 BTC Coding Contest: Distributed Exchange (MasterCoin Developer Thread) on: December 16, 2013, 12:30:22 PM

a497e4fd11d2223e2129828e44b0d2110b2bb0ec3cb8a0f36bbd28f37a15ceef
Missing on: Masterchain and MyMastercoins


In mymastercoins I'm parsing this as a purchase offer.  Since msc purchase offers are not yet allowed the transaction is marked as invalid.


Invalid Transaction.
Date:   11/30/2013 5:35:43 PM            
Remarks:   Purchase Offer not found.            
.

This transaction affects These 2 address

MM=0.00006283 1Mt1tCGyJnD6SHzBgxtg6GRJLUhqQrc4ff MC=5.00006283
MM=10.55548942 15XJoDF4xCUrWX3ES9ftWq3wnGhuRsqrLk MC=5.55548942


Once it is resolved, mymastercoins and mastercoinexplorerer is  synched Smiley         


masterchain interpretation is a bitcoin payment:
https://masterchain.info/btcpayment.html?tx=a497e4fd11d2223e2129828e44b0d2110b2bb0ec3cb8a0f36bbd28f37a15ceef&currency=MSC

The reason is that the values are different:
0.00006 to 1EXoDusjGw...
0.00006 to 1Mt1tCGyJn...
0.0006   to 1MnZ4jmQ3E..
0.00668292 to 17oDj9dvFL...

I thought all values except for the change have to be the same, or else the tx is invalid for mastercoin protocol.

Yes, you are correct. I will fix this in my implementation. Thanks Smiley
120  Alternate cryptocurrencies / Marketplace (Altcoins) / Re: 300 BTC Coding Contest: Distributed Exchange (MasterCoin Developer Thread) on: December 16, 2013, 10:33:46 AM
I think I might be to blame here, it seems I might have a regression where Purchase Offers fall back to Simple Sends on failure. Will have to check that out.

Thanks!
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 ... 64 »
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!