You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As an intermediary measure to run Forest without an external proxy, the daemon should implement a simple method white/blacklisting, along the lines of what is implemented in the api compare.
/// A filter list that allows or rejects RPC methods based on their name.
#[derive(Default)]
structFilterList{
allow:Vec<String>,
reject:Vec<String>,
}
It should allow for basic method enabling/disabling. For example, running forest with --rpc-method-filter list.txt which contains !Filecoin.ChainExport should disallow calling such method.
A sample list should be provided that disables such methods.
Completion Criteria
A mechanism to enable/disable methods in Forest daemon is implemented,
Unit and integration tests are in place,
User-facing documentation (for the flag, list format) along with example usage is present.
Additional Links & Resources
The text was updated successfully, but these errors were encountered:
Summary
As an intermediary measure to run Forest without an external proxy, the daemon should implement a simple method white/blacklisting, along the lines of what is implemented in the
api compare
.forest/src/tool/subcommands/api_cmd.rs
Lines 2079 to 2084 in 6174f78
It should allow for basic method enabling/disabling. For example, running
forest
with--rpc-method-filter list.txt
which contains!Filecoin.ChainExport
should disallow calling such method.A sample list should be provided that disables such methods.
Completion Criteria
Additional Links & Resources
The text was updated successfully, but these errors were encountered: