mirror of
https://github.com/Xahau/xahaud.git
synced 2025-12-06 17:27:52 +00:00
SHAMap refactoring:
* Rename SHAMapNode to SHAMapNodeID. * Cleanups
This commit is contained in:
committed by
Nik Bougalis
parent
23dc08c925
commit
9dc32cb791
@@ -230,7 +230,7 @@ public:
|
||||
void processTrustedProposal (LedgerProposal::pointer proposal, std::shared_ptr<protocol::TMProposeSet> set,
|
||||
RippleAddress nodePublic, uint256 checkLedger, bool sigGood);
|
||||
SHAMapAddNode gotTXData (const std::shared_ptr<Peer>& peer, uint256 const& hash,
|
||||
const std::list<SHAMapNode>& nodeIDs, const std::list< Blob >& nodeData);
|
||||
const std::list<SHAMapNodeID>& nodeIDs, const std::list< Blob >& nodeData);
|
||||
bool recvValidation (SerializedValidation::ref val, const std::string& source);
|
||||
void takePosition (int seq, SHAMap::ref position);
|
||||
SHAMap::pointer getTXMap (uint256 const& hash);
|
||||
@@ -1608,7 +1608,7 @@ void NetworkOPsImp::takePosition (int seq, SHAMap::ref position)
|
||||
|
||||
// Call with the master lock for now
|
||||
SHAMapAddNode NetworkOPsImp::gotTXData (const std::shared_ptr<Peer>& peer, uint256 const& hash,
|
||||
const std::list<SHAMapNode>& nodeIDs, const std::list< Blob >& nodeData)
|
||||
const std::list<SHAMapNodeID>& nodeIDs, const std::list< Blob >& nodeData)
|
||||
{
|
||||
|
||||
if (!mConsensus)
|
||||
|
||||
Reference in New Issue
Block a user