Browse Source

Merge branch 'develop' into webthree

Conflicts:
	libethereum/Client.cpp
	libethereum/EthereumHost.cpp
	libethereum/EthereumHost.h
cl-refactor
Gav Wood 10 years ago
parent
commit
3879de9777
  1. 10
      libdevcore/FixedHash.h
  2. 58
      libdevcore/RLP.h
  3. 10
      libdevcore/_libdevcore.cpp
  4. 10
      libethcore/All.h
  5. 6
      libethcore/_libethcore.cpp
  6. 2
      libethereum/Client.h
  7. 3
      libethereum/CommonNet.cpp
  8. 38
      libethereum/EthereumHost.cpp
  9. 3
      libethereum/EthereumHost.h
  10. 14
      libethereum/EthereumPeer.cpp
  11. 3
      libethereum/EthereumPeer.h
  12. 3
      libethereum/Interface.cpp
  13. 46
      libethereum/Miner.cpp
  14. 5
      libethereum/Miner.h
  15. 3
      libethereum/PastMessage.cpp
  16. 6
      libevm/VM.h
  17. 6
      libevm/_libevm.cpp
  18. 261
      libevmface/Instruction.h
  19. 2
      libp2p/Host.h
  20. 22
      libp2p/Session.cpp
  21. 3
      libp2p/Session.h
  22. 9
      libp2p/_libp2p.cpp
  23. 2
      libwhisper/Common.h
  24. 2
      libwhisper/WhisperPeer.h
  25. 5
      libwhisper/_libwhisper.cpp
  26. 355
      windows/LibEthereum.vcxproj
  27. 363
      windows/LibEthereum.vcxproj.filters

10
libdevcore/FixedHash.h

@ -217,6 +217,16 @@ inline h160 left160(h256 const& _t)
return ret; return ret;
} }
inline std::string toString(h256s const& _bs)
{
std::ostringstream out;
out << "[ ";
for (auto i: _bs)
out << i.abridged() << ", ";
out << "]";
return out.str();
}
} }
namespace std namespace std

58
libdevcore/RLP.h

@ -160,7 +160,6 @@ public:
explicit operator std::string() const { return toString(); } explicit operator std::string() const { return toString(); }
explicit operator RLPs() const { return toList(); } explicit operator RLPs() const { return toList(); }
explicit operator byte() const { return toInt<byte>(); } explicit operator byte() const { return toInt<byte>(); }
explicit operator unsigned() const { return toInt<unsigned>(); }
explicit operator u256() const { return toInt<u256>(); } explicit operator u256() const { return toInt<u256>(); }
explicit operator bigint() const { return toInt<bigint>(); } explicit operator bigint() const { return toInt<bigint>(); }
template <unsigned _N> explicit operator FixedHash<_N>() const { return toHash<FixedHash<_N>>(); } template <unsigned _N> explicit operator FixedHash<_N>() const { return toHash<FixedHash<_N>>(); }
@ -178,10 +177,59 @@ public:
/// Converts to string. @throws BadCast if not a string. /// Converts to string. @throws BadCast if not a string.
std::string toStringStrict() const { if (!isData()) throw BadCast(); return payload().cropped(0, length()).toString(); } std::string toStringStrict() const { if (!isData()) throw BadCast(); return payload().cropped(0, length()).toString(); }
template <class T> std::vector<T> toVector() const { std::vector<T> ret; if (isList()) { ret.reserve(itemCount()); for (auto const& i: *this) ret.push_back((T)i); } return ret; } template <class T>
template <class T> std::set<T> toSet() const { std::set<T> ret; if (isList()) { for (auto const& i: *this) ret.insert((T)i); } return ret; } std::vector<T> toVector() const
template <class T, class U> std::pair<T, U> toPair() const { std::pair<T, U> ret; if (isList()) { ret.first = (T)((*this)[0]); ret.second = (U)((*this)[1]); } return ret; } {
template <class T, size_t N> std::array<T, N> toArray() const { if (itemCount() != N || !isList()) throw BadCast(); std::array<T, N> ret; for (unsigned i = 0; i < N; ++i) ret[i] = (T)operator[](i); return ret; } std::vector<T> ret;
if (isList())
{
ret.reserve(itemCount());
for (auto const& i: *this)
{
ret.push_back((T)i);
}
}
return ret;
}
template <class T>
std::set<T> toSet() const
{
std::set<T> ret;
if (isList())
{
for (auto const& i: *this)
{
ret.insert((T)i);
}
}
return ret;
}
template <class T, class U>
std::pair<T, U> toPair() const
{
std::pair<T, U> ret;
if (isList())
{
ret.first = (T)(*this)[0];
ret.second = (U)(*this)[1];
}
return ret;
}
template <class T, size_t N>
std::array<T, N> toArray() const
{
if (itemCount() != N || !isList())
throw BadCast();
std::array<T, N> ret;
for (unsigned i = 0; i < N; ++i)
{
ret[i] = (T)operator[](i);
}
return ret;
}
/// Int conversion flags /// Int conversion flags
enum enum

10
libdevcore/_libdevcore.cpp

@ -0,0 +1,10 @@
#ifdef _MSC_VER
#include "All.h"
#include "Common.cpp"
#include "CommonData.cpp"
#include "CommonIO.cpp"
#include "FixedHash.cpp"
#include "Guards.cpp"
#include "Log.cpp"
#include "RLP.cpp"
#endif

10
libethcore/All.h

@ -3,10 +3,6 @@
#include "BlockInfo.h" #include "BlockInfo.h"
#include "CommonEth.h" #include "CommonEth.h"
#include "Dagger.h" #include "Dagger.h"
#include "FileSystem.h" #include "CryptoHeaders.h"
#include "MemoryDB.h" #include "Exceptions.h"
#include "OverlayDB.h"
#include "SHA3.h"
#include "TrieCommon.h"
#include "TrieDB.h"
#include "UPnP.h"

6
libethcore/_libethcore.cpp

@ -0,0 +1,6 @@
#ifdef _MSC_VER
#include "All.h"
#include "BlockInfo.cpp"
#include "CommonEth.cpp"
#include "Dagger.cpp"
#endif

2
libethereum/Client.h

@ -202,7 +202,7 @@ public:
/// Should we force mining to happen, even without transactions? /// Should we force mining to happen, even without transactions?
bool forceMining() const { return m_forceMining; } bool forceMining() const { return m_forceMining; }
/// Enable/disable forcing of mining to happen, even without transactions. /// Enable/disable forcing of mining to happen, even without transactions.
void setForceMining(bool _enable) { m_forceMining = _enable; } void setForceMining(bool _enable);
/// Are we mining as fast as we can? /// Are we mining as fast as we can?
bool turboMining() const { return m_turboMining; } bool turboMining() const { return m_turboMining; }
/// Enable/disable fast mining. /// Enable/disable fast mining.

3
libethereum/CommonNet.cpp

@ -23,3 +23,6 @@
using namespace std; using namespace std;
using namespace dev; using namespace dev;
using namespace dev::eth; using namespace dev::eth;
#pragma GCC diagnostic ignored "-Wunused-variable"
namespace { char dummy; };

38
libethereum/EthereumHost.cpp

@ -148,26 +148,30 @@ void EthereumHost::maintainTransactions(TransactionQueue& _tq, h256 _currentHash
for (auto const& p: peers()) for (auto const& p: peers())
{ {
auto ep = p->cap<EthereumPeer>(); auto ep = p->cap<EthereumPeer>();
bytes b; if (ep)
unsigned n = 0; {
for (auto const& i: _tq.transactions()) bytes b;
if ((!m_transactionsSent.count(i.first) && !ep->m_knownTransactions.count(i.first)) || ep->m_requireTransactions || resendAll) unsigned n = 0;
for (auto const& i: _tq.transactions())
if ((!m_transactionsSent.count(i.first) && !ep->m_knownTransactions.count(i.first)) || ep->m_requireTransactions || resendAll)
{
b += i.second;
++n;
m_transactionsSent.insert(i.first);
}
ep->clearKnownTransactions();
if (n)
{ {
b += i.second; RLPStream ts;
++n; EthereumPeer::prep(ts);
m_transactionsSent.insert(i.first); ts.appendList(n + 1) << TransactionsPacket;
ts.appendRaw(b, n).swapOut(b);
seal(b);
ep->send(&b);
} }
if (n) ep->m_requireTransactions = false;
{
RLPStream ts;
EthereumPeer::prep(ts);
ts.appendList(n + 1) << TransactionsPacket;
ts.appendRaw(b, n).swapOut(b);
seal(b);
ep->send(&b);
} }
ep->m_knownTransactions.clear();
ep->m_requireTransactions = false;
} }
} }

3
libethereum/EthereumHost.h

@ -197,6 +197,9 @@ private:
/// Sync with the BlockChain. It might contain one of our mined blocks, we might have new candidates from the network. /// Sync with the BlockChain. It might contain one of our mined blocks, we might have new candidates from the network.
void doWork(); void doWork();
/// Called by peer to add incoming transactions.
void addIncomingTransaction(bytes const& _bytes) { std::lock_guard<std::recursive_mutex> l(m_incomingLock); m_incomingTransactions.push_back(_bytes); }
void maintainTransactions(TransactionQueue& _tq, h256 _currentBlock); void maintainTransactions(TransactionQueue& _tq, h256 _currentBlock);
void maintainBlocks(BlockQueue& _bq, h256 _currentBlock); void maintainBlocks(BlockQueue& _bq, h256 _currentBlock);

14
libethereum/EthereumPeer.cpp

@ -91,16 +91,6 @@ void EthereumPeer::startInitialSync()
} }
} }
inline string toString(h256s const& _bs)
{
ostringstream out;
out << "[ ";
for (auto i: _bs)
out << i.abridged() << ", ";
out << "]";
return out.str();
}
void EthereumPeer::giveUpOnFetch() void EthereumPeer::giveUpOnFetch()
{ {
clogS(NetNote) << "GIVE UP FETCH; can't get" << toString(m_askedBlocks); clogS(NetNote) << "GIVE UP FETCH; can't get" << toString(m_askedBlocks);
@ -154,7 +144,9 @@ bool EthereumPeer::interpret(RLP const& _r)
lock_guard<recursive_mutex> l(host()->m_incomingLock); lock_guard<recursive_mutex> l(host()->m_incomingLock);
for (unsigned i = 1; i < _r.itemCount(); ++i) for (unsigned i = 1; i < _r.itemCount(); ++i)
{ {
host()->m_incomingTransactions.push_back(_r[i].data().toBytes()); host()->addIncomingTransaction(_r[i].data().toBytes());
lock_guard<mutex> l(x_knownTransactions);
m_knownTransactions.insert(sha3(_r[i].data())); m_knownTransactions.insert(sha3(_r[i].data()));
} }
break; break;

3
libethereum/EthereumPeer.h

@ -68,6 +68,8 @@ private:
void giveUpOnFetch(); void giveUpOnFetch();
void clearKnownTransactions() { std::lock_guard<std::mutex> l(x_knownTransactions); m_knownTransactions.clear(); }
unsigned m_protocolVersion; unsigned m_protocolVersion;
u256 m_networkId; u256 m_networkId;
@ -84,6 +86,7 @@ private:
Mutex x_knownBlocks; Mutex x_knownBlocks;
std::set<h256> m_knownBlocks; std::set<h256> m_knownBlocks;
std::set<h256> m_knownTransactions; std::set<h256> m_knownTransactions;
std::mutex x_knownTransactions;
}; };
} }

3
libethereum/Interface.cpp

@ -20,3 +20,6 @@
*/ */
#include "Interface.h" #include "Interface.h"
#pragma GCC diagnostic ignored "-Wunused-variable"
namespace { char dummy; };

46
libethereum/Miner.cpp

@ -35,14 +35,15 @@ Miner::Miner(MinerHost* _host, unsigned _id):
void Miner::doWork() void Miner::doWork()
{ {
// Do some mining. // Do some mining.
if ((m_pendingCount || m_host->force()) && m_miningStatus != Mined) if (m_miningStatus != Waiting && m_miningStatus != Mined)
{ {
if (m_miningStatus == Preparing) if (m_miningStatus == Preparing)
{ {
m_miningStatus = Mining;
m_host->setupState(m_mineState); m_host->setupState(m_mineState);
m_pendingCount = m_mineState.pending().size(); if (m_host->force() || m_mineState.pending().size())
m_miningStatus = Mining;
else
m_miningStatus = Waiting;
{ {
Guard l(x_mineInfo); Guard l(x_mineInfo);
@ -52,26 +53,29 @@ void Miner::doWork()
} }
} }
if (m_miningStatus == Mining)
{
// Mine for a while. // Mine for a while.
MineInfo mineInfo = m_mineState.mine(100, m_host->turbo()); MineInfo mineInfo = m_mineState.mine(100, m_host->turbo());
{ {
Guard l(x_mineInfo); Guard l(x_mineInfo);
m_mineProgress.best = min(m_mineProgress.best, mineInfo.best); m_mineProgress.best = min(m_mineProgress.best, mineInfo.best);
m_mineProgress.current = mineInfo.best; m_mineProgress.current = mineInfo.best;
m_mineProgress.requirement = mineInfo.requirement; m_mineProgress.requirement = mineInfo.requirement;
m_mineProgress.ms += 100; m_mineProgress.ms += 100;
m_mineProgress.hashes += mineInfo.hashes; m_mineProgress.hashes += mineInfo.hashes;
m_mineHistory.push_back(mineInfo); m_mineHistory.push_back(mineInfo);
} }
if (mineInfo.completed) if (mineInfo.completed)
{ {
m_mineState.completeMine(); m_mineState.completeMine();
m_host->onComplete(); m_host->onComplete();
m_miningStatus = Mined; m_miningStatus = Mined;
}
else
m_host->onProgressed();
} }
else
m_host->onProgressed();
} }
else else
{ {

5
libethereum/Miner.h

@ -126,10 +126,9 @@ private:
MinerHost* m_host = nullptr; ///< Our host. MinerHost* m_host = nullptr; ///< Our host.
enum MiningStatus { Preparing, Mining, Mined, Stopping, Stopped }; enum MiningStatus { Waiting, Preparing, Mining, Mined, Stopping, Stopped };
MiningStatus m_miningStatus = Preparing;///< TODO: consider mutex/atomic variable. MiningStatus m_miningStatus = Waiting; ///< TODO: consider mutex/atomic variable.
State m_mineState; ///< The state on which we are mining, generally equivalent to m_postMine. State m_mineState; ///< The state on which we are mining, generally equivalent to m_postMine.
mutable unsigned m_pendingCount = 0; ///< How many pending transactions are there in m_mineState?
mutable std::mutex x_mineInfo; ///< Lock for the mining progress & history. mutable std::mutex x_mineInfo; ///< Lock for the mining progress & history.
MineProgress m_mineProgress; ///< What's our progress? MineProgress m_mineProgress; ///< What's our progress?

3
libethereum/PastMessage.cpp

@ -23,3 +23,6 @@
using namespace std; using namespace std;
using namespace dev; using namespace dev;
using namespace dev::eth; using namespace dev::eth;
#pragma GCC diagnostic ignored "-Wunused-variable"
namespace { char dummy; };

6
libevm/VM.h

@ -156,7 +156,11 @@ template <class Ext> dev::bytesConstRef dev::eth::VM::go(Ext& _ext, OnOpFunc con
require(3); require(3);
newTempSize = memNeed(m_stack.back(), m_stack[m_stack.size() - 3]); newTempSize = memNeed(m_stack.back(), m_stack[m_stack.size() - 3]);
break; break;
case Instruction::EXTCODECOPY:
require(4);
newTempSize = memNeed(m_stack[m_stack.size() - 2], m_stack[m_stack.size() - 4]);
break;
case Instruction::BALANCE: case Instruction::BALANCE:
runGas = c_balanceGas; runGas = c_balanceGas;
break; break;

6
libevm/_libevm.cpp

@ -0,0 +1,6 @@
#ifdef _MSC_VER
#include "All.h"
#include "ExtVMFace.cpp"
#include "FeeStructure.cpp"
#include "VM.cpp"
#endif

261
libevmface/Instruction.h

@ -32,143 +32,140 @@ namespace dev
namespace eth namespace eth
{ {
// TODO: Update comments.
/// Virtual machine bytecode instruction. /// Virtual machine bytecode instruction.
enum class Instruction: uint8_t enum class Instruction: uint8_t
{ {
STOP = 0x00, ///< halts execution STOP = 0x00, ///< halts execution
ADD, ADD, ///< addition operation
MUL, MUL, ///< mulitplication operation
SUB, SUB, ///< subtraction operation
DIV, DIV, ///< integer division operation
SDIV, SDIV, ///< signed integer division operation
MOD, MOD, ///< modulo remainder operation
SMOD, SMOD, ///< signed modulo remainder operation
EXP, EXP, ///< exponential operation
NEG, NEG, ///< negation operation
LT, LT, ///< less-than comparision
GT, GT, ///< greater-than comparision
SLT, SLT, ///< signed less-than comparision
SGT, SGT, ///< signed greater-than comparision
EQ, EQ, ///< equality comparision
NOT, NOT, ///< simple not operator
AND = 0x10, AND = 0x10, ///< bitwise AND operation
OR, OR, ///< bitwise OR operation
XOR, XOR, ///< bitwise XOR operation
BYTE, BYTE, ///< retrieve single byte from word
ADDMOD, ADDMOD, ///< unsigned modular addition
MULMOD, MULMOD, ///< unsigned modular multiplication
SHA3 = 0x20, ///< compute SHA3-256 hash
SHA3 = 0x20,
ADDRESS = 0x30, ///< get address of currently executing account
ADDRESS = 0x30, BALANCE, ///< get balance of the given account
BALANCE, ORIGIN, ///< get execution origination address
ORIGIN, CALLER, ///< get caller address
CALLER, CALLVALUE, ///< get deposited value by the instruction/transaction responsible for this execution
CALLVALUE, CALLDATALOAD, ///< get input data of current environment
CALLDATALOAD, CALLDATASIZE, ///< get size of input data in current environment
CALLDATASIZE, CALLDATACOPY, ///< copy input data in current environment to memory
CALLDATACOPY, CODESIZE, ///< get size of code running in current environment
CODESIZE, CODECOPY, ///< copy code running in current environment to memory
CODECOPY, GASPRICE, ///< get price of gas in current environment
GASPRICE, EXTCODESIZE, ///< get external code size (from another contract)
EXTCODESIZE, EXTCODECOPY, ///< copy external code (from another contract)
EXTCODECOPY,
PREVHASH = 0x40, ///< get hash of most recent complete block
PREVHASH = 0x40, COINBASE, ///< get the block's coinbase address
COINBASE, TIMESTAMP, ///< get the block's timestamp
TIMESTAMP, NUMBER, ///< get the block's number
NUMBER, DIFFICULTY, ///< get the block's difficulty
DIFFICULTY, GASLIMIT, ///< get the block's gas limit
GASLIMIT,
POP = 0x50, ///< remove item from stack
POP = 0x50, MLOAD = 0x53, ///< load word from memory
MLOAD = 0x53, MSTORE, ///< save word to memory
MSTORE, MSTORE8, ///< save byte to memory
MSTORE8, SLOAD, ///< load word from storage
SLOAD, SSTORE, ///< save word to storage
SSTORE, JUMP, ///< alter the program counter
JUMP, JUMPI, ///< conditionally alter the program counter
JUMPI, PC, ///< get the program counter
PC, MSIZE, ///< get the size of active memory
MSIZE, GAS, ///< get the amount of available gas
GAS,
PUSH1 = 0x60, ///< place 1 byte item on stack
PUSH1 = 0x60, PUSH2, ///< place 2 byte item on stack
PUSH2, PUSH3, ///< place 3 byte item on stack
PUSH3, PUSH4, ///< place 4 byte item on stack
PUSH4, PUSH5, ///< place 5 byte item on stack
PUSH5, PUSH6, ///< place 6 byte item on stack
PUSH6, PUSH7, ///< place 7 byte item on stack
PUSH7, PUSH8, ///< place 8 byte item on stack
PUSH8, PUSH9, ///< place 9 byte item on stack
PUSH9, PUSH10, ///< place 10 byte item on stack
PUSH10, PUSH11, ///< place 11 byte item on stack
PUSH11, PUSH12, ///< place 12 byte item on stack
PUSH12, PUSH13, ///< place 13 byte item on stack
PUSH13, PUSH14, ///< place 14 byte item on stack
PUSH14, PUSH15, ///< place 15 byte item on stack
PUSH15, PUSH16, ///< place 16 byte item on stack
PUSH16, PUSH17, ///< place 17 byte item on stack
PUSH17, PUSH18, ///< place 18 byte item on stack
PUSH18, PUSH19, ///< place 19 byte item on stack
PUSH19, PUSH20, ///< place 20 byte item on stack
PUSH20, PUSH21, ///< place 21 byte item on stack
PUSH21, PUSH22, ///< place 22 byte item on stack
PUSH22, PUSH23, ///< place 23 byte item on stack
PUSH23, PUSH24, ///< place 24 byte item on stack
PUSH24, PUSH25, ///< place 25 byte item on stack
PUSH25, PUSH26, ///< place 26 byte item on stack
PUSH26, PUSH27, ///< place 27 byte item on stack
PUSH27, PUSH28, ///< place 28 byte item on stack
PUSH28, PUSH29, ///< place 29 byte item on stack
PUSH29, PUSH30, ///< place 30 byte item on stack
PUSH30, PUSH31, ///< place 31 byte item on stack
PUSH31, PUSH32, ///< place 32 byte item on stack
PUSH32,
DUP1 = 0x80, ///< copies the highest item in the stack to the top of the stack
DUP1 = 0x80, DUP2, ///< copies the second highest item in the stack to the top of the stack
DUP2, DUP3, ///< copies the third highest item in the stack to the top of the stack
DUP3, DUP4, ///< copies the 4th highest item in the stack to the top of the stack
DUP4, DUP5, ///< copies the 5th highest item in the stack to the top of the stack
DUP5, DUP6, ///< copies the 6th highest item in the stack to the top of the stack
DUP6, DUP7, ///< copies the 7th highest item in the stack to the top of the stack
DUP7, DUP8, ///< copies the 8th highest item in the stack to the top of the stack
DUP8, DUP9, ///< copies the 9th highest item in the stack to the top of the stack
DUP9, DUP10, ///< copies the 10th highest item in the stack to the top of the stack
DUP10, DUP11, ///< copies the 11th highest item in the stack to the top of the stack
DUP11, DUP12, ///< copies the 12th highest item in the stack to the top of the stack
DUP12, DUP13, ///< copies the 13th highest item in the stack to the top of the stack
DUP13, DUP14, ///< copies the 14th highest item in the stack to the top of the stack
DUP14, DUP15, ///< copies the 15th highest item in the stack to the top of the stack
DUP15, DUP16, ///< copies the 16th highest item in the stack to the top of the stack
DUP16,
SWAP1 = 0x90, ///< swaps the highest and second highest value on the stack
SWAP1 = 0x90, SWAP2, ///< swaps the highest and third highest value on the stack
SWAP2, SWAP3, ///< swaps the highest and 4th highest value on the stack
SWAP3, SWAP4, ///< swaps the highest and 5th highest value on the stack
SWAP4, SWAP5, ///< swaps the highest and 6th highest value on the stack
SWAP5, SWAP6, ///< swaps the highest and 7th highest value on the stack
SWAP6, SWAP7, ///< swaps the highest and 8th highest value on the stack
SWAP7, SWAP8, ///< swaps the highest and 9th highest value on the stack
SWAP8, SWAP9, ///< swaps the highest and 10th highest value on the stack
SWAP9, SWAP10, ///< swaps the highest and 11th highest value on the stack
SWAP10, SWAP11, ///< swaps the highest and 12th highest value on the stack
SWAP11, SWAP12, ///< swaps the highest and 13th highest value on the stack
SWAP12, SWAP13, ///< swaps the highest and 14th highest value on the stack
SWAP13, SWAP14, ///< swaps the highest and 15th highest value on the stack
SWAP14, SWAP15, ///< swaps the highest and 16th highest value on the stack
SWAP15, SWAP16, ///< swaps the highest and 17th highest value on the stack
SWAP16,
CREATE = 0xf0, ///< create a new account with associated code
CREATE = 0xf0, CALL, ///< message-call into an account
CALL, RETURN, ///< halt execution returning output data
RETURN, POST, ///< asynchronous call without output (adds a message to the post queue)
POST,
CALLSTATELESS, CALLSTATELESS,
SUICIDE = 0xff SUICIDE = 0xff ///< halt execution and register account for later deletion
}; };
/// Information structure for a particular instruction. /// Information structure for a particular instruction.

2
libp2p/Host.h

@ -77,7 +77,7 @@ public:
/// Register a peer-capability; all new peer connections will have this capability. /// Register a peer-capability; all new peer connections will have this capability.
template <class T> std::shared_ptr<T> registerCapability(T* _t) { _t->m_host = this; auto ret = std::shared_ptr<T>(_t); m_capabilities[T::staticName()] = ret; return ret; } template <class T> std::shared_ptr<T> registerCapability(T* _t) { _t->m_host = this; auto ret = std::shared_ptr<T>(_t); m_capabilities[T::staticName()] = ret; return ret; }
bool haveCapability(std::string const& _name) const { return m_capabilities.count(_name); } bool haveCapability(std::string const& _name) const { return m_capabilities.count(_name) != 0; }
std::vector<std::string> caps() const { std::vector<std::string> ret; for (auto const& i: m_capabilities) ret.push_back(i.first); return ret; } std::vector<std::string> caps() const { std::vector<std::string> ret; for (auto const& i: m_capabilities) ret.push_back(i.first); return ret; }
template <class T> std::shared_ptr<T> cap() const { try { return std::static_pointer_cast<T>(m_capabilities.at(T::staticName())); } catch (...) { return nullptr; } } template <class T> std::shared_ptr<T> cap() const { try { return std::static_pointer_cast<T>(m_capabilities.at(T::staticName())); } catch (...) { return nullptr; } }

22
libp2p/Session.cpp

@ -266,19 +266,19 @@ void Session::writeImpl(bytes& _buffer)
if (!m_socket.is_open()) if (!m_socket.is_open())
return; return;
lock_guard<recursive_mutex> l(m_writeLock); bool doWrite = false;
m_writeQueue.push_back(_buffer); {
if (m_writeQueue.size() == 1) lock_guard<mutex> l(m_writeLock);
m_writeQueue.push_back(_buffer);
doWrite = (m_writeQueue.size() == 1);
}
if (doWrite)
write(); write();
} }
void Session::write() void Session::write()
{ {
// cerr << (void*)this << " write" << endl;
lock_guard<recursive_mutex> l(m_writeLock);
if (m_writeQueue.empty())
return;
const bytes& bytes = m_writeQueue[0]; const bytes& bytes = m_writeQueue[0];
auto self(shared_from_this()); auto self(shared_from_this());
ba::async_write(m_socket, ba::buffer(bytes), [this, self](boost::system::error_code ec, std::size_t /*length*/) ba::async_write(m_socket, ba::buffer(bytes), [this, self](boost::system::error_code ec, std::size_t /*length*/)
@ -290,12 +290,16 @@ void Session::write()
{ {
cwarn << "Error sending: " << ec.message(); cwarn << "Error sending: " << ec.message();
dropped(); dropped();
return;
} }
else else
{ {
lock_guard<mutex> l(m_writeLock);
m_writeQueue.pop_front(); m_writeQueue.pop_front();
write(); if (m_writeQueue.empty())
return;
} }
write();
}); });
} }

3
libp2p/Session.h

@ -23,6 +23,7 @@
#include <mutex> #include <mutex>
#include <array> #include <array>
#include <deque>
#include <set> #include <set>
#include <memory> #include <memory>
#include <utility> #include <utility>
@ -85,7 +86,7 @@ private:
Host* m_server; Host* m_server;
std::recursive_mutex m_writeLock; std::mutex m_writeLock;
std::deque<bytes> m_writeQueue; std::deque<bytes> m_writeQueue;
mutable bi::tcp::socket m_socket; ///< Mutable to ask for native_handle(). mutable bi::tcp::socket m_socket; ///< Mutable to ask for native_handle().

9
libp2p/_libp2p.cpp

@ -0,0 +1,9 @@
#ifdef _MSC_VER
#include "All.h"
#include "Capability.cpp"
#include "Common.cpp"
#include "Host.cpp"
#include "HostCapability.cpp"
#include "Session.cpp"
#include "UPnP.cpp"
#endif

2
libwhisper/Common.h

@ -33,6 +33,7 @@ namespace dev
namespace shh namespace shh
{ {
/* this makes these symbols ambiguous on VS2013
using h256 = dev::h256; using h256 = dev::h256;
using h512 = dev::h512; using h512 = dev::h512;
using h256s = dev::h256s; using h256s = dev::h256s;
@ -42,6 +43,7 @@ using RLP = dev::RLP;
using bytesRef = dev::bytesRef; using bytesRef = dev::bytesRef;
using bytesConstRef = dev::bytesConstRef; using bytesConstRef = dev::bytesConstRef;
using h256Set = dev::h256Set; using h256Set = dev::h256Set;
*/
class WhisperHost; class WhisperHost;
class WhisperPeer; class WhisperPeer;

2
libwhisper/WhisperPeer.h

@ -95,7 +95,7 @@ class MessageFilter
public: public:
MessageFilter() {} MessageFilter() {}
MessageFilter(std::vector<std::pair<bytes, bytes> > const& _m): m_topicMasks(_m) {} MessageFilter(std::vector<std::pair<bytes, bytes> > const& _m): m_topicMasks(_m) {}
MessageFilter(RLP const& _r): m_topicMasks((std::vector<std::pair<bytes, bytes> >)_r) {} MessageFilter(RLP const& _r): m_topicMasks((std::vector<std::pair<bytes, bytes>>)_r) {}
void fillStream(RLPStream& _s) const { _s << m_topicMasks; } void fillStream(RLPStream& _s) const { _s << m_topicMasks; }
h256 sha3() const { RLPStream s; fillStream(s); return dev::eth::sha3(s.out()); } h256 sha3() const { RLPStream s; fillStream(s); return dev::eth::sha3(s.out()); }

5
libwhisper/_libwhisper.cpp

@ -0,0 +1,5 @@
#ifdef _MSC_VER
#include "All.h"
#include "Common.cpp"
#include "WhisperPeer.cpp"
#endif

355
windows/LibEthereum.vcxproj

@ -19,22 +19,69 @@
</ProjectConfiguration> </ProjectConfiguration>
</ItemGroup> </ItemGroup>
<ItemGroup> <ItemGroup>
<ClCompile Include="..\libethcore\BlockInfo.cpp" /> <ClCompile Include="..\libdevcore\CommonData.cpp">
<ClCompile Include="..\libethcore\CommonEth.cpp" /> <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">true</ExcludedFromBuild>
<ClCompile Include="..\libethcore\Dagger.cpp" /> <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">true</ExcludedFromBuild>
<ClCompile Include="..\libethcore\FileSystem.cpp" /> <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">true</ExcludedFromBuild>
<ClCompile Include="..\libethcore\MemoryDB.cpp" /> <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|x64'">true</ExcludedFromBuild>
<ClCompile Include="..\libethcore\OverlayDB.cpp" /> </ClCompile>
<ClCompile Include="..\libethcore\SHA3.cpp" /> <ClCompile Include="..\libdevcore\CommonIO.cpp">
<ClCompile Include="..\libethcore\TrieCommon.cpp" /> <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">true</ExcludedFromBuild>
<ClCompile Include="..\libethcore\TrieDB.cpp" /> <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">true</ExcludedFromBuild>
<ClCompile Include="..\libethcore\UPnP.cpp" /> <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">true</ExcludedFromBuild>
<ClCompile Include="..\libethential\Common.cpp" /> <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|x64'">true</ExcludedFromBuild>
<ClCompile Include="..\libethential\CommonData.cpp" /> </ClCompile>
<ClCompile Include="..\libethential\CommonIO.cpp" /> <ClCompile Include="..\libdevcore\FixedHash.cpp">
<ClCompile Include="..\libethential\FixedHash.cpp" /> <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">true</ExcludedFromBuild>
<ClCompile Include="..\libethential\Log.cpp" /> <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">true</ExcludedFromBuild>
<ClCompile Include="..\libethential\RLP.cpp" /> <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">true</ExcludedFromBuild>
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|x64'">true</ExcludedFromBuild>
</ClCompile>
<ClCompile Include="..\libdevcore\Guards.cpp">
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">true</ExcludedFromBuild>
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">true</ExcludedFromBuild>
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">true</ExcludedFromBuild>
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|x64'">true</ExcludedFromBuild>
</ClCompile>
<ClCompile Include="..\libdevcore\Log.cpp">
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">true</ExcludedFromBuild>
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">true</ExcludedFromBuild>
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">true</ExcludedFromBuild>
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|x64'">true</ExcludedFromBuild>
</ClCompile>
<ClCompile Include="..\libdevcore\RLP.cpp">
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">true</ExcludedFromBuild>
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">true</ExcludedFromBuild>
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">true</ExcludedFromBuild>
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|x64'">true</ExcludedFromBuild>
</ClCompile>
<ClCompile Include="..\libdevcore\_libdevcore.cpp" />
<ClCompile Include="..\libdevcrypto\Common.cpp" />
<ClCompile Include="..\libdevcrypto\FileSystem.cpp" />
<ClCompile Include="..\libdevcrypto\MemoryDB.cpp" />
<ClCompile Include="..\libdevcrypto\OverlayDB.cpp" />
<ClCompile Include="..\libdevcrypto\SHA3.cpp" />
<ClCompile Include="..\libdevcrypto\TrieCommon.cpp" />
<ClCompile Include="..\libdevcrypto\TrieDB.cpp" />
<ClCompile Include="..\libethcore\BlockInfo.cpp">
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">true</ExcludedFromBuild>
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">true</ExcludedFromBuild>
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">true</ExcludedFromBuild>
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|x64'">true</ExcludedFromBuild>
</ClCompile>
<ClCompile Include="..\libethcore\CommonEth.cpp">
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">true</ExcludedFromBuild>
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">true</ExcludedFromBuild>
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">true</ExcludedFromBuild>
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|x64'">true</ExcludedFromBuild>
</ClCompile>
<ClCompile Include="..\libethcore\Dagger.cpp">
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">true</ExcludedFromBuild>
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">true</ExcludedFromBuild>
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">true</ExcludedFromBuild>
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|x64'">true</ExcludedFromBuild>
</ClCompile>
<ClCompile Include="..\libethcore\_libethcore.cpp" />
<ClCompile Include="..\libethereum\AccountDiff.cpp" /> <ClCompile Include="..\libethereum\AccountDiff.cpp" />
<ClCompile Include="..\libethereum\AddressState.cpp" /> <ClCompile Include="..\libethereum\AddressState.cpp" />
<ClCompile Include="..\libethereum\BlockChain.cpp" /> <ClCompile Include="..\libethereum\BlockChain.cpp" />
@ -44,9 +91,10 @@
<ClCompile Include="..\libethereum\CommonNet.cpp" /> <ClCompile Include="..\libethereum\CommonNet.cpp" />
<ClCompile Include="..\libethereum\Defaults.cpp" /> <ClCompile Include="..\libethereum\Defaults.cpp" />
<ClCompile Include="..\libethereum\EthereumHost.cpp" /> <ClCompile Include="..\libethereum\EthereumHost.cpp" />
<ClCompile Include="..\libethereum\EthereumSession.cpp" /> <ClCompile Include="..\libethereum\EthereumPeer.cpp" />
<ClCompile Include="..\libethereum\Executive.cpp" /> <ClCompile Include="..\libethereum\Executive.cpp" />
<ClCompile Include="..\libethereum\ExtVM.cpp" /> <ClCompile Include="..\libethereum\ExtVM.cpp" />
<ClCompile Include="..\libethereum\Interface.cpp" />
<ClCompile Include="..\libethereum\Manifest.cpp" /> <ClCompile Include="..\libethereum\Manifest.cpp" />
<ClCompile Include="..\libethereum\MessageFilter.cpp" /> <ClCompile Include="..\libethereum\MessageFilter.cpp" />
<ClCompile Include="..\libethereum\Miner.cpp" /> <ClCompile Include="..\libethereum\Miner.cpp" />
@ -56,14 +104,68 @@
<ClCompile Include="..\libethereum\TransactionQueue.cpp" /> <ClCompile Include="..\libethereum\TransactionQueue.cpp" />
<ClCompile Include="..\libethereum\Utility.cpp" /> <ClCompile Include="..\libethereum\Utility.cpp" />
<ClCompile Include="..\libevmface\Instruction.cpp" /> <ClCompile Include="..\libevmface\Instruction.cpp" />
<ClCompile Include="..\libevm\ExtVMFace.cpp" /> <ClCompile Include="..\libevm\ExtVMFace.cpp">
<ClCompile Include="..\libevm\FeeStructure.cpp" /> <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">true</ExcludedFromBuild>
<ClCompile Include="..\libevm\VM.cpp" /> <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">true</ExcludedFromBuild>
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">true</ExcludedFromBuild>
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|x64'">true</ExcludedFromBuild>
</ClCompile>
<ClCompile Include="..\libevm\FeeStructure.cpp">
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">true</ExcludedFromBuild>
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">true</ExcludedFromBuild>
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">true</ExcludedFromBuild>
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|x64'">true</ExcludedFromBuild>
</ClCompile>
<ClCompile Include="..\libevm\VM.cpp">
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">true</ExcludedFromBuild>
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">true</ExcludedFromBuild>
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">true</ExcludedFromBuild>
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|x64'">true</ExcludedFromBuild>
</ClCompile>
<ClCompile Include="..\libevm\_libevm.cpp" />
<ClCompile Include="..\liblll\Assembly.cpp" /> <ClCompile Include="..\liblll\Assembly.cpp" />
<ClCompile Include="..\liblll\CodeFragment.cpp" /> <ClCompile Include="..\liblll\CodeFragment.cpp" />
<ClCompile Include="..\liblll\Compiler.cpp" /> <ClCompile Include="..\liblll\Compiler.cpp" />
<ClCompile Include="..\liblll\CompilerState.cpp" /> <ClCompile Include="..\liblll\CompilerState.cpp" />
<ClCompile Include="..\liblll\Parser.cpp" /> <ClCompile Include="..\liblll\Parser.cpp" />
<ClCompile Include="..\libp2p\Capability.cpp">
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">true</ExcludedFromBuild>
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">true</ExcludedFromBuild>
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">true</ExcludedFromBuild>
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|x64'">true</ExcludedFromBuild>
</ClCompile>
<ClCompile Include="..\libp2p\Host.cpp">
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">true</ExcludedFromBuild>
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">true</ExcludedFromBuild>
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">true</ExcludedFromBuild>
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|x64'">true</ExcludedFromBuild>
</ClCompile>
<ClCompile Include="..\libp2p\HostCapability.cpp">
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">true</ExcludedFromBuild>
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">true</ExcludedFromBuild>
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">true</ExcludedFromBuild>
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|x64'">true</ExcludedFromBuild>
</ClCompile>
<ClCompile Include="..\libp2p\Session.cpp">
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">true</ExcludedFromBuild>
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">true</ExcludedFromBuild>
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">true</ExcludedFromBuild>
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|x64'">true</ExcludedFromBuild>
</ClCompile>
<ClCompile Include="..\libp2p\UPnP.cpp">
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">true</ExcludedFromBuild>
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">true</ExcludedFromBuild>
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">true</ExcludedFromBuild>
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|x64'">true</ExcludedFromBuild>
</ClCompile>
<ClCompile Include="..\libp2p\_libp2p.cpp" />
<ClCompile Include="..\libwhisper\WhisperPeer.cpp">
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">true</ExcludedFromBuild>
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">true</ExcludedFromBuild>
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">true</ExcludedFromBuild>
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|x64'">true</ExcludedFromBuild>
</ClCompile>
<ClCompile Include="..\libwhisper\_libwhisper.cpp" />
<ClCompile Include="stdafx.cpp"> <ClCompile Include="stdafx.cpp">
<PrecompiledHeaderFile Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">stdafx.h</PrecompiledHeaderFile> <PrecompiledHeaderFile Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">stdafx.h</PrecompiledHeaderFile>
<PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">Create</PrecompiledHeader> <PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">Create</PrecompiledHeader>
@ -73,30 +175,114 @@
</ClCompile> </ClCompile>
</ItemGroup> </ItemGroup>
<ItemGroup> <ItemGroup>
<ClInclude Include="..\libethcore\All.h" /> <ClInclude Include="..\libdevcore\All.h">
<ClInclude Include="..\libethcore\BlockInfo.h" /> <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">true</ExcludedFromBuild>
<ClInclude Include="..\libethcore\CommonEth.h" /> <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">true</ExcludedFromBuild>
<ClInclude Include="..\libethcore\CryptoHeaders.h" /> <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">true</ExcludedFromBuild>
<ClInclude Include="..\libethcore\Dagger.h" /> <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|x64'">true</ExcludedFromBuild>
<ClInclude Include="..\libethcore\Exceptions.h" /> </ClInclude>
<ClInclude Include="..\libethcore\FileSystem.h" /> <ClInclude Include="..\libdevcore\Common.h">
<ClInclude Include="..\libethcore\MemoryDB.h" /> <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">true</ExcludedFromBuild>
<ClInclude Include="..\libethcore\OverlayDB.h" /> <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">true</ExcludedFromBuild>
<ClInclude Include="..\libethcore\SHA3.h" /> <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">true</ExcludedFromBuild>
<ClInclude Include="..\libethcore\TrieCommon.h" /> <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|x64'">true</ExcludedFromBuild>
<ClInclude Include="..\libethcore\TrieDB.h" /> </ClInclude>
<ClInclude Include="..\libethcore\UPnP.h" /> <ClInclude Include="..\libdevcore\CommonData.h">
<ClInclude Include="..\libethential\All.h" /> <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">true</ExcludedFromBuild>
<ClInclude Include="..\libethential\Common.h" /> <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">true</ExcludedFromBuild>
<ClInclude Include="..\libethential\CommonData.h" /> <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">true</ExcludedFromBuild>
<ClInclude Include="..\libethential\CommonIO.h" /> <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|x64'">true</ExcludedFromBuild>
<ClInclude Include="..\libethential\Exceptions.h" /> </ClInclude>
<ClInclude Include="..\libethential\FixedHash.h" /> <ClInclude Include="..\libdevcore\CommonIO.h">
<ClInclude Include="..\libethential\Log.h" /> <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">true</ExcludedFromBuild>
<ClInclude Include="..\libethential\RLP.h" /> <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">true</ExcludedFromBuild>
<ClInclude Include="..\libethential\vector_ref.h" /> <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">true</ExcludedFromBuild>
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|x64'">true</ExcludedFromBuild>
</ClInclude>
<ClInclude Include="..\libdevcore\Exceptions.h">
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">true</ExcludedFromBuild>
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">true</ExcludedFromBuild>
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">true</ExcludedFromBuild>
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|x64'">true</ExcludedFromBuild>
</ClInclude>
<ClInclude Include="..\libdevcore\FixedHash.h">
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">true</ExcludedFromBuild>
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">true</ExcludedFromBuild>
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">true</ExcludedFromBuild>
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|x64'">true</ExcludedFromBuild>
</ClInclude>
<ClInclude Include="..\libdevcore\Guards.h">
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">true</ExcludedFromBuild>
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">true</ExcludedFromBuild>
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">true</ExcludedFromBuild>
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|x64'">true</ExcludedFromBuild>
</ClInclude>
<ClInclude Include="..\libdevcore\Log.h">
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">true</ExcludedFromBuild>
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">true</ExcludedFromBuild>
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">true</ExcludedFromBuild>
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|x64'">true</ExcludedFromBuild>
</ClInclude>
<ClInclude Include="..\libdevcore\RLP.h">
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">true</ExcludedFromBuild>
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">true</ExcludedFromBuild>
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">true</ExcludedFromBuild>
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|x64'">true</ExcludedFromBuild>
</ClInclude>
<ClInclude Include="..\libdevcore\vector_ref.h">
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">true</ExcludedFromBuild>
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">true</ExcludedFromBuild>
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">true</ExcludedFromBuild>
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|x64'">true</ExcludedFromBuild>
</ClInclude>
<ClInclude Include="..\libdevcrypto\All.h" />
<ClInclude Include="..\libdevcrypto\Common.h" />
<ClInclude Include="..\libdevcrypto\CryptoHeaders.h" />
<ClInclude Include="..\libdevcrypto\FileSystem.h" />
<ClInclude Include="..\libdevcrypto\MemoryDB.h" />
<ClInclude Include="..\libdevcrypto\OverlayDB.h" />
<ClInclude Include="..\libdevcrypto\SHA3.h" />
<ClInclude Include="..\libdevcrypto\TrieCommon.h" />
<ClInclude Include="..\libdevcrypto\TrieDB.h" />
<ClInclude Include="..\libethcore\All.h">
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">true</ExcludedFromBuild>
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">true</ExcludedFromBuild>
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">true</ExcludedFromBuild>
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|x64'">true</ExcludedFromBuild>
</ClInclude>
<ClInclude Include="..\libethcore\BlockInfo.h">
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">true</ExcludedFromBuild>
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">true</ExcludedFromBuild>
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">true</ExcludedFromBuild>
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|x64'">true</ExcludedFromBuild>
</ClInclude>
<ClInclude Include="..\libethcore\CommonEth.h">
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">true</ExcludedFromBuild>
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">true</ExcludedFromBuild>
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">true</ExcludedFromBuild>
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|x64'">true</ExcludedFromBuild>
</ClInclude>
<ClInclude Include="..\libethcore\CryptoHeaders.h">
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">true</ExcludedFromBuild>
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">true</ExcludedFromBuild>
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">true</ExcludedFromBuild>
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|x64'">true</ExcludedFromBuild>
</ClInclude>
<ClInclude Include="..\libethcore\Dagger.h">
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">true</ExcludedFromBuild>
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">true</ExcludedFromBuild>
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">true</ExcludedFromBuild>
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|x64'">true</ExcludedFromBuild>
</ClInclude>
<ClInclude Include="..\libethcore\Exceptions.h">
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">true</ExcludedFromBuild>
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">true</ExcludedFromBuild>
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">true</ExcludedFromBuild>
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|x64'">true</ExcludedFromBuild>
</ClInclude>
<ClInclude Include="..\libethereum\AccountDiff.h" /> <ClInclude Include="..\libethereum\AccountDiff.h" />
<ClInclude Include="..\libethereum\AddressState.h" /> <ClInclude Include="..\libethereum\AddressState.h" />
<ClInclude Include="..\libethereum\All.h" />
<ClInclude Include="..\libethereum\BlockChain.h" /> <ClInclude Include="..\libethereum\BlockChain.h" />
<ClInclude Include="..\libethereum\BlockDetails.h" /> <ClInclude Include="..\libethereum\BlockDetails.h" />
<ClInclude Include="..\libethereum\BlockQueue.h" /> <ClInclude Include="..\libethereum\BlockQueue.h" />
@ -104,9 +290,10 @@
<ClInclude Include="..\libethereum\CommonNet.h" /> <ClInclude Include="..\libethereum\CommonNet.h" />
<ClInclude Include="..\libethereum\Defaults.h" /> <ClInclude Include="..\libethereum\Defaults.h" />
<ClInclude Include="..\libethereum\EthereumHost.h" /> <ClInclude Include="..\libethereum\EthereumHost.h" />
<ClInclude Include="..\libethereum\EthereumSession.h" /> <ClInclude Include="..\libethereum\EthereumPeer.h" />
<ClInclude Include="..\libethereum\Executive.h" /> <ClInclude Include="..\libethereum\Executive.h" />
<ClInclude Include="..\libethereum\ExtVM.h" /> <ClInclude Include="..\libethereum\ExtVM.h" />
<ClInclude Include="..\libethereum\Interface.h" />
<ClInclude Include="..\libethereum\Manifest.h" /> <ClInclude Include="..\libethereum\Manifest.h" />
<ClInclude Include="..\libethereum\MessageFilter.h" /> <ClInclude Include="..\libethereum\MessageFilter.h" />
<ClInclude Include="..\libethereum\Miner.h" /> <ClInclude Include="..\libethereum\Miner.h" />
@ -116,10 +303,30 @@
<ClInclude Include="..\libethereum\TransactionQueue.h" /> <ClInclude Include="..\libethereum\TransactionQueue.h" />
<ClInclude Include="..\libethereum\Utility.h" /> <ClInclude Include="..\libethereum\Utility.h" />
<ClInclude Include="..\libevmface\Instruction.h" /> <ClInclude Include="..\libevmface\Instruction.h" />
<ClInclude Include="..\libevm\All.h" /> <ClInclude Include="..\libevm\All.h">
<ClInclude Include="..\libevm\ExtVMFace.h" /> <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">true</ExcludedFromBuild>
<ClInclude Include="..\libevm\FeeStructure.h" /> <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">true</ExcludedFromBuild>
<ClInclude Include="..\libevm\VM.h" /> <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">true</ExcludedFromBuild>
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|x64'">true</ExcludedFromBuild>
</ClInclude>
<ClInclude Include="..\libevm\ExtVMFace.h">
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">true</ExcludedFromBuild>
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">true</ExcludedFromBuild>
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">true</ExcludedFromBuild>
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|x64'">true</ExcludedFromBuild>
</ClInclude>
<ClInclude Include="..\libevm\FeeStructure.h">
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">true</ExcludedFromBuild>
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">true</ExcludedFromBuild>
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">true</ExcludedFromBuild>
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|x64'">true</ExcludedFromBuild>
</ClInclude>
<ClInclude Include="..\libevm\VM.h">
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">true</ExcludedFromBuild>
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">true</ExcludedFromBuild>
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">true</ExcludedFromBuild>
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|x64'">true</ExcludedFromBuild>
</ClInclude>
<ClInclude Include="..\liblll\All.h" /> <ClInclude Include="..\liblll\All.h" />
<ClInclude Include="..\liblll\Assembly.h" /> <ClInclude Include="..\liblll\Assembly.h" />
<ClInclude Include="..\liblll\CodeFragment.h" /> <ClInclude Include="..\liblll\CodeFragment.h" />
@ -127,6 +334,60 @@
<ClInclude Include="..\liblll\CompilerState.h" /> <ClInclude Include="..\liblll\CompilerState.h" />
<ClInclude Include="..\liblll\Exceptions.h" /> <ClInclude Include="..\liblll\Exceptions.h" />
<ClInclude Include="..\liblll\Parser.h" /> <ClInclude Include="..\liblll\Parser.h" />
<ClInclude Include="..\libp2p\All.h">
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">true</ExcludedFromBuild>
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">true</ExcludedFromBuild>
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">true</ExcludedFromBuild>
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|x64'">true</ExcludedFromBuild>
</ClInclude>
<ClInclude Include="..\libp2p\Capability.h">
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">true</ExcludedFromBuild>
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">true</ExcludedFromBuild>
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">true</ExcludedFromBuild>
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|x64'">true</ExcludedFromBuild>
</ClInclude>
<ClInclude Include="..\libp2p\Common.h">
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">true</ExcludedFromBuild>
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">true</ExcludedFromBuild>
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">true</ExcludedFromBuild>
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|x64'">true</ExcludedFromBuild>
</ClInclude>
<ClInclude Include="..\libp2p\Host.h">
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">true</ExcludedFromBuild>
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">true</ExcludedFromBuild>
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">true</ExcludedFromBuild>
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|x64'">true</ExcludedFromBuild>
</ClInclude>
<ClInclude Include="..\libp2p\HostCapability.h">
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">true</ExcludedFromBuild>
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">true</ExcludedFromBuild>
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">true</ExcludedFromBuild>
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|x64'">true</ExcludedFromBuild>
</ClInclude>
<ClInclude Include="..\libp2p\Session.h">
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">true</ExcludedFromBuild>
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">true</ExcludedFromBuild>
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">true</ExcludedFromBuild>
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|x64'">true</ExcludedFromBuild>
</ClInclude>
<ClInclude Include="..\libp2p\UPnP.h">
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">true</ExcludedFromBuild>
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">true</ExcludedFromBuild>
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">true</ExcludedFromBuild>
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|x64'">true</ExcludedFromBuild>
</ClInclude>
<ClInclude Include="..\libwhisper\Common.h">
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">true</ExcludedFromBuild>
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">true</ExcludedFromBuild>
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">true</ExcludedFromBuild>
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|x64'">true</ExcludedFromBuild>
</ClInclude>
<ClInclude Include="..\libwhisper\WhisperPeer.h">
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">true</ExcludedFromBuild>
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">true</ExcludedFromBuild>
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">true</ExcludedFromBuild>
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|x64'">true</ExcludedFromBuild>
</ClInclude>
<ClInclude Include="stdafx.h" /> <ClInclude Include="stdafx.h" />
</ItemGroup> </ItemGroup>
<ItemGroup> <ItemGroup>

363
windows/LibEthereum.vcxproj.filters

@ -22,15 +22,6 @@
<ClCompile Include="..\libethereum\ExtVM.cpp"> <ClCompile Include="..\libethereum\ExtVM.cpp">
<Filter>libethereum</Filter> <Filter>libethereum</Filter>
</ClCompile> </ClCompile>
<ClCompile Include="..\libethereum\PeerNetwork.cpp">
<Filter>libethereum</Filter>
</ClCompile>
<ClCompile Include="..\libethereum\PeerServer.cpp">
<Filter>libethereum</Filter>
</ClCompile>
<ClCompile Include="..\libethereum\PeerSession.cpp">
<Filter>libethereum</Filter>
</ClCompile>
<ClCompile Include="..\libethereum\State.cpp"> <ClCompile Include="..\libethereum\State.cpp">
<Filter>libethereum</Filter> <Filter>libethereum</Filter>
</ClCompile> </ClCompile>
@ -40,15 +31,6 @@
<ClCompile Include="..\libethereum\TransactionQueue.cpp"> <ClCompile Include="..\libethereum\TransactionQueue.cpp">
<Filter>libethereum</Filter> <Filter>libethereum</Filter>
</ClCompile> </ClCompile>
<ClCompile Include="..\libethcore\BlockInfo.cpp">
<Filter>libethcore</Filter>
</ClCompile>
<ClCompile Include="..\libethcore\CommonEth.cpp">
<Filter>libethcore</Filter>
</ClCompile>
<ClCompile Include="..\libethcore\Dagger.cpp">
<Filter>libethcore</Filter>
</ClCompile>
<ClCompile Include="..\libevm\ExtVMFace.cpp"> <ClCompile Include="..\libevm\ExtVMFace.cpp">
<Filter>libevm</Filter> <Filter>libevm</Filter>
</ClCompile> </ClCompile>
@ -58,48 +40,9 @@
<ClCompile Include="..\libevm\VM.cpp"> <ClCompile Include="..\libevm\VM.cpp">
<Filter>libevm</Filter> <Filter>libevm</Filter>
</ClCompile> </ClCompile>
<ClCompile Include="..\libethential\Common.cpp">
<Filter>libethential</Filter>
</ClCompile>
<ClCompile Include="..\libethential\CommonData.cpp">
<Filter>libethential</Filter>
</ClCompile>
<ClCompile Include="..\libethential\CommonIO.cpp">
<Filter>libethential</Filter>
</ClCompile>
<ClCompile Include="..\libethential\FixedHash.cpp">
<Filter>libethential</Filter>
</ClCompile>
<ClCompile Include="..\libethential\Log.cpp">
<Filter>libethential</Filter>
</ClCompile>
<ClCompile Include="..\libethential\RLP.cpp">
<Filter>libethential</Filter>
</ClCompile>
<ClCompile Include="..\libevmface\Instruction.cpp"> <ClCompile Include="..\libevmface\Instruction.cpp">
<Filter>libevmface</Filter> <Filter>libevmface</Filter>
</ClCompile> </ClCompile>
<ClCompile Include="..\libethcore\FileSystem.cpp">
<Filter>libethcore</Filter>
</ClCompile>
<ClCompile Include="..\libethcore\MemoryDB.cpp">
<Filter>libethcore</Filter>
</ClCompile>
<ClCompile Include="..\libethcore\OverlayDB.cpp">
<Filter>libethcore</Filter>
</ClCompile>
<ClCompile Include="..\libethcore\SHA3.cpp">
<Filter>libethcore</Filter>
</ClCompile>
<ClCompile Include="..\libethcore\TrieCommon.cpp">
<Filter>libethcore</Filter>
</ClCompile>
<ClCompile Include="..\libethcore\TrieDB.cpp">
<Filter>libethcore</Filter>
</ClCompile>
<ClCompile Include="..\libethcore\UPnP.cpp">
<Filter>libethcore</Filter>
</ClCompile>
<ClCompile Include="..\liblll\Assembly.cpp"> <ClCompile Include="..\liblll\Assembly.cpp">
<Filter>liblll</Filter> <Filter>liblll</Filter>
</ClCompile> </ClCompile>
@ -136,6 +79,102 @@
<ClCompile Include="..\libethereum\AccountDiff.cpp"> <ClCompile Include="..\libethereum\AccountDiff.cpp">
<Filter>libethereum</Filter> <Filter>libethereum</Filter>
</ClCompile> </ClCompile>
<ClCompile Include="..\libdevcrypto\Common.cpp">
<Filter>libdevcrypto</Filter>
</ClCompile>
<ClCompile Include="..\libdevcrypto\FileSystem.cpp">
<Filter>libdevcrypto</Filter>
</ClCompile>
<ClCompile Include="..\libdevcrypto\MemoryDB.cpp">
<Filter>libdevcrypto</Filter>
</ClCompile>
<ClCompile Include="..\libdevcrypto\OverlayDB.cpp">
<Filter>libdevcrypto</Filter>
</ClCompile>
<ClCompile Include="..\libdevcrypto\SHA3.cpp">
<Filter>libdevcrypto</Filter>
</ClCompile>
<ClCompile Include="..\libdevcrypto\TrieCommon.cpp">
<Filter>libdevcrypto</Filter>
</ClCompile>
<ClCompile Include="..\libdevcrypto\TrieDB.cpp">
<Filter>libdevcrypto</Filter>
</ClCompile>
<ClCompile Include="..\libethcore\BlockInfo.cpp">
<Filter>libethcore</Filter>
</ClCompile>
<ClCompile Include="..\libethcore\CommonEth.cpp">
<Filter>libethcore</Filter>
</ClCompile>
<ClCompile Include="..\libethcore\Dagger.cpp">
<Filter>libethcore</Filter>
</ClCompile>
<ClCompile Include="..\libdevcore\CommonData.cpp">
<Filter>libdevcore</Filter>
</ClCompile>
<ClCompile Include="..\libdevcore\CommonIO.cpp">
<Filter>libdevcore</Filter>
</ClCompile>
<ClCompile Include="..\libdevcore\FixedHash.cpp">
<Filter>libdevcore</Filter>
</ClCompile>
<ClCompile Include="..\libdevcore\Guards.cpp">
<Filter>libdevcore</Filter>
</ClCompile>
<ClCompile Include="..\libdevcore\Log.cpp">
<Filter>libdevcore</Filter>
</ClCompile>
<ClCompile Include="..\libdevcore\RLP.cpp">
<Filter>libdevcore</Filter>
</ClCompile>
<ClCompile Include="..\libdevcore\_libdevcore.cpp">
<Filter>libdevcore</Filter>
</ClCompile>
<ClCompile Include="..\libethcore\_libethcore.cpp">
<Filter>libethcore</Filter>
</ClCompile>
<ClCompile Include="..\libevm\_libevm.cpp">
<Filter>libevm</Filter>
</ClCompile>
<ClCompile Include="..\libethereum\CommonNet.cpp">
<Filter>libethereum</Filter>
</ClCompile>
<ClCompile Include="..\libethereum\EthereumHost.cpp">
<Filter>libethereum</Filter>
</ClCompile>
<ClCompile Include="..\libethereum\PastMessage.cpp">
<Filter>libethereum</Filter>
</ClCompile>
<ClCompile Include="..\libethereum\EthereumPeer.cpp">
<Filter>libethereum</Filter>
</ClCompile>
<ClCompile Include="..\libethereum\Interface.cpp">
<Filter>libethereum</Filter>
</ClCompile>
<ClCompile Include="..\libp2p\Capability.cpp">
<Filter>libp2p</Filter>
</ClCompile>
<ClCompile Include="..\libp2p\Host.cpp">
<Filter>libp2p</Filter>
</ClCompile>
<ClCompile Include="..\libp2p\HostCapability.cpp">
<Filter>libp2p</Filter>
</ClCompile>
<ClCompile Include="..\libp2p\Session.cpp">
<Filter>libp2p</Filter>
</ClCompile>
<ClCompile Include="..\libp2p\UPnP.cpp">
<Filter>libp2p</Filter>
</ClCompile>
<ClCompile Include="..\libp2p\_libp2p.cpp">
<Filter>libp2p</Filter>
</ClCompile>
<ClCompile Include="..\libwhisper\_libwhisper.cpp">
<Filter>libwhisper</Filter>
</ClCompile>
<ClCompile Include="..\libwhisper\WhisperPeer.cpp">
<Filter>libwhisper</Filter>
</ClCompile>
</ItemGroup> </ItemGroup>
<ItemGroup> <ItemGroup>
<ClInclude Include="stdafx.h"> <ClInclude Include="stdafx.h">
@ -159,15 +198,6 @@
<ClInclude Include="..\libethereum\ExtVM.h"> <ClInclude Include="..\libethereum\ExtVM.h">
<Filter>libethereum</Filter> <Filter>libethereum</Filter>
</ClInclude> </ClInclude>
<ClInclude Include="..\libethereum\PeerNetwork.h">
<Filter>libethereum</Filter>
</ClInclude>
<ClInclude Include="..\libethereum\PeerServer.h">
<Filter>libethereum</Filter>
</ClInclude>
<ClInclude Include="..\libethereum\PeerSession.h">
<Filter>libethereum</Filter>
</ClInclude>
<ClInclude Include="..\libethereum\State.h"> <ClInclude Include="..\libethereum\State.h">
<Filter>libethereum</Filter> <Filter>libethereum</Filter>
</ClInclude> </ClInclude>
@ -177,18 +207,6 @@
<ClInclude Include="..\libethereum\TransactionQueue.h"> <ClInclude Include="..\libethereum\TransactionQueue.h">
<Filter>libethereum</Filter> <Filter>libethereum</Filter>
</ClInclude> </ClInclude>
<ClInclude Include="..\libethcore\BlockInfo.h">
<Filter>libethcore</Filter>
</ClInclude>
<ClInclude Include="..\libethcore\CommonEth.h">
<Filter>libethcore</Filter>
</ClInclude>
<ClInclude Include="..\libethcore\Dagger.h">
<Filter>libethcore</Filter>
</ClInclude>
<ClInclude Include="..\libethcore\Exceptions.h">
<Filter>libethcore</Filter>
</ClInclude>
<ClInclude Include="..\libevm\ExtVMFace.h"> <ClInclude Include="..\libevm\ExtVMFace.h">
<Filter>libevm</Filter> <Filter>libevm</Filter>
</ClInclude> </ClInclude>
@ -198,66 +216,12 @@
<ClInclude Include="..\libevm\VM.h"> <ClInclude Include="..\libevm\VM.h">
<Filter>libevm</Filter> <Filter>libevm</Filter>
</ClInclude> </ClInclude>
<ClInclude Include="..\libethential\All.h">
<Filter>libethential</Filter>
</ClInclude>
<ClInclude Include="..\libethential\Common.h">
<Filter>libethential</Filter>
</ClInclude>
<ClInclude Include="..\libethential\CommonData.h">
<Filter>libethential</Filter>
</ClInclude>
<ClInclude Include="..\libethential\CommonIO.h">
<Filter>libethential</Filter>
</ClInclude>
<ClInclude Include="..\libethential\Exceptions.h">
<Filter>libethential</Filter>
</ClInclude>
<ClInclude Include="..\libethential\FixedHash.h">
<Filter>libethential</Filter>
</ClInclude>
<ClInclude Include="..\libethential\Log.h">
<Filter>libethential</Filter>
</ClInclude>
<ClInclude Include="..\libethential\RLP.h">
<Filter>libethential</Filter>
</ClInclude>
<ClInclude Include="..\libethential\vector_ref.h">
<Filter>libethential</Filter>
</ClInclude>
<ClInclude Include="..\libevm\All.h"> <ClInclude Include="..\libevm\All.h">
<Filter>libevm</Filter> <Filter>libevm</Filter>
</ClInclude> </ClInclude>
<ClInclude Include="..\libevmface\Instruction.h"> <ClInclude Include="..\libevmface\Instruction.h">
<Filter>libevmface</Filter> <Filter>libevmface</Filter>
</ClInclude> </ClInclude>
<ClInclude Include="..\libethcore\All.h">
<Filter>libethcore</Filter>
</ClInclude>
<ClInclude Include="..\libethcore\CryptoHeaders.h">
<Filter>libethcore</Filter>
</ClInclude>
<ClInclude Include="..\libethcore\FileSystem.h">
<Filter>libethcore</Filter>
</ClInclude>
<ClInclude Include="..\libethcore\MemoryDB.h">
<Filter>libethcore</Filter>
</ClInclude>
<ClInclude Include="..\libethcore\OverlayDB.h">
<Filter>libethcore</Filter>
</ClInclude>
<ClInclude Include="..\libethcore\SHA3.h">
<Filter>libethcore</Filter>
</ClInclude>
<ClInclude Include="..\libethcore\TrieCommon.h">
<Filter>libethcore</Filter>
</ClInclude>
<ClInclude Include="..\libethcore\TrieDB.h">
<Filter>libethcore</Filter>
</ClInclude>
<ClInclude Include="..\libethcore\UPnP.h">
<Filter>libethcore</Filter>
</ClInclude>
<ClInclude Include="..\liblll\All.h"> <ClInclude Include="..\liblll\All.h">
<Filter>liblll</Filter> <Filter>liblll</Filter>
</ClInclude> </ClInclude>
@ -300,6 +264,126 @@
<ClInclude Include="..\libethereum\AccountDiff.h"> <ClInclude Include="..\libethereum\AccountDiff.h">
<Filter>libethereum</Filter> <Filter>libethereum</Filter>
</ClInclude> </ClInclude>
<ClInclude Include="..\libdevcrypto\All.h">
<Filter>libdevcrypto</Filter>
</ClInclude>
<ClInclude Include="..\libdevcrypto\Common.h">
<Filter>libdevcrypto</Filter>
</ClInclude>
<ClInclude Include="..\libdevcrypto\CryptoHeaders.h">
<Filter>libdevcrypto</Filter>
</ClInclude>
<ClInclude Include="..\libdevcrypto\FileSystem.h">
<Filter>libdevcrypto</Filter>
</ClInclude>
<ClInclude Include="..\libdevcrypto\MemoryDB.h">
<Filter>libdevcrypto</Filter>
</ClInclude>
<ClInclude Include="..\libdevcrypto\OverlayDB.h">
<Filter>libdevcrypto</Filter>
</ClInclude>
<ClInclude Include="..\libdevcrypto\SHA3.h">
<Filter>libdevcrypto</Filter>
</ClInclude>
<ClInclude Include="..\libdevcrypto\TrieCommon.h">
<Filter>libdevcrypto</Filter>
</ClInclude>
<ClInclude Include="..\libdevcrypto\TrieDB.h">
<Filter>libdevcrypto</Filter>
</ClInclude>
<ClInclude Include="..\libethcore\All.h">
<Filter>libethcore</Filter>
</ClInclude>
<ClInclude Include="..\libethcore\BlockInfo.h">
<Filter>libethcore</Filter>
</ClInclude>
<ClInclude Include="..\libethcore\CommonEth.h">
<Filter>libethcore</Filter>
</ClInclude>
<ClInclude Include="..\libethcore\CryptoHeaders.h">
<Filter>libethcore</Filter>
</ClInclude>
<ClInclude Include="..\libethcore\Dagger.h">
<Filter>libethcore</Filter>
</ClInclude>
<ClInclude Include="..\libethcore\Exceptions.h">
<Filter>libethcore</Filter>
</ClInclude>
<ClInclude Include="..\libdevcore\All.h">
<Filter>libdevcore</Filter>
</ClInclude>
<ClInclude Include="..\libdevcore\Common.h">
<Filter>libdevcore</Filter>
</ClInclude>
<ClInclude Include="..\libdevcore\CommonData.h">
<Filter>libdevcore</Filter>
</ClInclude>
<ClInclude Include="..\libdevcore\CommonIO.h">
<Filter>libdevcore</Filter>
</ClInclude>
<ClInclude Include="..\libdevcore\Exceptions.h">
<Filter>libdevcore</Filter>
</ClInclude>
<ClInclude Include="..\libdevcore\FixedHash.h">
<Filter>libdevcore</Filter>
</ClInclude>
<ClInclude Include="..\libdevcore\Guards.h">
<Filter>libdevcore</Filter>
</ClInclude>
<ClInclude Include="..\libdevcore\Log.h">
<Filter>libdevcore</Filter>
</ClInclude>
<ClInclude Include="..\libdevcore\RLP.h">
<Filter>libdevcore</Filter>
</ClInclude>
<ClInclude Include="..\libdevcore\vector_ref.h">
<Filter>libdevcore</Filter>
</ClInclude>
<ClInclude Include="..\libethereum\CommonNet.h">
<Filter>libethereum</Filter>
</ClInclude>
<ClInclude Include="..\libethereum\EthereumHost.h">
<Filter>libethereum</Filter>
</ClInclude>
<ClInclude Include="..\libethereum\PastMessage.h">
<Filter>libethereum</Filter>
</ClInclude>
<ClInclude Include="..\libethereum\All.h">
<Filter>libethereum</Filter>
</ClInclude>
<ClInclude Include="..\libethereum\EthereumPeer.h">
<Filter>libethereum</Filter>
</ClInclude>
<ClInclude Include="..\libethereum\Interface.h">
<Filter>libethereum</Filter>
</ClInclude>
<ClInclude Include="..\libp2p\All.h">
<Filter>libp2p</Filter>
</ClInclude>
<ClInclude Include="..\libp2p\Capability.h">
<Filter>libp2p</Filter>
</ClInclude>
<ClInclude Include="..\libp2p\Common.h">
<Filter>libp2p</Filter>
</ClInclude>
<ClInclude Include="..\libp2p\Host.h">
<Filter>libp2p</Filter>
</ClInclude>
<ClInclude Include="..\libp2p\HostCapability.h">
<Filter>libp2p</Filter>
</ClInclude>
<ClInclude Include="..\libp2p\Session.h">
<Filter>libp2p</Filter>
</ClInclude>
<ClInclude Include="..\libp2p\UPnP.h">
<Filter>libp2p</Filter>
</ClInclude>
<ClInclude Include="..\libwhisper\Common.h">
<Filter>libwhisper</Filter>
</ClInclude>
<ClInclude Include="..\libwhisper\WhisperPeer.h">
<Filter>libwhisper</Filter>
</ClInclude>
</ItemGroup> </ItemGroup>
<ItemGroup> <ItemGroup>
<Filter Include="Windows"> <Filter Include="Windows">
@ -317,11 +401,20 @@
<Filter Include="libevmface"> <Filter Include="libevmface">
<UniqueIdentifier>{ed9ad1b3-700c-47f9-8548-a90b5ef179ac}</UniqueIdentifier> <UniqueIdentifier>{ed9ad1b3-700c-47f9-8548-a90b5ef179ac}</UniqueIdentifier>
</Filter> </Filter>
<Filter Include="libethential">
<UniqueIdentifier>{35c32f6c-3f19-4603-8084-1b88ec9ae498}</UniqueIdentifier>
</Filter>
<Filter Include="liblll"> <Filter Include="liblll">
<UniqueIdentifier>{e6332606-e0ca-48aa-8a6b-303971ba7a93}</UniqueIdentifier> <UniqueIdentifier>{e6332606-e0ca-48aa-8a6b-303971ba7a93}</UniqueIdentifier>
</Filter> </Filter>
<Filter Include="libdevcrypto">
<UniqueIdentifier>{fae2102b-d574-40fc-9f90-1b9ed0d117ac}</UniqueIdentifier>
</Filter>
<Filter Include="libdevcore">
<UniqueIdentifier>{35c32f6c-3f19-4603-8084-1b88ec9ae498}</UniqueIdentifier>
</Filter>
<Filter Include="libp2p">
<UniqueIdentifier>{fc2cb618-ab0c-45b6-8eb9-6d88e0336fa9}</UniqueIdentifier>
</Filter>
<Filter Include="libwhisper">
<UniqueIdentifier>{36748e80-c977-4fee-84e6-699c039dff87}</UniqueIdentifier>
</Filter>
</ItemGroup> </ItemGroup>
</Project> </Project>
Loading…
Cancel
Save