mirror of
https://github.com/Xahau/xahaud.git
synced 2025-12-06 17:27:52 +00:00
Add cookie to validation (RIPD-1586):
Each validator will generate a random cookie on startup that it will include in each of its validations. This will allow validators to detect when more than one validator is accidentally operating with the same validation keys.
This commit is contained in:
committed by
Nikolaos D. Bougalis
parent
3dc0714273
commit
f7a4a94c3b
@@ -142,6 +142,8 @@ SF_U64 const sfExchangeRate = make::one<SF_U64::type>(&sfExchangeRate, S
|
||||
SF_U64 const sfLowNode = make::one<SF_U64::type>(&sfLowNode, STI_UINT64, 7, "LowNode");
|
||||
SF_U64 const sfHighNode = make::one<SF_U64::type>(&sfHighNode, STI_UINT64, 8, "HighNode");
|
||||
SF_U64 const sfDestinationNode = make::one<SF_U64::type>(&sfDestinationNode, STI_UINT64, 9, "DestinationNode");
|
||||
SF_U64 const sfCookie = make::one<SF_U64::type>(&sfCookie, STI_UINT64, 10,"Cookie");
|
||||
|
||||
|
||||
// 128-bit
|
||||
SF_U128 const sfEmailHash = make::one<SF_U128::type>(&sfEmailHash, STI_HASH128, 1, "EmailHash");
|
||||
|
||||
Reference in New Issue
Block a user