| 131 | } |
| 132 | |
| 133 | bool CHDChain::SetSeed(const SecureVector& vchSeedIn, bool fUpdateID) |
| 134 | { |
| 135 | vchSeed = vchSeedIn; |
| 136 | |
| 137 | if (fUpdateID) { |
| 138 | id = GetSeedHash(); |
| 139 | } |
| 140 | |
| 141 | return !IsNull(); |
| 142 | } |
| 143 | |
| 144 | SecureVector CHDChain::GetSeed() const |
| 145 | { |
no outgoing calls
no test coverage detected