Interface ValidationStream

The validations stream sends messages whenever it receives validation messages, also called validation votes, regardless of whether or not the validation message is from a trusted validator.

Hierarchy

  • BaseStream
    • ValidationStream

Properties

amendments?: string[]

The value validationReceived indicates this is from the validations Stream.

base_fee?: number

The amendments this server wants to be added to the protocol.

cookie?: string

An arbitrary value chosen by the server at startup.

If the same validation key pair signs validations with different cookies concurrently, that usually indicates that multiple servers are incorrectly configured to use the same validation key pair.

data?: string

The contents of the validation message in its canonical binary form

flags: number

The unscaled transaction cost (reference_fee value) this server wants to set by Fee voting.

full: boolean

Bit-mask of flags added to this validation message. The flag 0x80000000 indicates that the validation signature is fully-canonical. The flag 0x00000001 indicates that this is a full validation; otherwise it's a partial validation. Partial validations are not meant to vote for any particular ledger. A partial validation indicates that the validator is still online but not keeping up with consensus.

ledger_hash: string

If true, this is a full validation. Otherwise, this is a partial validation. Partial validations are not meant to vote for any particular ledger. A partial validation indicates that the validator is still online but not keeping up with consensus.

ledger_index: string

The ledger index of the proposed ledger.

load_fee?: number

The local load-scaled transaction cost this validator is currently enforcing, in fee units.

master_key?: string

The validator's master public key, if the validator is using a validator token, in the XRP Ledger's base58 format.

reserve_base?: number

The minimum reserve requirement (account_reserve value) this validator wants to set by fee voting.

reserve_inc?: number

The increment in the reserve requirement (owner_reserve value) this validator wants to set by fee voting.

signature: string

The signature that the validator used to sign its vote for this ledger.

signing_time: number

When this validation vote was signed, in seconds since the Ripple Epoch.

type: "validationReceived"
validation_public_key: string

The public key from the key-pair that the validator used to sign the message, in the XRP Ledger's base58 format. This identifies the validator sending the message and can also be used to verify the signature. If the validator is using a token, this is an ephemeral public key.

Generated using TypeDoc