| 350 | } |
| 351 | |
| 352 | CKey GenerateRandomKey(bool compressed) noexcept |
| 353 | { |
| 354 | CKey key; |
| 355 | key.MakeNewKey(/*fCompressed=*/compressed); |
| 356 | return key; |
| 357 | } |
| 358 | |
| 359 | bool CExtKey::Derive(CExtKey &out, unsigned int _nChild) const { |
| 360 | if (nDepth == std::numeric_limits<unsigned char>::max()) return false; |