mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-07-05 21:24:47 +02:00
net, doc: provide context for UnserializeV1Array()
This commit is contained in:
@ -386,6 +386,12 @@ private:
|
||||
|
||||
/**
|
||||
* Unserialize from a pre-ADDRv2/BIP155 format from an array.
|
||||
*
|
||||
* This function is only called from UnserializeV1Stream() and is a wrapper
|
||||
* for SetLegacyIPv6(); however, we keep it for symmetry with
|
||||
* SerializeV1Array() to have pairs of ser/unser functions and to make clear
|
||||
* that if one is altered, a corresponding reverse modification should be
|
||||
* applied to the other.
|
||||
*/
|
||||
void UnserializeV1Array(uint8_t (&arr)[V1_SERIALIZATION_SIZE])
|
||||
{
|
||||
|
Reference in New Issue
Block a user