Implement simplified CSV logic: stack value must exactly match an entry in `supported`.
| 211 | |
| 212 | //! Implement simplified CSV logic: stack value must exactly match an entry in `supported`. |
| 213 | bool CheckOlder(uint32_t value) const { |
| 214 | return supported.contains(Challenge(ChallengeType::OLDER, value)); |
| 215 | } |
| 216 | |
| 217 | //! Produce a signature for the given key. |
| 218 | miniscript::Availability Sign(const CPubKey& key, std::vector<unsigned char>& sig) const { |