5#ifndef BITCOIN_SCRIPT_KEYORIGIN_H
6#define BITCOIN_SCRIPT_KEYORIGIN_H
15 std::vector<uint32_t>
path;
26 if (
a.path.size() < b.
path.size()) {
28 }
else if (
a.path.size() > b.
path.size()) {
32 return a.path < b.
path;
std::array< unsigned char, 4 > KeyFingerprint
SERIALIZE_METHODS(KeyOriginInfo, obj)
KeyFingerprint fingerprint
First 32 bits of the Hash160 of the public key at the root of the path.
friend bool operator==(const KeyOriginInfo &a, const KeyOriginInfo &b)=default
std::vector< uint32_t > path
friend bool operator<(const KeyOriginInfo &a, const KeyOriginInfo &b)
constexpr auto Ticks(Dur2 d)
Helper to count the seconds of a duration/time_point.