AleoNet / snarkOS

A Decentralized Operating System for ZK Applications
http://snarkos.org
Apache License 2.0
4.31k stars 2.62k forks source link

[Feature] authentication for get_blocks and get_delegators endpoints #3354

Open niklaslong opened 3 months ago

niklaslong commented 3 months ago

These requests can return large responses and be expensive to compute so it was suggested we move these behind authentication as an extra precaution in addition to rate-limiting.

This PR was moved from https://github.com/ProvableHQ/snarkOS/pull/4.

CI run.