mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-04-30 12:47:48 +02:00
Add a constant for the I2PControl token size.
This commit is contained in:
parent
69d93146f2
commit
833a606b13
2 changed files with 4 additions and 5 deletions
|
@ -13,6 +13,7 @@ namespace client {
|
|||
|
||||
const char I2P_CONTROL_DEFAULT_PASSWORD[] = "itoopie";
|
||||
const uint64_t I2P_CONTROL_TOKEN_LIFETIME = 600; // Token lifetime in seconds
|
||||
const std::size_t I2P_CONTROL_TOKEN_SIZE = 8; // Token size in bytes
|
||||
|
||||
const char I2P_CONTROL_PROPERTY_ID[] = "id";
|
||||
const char I2P_CONTROL_PROPERTY_METHOD[] = "method";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue