Token in the ILP address uniquely identifying this connection
User-specified connection identifier that was passed into [generateAddressAndSecret
]{@link Server#generateAddressAndSecret}
ILP Address of the remote entity
Pad packets to the maximum size (data field of 32767 bytes). False by default
Fixed exchange rate. When set, the connection skips the packet volley step. Note that the minimum acceptable exchange rate is usually slightly lower than this (depending on the connection's slippage).
This option should usually be used in concert with ConnectionOpts.maximumPacketAmount
.
This option should usually be used in concert with ConnectionOpts.maximumPacketAmount
.
Returns the expiry to use for an ILP Prepare to the specified destination. When omitted, use a timeout of 30 seconds.
Inactivity timeout (milliseconds)
Maximum number of streams the other entity can have open at once. Defaults to 10
Fixed maximum packet amount. When set, the connection's maximum packet amount is the minimum of this setting and the path's discovered maximum amount.
Minimum Precision to use when determining the exchange rate
Ledger plugin (V2)
User-specified receipt nonce that was passed into [generateAddressAndSecret
]{@link Server#generateAddressAndSecret}
User-specified receipt secret that was passed into [generateAddressAndSecret
]{@link Server#generateAddressAndSecret}
Callback for the consumer to perform accounting and choose to fulfill an incoming ILP Prepare,
given the amount received, a unique identifier for the packet, and connectionTag
.
If the returned Promise is resolved, the ILP Prepare will be fulfilled; if it is rejected, the ILP Prepare will be rejected. The ILP Fulfill will be immediately sent back after the Promise is resolved.
Note: a misbehaving sender can trigger duplicate packetIds, which should be ignored and rejected.
If the returned Promise is resolved, the ILP Prepare will be fulfilled; if it is rejected, the ILP Prepare will be rejected. The ILP Fulfill will be immediately sent back after the Promise is resolved.
Note: a misbehaving sender can trigger duplicate packetIds, which should be ignored and rejected.
Specifies how much worse than the initial test packet that the exchange rate is allowed to get before packets are rejected
ILP Address of the plugin
Generated using TypeDoc
Number of bytes each connection can have in the buffer. Defaults to 65534