File tree Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -49,6 +49,8 @@ pub struct RpcConfig {
49
49
/// Maximum number of subscription connections
50
50
#[ serde( default = "default_max_subscriptions_per_connection" ) ]
51
51
pub max_subscriptions_per_connection : u32 ,
52
+ /// API key for protected JSON-RPC methods
53
+ pub api_key : Option < String > ,
52
54
}
53
55
54
56
#[ inline]
@@ -145,6 +147,7 @@ impl Default for RollupConfig {
145
147
batch_requests_limit : 50 ,
146
148
enable_subscriptions : true ,
147
149
max_subscriptions_per_connection : 100 ,
150
+ api_key : Some ( "12345" . to_string ( ) ) ,
148
151
} ,
149
152
storage : StorageConfig {
150
153
path : TempDir :: new ( )
Original file line number Diff line number Diff line change 1
1
pub mod bitcoin;
2
- mod citrea_cli;
2
+ pub mod citrea_cli;
3
3
mod citrea_config;
4
- mod client;
4
+ pub mod client;
5
5
pub mod config;
6
6
mod docker;
7
7
pub mod framework;
You can’t perform that action at this time.
0 commit comments