mirror of
https://github.com/XRPLF/rippled.git
synced 2025-12-06 17:27:55 +00:00
Reformatting using AStyle
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
#ifndef RIPPLE_TRANSACTIONACQUIRE_H
|
||||
#define RIPPLE_TRANSACTIONACQUIRE_H
|
||||
|
||||
DEFINE_INSTANCE(TransactionAcquire);
|
||||
DEFINE_INSTANCE (TransactionAcquire);
|
||||
|
||||
// VFALCO TODO rename to PeerTxRequest
|
||||
// A transaction set we are trying to acquire
|
||||
@@ -11,27 +11,36 @@ class TransactionAcquire
|
||||
, public boost::enable_shared_from_this <TransactionAcquire>
|
||||
{
|
||||
public:
|
||||
typedef boost::shared_ptr<TransactionAcquire> pointer;
|
||||
typedef boost::shared_ptr<TransactionAcquire> pointer;
|
||||
|
||||
public:
|
||||
explicit TransactionAcquire (uint256 const& hash);
|
||||
virtual ~TransactionAcquire() { ; }
|
||||
explicit TransactionAcquire (uint256 const& hash);
|
||||
virtual ~TransactionAcquire ()
|
||||
{
|
||||
;
|
||||
}
|
||||
|
||||
SHAMap::ref getMap() { return mMap; }
|
||||
SHAMap::ref getMap ()
|
||||
{
|
||||
return mMap;
|
||||
}
|
||||
|
||||
SHAMapAddNode takeNodes(const std::list<SHAMapNode>& IDs,
|
||||
const std::list< Blob >& data, Peer::ref);
|
||||
SHAMapAddNode takeNodes (const std::list<SHAMapNode>& IDs,
|
||||
const std::list< Blob >& data, Peer::ref);
|
||||
|
||||
private:
|
||||
SHAMap::pointer mMap;
|
||||
bool mHaveRoot;
|
||||
SHAMap::pointer mMap;
|
||||
bool mHaveRoot;
|
||||
|
||||
void onTimer(bool progress);
|
||||
void newPeer(Peer::ref peer) { trigger(peer); }
|
||||
void onTimer (bool progress);
|
||||
void newPeer (Peer::ref peer)
|
||||
{
|
||||
trigger (peer);
|
||||
}
|
||||
|
||||
void done();
|
||||
void trigger(Peer::ref);
|
||||
boost::weak_ptr<PeerSet> pmDowncast();
|
||||
void done ();
|
||||
void trigger (Peer::ref);
|
||||
boost::weak_ptr<PeerSet> pmDowncast ();
|
||||
};
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user