dfinity / exchange-rate-canister

The exchange rate canister (XRC) makes use of the HTTP requests feature to provide exchange rates as a service to the IC.
Apache License 2.0
37 stars 10 forks source link

`feat`: Requested timestamps that are too far in the future should be rejected and charged the minimum fee. #187

Closed dfinity-ryancroote closed 1 year ago

dfinity-ryancroote commented 1 year ago

This PR introduces a future timestamp check for rate requests. If the timestamp is too far in the future, it is rejected and the minimum fee will be charged.