| 64 | } |
| 65 | |
| 66 | static inline std::vector<CPubKey> random_keys(size_t num_keys) { |
| 67 | std::vector<CPubKey> keys; |
| 68 | keys.reserve(num_keys); |
| 69 | for (size_t i{0}; i < num_keys; ++i) { |
| 70 | CKey key; |
| 71 | key.MakeNewKey(true); |
| 72 | keys.emplace_back(key.GetPubKey()); |
| 73 | } |
| 74 | return keys; |
| 75 | } |
| 76 | |
| 77 | // Creates a placeholder tx (not valid) with 25 outputs. Specify the version and the inputs. |
| 78 | static inline CTransactionRef make_tx(const std::vector<COutPoint>& inputs, int32_t version) |
no test coverage detected