forked from such-gitea/wownero-lws
Fix several bugs: (#119)
* lws::account height update should only go up. * Webhook confirmations can start after first new block * Webhook confirmations could face a rescan
This commit is contained in:
committed by
Lee *!* Clagett
parent
3f2916b0fa
commit
e093b16447
@@ -88,7 +88,7 @@ namespace lws
|
||||
//! \return A copy of `this`.
|
||||
account clone() const;
|
||||
|
||||
//! \return A copy of `this` with a new height and `outputs().empty()`.
|
||||
//! \post `height() == max(new_height, height())`, `outputs().empty()`, and `spends.empty()`.
|
||||
void updated(db::block_id new_height) noexcept;
|
||||
|
||||
//! \return Unique ID from the account database, possibly `db::account_id::kInvalid`.
|
||||
|
||||
Reference in New Issue
Block a user