issues
search
interledger
/
interledger-rs
An easy-to-use, high-performance Interledger implementation written in Rust
http://interledger.rs
Other
201
stars
70
forks
source link
feat(stream): sender refactor with rate enforcement
#616
Closed
kincaidoneil
closed
4 years ago
kincaidoneil
commented
4 years ago
Big things
Minimum exchange rate enforcement to fix #273
Uses exchange rate store to calculate rate to recipient, minus configurable slippage margin
All packets are unfulfillable while waiting for destination asset details from recipient
Refactor of STREAM sender using async-await and tokio for scheduling to improve performance
Moved all rate APIs to new
interledger-rates
crate
Little things
Added checking of STREAM sequence number to prevent replays
Added safe reporting of the minimum delivered amount
Cross-currency integration tests, and testing failure if spread is too large/poor exchange rate
Added behavior to fail fast if the rate of rejected packets is too high (> 99%, and at least 200 attempts)
Added additional metadata to the STREAM delivery receipt (minor changes to receipt returned from API, updated Swagger docs to reflect this)
Added slippage configuration to
/payments
endpoint (percentage of calculated exchange rate which is acceptable to deliver)
Big things
interledger-rates
crateLittle things
/payments
endpoint (percentage of calculated exchange rate which is acceptable to deliver)