mirror of
https://github.com/Xahau/xahaud.git
synced 2025-12-06 17:27:52 +00:00
Rename ripple namespace used for protobuf to 'protocol'
This commit is contained in:
@@ -112,12 +112,12 @@ void TransactionAcquire::trigger (Peer::ref peer)
|
||||
if (!mHaveRoot)
|
||||
{
|
||||
WriteLog (lsTRACE, TransactionAcquire) << "TransactionAcquire::trigger " << (peer ? "havePeer" : "noPeer") << " no root";
|
||||
ripple::TMGetLedger tmGL;
|
||||
protocol::TMGetLedger tmGL;
|
||||
tmGL.set_ledgerhash (mHash.begin (), mHash.size ());
|
||||
tmGL.set_itype (ripple::liTS_CANDIDATE);
|
||||
tmGL.set_itype (protocol::liTS_CANDIDATE);
|
||||
|
||||
if (getTimeouts () != 0)
|
||||
tmGL.set_querytype (ripple::qtINDIRECT);
|
||||
tmGL.set_querytype (protocol::qtINDIRECT);
|
||||
|
||||
* (tmGL.add_nodeids ()) = SHAMapNode ().getRawString ();
|
||||
sendRequest (tmGL, peer);
|
||||
@@ -140,12 +140,12 @@ void TransactionAcquire::trigger (Peer::ref peer)
|
||||
return;
|
||||
}
|
||||
|
||||
ripple::TMGetLedger tmGL;
|
||||
protocol::TMGetLedger tmGL;
|
||||
tmGL.set_ledgerhash (mHash.begin (), mHash.size ());
|
||||
tmGL.set_itype (ripple::liTS_CANDIDATE);
|
||||
tmGL.set_itype (protocol::liTS_CANDIDATE);
|
||||
|
||||
if (getTimeouts () != 0)
|
||||
tmGL.set_querytype (ripple::qtINDIRECT);
|
||||
tmGL.set_querytype (protocol::qtINDIRECT);
|
||||
|
||||
BOOST_FOREACH (SHAMapNode & it, nodeIDs)
|
||||
* (tmGL.add_nodeids ()) = it.getRawString ();
|
||||
|
||||
Reference in New Issue
Block a user