mirror of
https://github.com/Xahau/xahau.js.git
synced 2026-06-07 02:36:41 +00:00
Fix TODOs in schemas
This commit is contained in:
@@ -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 = {
|
||||
|
||||
@@ -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",
|
||||
|
||||
@@ -61,10 +61,6 @@
|
||||
{"type": "number", "minimum": 1, "maximum": 4.294967295}
|
||||
]
|
||||
},
|
||||
"signers": {
|
||||
"type": "string",
|
||||
"description": "TODO"
|
||||
},
|
||||
"regularKey": {
|
||||
"oneOf": [
|
||||
{"$ref": "address"},
|
||||
|
||||
@@ -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"],
|
||||
|
||||
@@ -24,7 +24,6 @@ type GetSettings = {
|
||||
messageKey?: string,
|
||||
domain?: string,
|
||||
transferRate?: ?number,
|
||||
signers?: string,
|
||||
regularKey?: string
|
||||
}
|
||||
|
||||
|
||||
@@ -48,7 +48,6 @@ type Settings = {
|
||||
messageKey?: string,
|
||||
domain?: string,
|
||||
transferRate?: number,
|
||||
signers?: string,
|
||||
regularKey?: string
|
||||
}
|
||||
|
||||
|
||||
@@ -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 |
|
||||
|
||||
Reference in New Issue
Block a user