-
Notifications
You must be signed in to change notification settings - Fork 39
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
9 changed files
with
355 additions
and
39 deletions.
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
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,22 @@ | ||
package common | ||
|
||
import "time" | ||
|
||
// Config contains the configuration required by the WalletExtension. | ||
type Config struct { | ||
WalletExtensionHost string | ||
WalletExtensionPortHTTP int | ||
WalletExtensionPortWS int | ||
NodeRPCHTTPAddress string | ||
NodeRPCWebsocketAddress string | ||
LogPath string | ||
DBPathOverride string // Overrides the database file location. Used in tests. | ||
VerboseFlag bool | ||
DBType string | ||
DBConnectionURL string | ||
TenChainID int | ||
StoreIncomingTxs bool | ||
WalletExtensionHost string | ||
WalletExtensionPortHTTP int | ||
WalletExtensionPortWS int | ||
NodeRPCHTTPAddress string | ||
NodeRPCWebsocketAddress string | ||
LogPath string | ||
DBPathOverride string // Overrides the database file location. Used in tests. | ||
VerboseFlag bool | ||
DBType string | ||
DBConnectionURL string | ||
TenChainID int | ||
StoreIncomingTxs bool | ||
RateLimitUserComputeTime time.Duration | ||
RateLimitWindow time.Duration | ||
RateLimitMaxConcurrentRequests int | ||
} |
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
Oops, something went wrong.