mirror of
https://github.com/bitcoin/bitcoin.git
synced 2026-03-05 04:29:36 +01:00
refactor: Use span instead of vector for data in util/asmap
This prevents holding the asmap data in memory twice. The version hash changes due to spans being serialized without their size-prefix (unlike vectors).
This commit is contained in:
@@ -6,6 +6,7 @@
|
||||
|
||||
#include <hash.h>
|
||||
#include <logging.h>
|
||||
#include <uint256.h>
|
||||
#include <util/asmap.h>
|
||||
|
||||
#include <cstddef>
|
||||
|
||||
Reference in New Issue
Block a user