Fix TODOs in schemas

This commit is contained in:
Chris Clark
2015-11-16 16:59:27 -08:00
parent ee12a214d3
commit ef72c9fe02
7 changed files with 5 additions and 15 deletions

View File

@@ -39,8 +39,7 @@ const AccountFields = {
length: 32, defaults: '0'},
MessageKey: {name: 'messageKey'},
Domain: {name: 'domain', encoding: 'hex'},
TransferRate: {name: 'transferRate', defaults: 0, shift: 9},
Signers: {name: 'signers'}
TransferRate: {name: 'transferRate', defaults: 0, shift: 9}
};
module.exports = {

View File

@@ -20,7 +20,7 @@
"closeFlags": {
"type": "integer",
"minimum": 0,
"description": "TODO"
"description": "A bit-map of flags relating to the closing of this ledger. Currently, the ledger has only one flag defined for `closeFlags`: **sLCF_NoConsensusTime** (value 1). If this flag is enabled, it means that validators were in conflict regarding the correct close time for the ledger, but built otherwise the same ledger, so they declared consensus while \"agreeing to disagree\" on the close time. In this case, the consensus ledger contains a `closeTime` value that is 1 second after that of the previous ledger. (In this case, there is no official close time, but the actual real-world close time is probably 3-6 seconds later than the specified `closeTime`.)"
},
"ledgerHash": {
"$ref": "hash256",

View File

@@ -61,10 +61,6 @@
{"type": "number", "minimum": 1, "maximum": 4.294967295}
]
},
"signers": {
"type": "string",
"description": "TODO"
},
"regularKey": {
"oneOf": [
{"$ref": "address"},

View File

@@ -21,11 +21,11 @@
},
"digest": {
"$ref": "hash256",
"description": "TODO"
"description": "The original `digest` from the suspended payment creation transaction."
},
"proof": {
"type": "string",
"description": "This value will be hashed to produce the digest."
"description": "A value that produces the digest when hashed."
}
},
"required": ["owner", "suspensionSequence"],

View File

@@ -24,7 +24,6 @@ type GetSettings = {
messageKey?: string,
domain?: string,
transferRate?: ?number,
signers?: string,
regularKey?: string
}

View File

@@ -48,7 +48,6 @@ type Settings = {
messageKey?: string,
domain?: string,
transferRate?: number,
signers?: string,
regularKey?: string
}

View File

@@ -40,14 +40,11 @@ type SettingDomain = {
type SettingTransferRate = {
transferRate?: ?number,
}
type SettingSigners = {
signers?: string,
}
type SettingRegularKey = {
regularKey?: string
}
export type Settings = SettingRegularKey | SettingSigners |
export type Settings = SettingRegularKey |
SettingTransferRate | SettingDomain | SettingMessageKey |
SettingEmailHash | SettingDefaultRipple |
SettingGlobalFreeze | SettingNoFreeze | SettingEnableTransactionIDTracking |