forked from fuzzland/cached-eth-rpc
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add allowed prefixes for RPC methods
Introduce a check to validate that RPC method names start with any of the specified allowed prefixes. Update the code to use `HashSet` for efficient prefix storage and add default allowed prefixes when initializing the application state.
- Loading branch information
Inkvi
committed
Aug 22, 2024
1 parent
6e68736
commit dbd77af
Showing
1 changed file
with
12 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters