| 187 | } |
| 188 | |
| 189 | bool WalletBatch::IsEncrypted() |
| 190 | { |
| 191 | DataStream prefix; |
| 192 | prefix << DBKeys::MASTER_KEY; |
| 193 | if (auto cursor = m_batch->GetNewPrefixCursor(prefix)) { |
| 194 | DataStream k, v; |
| 195 | if (cursor->Next(k, v) == DatabaseCursor::Status::MORE) return true; |
| 196 | } |
| 197 | return false; |
| 198 | } |
| 199 | |
| 200 | bool WalletBatch::WriteOrderPosNext(int64_t nOrderPosNext) |
| 201 | { |
no test coverage detected