Reformatting using AStyle

This commit is contained in:
Vinnie Falco
2013-06-14 08:45:13 -07:00
parent 36bd8f7173
commit 521e812fc4
294 changed files with 54609 additions and 47598 deletions

View File

@@ -17,38 +17,50 @@ class Ledger;
class Wallet
{
private:
bool nodeIdentityLoad();
bool nodeIdentityCreate();
bool nodeIdentityLoad ();
bool nodeIdentityCreate ();
Wallet(const Wallet&); // no implementation
Wallet& operator=(const Wallet&); // no implementation
Wallet (const Wallet&); // no implementation
Wallet& operator= (const Wallet&); // no implementation
public:
Wallet();
Wallet ();
// Begin processing.
// - Maintain peer connectivity through validation and peer management.
void start();
// Begin processing.
// - Maintain peer connectivity through validation and peer management.
void start ();
const RippleAddress& getNodePublic() const { return mNodePublicKey; }
const RippleAddress& getNodePrivate() const { return mNodePrivateKey; }
DH* getDh512() { return DHparams_dup(mDh512); }
DH* getDh1024() { return DHparams_dup(mDh1024); }
const RippleAddress& getNodePublic () const
{
return mNodePublicKey;
}
const RippleAddress& getNodePrivate () const
{
return mNodePrivateKey;
}
DH* getDh512 ()
{
return DHparams_dup (mDh512);
}
DH* getDh1024 ()
{
return DHparams_dup (mDh1024);
}
// Local persistence of RPC clients
bool dataDelete(const std::string& strKey);
bool dataFetch(const std::string& strKey, std::string& strValue);
bool dataStore(const std::string& strKey, const std::string& strValue);
// Local persistence of RPC clients
bool dataDelete (const std::string& strKey);
bool dataFetch (const std::string& strKey, std::string& strValue);
bool dataStore (const std::string& strKey, const std::string& strValue);
private:
boost::recursive_mutex mLock;
boost::recursive_mutex mLock;
RippleAddress mNodePublicKey;
RippleAddress mNodePrivateKey;
DH* mDh512;
DH* mDh1024;
RippleAddress mNodePublicKey;
RippleAddress mNodePrivateKey;
DH* mDh512;
DH* mDh1024;
uint32 mLedger; // ledger we last synched to
uint32 mLedger; // ledger we last synched to
};
#endif