mirror of
https://github.com/XRPLF/rippled.git
synced 2025-12-06 17:27:55 +00:00
Replace "it's" with "its" in several places.
This commit is contained in:
@@ -21,7 +21,7 @@ This is the **rippled** implementation; there are many other possible implementa
|
|||||||
* When searching, limit our search to the rippled cache.
|
* When searching, limit our search to the rippled cache.
|
||||||
2. Six degrees of separation.
|
2. Six degrees of separation.
|
||||||
* If sending value through individual's account, expect no path to have more than six hops.
|
* If sending value through individual's account, expect no path to have more than six hops.
|
||||||
* According to [Facebook studies](https://www.facebook.com/notes/facebook-data-team/anatomy-of-facebook/10150388519243859) as of late 2011, it's users are separated by fewer than five steps.
|
* According to [Facebook studies](https://www.facebook.com/notes/facebook-data-team/anatomy-of-facebook/10150388519243859) as of late 2011, its users are separated by fewer than five steps.
|
||||||
* By using XRP for bridging the most complicated path expected is usually:
|
* By using XRP for bridging the most complicated path expected is usually:
|
||||||
* source -> gateway -> XRP -> gateway -> destination
|
* source -> gateway -> XRP -> gateway -> destination
|
||||||
3. Pareto principle.
|
3. Pareto principle.
|
||||||
@@ -135,8 +135,3 @@ If you can compute a path already yourself or know one, you don't need to do ste
|
|||||||
* very little time, can't afford to do a search.
|
* very little time, can't afford to do a search.
|
||||||
* that's why we do the path building before the payment is due.
|
* that's why we do the path building before the payment is due.
|
||||||
* The routine used to compute liquidity and ledger change is also called RippleCalc::rippleCalc.
|
* The routine used to compute liquidity and ledger change is also called RippleCalc::rippleCalc.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -424,8 +424,8 @@ private:
|
|||||||
// Post-conditions:
|
// Post-conditions:
|
||||||
// job is a valid Job object.
|
// job is a valid Job object.
|
||||||
// job is removed from mJobQueue.
|
// job is removed from mJobQueue.
|
||||||
// Waiting job count of it's type is decremented
|
// Waiting job count of its type is decremented
|
||||||
// Running job count of it's type is incremented
|
// Running job count of its type is incremented
|
||||||
//
|
//
|
||||||
// Invariants:
|
// Invariants:
|
||||||
// The calling thread owns the JobLock
|
// The calling thread owns the JobLock
|
||||||
|
|||||||
@@ -23,7 +23,7 @@
|
|||||||
namespace ripple {
|
namespace ripple {
|
||||||
namespace PeerFinder {
|
namespace PeerFinder {
|
||||||
|
|
||||||
/** Wraps a Journal::Sink to prefix it's output. */
|
/** Wraps a Journal::Sink to prefix its output. */
|
||||||
class WrappedSink : public beast::Journal::Sink
|
class WrappedSink : public beast::Journal::Sink
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
|
|||||||
@@ -60,7 +60,7 @@ public:
|
|||||||
arrays/objects.
|
arrays/objects.
|
||||||
|
|
||||||
STObject is an associative container, mapping fields to value, but
|
STObject is an associative container, mapping fields to value, but
|
||||||
an STObject may also have a Field as it's name, stored outside the
|
an STObject may also have a Field as its name, stored outside the
|
||||||
associative structure. The name is important, so to maintain
|
associative structure. The name is important, so to maintain
|
||||||
fidelity, it will take TWO json objects to represent them.
|
fidelity, it will take TWO json objects to represent them.
|
||||||
|
|
||||||
|
|||||||
@@ -46,7 +46,7 @@ GlobalFreeze
|
|||||||
------------
|
------------
|
||||||
|
|
||||||
There is also, a global freeze, toggled by a bit in the AccountRoot Flags, which
|
There is also, a global freeze, toggled by a bit in the AccountRoot Flags, which
|
||||||
freezes ALL trust lines for an account.
|
freezes ALL trust lines for an account.
|
||||||
|
|
||||||
Offers can not be created to buy or sell assets issued by an account with
|
Offers can not be created to buy or sell assets issued by an account with
|
||||||
GlobalFreeze set.
|
GlobalFreeze set.
|
||||||
@@ -56,7 +56,7 @@ Use cases (via (David (JoelKatz) Schwartz)):
|
|||||||
There are two basic cases. One is a case where some kind of bug or flaw causes
|
There are two basic cases. One is a case where some kind of bug or flaw causes
|
||||||
a large amount of an asset to somehow be created and the gateway hasn't yet
|
a large amount of an asset to somehow be created and the gateway hasn't yet
|
||||||
decided how it's going to handle it.
|
decided how it's going to handle it.
|
||||||
|
|
||||||
The other is a reissue where one asset is replaced by another. In a community
|
The other is a reissue where one asset is replaced by another. In a community
|
||||||
credit case, say someone tricks you into issuing a huge amount of an asset,
|
credit case, say someone tricks you into issuing a huge amount of an asset,
|
||||||
but you set the no freeze flag. You can still set global freeze to protect
|
but you set the no freeze flag. You can still set global freeze to protect
|
||||||
@@ -70,7 +70,7 @@ NoFreeze
|
|||||||
NoFreeze, is a set only flag bit in the account root.
|
NoFreeze, is a set only flag bit in the account root.
|
||||||
|
|
||||||
When this bit is set:
|
When this bit is set:
|
||||||
An account may not freeze it's side of a trustline
|
An account may not freeze its side of a trustline
|
||||||
|
|
||||||
The NoFreeze bit can not be cleared
|
The NoFreeze bit can not be cleared
|
||||||
|
|
||||||
@@ -84,7 +84,7 @@ LedgerEntry flags
|
|||||||
-----------------
|
-----------------
|
||||||
|
|
||||||
RippleState
|
RippleState
|
||||||
|
|
||||||
LowFreeze 0x00400000
|
LowFreeze 0x00400000
|
||||||
HighFreeze 0x00800000
|
HighFreeze 0x00800000
|
||||||
|
|
||||||
@@ -128,7 +128,7 @@ request.book_offers
|
|||||||
-------------------
|
-------------------
|
||||||
|
|
||||||
All offers selling assets from a frozen line/acount (offers created before a
|
All offers selling assets from a frozen line/acount (offers created before a
|
||||||
freeze) will be filtered, except where in a global freeze situation where:
|
freeze) will be filtered, except where in a global freeze situation where:
|
||||||
|
|
||||||
TakerGets.issuer == Account ($frozen_account)
|
TakerGets.issuer == Account ($frozen_account)
|
||||||
|
|
||||||
@@ -298,11 +298,11 @@ book_offers_factory = (remote) ->
|
|||||||
|
|
||||||
suite_setup = (state) ->
|
suite_setup = (state) ->
|
||||||
'''
|
'''
|
||||||
|
|
||||||
@state
|
@state
|
||||||
|
|
||||||
The ledger state to setup, after starting the server
|
The ledger state to setup, after starting the server
|
||||||
|
|
||||||
'''
|
'''
|
||||||
opts =
|
opts =
|
||||||
setup_func: suiteSetup
|
setup_func: suiteSetup
|
||||||
@@ -557,7 +557,7 @@ execute_if_enabled (suite, enforced) ->
|
|||||||
|
|
||||||
done()
|
done()
|
||||||
|
|
||||||
suite 'it\'s assets can be', ->
|
suite 'its assets can be', ->
|
||||||
|
|
||||||
test 'bought on the market', (next) ->
|
test 'bought on the market', (next) ->
|
||||||
h.create_offer 'A3', '1/BTC/G1', '1.0', (m) ->
|
h.create_offer 'A3', '1/BTC/G1', '1.0', (m) ->
|
||||||
@@ -603,7 +603,7 @@ execute_if_enabled (suite, enforced) ->
|
|||||||
|
|
||||||
done()
|
done()
|
||||||
|
|
||||||
suite 'it\'s assets can\'t be', ->
|
suite 'its assets can\'t be', ->
|
||||||
test_if enforced, 'bought on the market', (next) ->
|
test_if enforced, 'bought on the market', (next) ->
|
||||||
h.create_offer 'A3', '1/BTC/G1', '1.0', (m) ->
|
h.create_offer 'A3', '1/BTC/G1', '1.0', (m) ->
|
||||||
assert.equal m.engine_result, 'tecFROZEN'
|
assert.equal m.engine_result, 'tecFROZEN'
|
||||||
@@ -614,7 +614,7 @@ execute_if_enabled (suite, enforced) ->
|
|||||||
assert.equal m.engine_result, 'tecFROZEN'
|
assert.equal m.engine_result, 'tecFROZEN'
|
||||||
next()
|
next()
|
||||||
|
|
||||||
suite 'it\'s offers are filtered', ->
|
suite 'its offers are filtered', ->
|
||||||
test_if enforced, 'account_offers always '+
|
test_if enforced, 'account_offers always '+
|
||||||
'shows their own offers', (done) ->
|
'shows their own offers', (done) ->
|
||||||
{remote} = h = get_helpers()
|
{remote} = h = get_helpers()
|
||||||
|
|||||||
Reference in New Issue
Block a user