mirror of
https://github.com/XRPLF/rippled.git
synced 2025-12-06 17:27:55 +00:00
Remove trailing spaces.
This commit is contained in:
committed by
Nik Bougalis
parent
9e69bd5c56
commit
32ec3fe089
@@ -28,7 +28,7 @@ namespace ripple {
|
||||
class STLedgerEntry;
|
||||
|
||||
/** A pair of SHAMap key and LedgerEntryType.
|
||||
|
||||
|
||||
A Keylet identifies both a key in the state map
|
||||
and its ledger entry type.
|
||||
|
||||
|
||||
@@ -187,7 +187,7 @@ enum class ECDSACanonicality
|
||||
|
||||
Therefore, to prevent malleability attacks we
|
||||
define a fully canonical signature as one where:
|
||||
|
||||
|
||||
R < G - S
|
||||
|
||||
where G is the curve order.
|
||||
|
||||
@@ -32,7 +32,7 @@ public:
|
||||
using value_type = Integer;
|
||||
|
||||
explicit
|
||||
STInteger (Integer v)
|
||||
STInteger (Integer v)
|
||||
: value_ (v)
|
||||
{ }
|
||||
|
||||
|
||||
@@ -46,12 +46,12 @@ public:
|
||||
}
|
||||
|
||||
STLedgerEntry (const Serializer & s, uint256 const& index);
|
||||
|
||||
|
||||
STLedgerEntry (SerialIter & sit, uint256 const& index);
|
||||
STLedgerEntry(SerialIter&& sit, uint256 const& index)
|
||||
: STLedgerEntry(sit, index) {}
|
||||
|
||||
|
||||
|
||||
|
||||
STLedgerEntry (const STObject & object, uint256 const& index);
|
||||
|
||||
STBase*
|
||||
@@ -72,9 +72,9 @@ public:
|
||||
}
|
||||
|
||||
std::string getFullText () const override;
|
||||
|
||||
|
||||
std::string getText () const override;
|
||||
|
||||
|
||||
Json::Value getJson (int options) const override;
|
||||
|
||||
/** Returns the 'key' (or 'index') of this item.
|
||||
@@ -112,15 +112,15 @@ public:
|
||||
{
|
||||
return getFieldU16 (sfLedgerEntryType);
|
||||
}
|
||||
|
||||
|
||||
bool isThreadedType() const; // is this a ledger entry that can be threaded
|
||||
|
||||
|
||||
bool isThreaded () const; // is this ledger entry actually threaded
|
||||
|
||||
|
||||
uint256 getThreadedTransaction () const;
|
||||
|
||||
|
||||
std::uint32_t getThreadedLedger () const;
|
||||
|
||||
|
||||
bool thread (uint256 const& txID, std::uint32_t ledgerSeq, uint256 & prevTxID,
|
||||
std::uint32_t & prevLedgerID);
|
||||
|
||||
|
||||
@@ -268,7 +268,7 @@ public:
|
||||
|
||||
bool
|
||||
isEquivalent (const STBase& t) const override;
|
||||
|
||||
|
||||
bool
|
||||
isDefault () const override
|
||||
{
|
||||
|
||||
@@ -66,7 +66,7 @@ public:
|
||||
{
|
||||
return STI_VECTOR256;
|
||||
}
|
||||
|
||||
|
||||
void
|
||||
add (Serializer& s) const override;
|
||||
|
||||
@@ -75,7 +75,7 @@ public:
|
||||
|
||||
bool
|
||||
isEquivalent (const STBase& t) const override;
|
||||
|
||||
|
||||
bool
|
||||
isDefault () const override
|
||||
{
|
||||
|
||||
@@ -343,7 +343,7 @@ public:
|
||||
{
|
||||
return getBitString<160>();
|
||||
}
|
||||
|
||||
|
||||
uint256
|
||||
get256()
|
||||
{
|
||||
|
||||
@@ -141,7 +141,7 @@ using sha512_hasher = beast::sha512_hasher;
|
||||
representing a Ripple account, from a message. Typically the
|
||||
message is the public key of the account - which is not
|
||||
stored in the account root.
|
||||
|
||||
|
||||
The same computation is used regardless of the cryptographic
|
||||
scheme implied by the public key. For example, the public key
|
||||
may be an ed25519 public key or a secp256k1 public key. Support
|
||||
@@ -217,7 +217,7 @@ public:
|
||||
explicit
|
||||
operator result_type() noexcept
|
||||
{
|
||||
auto const digest =
|
||||
auto const digest =
|
||||
sha512_hasher::result_type(h_);
|
||||
result_type result;
|
||||
std::copy(digest.begin(),
|
||||
|
||||
@@ -97,7 +97,7 @@ STArray::STArray (SerialIter& sit, SField const& f)
|
||||
|
||||
v_.emplace_back(fn);
|
||||
v_.back().set (sit, 1);
|
||||
|
||||
|
||||
if (v_.back().setTypeFromSField (fn) == STObject::typeSetFail)
|
||||
{
|
||||
throw std::runtime_error ("Malformed object in array");
|
||||
|
||||
@@ -157,7 +157,7 @@ encodeBase58(
|
||||
Wallet Seed
|
||||
Account Public Key
|
||||
Account ID
|
||||
|
||||
|
||||
@param temp A pointer to storage of not
|
||||
less than 2*(size+6) bytes
|
||||
*/
|
||||
|
||||
@@ -63,7 +63,7 @@ public:
|
||||
out.push_back ((hi*16)+lo);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
blob
|
||||
sig (std::string const& hex)
|
||||
{
|
||||
|
||||
@@ -68,7 +68,7 @@ parseHexOrBase58 (std::string const& s);
|
||||
Wallet Seed
|
||||
Account Public Key
|
||||
Account ID
|
||||
|
||||
|
||||
@param temp A pointer to storage of not
|
||||
less than 2*(size+6) bytes
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user