Bitcoin Forum

Bitcoin => Development & Technical Discussion => Topic started by: mmeijeri on May 05, 2013, 10:24:06 AM



Title: Market.h / .cpp
Post by: mmeijeri on May 05, 2013, 10:24:06 AM
I just had a quick look at the oldest known version of the Satoshi source code and noticed the presence of market.h and .cpp. Does anyone here know the story of what happened to these files? I could try to search SF, but maybe people here have interesting stories to tell about it. Was this intended to be something like SilkRoad? If so, does it lend credence to the Satoshi = Dread Pirate Roberts theory?


Title: Re: Market.h / .cpp
Post by: jcrubino on May 06, 2013, 04:17:08 AM
It appears to be a method for market ticker quotes....
I tried finding an earlier versions but the oldest around online after googling source forging and githubing seem to be 0.4+
Interesting.

Code:
//
//  Market.h
//  Bitcoin
//
//  Created by Rits Plasman on 10-06-11.
//  Copyright 2011 __MyCompanyName__. All rights reserved.
//

#import <Foundation/Foundation.h>


@interface Market : NSObject <NSCoding> {
    
}

@property (nonatomic, assign) double close;
@property (nonatomic, assign) double previousClose;
@property (nonatomic, copy) NSString *symbol;
@property (nonatomic, retain) NSDate *latestTrade;

@end


Title: Re: Market.h / .cpp
Post by: mmeijeri on May 06, 2013, 04:48:29 PM
That looks like Objective C, not C++.


Title: Re: Market.h / .cpp
Post by: jcrubino on May 06, 2013, 11:11:06 PM
its in the github bitcoin repo