diff --git a/src/NetworkOPs.cpp b/src/NetworkOPs.cpp index 199c35de24..894a092ab9 100644 --- a/src/NetworkOPs.cpp +++ b/src/NetworkOPs.cpp @@ -419,3 +419,9 @@ SHAMap::pointer NetworkOPs::getTXMap(const uint256& hash) { // WRITEME return SHAMap::pointer(); } + +bool NetworkOPs::gotTXData(boost::shared_ptr peer, const uint256& hash, + const std::list& nodeIDs, const std::list< std::vector >& nodeData) +{ // WRITEME + return true; +} diff --git a/src/NetworkOPs.h b/src/NetworkOPs.h index b926b058df..4bf636ad97 100644 --- a/src/NetworkOPs.h +++ b/src/NetworkOPs.h @@ -66,13 +66,15 @@ public: // tree synchronization operations bool getTransactionTreeNodes(uint32 ledgerSeq, const uint256& myNodeID, - const std::vector& myNode, std::list >& newNodes); + const std::vector& myNode, std::list< std::vector >& newNodes); bool getAccountStateNodes(uint32 ledgerSeq, const uint256& myNodeId, - const std::vector& myNode, std::list >& newNodes); + const std::vector& myNode, std::list< std::vector >& newNodes); // ledger proposal/close functions bool proposeLedger(uint32 closingSeq, uint32 proposeSeq, const uint256& proposeHash, const std::string& pubKey, const std::string& signature); + bool gotTXData(boost::shared_ptr peer, const uint256& hash, + const std::list& nodeIDs, const std::list< std::vector >& nodeData); SHAMap::pointer getTXMap(const uint256& hash); // network state machine