mirror of
https://github.com/bitcoin/bitcoin.git
synced 2026-06-06 19:23:41 +02:00
Get*Union: disallow nulltpr Refs
This commit is contained in:
@@ -144,11 +144,11 @@ public:
|
||||
virtual std::vector<Ref*> GetDescendants(const Ref& arg, bool main_only = false) noexcept = 0;
|
||||
/** Like GetAncestors, but return the Refs for all transactions in the union of the provided
|
||||
* arguments' ancestors (each transaction is only reported once). Refs that do not exist in
|
||||
* the queried graph are ignored. */
|
||||
* the queried graph are ignored. Null refs are not allowed. */
|
||||
virtual std::vector<Ref*> GetAncestorsUnion(std::span<const Ref* const> args, bool main_only = false) noexcept = 0;
|
||||
/** Like GetDescendants, but return the Refs for all transactions in the union of the provided
|
||||
* arguments' descendants (each transaction is only reported once). Refs that do not exist in
|
||||
* the queried graph are ignored. */
|
||||
* the queried graph are ignored. Null refs are not allowed. */
|
||||
virtual std::vector<Ref*> GetDescendantsUnion(std::span<const Ref* const> args, bool main_only = false) noexcept = 0;
|
||||
/** Get the total number of transactions in the graph. If main_only is false and a staging
|
||||
* graph exists, it is queried; otherwise the main graph is queried. This is available even
|
||||
|
||||
Reference in New Issue
Block a user