summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorevoskuil <eric@voskuil.org>2014-03-23 18:30:58 (GMT)
committer evoskuil <eric@voskuil.org>2014-03-23 18:30:58 (GMT)
commitdf9455a50dc18f055922373a9c0c8f4fafa65787 (patch)
tree22c2e32d19c9b4baa1a26c71d45b56560abb2a0b
parentf9243ed96b6e65effc57cca1a7f48d90bbf4462f (diff)
VS2013 initial solution, work in progress.
-rw-r--r--.gitignore2
-rw-r--r--builds/msvc/vs2013/.gitignore3
-rw-r--r--builds/msvc/vs2013/obelisk.sln52
-rw-r--r--builds/msvc/vs2013/obelisk/.gitignore5
-rw-r--r--builds/msvc/vs2013/obelisk/obelisk.props48
-rw-r--r--builds/msvc/vs2013/obelisk/obelisk.vcxproj252
-rw-r--r--builds/msvc/vs2013/obelisk/obelisk.vcxproj.filters156
-rw-r--r--builds/msvc/vs2013/obelisk/packages.config12
-rw-r--r--builds/msvc/vs2013/properties/Common.props22
-rw-r--r--builds/msvc/vs2013/properties/Debug.props29
-rw-r--r--builds/msvc/vs2013/properties/Dynamic.props19
-rw-r--r--builds/msvc/vs2013/properties/DynamicDebug.props21
-rw-r--r--builds/msvc/vs2013/properties/DynamicRelease.props21
-rw-r--r--builds/msvc/vs2013/properties/LinkTimeCodeGeneration.props21
-rw-r--r--builds/msvc/vs2013/properties/Release.props40
-rw-r--r--builds/msvc/vs2013/properties/Static.props19
-rw-r--r--builds/msvc/vs2013/properties/StaticDebug.props21
-rw-r--r--builds/msvc/vs2013/properties/StaticDebugLinkTimeCodeGeneration.props18
-rw-r--r--builds/msvc/vs2013/properties/StaticLinkTimeCodeGeneration.props18
-rw-r--r--builds/msvc/vs2013/properties/StaticRelease.props21
-rw-r--r--builds/msvc/vs2013/properties/StaticReleaseLinkTimeCodeGeneration.props14
-rw-r--r--builds/msvc/vs2013/properties/Win32.props21
-rw-r--r--builds/msvc/vs2013/properties/x64.props22
-rw-r--r--src/worker/config.cpp4
-rw-r--r--src/worker/config.hpp1
-rw-r--r--src/worker/main.cpp27
-rw-r--r--src/worker/service/fetch_x.cpp3
27 files changed, 887 insertions, 5 deletions
diff --git a/.gitignore b/.gitignore
index b91ff03..c29a2c9 100644
--- a/.gitignore
+++ b/.gitignore
@@ -18,3 +18,5 @@ libobelisk.pc
/src/obbalancer
/src/obworker
+/bin/
+/obj/
diff --git a/builds/msvc/vs2013/.gitignore b/builds/msvc/vs2013/.gitignore
new file mode 100644
index 0000000..c4e9041
--- /dev/null
+++ b/builds/msvc/vs2013/.gitignore
@@ -0,0 +1,3 @@
+*.v12.suo
+*.opensdf
+*.sdf
diff --git a/builds/msvc/vs2013/obelisk.sln b/builds/msvc/vs2013/obelisk.sln
new file mode 100644
index 0000000..3ddd1c9
--- /dev/null
+++ b/builds/msvc/vs2013/obelisk.sln
@@ -0,0 +1,52 @@
+
+Microsoft Visual Studio Solution File, Format Version 12.00
+# Visual Studio 2013
+VisualStudioVersion = 12.0.30110.0
+MinimumVisualStudioVersion = 10.0.40219.1
+Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "obelisk", "obelisk\obelisk.vcxproj", "{B0BB6841-1FA9-4E09-8672-5B5419971EF6}"
+EndProject
+Global
+ GlobalSection(SolutionConfigurationPlatforms) = preSolution
+ DynDebug|Win32 = DynDebug|Win32
+ DynDebug|x64 = DynDebug|x64
+ DynRelease|Win32 = DynRelease|Win32
+ DynRelease|x64 = DynRelease|x64
+ LtcgDebug|Win32 = LtcgDebug|Win32
+ LtcgDebug|x64 = LtcgDebug|x64
+ LtcgRelease|Win32 = LtcgRelease|Win32
+ LtcgRelease|x64 = LtcgRelease|x64
+ StaticDebug|Win32 = StaticDebug|Win32
+ StaticDebug|x64 = StaticDebug|x64
+ StaticRelease|Win32 = StaticRelease|Win32
+ StaticRelease|x64 = StaticRelease|x64
+ EndGlobalSection
+ GlobalSection(ProjectConfigurationPlatforms) = postSolution
+ {B0BB6841-1FA9-4E09-8672-5B5419971EF6}.DynDebug|Win32.ActiveCfg = DebugDLL|Win32
+ {B0BB6841-1FA9-4E09-8672-5B5419971EF6}.DynDebug|Win32.Build.0 = DebugDLL|Win32
+ {B0BB6841-1FA9-4E09-8672-5B5419971EF6}.DynDebug|x64.ActiveCfg = DebugDLL|x64
+ {B0BB6841-1FA9-4E09-8672-5B5419971EF6}.DynDebug|x64.Build.0 = DebugDLL|x64
+ {B0BB6841-1FA9-4E09-8672-5B5419971EF6}.DynRelease|Win32.ActiveCfg = ReleaseDLL|Win32
+ {B0BB6841-1FA9-4E09-8672-5B5419971EF6}.DynRelease|Win32.Build.0 = ReleaseDLL|Win32
+ {B0BB6841-1FA9-4E09-8672-5B5419971EF6}.DynRelease|x64.ActiveCfg = ReleaseDLL|x64
+ {B0BB6841-1FA9-4E09-8672-5B5419971EF6}.DynRelease|x64.Build.0 = ReleaseDLL|x64
+ {B0BB6841-1FA9-4E09-8672-5B5419971EF6}.LtcgDebug|Win32.ActiveCfg = DebugLTCG|Win32
+ {B0BB6841-1FA9-4E09-8672-5B5419971EF6}.LtcgDebug|Win32.Build.0 = DebugLTCG|Win32
+ {B0BB6841-1FA9-4E09-8672-5B5419971EF6}.LtcgDebug|x64.ActiveCfg = DebugLTCG|x64
+ {B0BB6841-1FA9-4E09-8672-5B5419971EF6}.LtcgDebug|x64.Build.0 = DebugLTCG|x64
+ {B0BB6841-1FA9-4E09-8672-5B5419971EF6}.LtcgRelease|Win32.ActiveCfg = ReleaseLTCG|Win32
+ {B0BB6841-1FA9-4E09-8672-5B5419971EF6}.LtcgRelease|Win32.Build.0 = ReleaseLTCG|Win32
+ {B0BB6841-1FA9-4E09-8672-5B5419971EF6}.LtcgRelease|x64.ActiveCfg = ReleaseLTCG|x64
+ {B0BB6841-1FA9-4E09-8672-5B5419971EF6}.LtcgRelease|x64.Build.0 = ReleaseLTCG|x64
+ {B0BB6841-1FA9-4E09-8672-5B5419971EF6}.StaticDebug|Win32.ActiveCfg = DebugLIB|Win32
+ {B0BB6841-1FA9-4E09-8672-5B5419971EF6}.StaticDebug|Win32.Build.0 = DebugLIB|Win32
+ {B0BB6841-1FA9-4E09-8672-5B5419971EF6}.StaticDebug|x64.ActiveCfg = DebugLIB|x64
+ {B0BB6841-1FA9-4E09-8672-5B5419971EF6}.StaticDebug|x64.Build.0 = DebugLIB|x64
+ {B0BB6841-1FA9-4E09-8672-5B5419971EF6}.StaticRelease|Win32.ActiveCfg = ReleaseLIB|Win32
+ {B0BB6841-1FA9-4E09-8672-5B5419971EF6}.StaticRelease|Win32.Build.0 = ReleaseLIB|Win32
+ {B0BB6841-1FA9-4E09-8672-5B5419971EF6}.StaticRelease|x64.ActiveCfg = ReleaseLIB|x64
+ {B0BB6841-1FA9-4E09-8672-5B5419971EF6}.StaticRelease|x64.Build.0 = ReleaseLIB|x64
+ EndGlobalSection
+ GlobalSection(SolutionProperties) = preSolution
+ HideSolutionNode = FALSE
+ EndGlobalSection
+EndGlobal
diff --git a/builds/msvc/vs2013/obelisk/.gitignore b/builds/msvc/vs2013/obelisk/.gitignore
new file mode 100644
index 0000000..1932413
--- /dev/null
+++ b/builds/msvc/vs2013/obelisk/.gitignore
@@ -0,0 +1,5 @@
+*.vcxproj.user
+*.v12.suo
+*.sdf
+*.opensdf
+*.dgml
diff --git a/builds/msvc/vs2013/obelisk/obelisk.props b/builds/msvc/vs2013/obelisk/obelisk.props
new file mode 100644
index 0000000..1df887a
--- /dev/null
+++ b/builds/msvc/vs2013/obelisk/obelisk.props
@@ -0,0 +1,48 @@
+<?xml version="1.0" encoding="utf-8"?>
+<Project DefaultTargets="Build" ToolsVersion="12.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
+
+ <PropertyGroup>
+ <_ProjectFileVersion>10.0.40219.1</_ProjectFileVersion>
+ <_PropertySheetDisplayName>SX Library Common Settings</_PropertySheetDisplayName>
+ <CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
+ <RunCodeAnalysis>false</RunCodeAnalysis>
+ </PropertyGroup>
+
+ <ItemDefinitionGroup>
+ <ClCompile>
+ <AdditionalIncludeDirectories>$(ProjectDir)..\..\..\..\include\;$(ProjectDir)..\..\..\..\include\obelisk\;$(ProjectDir)..\..\..\..\include\obelisk\client\;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
+ <AdditionalIncludeDirectories>$(ProjectDir)..\..\..\..\..\libbitcoin\include\;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
+ <AdditionalIncludeDirectories>$(ProjectDir)..\..\..\..\..\czmqpp\include\;$(ProjectDir)..\..\..\..\..\czmq\include\;$(ProjectDir)..\..\..\..\..\libzmq\include\;(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
+ <DisableSpecificWarnings>4290;4275;%(DisableSpecificWarnings)</DisableSpecificWarnings>
+ <EnablePREfast>false</EnablePREfast>
+ <PreprocessorDefinitions>_WINDOWS;LEVELDB_ENABLED;_WIN32_WINNT=0x0600;%(PreprocessorDefinitions)</PreprocessorDefinitions>
+ </ClCompile>
+ <Link>
+ <AdditionalDependencies>libbitcoin.lib;%(AdditionalDependencies)</AdditionalDependencies>
+ </Link>
+ </ItemDefinitionGroup>
+
+ <ItemDefinitionGroup Condition="'$(ConfigurationType)'=='StaticLibrary'">
+ <ClCompile>
+ <PreprocessorDefinitions>LIBCONFIG_STATIC;LIBCONFIGXX_STATIC;%(PreprocessorDefinitions)</PreprocessorDefinitions>
+ </ClCompile>
+ </ItemDefinitionGroup>
+
+ <ItemDefinitionGroup Condition="$(Configuration.IndexOf('Release')) != -1">
+ <ClCompile>
+ <PreprocessorDefinitions>BITCOIN_DISABLE_ASSERTS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
+ </ClCompile>
+ <Link>
+ <AdditionalLibraryDirectories>$(ProjectDir)..\..\..\..\..\libbitcoin\bin\$(PlatformName)\Release\</AdditionalLibraryDirectories>
+ <AdditionalDependencies>czmqpp.lib;czmq.lib;libzmq.lib;%(AdditionalDependencies)</AdditionalDependencies>
+ </Link>
+ </ItemDefinitionGroup>
+
+ <ItemDefinitionGroup Condition="$(Configuration.IndexOf('Debug')) != -1">
+ <Link>
+ <AdditionalLibraryDirectories>$(ProjectDir)..\..\..\..\..\libbitcoin\bin\$(PlatformName)\Debug\</AdditionalLibraryDirectories>
+ <!--<AdditionalDependencies>czmqpp_d.lib;czmq_d.lib;libzmq_d.lib;%(AdditionalDependencies)</AdditionalDependencies>-->
+ </Link>
+ </ItemDefinitionGroup>
+
+</Project> \ No newline at end of file
diff --git a/builds/msvc/vs2013/obelisk/obelisk.vcxproj b/builds/msvc/vs2013/obelisk/obelisk.vcxproj
new file mode 100644
index 0000000..6686522
--- /dev/null
+++ b/builds/msvc/vs2013/obelisk/obelisk.vcxproj
@@ -0,0 +1,252 @@
+<?xml version="1.0" encoding="utf-8"?>
+<Project DefaultTargets="Build" ToolsVersion="12.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
+ <Import Project="..\..\..\..\..\..\nuget\LevelDB.1.16.0.5\build\native\LevelDB.props" Condition="Exists('..\..\..\..\..\..\nuget\LevelDB.1.16.0.5\build\native\LevelDB.props')" />
+ <Import Project="..\..\..\..\..\..\nuget\Snappy.1.1.1.7\build\native\Snappy.props" Condition="Exists('..\..\..\..\..\..\nuget\Snappy.1.1.1.7\build\native\Snappy.props')" />
+ <Import Project="..\..\..\..\..\..\nuget\Crc32C.1.0.4\build\native\Crc32C.props" Condition="Exists('..\..\..\..\..\..\nuget\Crc32C.1.0.4\build\native\Crc32C.props')" />
+ <Import Project="..\..\..\..\..\..\nuget\openssl.1.0.1.24\build\native\openssl.props" Condition="Exists('..\..\..\..\..\..\nuget\openssl.1.0.1.24\build\native\openssl.props')" />
+ <PropertyGroup Label="Globals">
+ <ProjectGuid>{B0BB6841-1FA9-4E09-8672-5B5419971EF6}</ProjectGuid>
+ <ProjectName>obelisk</ProjectName>
+ <RootNamespace>obelisk12</RootNamespace>
+ </PropertyGroup>
+ <ItemGroup Label="ProjectConfigurations">
+ <ProjectConfiguration Include="DebugDLL|Win32">
+ <Configuration>DebugDLL</Configuration>
+ <Platform>Win32</Platform>
+ </ProjectConfiguration>
+ <ProjectConfiguration Include="ReleaseDLL|Win32">
+ <Configuration>ReleaseDLL</Configuration>
+ <Platform>Win32</Platform>
+ </ProjectConfiguration>
+ <ProjectConfiguration Include="DebugDLL|x64">
+ <Configuration>DebugDLL</Configuration>
+ <Platform>x64</Platform>
+ </ProjectConfiguration>
+ <ProjectConfiguration Include="ReleaseDLL|x64">
+ <Configuration>ReleaseDLL</Configuration>
+ <Platform>x64</Platform>
+ </ProjectConfiguration>
+ <ProjectConfiguration Include="DebugLTCG|Win32">
+ <Configuration>DebugLTCG</Configuration>
+ <Platform>Win32</Platform>
+ </ProjectConfiguration>
+ <ProjectConfiguration Include="ReleaseLTCG|Win32">
+ <Configuration>ReleaseLTCG</Configuration>
+ <Platform>Win32</Platform>
+ </ProjectConfiguration>
+ <ProjectConfiguration Include="DebugLTCG|x64">
+ <Configuration>DebugLTCG</Configuration>
+ <Platform>x64</Platform>
+ </ProjectConfiguration>
+ <ProjectConfiguration Include="ReleaseLTCG|x64">
+ <Configuration>ReleaseLTCG</Configuration>
+ <Platform>x64</Platform>
+ </ProjectConfiguration>
+ <ProjectConfiguration Include="DebugLIB|Win32">
+ <Configuration>DebugLIB</Configuration>
+ <Platform>Win32</Platform>
+ </ProjectConfiguration>
+ <ProjectConfiguration Include="ReleaseLIB|Win32">
+ <Configuration>ReleaseLIB</Configuration>
+ <Platform>Win32</Platform>
+ </ProjectConfiguration>
+ <ProjectConfiguration Include="DebugLIB|x64">
+ <Configuration>DebugLIB</Configuration>
+ <Platform>x64</Platform>
+ </ProjectConfiguration>
+ <ProjectConfiguration Include="ReleaseLIB|x64">
+ <Configuration>ReleaseLIB</Configuration>
+ <Platform>x64</Platform>
+ </ProjectConfiguration>
+ </ItemGroup>
+ <PropertyGroup Label="Configuration">
+ <PlatformToolset>CTP_Nov2013</PlatformToolset>
+ </PropertyGroup>
+ <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='DebugDLL|Win32'" Label="Configuration">
+ <ConfigurationType>DynamicLibrary</ConfigurationType>
+ </PropertyGroup>
+ <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='ReleaseDLL|Win32'" Label="Configuration">
+ <ConfigurationType>DynamicLibrary</ConfigurationType>
+ </PropertyGroup>
+ <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='DebugDLL|x64'" Label="Configuration">
+ <ConfigurationType>DynamicLibrary</ConfigurationType>
+ </PropertyGroup>
+ <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='ReleaseDLL|x64'" Label="Configuration">
+ <ConfigurationType>DynamicLibrary</ConfigurationType>
+ </PropertyGroup>
+ <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='DebugLTCG|Win32'" Label="Configuration">
+ <ConfigurationType>StaticLibrary</ConfigurationType>
+ </PropertyGroup>
+ <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='ReleaseLTCG|Win32'" Label="Configuration">
+ <ConfigurationType>StaticLibrary</ConfigurationType>
+ </PropertyGroup>
+ <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='DebugLTCG|x64'" Label="Configuration">
+ <ConfigurationType>StaticLibrary</ConfigurationType>
+ </PropertyGroup>
+ <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='ReleaseLTCG|x64'" Label="Configuration">
+ <ConfigurationType>StaticLibrary</ConfigurationType>
+ </PropertyGroup>
+ <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='DebugLIB|Win32'" Label="Configuration">
+ <ConfigurationType>StaticLibrary</ConfigurationType>
+ </PropertyGroup>
+ <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='ReleaseLIB|Win32'" Label="Configuration">
+ <ConfigurationType>StaticLibrary</ConfigurationType>
+ </PropertyGroup>
+ <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='DebugLIB|x64'" Label="Configuration">
+ <ConfigurationType>StaticLibrary</ConfigurationType>
+ </PropertyGroup>
+ <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='ReleaseLIB|x64'" Label="Configuration">
+ <ConfigurationType>StaticLibrary</ConfigurationType>
+ </PropertyGroup>
+ <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
+ <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
+ <ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='DebugDLL|Win32'">
+ <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
+ <Import Project="$(ProjectDir)$(ProjectName).props" />
+ <Import Project="$(ProjectDir)..\properties\DynamicDebug.props" />
+ <Import Project="$(ProjectDir)..\properties\Win32.props" />
+ </ImportGroup>
+ <ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='ReleaseDLL|Win32'">
+ <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
+ <Import Project="$(ProjectDir)$(ProjectName).props" />
+ <Import Project="$(ProjectDir)..\properties\DynamicRelease.props" />
+ <Import Project="$(ProjectDir)..\properties\Win32.props" />
+ </ImportGroup>
+ <ImportGroup Condition="'$(Configuration)|$(Platform)'=='DebugDLL|x64'" Label="PropertySheets">
+ <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
+ <Import Project="$(ProjectDir)$(ProjectName).props" />
+ <Import Project="$(ProjectDir)..\properties\DynamicDebug.props" />
+ <Import Project="$(ProjectDir)..\properties\x64.props" />
+ </ImportGroup>
+ <ImportGroup Condition="'$(Configuration)|$(Platform)'=='ReleaseDLL|x64'" Label="PropertySheets">
+ <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
+ <Import Project="$(ProjectDir)$(ProjectName).props" />
+ <Import Project="$(ProjectDir)..\properties\DynamicRelease.props" />
+ <Import Project="$(ProjectDir)..\properties\x64.props" />
+ </ImportGroup>
+ <ImportGroup Condition="'$(Configuration)|$(Platform)'=='DebugLTCG|Win32'" Label="PropertySheets">
+ <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
+ <Import Project="$(ProjectDir)$(ProjectName).props" />
+ <Import Project="$(ProjectDir)..\properties\StaticDebugLinkTimeCodeGeneration.props" />
+ <Import Project="$(ProjectDir)..\properties\Win32.props" />
+ </ImportGroup>
+ <ImportGroup Condition="'$(Configuration)|$(Platform)'=='ReleaseLTCG|Win32'" Label="PropertySheets">
+ <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
+ <Import Project="$(ProjectDir)$(ProjectName).props" />
+ <Import Project="$(ProjectDir)..\properties\StaticReleaseLinkTimeCodeGeneration.props" />
+ <Import Project="$(ProjectDir)..\properties\Win32.props" />
+ </ImportGroup>
+ <ImportGroup Condition="'$(Configuration)|$(Platform)'=='DebugLTCG|x64'" Label="PropertySheets">
+ <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
+ <Import Project="$(ProjectDir)$(ProjectName).props" />
+ <Import Project="$(ProjectDir)..\properties\StaticDebugLinkTimeCodeGeneration.props" />
+ <Import Project="$(ProjectDir)..\properties\x64.props" />
+ </ImportGroup>
+ <ImportGroup Condition="'$(Configuration)|$(Platform)'=='ReleaseLTCG|x64'" Label="PropertySheets">
+ <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
+ <Import Project="$(ProjectDir)$(ProjectName).props" />
+ <Import Project="$(ProjectDir)..\properties\StaticReleaseLinkTimeCodeGeneration.props" />
+ <Import Project="$(ProjectDir)..\properties\x64.props" />
+ </ImportGroup>
+ <ImportGroup Condition="'$(Configuration)|$(Platform)'=='DebugLIB|Win32'" Label="PropertySheets">
+ <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
+ <Import Project="$(ProjectDir)$(ProjectName).props" />
+ <Import Project="$(ProjectDir)..\properties\StaticDebug.props" />
+ <Import Project="$(ProjectDir)..\properties\Win32.props" />
+ </ImportGroup>
+ <ImportGroup Condition="'$(Configuration)|$(Platform)'=='ReleaseLIB|Win32'" Label="PropertySheets">
+ <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
+ <Import Project="$(ProjectDir)$(ProjectName).props" />
+ <Import Project="$(ProjectDir)..\properties\StaticRelease.props" />
+ <Import Project="$(ProjectDir)..\properties\Win32.props" />
+ </ImportGroup>
+ <ImportGroup Condition="'$(Configuration)|$(Platform)'=='DebugLIB|x64'" Label="PropertySheets">
+ <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
+ <Import Project="$(ProjectDir)$(ProjectName).props" />
+ <Import Project="$(ProjectDir)..\properties\StaticDebug.props" />
+ <Import Project="$(ProjectDir)..\properties\x64.props" />
+ </ImportGroup>
+ <ImportGroup Condition="'$(Configuration)|$(Platform)'=='ReleaseLIB|x64'" Label="PropertySheets">
+ <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
+ <Import Project="$(ProjectDir)$(ProjectName).props" />
+ <Import Project="$(ProjectDir)..\properties\StaticRelease.props" />
+ <Import Project="$(ProjectDir)..\properties\x64.props" />
+ </ImportGroup>
+ <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='DebugDLL|Win32'">
+ <ClCompile>
+ <AdditionalIncludeDirectories>C:\Source\nuget\LevelDB.1.16.0.5\lib\native\include\;C:\Source\nuget\Snappy.1.1.1.7\lib\native\include\;C:\Source\nuget\Crc32C.1.0.4\lib\native\include\;$(ProjectDir)..\..\..\..\include\;$(ProjectDir)..\..\..\..\include\obelisk\;$(ProjectDir)..\..\..\..\include\obelisk\client\;$(ProjectDir)..\..\..\..\..\libbitcoin\include\;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
+ </ClCompile>
+ </ItemDefinitionGroup>
+ <ItemGroup>
+ <None Include="packages.config" />
+ </ItemGroup>
+ <ItemGroup>
+ <ClCompile Include="..\..\..\..\src\client\backend.cpp" />
+ <ClCompile Include="..\..\..\..\src\client\interface\blockchain.cpp" />
+ <ClCompile Include="..\..\..\..\src\client\interface\fetch_x.cpp" />
+ <ClCompile Include="..\..\..\..\src\client\interface\interface.cpp" />
+ <ClCompile Include="..\..\..\..\src\client\interface\protocol.cpp" />
+ <ClCompile Include="..\..\..\..\src\client\interface\transaction_pool.cpp" />
+ <ClCompile Include="..\..\..\..\src\message.cpp" />
+ <ClCompile Include="..\..\..\..\src\worker\config.cpp" />
+ <ClCompile Include="..\..\..\..\src\worker\echo.cpp" />
+ <ClCompile Include="..\..\..\..\src\worker\main.cpp" />
+ <ClCompile Include="..\..\..\..\src\worker\node_impl.cpp" />
+ <ClCompile Include="..\..\..\..\src\worker\publisher.cpp" />
+ <ClCompile Include="..\..\..\..\src\worker\service\blockchain.cpp" />
+ <ClCompile Include="..\..\..\..\src\worker\service\fetch_x.cpp" />
+ <ClCompile Include="..\..\..\..\src\worker\service\fullnode.cpp" />
+ <ClCompile Include="..\..\..\..\src\worker\service\protocol.cpp" />
+ <ClCompile Include="..\..\..\..\src\worker\service\transaction_pool.cpp" />
+ <ClCompile Include="..\..\..\..\src\worker\subscribe_manager.cpp" />
+ <ClCompile Include="..\..\..\..\src\worker\worker.cpp" />
+ </ItemGroup>
+ <ItemGroup>
+ <ClInclude Include="..\..\..\..\include\obelisk\client\backend.hpp" />
+ <ClInclude Include="..\..\..\..\include\obelisk\client\blockchain.hpp" />
+ <ClInclude Include="..\..\..\..\include\obelisk\client\interface.hpp" />
+ <ClInclude Include="..\..\..\..\include\obelisk\client\protocol.hpp" />
+ <ClInclude Include="..\..\..\..\include\obelisk\client\transaction_pool.hpp" />
+ <ClInclude Include="..\..\..\..\include\obelisk\message.hpp" />
+ <ClInclude Include="..\..\..\..\include\obelisk\obelisk.hpp" />
+ <ClInclude Include="..\..\..\..\src\client\interface\fetch_x.hpp" />
+ <ClInclude Include="..\..\..\..\src\client\interface\util.hpp" />
+ <ClInclude Include="..\..\..\..\src\worker\config.hpp" />
+ <ClInclude Include="..\..\..\..\src\worker\echo.hpp" />
+ <ClInclude Include="..\..\..\..\src\worker\node_impl.hpp" />
+ <ClInclude Include="..\..\..\..\src\worker\publisher.hpp" />
+ <ClInclude Include="..\..\..\..\src\worker\service\blockchain.hpp" />
+ <ClInclude Include="..\..\..\..\src\worker\service\fetch_x.hpp" />
+ <ClInclude Include="..\..\..\..\src\worker\service\fullnode.hpp" />
+ <ClInclude Include="..\..\..\..\src\worker\service\protocol.hpp" />
+ <ClInclude Include="..\..\..\..\src\worker\service\transaction_pool.hpp" />
+ <ClInclude Include="..\..\..\..\src\worker\service\util.hpp" />
+ <ClInclude Include="..\..\..\..\src\worker\subscribe_manager.hpp" />
+ <ClInclude Include="..\..\..\..\src\worker\worker.hpp" />
+ </ItemGroup>
+ <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
+ <ImportGroup Label="ExtensionTargets" />
+ <ImportGroup Label="ExtensionSettings">
+ <Import Project="..\..\..\..\..\..\nuget\boost.1.55.0.16\build\native\boost.targets" Condition="Exists('..\..\..\..\..\..\nuget\boost.1.55.0.16\build\native\boost.targets')" />
+ <Import Project="..\..\..\..\..\..\nuget\libconfig.1.4.9.2\build\native\package.targets" Condition="Exists('..\..\..\..\..\..\nuget\libconfig.1.4.9.2\build\native\package.targets')" />
+ <Import Project="..\..\..\..\..\..\nuget\openssl.redist.1.0.1.24\build\native\openssl.redist.targets" Condition="Exists('..\..\..\..\..\..\nuget\openssl.redist.1.0.1.24\build\native\openssl.redist.targets')" />
+ <Import Project="..\..\..\..\..\..\nuget\openssl.1.0.1.24\build\native\openssl.targets" Condition="Exists('..\..\..\..\..\..\nuget\openssl.1.0.1.24\build\native\openssl.targets')" />
+ <Import Project="..\..\..\..\..\..\nuget\zlib.redist.1.2.8.6\build\native\zlib.redist.targets" Condition="Exists('..\..\..\..\..\..\nuget\zlib.redist.1.2.8.6\build\native\zlib.redist.targets')" />
+ <Import Project="..\..\..\..\..\..\nuget\zlib.1.2.8.6\build\native\zlib.targets" Condition="Exists('..\..\..\..\..\..\nuget\zlib.1.2.8.6\build\native\zlib.targets')" />
+ </ImportGroup>
+ <Target Name="EnsureNuGetPackageBuildImports" BeforeTargets="PrepareForBuild">
+ <PropertyGroup>
+ <ErrorText>This project references NuGet package(s) that are missing on this computer. Enable NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is {0}.</ErrorText>
+ </PropertyGroup>
+ <Error Condition="!Exists('..\..\..\..\..\..\nuget\libconfig.1.4.9.2\build\native\package.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\..\..\..\..\..\nuget\libconfig.1.4.9.2\build\native\package.targets'))" />
+ <Error Condition="!Exists('..\..\..\..\..\..\nuget\boost.1.55.0.16\build\native\boost.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\..\..\..\..\..\nuget\boost.1.55.0.16\build\native\boost.targets'))" />
+ <Error Condition="!Exists('..\..\..\..\..\..\nuget\openssl.redist.1.0.1.24\build\native\openssl.redist.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\..\..\..\..\..\nuget\openssl.redist.1.0.1.24\build\native\openssl.redist.targets'))" />
+ <Error Condition="!Exists('..\..\..\..\..\..\nuget\openssl.1.0.1.24\build\native\openssl.props')" Text="$([System.String]::Format('$(ErrorText)', '..\..\..\..\..\..\nuget\openssl.1.0.1.24\build\native\openssl.props'))" />
+ <Error Condition="!Exists('..\..\..\..\..\..\nuget\openssl.1.0.1.24\build\native\openssl.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\..\..\..\..\..\nuget\openssl.1.0.1.24\build\native\openssl.targets'))" />
+ <Error Condition="!Exists('..\..\..\..\..\..\nuget\Crc32C.1.0.4\build\native\Crc32C.props')" Text="$([System.String]::Format('$(ErrorText)', '..\..\..\..\..\..\nuget\Crc32C.1.0.4\build\native\Crc32C.props'))" />
+ <Error Condition="!Exists('..\..\..\..\..\..\nuget\Snappy.1.1.1.7\build\native\Snappy.props')" Text="$([System.String]::Format('$(ErrorText)', '..\..\..\..\..\..\nuget\Snappy.1.1.1.7\build\native\Snappy.props'))" />
+ <Error Condition="!Exists('..\..\..\..\..\..\nuget\LevelDB.1.16.0.5\build\native\LevelDB.props')" Text="$([System.String]::Format('$(ErrorText)', '..\..\..\..\..\..\nuget\LevelDB.1.16.0.5\build\native\LevelDB.props'))" />
+ <Error Condition="!Exists('..\..\..\..\..\..\nuget\zlib.redist.1.2.8.6\build\native\zlib.redist.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\..\..\..\..\..\nuget\zlib.redist.1.2.8.6\build\native\zlib.redist.targets'))" />
+ <Error Condition="!Exists('..\..\..\..\..\..\nuget\zlib.1.2.8.6\build\native\zlib.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\..\..\..\..\..\nuget\zlib.1.2.8.6\build\native\zlib.targets'))" />
+ </Target>
+</Project> \ No newline at end of file
diff --git a/builds/msvc/vs2013/obelisk/obelisk.vcxproj.filters b/builds/msvc/vs2013/obelisk/obelisk.vcxproj.filters
new file mode 100644
index 0000000..74381dc
--- /dev/null
+++ b/builds/msvc/vs2013/obelisk/obelisk.vcxproj.filters
@@ -0,0 +1,156 @@
+<?xml version="1.0" encoding="utf-8"?>
+<Project ToolsVersion="12.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
+ <ItemGroup>
+ <None Include="packages.config" />
+ </ItemGroup>
+ <ItemGroup>
+ <Filter Include="src">
+ <UniqueIdentifier>{559ba96f-087f-47ca-a18d-f04da96b961a}</UniqueIdentifier>
+ </Filter>
+ <Filter Include="include">
+ <UniqueIdentifier>{4f4c1fc2-9930-4c62-a158-572bd1e5c542}</UniqueIdentifier>
+ </Filter>
+ <Filter Include="src\worker">
+ <UniqueIdentifier>{82823cc2-0267-4669-985c-48b73fe1a4e5}</UniqueIdentifier>
+ </Filter>
+ <Filter Include="src\worker\service">
+ <UniqueIdentifier>{4fe68349-e5e5-4bd4-b275-b8edf595a296}</UniqueIdentifier>
+ </Filter>
+ <Filter Include="src\client">
+ <UniqueIdentifier>{57e5532d-63a4-44ac-a3a4-016f7eb79c04}</UniqueIdentifier>
+ </Filter>
+ <Filter Include="src\client\interface">
+ <UniqueIdentifier>{0c2d2de9-8e95-4ab4-9be9-163f4f8f01fb}</UniqueIdentifier>
+ </Filter>
+ <Filter Include="include\client">
+ <UniqueIdentifier>{ec10c881-3efc-477c-ba13-c69d398876eb}</UniqueIdentifier>
+ </Filter>
+ </ItemGroup>
+ <ItemGroup>
+ <ClCompile Include="..\..\..\..\src\message.cpp">
+ <Filter>src</Filter>
+ </ClCompile>
+ <ClCompile Include="..\..\..\..\src\worker\config.cpp">
+ <Filter>src\worker</Filter>
+ </ClCompile>
+ <ClCompile Include="..\..\..\..\src\worker\echo.cpp">
+ <Filter>src\worker</Filter>
+ </ClCompile>
+ <ClCompile Include="..\..\..\..\src\worker\main.cpp">
+ <Filter>src\worker</Filter>
+ </ClCompile>
+ <ClCompile Include="..\..\..\..\src\worker\node_impl.cpp">
+ <Filter>src\worker</Filter>
+ </ClCompile>
+ <ClCompile Include="..\..\..\..\src\worker\publisher.cpp">
+ <Filter>src\worker</Filter>
+ </ClCompile>
+ <ClCompile Include="..\..\..\..\src\worker\subscribe_manager.cpp">
+ <Filter>src\worker</Filter>
+ </ClCompile>
+ <ClCompile Include="..\..\..\..\src\worker\worker.cpp">
+ <Filter>src\worker</Filter>
+ </ClCompile>
+ <ClCompile Include="..\..\..\..\src\worker\service\blockchain.cpp">
+ <Filter>src\worker\service</Filter>
+ </ClCompile>
+ <ClCompile Include="..\..\..\..\src\worker\service\fetch_x.cpp">
+ <Filter>src\worker\service</Filter>
+ </ClCompile>
+ <ClCompile Include="..\..\..\..\src\worker\service\fullnode.cpp">
+ <Filter>src\worker\service</Filter>
+ </ClCompile>
+ <ClCompile Include="..\..\..\..\src\worker\service\protocol.cpp">
+ <Filter>src\worker\service</Filter>
+ </ClCompile>
+ <ClCompile Include="..\..\..\..\src\worker\service\transaction_pool.cpp">
+ <Filter>src\worker\service</Filter>
+ </ClCompile>
+ <ClCompile Include="..\..\..\..\src\client\backend.cpp">
+ <Filter>src\client</Filter>
+ </ClCompile>
+ <ClCompile Include="..\..\..\..\src\client\interface\fetch_x.cpp">
+ <Filter>src\client\interface</Filter>
+ </ClCompile>
+ <ClCompile Include="..\..\..\..\src\client\interface\interface.cpp">
+ <Filter>src\client\interface</Filter>
+ </ClCompile>
+ <ClCompile Include="..\..\..\..\src\client\interface\protocol.cpp">
+ <Filter>src\client\interface</Filter>
+ </ClCompile>
+ <ClCompile Include="..\..\..\..\src\client\interface\transaction_pool.cpp">
+ <Filter>src\client\interface</Filter>
+ </ClCompile>
+ <ClCompile Include="..\..\..\..\src\client\interface\blockchain.cpp">
+ <Filter>src\client\interface</Filter>
+ </ClCompile>
+ <ClCompile Include="$(MSBuildThisFileDirectory)..\..\lib\native\src\leveldb-single-file.cpp" />
+ <ClCompile Include="$(MSBuildThisFileDirectory)..\..\lib\native\src\snappy-single-file.cpp" />
+ <ClCompile Include="$(MSBuildThisFileDirectory)..\..\lib\native\src\crc32c.cpp" />
+ </ItemGroup>
+ <ItemGroup>
+ <ClInclude Include="..\..\..\..\src\worker\subscribe_manager.hpp">
+ <Filter>src\worker</Filter>
+ </ClInclude>
+ <ClInclude Include="..\..\..\..\src\worker\worker.hpp">
+ <Filter>src\worker</Filter>
+ </ClInclude>
+ <ClInclude Include="..\..\..\..\src\worker\config.hpp">
+ <Filter>src\worker</Filter>
+ </ClInclude>
+ <ClInclude Include="..\..\..\..\src\worker\echo.hpp">
+ <Filter>src\worker</Filter>
+ </ClInclude>
+ <ClInclude Include="..\..\..\..\src\worker\node_impl.hpp">
+ <Filter>src\worker</Filter>
+ </ClInclude>
+ <ClInclude Include="..\..\..\..\src\worker\publisher.hpp">
+ <Filter>src\worker</Filter>
+ </ClInclude>
+ <ClInclude Include="..\..\..\..\src\worker\service\util.hpp">
+ <Filter>src\worker\service</Filter>
+ </ClInclude>
+ <ClInclude Include="..\..\..\..\src\worker\service\blockchain.hpp">
+ <Filter>src\worker\service</Filter>
+ </ClInclude>
+ <ClInclude Include="..\..\..\..\src\worker\service\fetch_x.hpp">
+ <Filter>src\worker\service</Filter>
+ </ClInclude>
+ <ClInclude Include="..\..\..\..\src\worker\service\fullnode.hpp">
+ <Filter>src\worker\service</Filter>
+ </ClInclude>
+ <ClInclude Include="..\..\..\..\src\worker\service\protocol.hpp">
+ <Filter>src\worker\service</Filter>
+ </ClInclude>
+ <ClInclude Include="..\..\..\..\src\worker\service\transaction_pool.hpp">
+ <Filter>src\worker\service</Filter>
+ </ClInclude>
+ <ClInclude Include="..\..\..\..\src\client\interface\fetch_x.hpp">
+ <Filter>src\client\interface</Filter>
+ </ClInclude>
+ <ClInclude Include="..\..\..\..\src\client\interface\util.hpp">
+ <Filter>src\client\interface</Filter>
+ </ClInclude>
+ <ClInclude Include="..\..\..\..\include\obelisk\obelisk.hpp">
+ <Filter>include</Filter>
+ </ClInclude>
+ <ClInclude Include="..\..\..\..\include\obelisk\message.hpp">
+ <Filter>include</Filter>
+ </ClInclude>
+ <ClInclude Include="..\..\..\..\include\obelisk\client\blockchain.hpp">
+ <Filter>include\client</Filter>
+ </ClInclude>
+ <ClInclude Include="..\..\..\..\include\obelisk\client\interface.hpp">
+ <Filter>include\client</Filter>
+ </ClInclude>
+ <ClInclude Include="..\..\..\..\include\obelisk\client\protocol.hpp">
+ <Filter>include\client</Filter>
+ </ClInclude>
+ <ClInclude Include="..\..\..\..\include\obelisk\client\transaction_pool.hpp">
+ <Filter>include\client</Filter>
+ </ClInclude>
+ <ClInclude Include="..\..\..\..\include\obelisk\client\backend.hpp">
+ <Filter>include\client</Filter>
+ </ClInclude>
+ </ItemGroup>
+</Project> \ No newline at end of file
diff --git a/builds/msvc/vs2013/obelisk/packages.config b/builds/msvc/vs2013/obelisk/packages.config
new file mode 100644
index 0000000..2567b4f
--- /dev/null
+++ b/builds/msvc/vs2013/obelisk/packages.config
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="utf-8"?>
+<packages>
+ <package id="boost" version="1.55.0.16" targetFramework="Native" />
+ <package id="Crc32C" version="1.0.4" targetFramework="Native" />
+ <package id="LevelDB" version="1.16.0.5" targetFramework="Native" />
+ <package id="libconfig" version="1.4.9.2" targetFramework="Native" />
+ <package id="openssl" version="1.0.1.24" targetFramework="Native" />
+ <package id="openssl.redist" version="1.0.1.24" targetFramework="Native" />
+ <package id="Snappy" version="1.1.1.7" targetFramework="Native" />
+ <package id="zlib" version="1.2.8.6" targetFramework="Native" />
+ <package id="zlib.redist" version="1.2.8.6" targetFramework="Native" />
+</packages> \ No newline at end of file
diff --git a/builds/msvc/vs2013/properties/Common.props b/builds/msvc/vs2013/properties/Common.props
new file mode 100644
index 0000000..9001a91
--- /dev/null
+++ b/builds/msvc/vs2013/properties/Common.props
@@ -0,0 +1,22 @@
+<?xml version="1.0" encoding="utf-8"?>
+<Project DefaultTargets="Build" ToolsVersion="12.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
+
+ <PropertyGroup>
+ <_ProjectFileVersion>10.0.40219.1</_ProjectFileVersion>
+ <_PropertySheetDisplayName>Common Settings</_PropertySheetDisplayName>
+ <CharacterSet>Unicode</CharacterSet>
+ <TargetName>$(ProjectName)</TargetName>
+ </PropertyGroup>
+
+ <ItemDefinitionGroup>
+ <ClCompile>
+ <DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
+ <MultiProcessorCompilation>true</MultiProcessorCompilation>
+ <WarningLevel>Level3</WarningLevel>
+ </ClCompile>
+ <Link>
+ <GenerateDebugInformation>true</GenerateDebugInformation>
+ </Link>
+ </ItemDefinitionGroup>
+
+</Project> \ No newline at end of file
diff --git a/builds/msvc/vs2013/properties/Debug.props b/builds/msvc/vs2013/properties/Debug.props
new file mode 100644
index 0000000..98eb2d0
--- /dev/null
+++ b/builds/msvc/vs2013/properties/Debug.props
@@ -0,0 +1,29 @@
+<?xml version="1.0" encoding="utf-8"?>
+<Project DefaultTargets="Build" ToolsVersion="12.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
+
+ <PropertyGroup>
+ <_ProjectFileVersion>10.0.40219.1</_ProjectFileVersion>
+ <_PropertySheetDisplayName>Debug Configuration</_PropertySheetDisplayName>
+ <!-- RootNamespace is used to deconflict output files from differing project versions. -->
+ <IntDir>$(ProjectDir)..\..\..\..\obj\$(PlatformName)\Debug\$(RootNamespace)\</IntDir>
+ <OutDir>$(ProjectDir)..\..\..\..\bin\$(PlatformName)\Debug\$(RootNamespace)\</OutDir>
+ <LinkIncremental>true</LinkIncremental>
+ </PropertyGroup>
+
+ <ItemDefinitionGroup>
+ <ClCompile>
+ <BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks>
+ <DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
+ <FunctionLevelLinking>true</FunctionLevelLinking>
+ <Optimization>Disabled</Optimization>
+ <PreprocessorDefinitions>_DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
+ </ClCompile>
+ <ResourceCompile>
+ <PreprocessorDefinitions>_DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
+ </ResourceCompile>
+ <Link>
+ <ImportLibrary>$(ProjectDir)..\..\..\..\bin\$(PlatformName)\Debug\$(RootNamespace)\$(TargetName).imp.lib</ImportLibrary>
+ </Link>
+ </ItemDefinitionGroup>
+
+</Project> \ No newline at end of file
diff --git a/builds/msvc/vs2013/properties/Dynamic.props b/builds/msvc/vs2013/properties/Dynamic.props
new file mode 100644
index 0000000..8f57f13
--- /dev/null
+++ b/builds/msvc/vs2013/properties/Dynamic.props
@@ -0,0 +1,19 @@
+<?xml version="1.0" encoding="utf-8"?>
+<Project DefaultTargets="Build" ToolsVersion="12.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
+
+ <ImportGroup Label="PropertySheets">
+ <Import Project="Common.props" />
+ </ImportGroup>
+
+ <PropertyGroup>
+ <_ProjectFileVersion>10.0.40219.1</_ProjectFileVersion>
+ <_PropertySheetDisplayName>Dynamic Library</_PropertySheetDisplayName>
+ </PropertyGroup>
+
+ <ItemDefinitionGroup>
+ <ClCompile>
+ <PreprocessorDefinitions>_DLL;_WINDLL;%(PreprocessorDefinitions)</PreprocessorDefinitions>
+ </ClCompile>
+ </ItemDefinitionGroup>
+
+</Project> \ No newline at end of file
diff --git a/builds/msvc/vs2013/properties/DynamicDebug.props b/builds/msvc/vs2013/properties/DynamicDebug.props
new file mode 100644
index 0000000..81befdc
--- /dev/null
+++ b/builds/msvc/vs2013/properties/DynamicDebug.props
@@ -0,0 +1,21 @@
+<?xml version="1.0" encoding="utf-8"?>
+<Project DefaultTargets="Build" ToolsVersion="12.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
+
+ <ImportGroup Label="PropertySheets">
+ <Import Project="Dynamic.props" />
+ <Import Project="Debug.props" />
+ </ImportGroup>
+
+ <PropertyGroup>
+ <_ProjectFileVersion>10.0.40219.1</_ProjectFileVersion>
+ <_PropertySheetDisplayName>Dynamic Debug Library</_PropertySheetDisplayName>
+ </PropertyGroup>
+
+ <ItemDefinitionGroup>
+ <ClCompile>
+ <!-- Linking CRT dynamically when building a dynamic library is conventional. -->
+ <RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary>
+ </ClCompile>
+ </ItemDefinitionGroup>
+
+</Project> \ No newline at end of file
diff --git a/builds/msvc/vs2013/properties/DynamicRelease.props b/builds/msvc/vs2013/properties/DynamicRelease.props
new file mode 100644
index 0000000..1b1de61
--- /dev/null
+++ b/builds/msvc/vs2013/properties/DynamicRelease.props
@@ -0,0 +1,21 @@
+<?xml version="1.0" encoding="utf-8"?>
+<Project DefaultTargets="Build" ToolsVersion="12.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
+
+ <ImportGroup Label="PropertySheets">
+ <Import Project="Dynamic.props" />
+ <Import Project="Release.props" />
+ </ImportGroup>
+
+ <PropertyGroup>
+ <_ProjectFileVersion>10.0.40219.1</_ProjectFileVersion>
+ <_PropertySheetDisplayName>Dynamic Release Library</_PropertySheetDisplayName>
+ </PropertyGroup>
+
+ <ItemDefinitionGroup>
+ <ClCompile>
+ <!-- Linking CRT dynamically when building a dynamic library is conventional. -->
+ <RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary>
+ </ClCompile>
+ </ItemDefinitionGroup>
+
+</Project> \ No newline at end of file
diff --git a/builds/msvc/vs2013/properties/LinkTimeCodeGeneration.props b/builds/msvc/vs2013/properties/LinkTimeCodeGeneration.props
new file mode 100644
index 0000000..338a970
--- /dev/null
+++ b/builds/msvc/vs2013/properties/LinkTimeCodeGeneration.props
@@ -0,0 +1,21 @@
+<?xml version="1.0" encoding="utf-8"?>
+<Project DefaultTargets="Build" ToolsVersion="12.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
+
+ <PropertyGroup>
+ <_ProjectFileVersion>10.0.40219.1</_ProjectFileVersion>
+ <_PropertySheetDisplayName>Link Time Code Generation Library</_PropertySheetDisplayName>
+ </PropertyGroup>
+
+ <ItemDefinitionGroup>
+ <ClCompile>
+ <WholeProgramOptimization>true</WholeProgramOptimization>
+ </ClCompile>
+ <Link>
+ <LinkTimeCodeGeneration>UseLinkTimeCodeGeneration</LinkTimeCodeGeneration>
+ </Link>
+ <Lib>
+ <LinkTimeCodeGeneration>true</LinkTimeCodeGeneration>
+ </Lib>
+ </ItemDefinitionGroup>
+
+</Project> \ No newline at end of file
diff --git a/builds/msvc/vs2013/properties/Release.props b/builds/msvc/vs2013/properties/Release.props
new file mode 100644
index 0000000..8717c40
--- /dev/null
+++ b/builds/msvc/vs2013/properties/Release.props
@@ -0,0 +1,40 @@
+<?xml version="1.0" encoding="utf-8"?>
+<Project DefaultTargets="Build" ToolsVersion="12.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
+
+ <PropertyGroup>
+ <_ProjectFileVersion>10.0.40219.1</_ProjectFileVersion>
+ <_PropertySheetDisplayName>Release Configuration</_PropertySheetDisplayName>
+ <!-- RootNamespace is used to deconflict output files from differing project versions. -->
+ <IntDir>$(ProjectDir)..\..\..\..\obj\$(PlatformName)\Release\$(RootNamespace)\</IntDir>
+ <OutDir>$(ProjectDir)..\..\..\..\bin\$(PlatformName)\Release\$(RootNamespace)\</OutDir>
+ <LinkIncremental>false</LinkIncremental>
+ </PropertyGroup>
+
+ <ItemDefinitionGroup>
+ <ClCompile>
+ <AdditionalOptions>/Oy- %(AdditionalOptions)</AdditionalOptions>
+ <DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
+ <FunctionLevelLinking>true</FunctionLevelLinking>
+ <IntrinsicFunctions>true</IntrinsicFunctions>
+ <InlineFunctionExpansion>OnlyExplicitInline</InlineFunctionExpansion>
+ <MinimalRebuild>false</MinimalRebuild>
+ <Optimization>MaxSpeed</Optimization>
+ <PreprocessorDefinitions>NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
+ </ClCompile>
+ <ResourceCompile>
+ <PreprocessorDefinitions>NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
+ </ResourceCompile>
+ <Link>
+ <EnableCOMDATFolding>true</EnableCOMDATFolding>
+ <ImportLibrary>$(ProjectDir)..\..\..\..\bin\$(PlatformName)\Release\$(RootNamespace)\$(TargetName).imp.lib</ImportLibrary>
+ <OptimizeReferences>true</OptimizeReferences>
+ </Link>
+ </ItemDefinitionGroup>
+
+ <ItemDefinitionGroup Condition="'$(Platform)'=='Win32'">
+ <ClCompile>
+ <EnableEnhancedInstructionSet>StreamingSIMDExtensions2</EnableEnhancedInstructionSet>
+ </ClCompile>
+ </ItemDefinitionGroup>
+
+</Project> \ No newline at end of file
diff --git a/builds/msvc/vs2013/properties/Static.props b/builds/msvc/vs2013/properties/Static.props
new file mode 100644
index 0000000..9b30a13
--- /dev/null
+++ b/builds/msvc/vs2013/properties/Static.props
@@ -0,0 +1,19 @@
+<?xml version="1.0" encoding="utf-8"?>
+<Project DefaultTargets="Build" ToolsVersion="12.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
+
+ <ImportGroup Label="PropertySheets">
+ <Import Project="Common.props" />
+ </ImportGroup>
+
+ <PropertyGroup>
+ <_ProjectFileVersion>10.0.40219.1</_ProjectFileVersion>
+ <_PropertySheetDisplayName>Static Library</_PropertySheetDisplayName>
+ </PropertyGroup>
+
+ <ItemDefinitionGroup>
+ <ClCompile>
+ <PreprocessorDefinitions>_LIB;%(PreprocessorDefinitions)</PreprocessorDefinitions>
+ </ClCompile>
+ </ItemDefinitionGroup>
+
+</Project> \ No newline at end of file
diff --git a/builds/msvc/vs2013/properties/StaticDebug.props b/builds/msvc/vs2013/properties/StaticDebug.props
new file mode 100644
index 0000000..f0693f1
--- /dev/null
+++ b/builds/msvc/vs2013/properties/StaticDebug.props
@@ -0,0 +1,21 @@
+<?xml version="1.0" encoding="utf-8"?>
+<Project DefaultTargets="Build" ToolsVersion="12.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
+
+ <ImportGroup Label="PropertySheets">
+ <Import Project="Static.props" />
+ <Import Project="Debug.props" />
+ </ImportGroup>
+
+ <PropertyGroup>
+ <_ProjectFileVersion>10.0.40219.1</_ProjectFileVersion>
+ <_PropertySheetDisplayName>Static Debug Library</_PropertySheetDisplayName>
+ </PropertyGroup>
+
+ <ItemDefinitionGroup>
+ <ClCompile>
+ <!-- Linking CRT statically when building a static library is conventional. -->
+ <RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary>
+ </ClCompile>
+ </ItemDefinitionGroup>
+
+</Project> \ No newline at end of file
diff --git a/builds/msvc/vs2013/properties/StaticDebugLinkTimeCodeGeneration.props b/builds/msvc/vs2013/properties/StaticDebugLinkTimeCodeGeneration.props
new file mode 100644
index 0000000..a57b7de
--- /dev/null
+++ b/builds/msvc/vs2013/properties/StaticDebugLinkTimeCodeGeneration.props
@@ -0,0 +1,18 @@
+<?xml version="1.0" encoding="utf-8"?>
+<Project DefaultTargets="Build" ToolsVersion="12.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
+
+ <ImportGroup Label="PropertySheets">
+ <Import Project="StaticLinkTimeCodeGeneration.props" />
+ <Import Project="Debug.props" />
+ </ImportGroup>
+
+ <PropertyGroup>
+ <_ProjectFileVersion>10.0.40219.1</_ProjectFileVersion>
+ <_PropertySheetDisplayName>Static Debug Link Time Code Generation Library</_PropertySheetDisplayName>
+
+ <!-- This overrides Debug.props->LinkIncremental and therefore
+ this reference must always be set after Debug.props is included. -->
+ <LinkIncremental>false</LinkIncremental>
+ </PropertyGroup>
+
+</Project> \ No newline at end of file
diff --git a/builds/msvc/vs2013/properties/StaticLinkTimeCodeGeneration.props b/builds/msvc/vs2013/properties/StaticLinkTimeCodeGeneration.props
new file mode 100644
index 0000000..8009311
--- /dev/null
+++ b/builds/msvc/vs2013/properties/StaticLinkTimeCodeGeneration.props
@@ -0,0 +1,18 @@
+<?xml version="1.0" encoding="utf-8"?>
+<Project DefaultTargets="Build" ToolsVersion="12.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
+
+ <ImportGroup Label="PropertySheets">
+ <Import Project="Static.props" />
+ <Import Project="LinkTimeCodeGeneration.props" />
+ </ImportGroup>
+
+ <PropertyGroup>
+ <_ProjectFileVersion>10.0.40219.1</_ProjectFileVersion>
+ <_PropertySheetDisplayName>Static Link Time Code Generation Library</_PropertySheetDisplayName>
+
+ <!-- This overrides Static.props->Common.props->TargetName and therefore this
+ reference must always be set after Static.props->Common.props is included. -->
+ <TargetName>$(TargetName).ltcg</TargetName>
+ </PropertyGroup>
+
+</Project> \ No newline at end of file
diff --git a/builds/msvc/vs2013/properties/StaticRelease.props b/builds/msvc/vs2013/properties/StaticRelease.props
new file mode 100644
index 0000000..d7a6058
--- /dev/null
+++ b/builds/msvc/vs2013/properties/StaticRelease.props
@@ -0,0 +1,21 @@
+<?xml version="1.0" encoding="utf-8"?>
+<Project DefaultTargets="Build" ToolsVersion="12.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
+
+ <ImportGroup Label="PropertySheets">
+ <Import Project="Static.props" />
+ <Import Project="Release.props" />
+ </ImportGroup>
+
+ <PropertyGroup>
+ <_ProjectFileVersion>10.0.40219.1</_ProjectFileVersion>
+ <_PropertySheetDisplayName>Static Release Library</_PropertySheetDisplayName>
+ </PropertyGroup>
+
+ <ItemDefinitionGroup>
+ <ClCompile>
+ <!-- Linking CRT statically when building a static library is conventional. -->
+ <RuntimeLibrary>MultiThreaded</RuntimeLibrary>
+ </ClCompile>
+ </ItemDefinitionGroup>
+
+</Project> \ No newline at end of file
diff --git a/builds/msvc/vs2013/properties/StaticReleaseLinkTimeCodeGeneration.props b/builds/msvc/vs2013/properties/StaticReleaseLinkTimeCodeGeneration.props
new file mode 100644
index 0000000..efb1192
--- /dev/null
+++ b/builds/msvc/vs2013/properties/StaticReleaseLinkTimeCodeGeneration.props
@@ -0,0 +1,14 @@
+<?xml version="1.0" encoding="utf-8"?>
+<Project DefaultTargets="Build" ToolsVersion="12.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
+
+ <ImportGroup Label="PropertySheets">
+ <Import Project="StaticLinkTimeCodeGeneration.props" />
+ <Import Project="Release.props" />
+ </ImportGroup>
+
+ <PropertyGroup>
+ <_ProjectFileVersion>10.0.40219.1</_ProjectFileVersion>
+ <_PropertySheetDisplayName>Static Release Link Time Code Generation Library</_PropertySheetDisplayName>
+ </PropertyGroup>
+
+</Project> \ No newline at end of file
diff --git a/builds/msvc/vs2013/properties/Win32.props b/builds/msvc/vs2013/properties/Win32.props
new file mode 100644
index 0000000..bc64e84
--- /dev/null
+++ b/builds/msvc/vs2013/properties/Win32.props
@@ -0,0 +1,21 @@
+<?xml version="1.0" encoding="utf-8"?>
+<Project DefaultTargets="Build" ToolsVersion="12.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
+
+ <PropertyGroup>
+ <_ProjectFileVersion>10.0.40219.1</_ProjectFileVersion>
+ <_PropertySheetDisplayName>Win32 Settings</_PropertySheetDisplayName>
+ </PropertyGroup>
+
+ <ItemDefinitionGroup>
+ <ClCompile>
+ <PreprocessorDefinitions>WIN32;_WIN32;%(PreprocessorDefinitions)</PreprocessorDefinitions>
+ </ClCompile>
+ <Link>
+ <TargetMachine>MachineX86</TargetMachine>
+ </Link>
+ <Lib>
+ <AdditionalOptions>/MACHINE:X86 %(AdditionalOptions)</AdditionalOptions>
+ </Lib>
+ </ItemDefinitionGroup>
+
+</Project> \ No newline at end of file
diff --git a/builds/msvc/vs2013/properties/x64.props b/builds/msvc/vs2013/properties/x64.props
new file mode 100644
index 0000000..8c736a1
--- /dev/null
+++ b/builds/msvc/vs2013/properties/x64.props
@@ -0,0 +1,22 @@
+<?xml version="1.0" encoding="utf-8"?>
+<Project DefaultTargets="Build" ToolsVersion="12.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
+
+ <PropertyGroup>
+ <_ProjectFileVersion>10.0.40219.1</_ProjectFileVersion>
+ <_PropertySheetDisplayName>x64 Settings</_PropertySheetDisplayName>
+ </PropertyGroup>
+
+ <ItemDefinitionGroup>
+ <ClCompile>
+ <!-- Note that Win64 defines may cause WIN32 to become defined when using windows headers (Win32 implies any windows). -->
+ <PreprocessorDefinitions>WIN64;_WIN64;%(PreprocessorDefinitions)</PreprocessorDefinitions>
+ </ClCompile>
+ <Link>
+ <TargetMachine>MachineX64</TargetMachine>
+ </Link>
+ <Lib>
+ <AdditionalOptions>/MACHINE:X64 %(AdditionalOptions)</AdditionalOptions>
+ </Lib>
+ </ItemDefinitionGroup>
+
+</Project> \ No newline at end of file
diff --git a/src/worker/config.cpp b/src/worker/config.cpp
index 4cf2285..a453fa0 100644
--- a/src/worker/config.cpp
+++ b/src/worker/config.cpp
@@ -11,7 +11,7 @@ void load_nodes(const libconfig::Setting& root, config_type& config)
try
{
const libconfig::Setting& setting = root["nodes"];
- for (size_t i = 0; i < setting.getLength(); ++i)
+ for (int i = 0; i < setting.getLength(); ++i)
{
const libconfig::Setting& node_setting = setting[i];
node_config_object node;
@@ -32,7 +32,7 @@ void load_whitelist(const libconfig::Setting& root, config_type& config)
try
{
const libconfig::Setting& setting = root["whitelist"];
- for (size_t i = 0; i < setting.getLength(); ++i)
+ for (int i = 0; i < setting.getLength(); ++i)
{
std::string address = (const char*)setting[i];
config.whitelist.push_back(address);
diff --git a/src/worker/config.hpp b/src/worker/config.hpp
index 2cc61a3..f88166a 100644
--- a/src/worker/config.hpp
+++ b/src/worker/config.hpp
@@ -4,6 +4,7 @@
#include <map>
#include <string>
#include <vector>
+#include <stdint.h>
namespace obelisk {
diff --git a/src/worker/main.cpp b/src/worker/main.cpp
index 9f93a82..701fd25 100644
--- a/src/worker/main.cpp
+++ b/src/worker/main.cpp
@@ -1,5 +1,6 @@
#include <boost/filesystem.hpp>
#include <obelisk/message.hpp>
+#include <bitcoin/bitcoin.hpp>
#include <signal.h>
#include "echo.hpp"
#include "worker.hpp"
@@ -15,6 +16,7 @@ using namespace bc;
using namespace obelisk;
using std::placeholders::_1;
using std::placeholders::_2;
+using boost::filesystem::path;
bool stopped = false;
void interrupt_handler(int)
@@ -23,6 +25,26 @@ void interrupt_handler(int)
stopped = true;
}
+#ifdef _WIN32
+#include <shlobj.h>
+#include <windows.h>
+const wchar_t* system_config_directory()
+{
+ wchar_t app_data_path[MAX_PATH];
+ auto result = SHGetFolderPathW(NULL, CSIDL_COMMON_APPDATA, NULL,
+ SHGFP_TYPE_CURRENT, app_data_path);
+
+ // fix
+ return SUCCEEDED(result) ? app_data_path : nullptr;
+}
+#else
+const char* system_config_directory()
+{
+ // verify
+ return SYSCONFDIR;
+}
+#endif
+
int main(int argc, char** argv)
{
config_type config;
@@ -30,9 +52,8 @@ int main(int argc, char** argv)
load_config(config, argv[1]);
else
{
- using boost::filesystem::path;
- path conf_filename = path(SYSCONFDIR) / "obelisk" / "worker.cfg";
- load_config(config, conf_filename.native());
+ path conf_filename = path(system_config_directory()) / "obelisk" / "worker.cfg";
+ load_config(config, conf_filename.generic_string());
}
echo() << "Press CTRL-C to shut down.";
// Create worker.
diff --git a/src/worker/service/fetch_x.cpp b/src/worker/service/fetch_x.cpp
index d733bac..90e8eed 100644
--- a/src/worker/service/fetch_x.cpp
+++ b/src/worker/service/fetch_x.cpp
@@ -52,6 +52,9 @@ bool send_history_result(const std::error_code& ec,
// << "*.fetch_history() finished. Sending response.";
outgoing_message response(request, result);
queue_send(response);
+
+ // Must return a value - what should it be?
+ return false;
}
// fetch_transaction stuff