record pool / watch work

This commit is contained in:
Christien Rioux 2024-01-06 20:47:10 -05:00
parent 31f562119a
commit ba4ef05a28
4 changed files with 178 additions and 156 deletions

View file

@ -58,6 +58,8 @@ Future<AccountInfo> fetchAccountInfo(FetchAccountInfoRef ref,
return AccountInfo(status: AccountInfoStatus.accountLocked, active: active);
}
xxx login should open this key and leave it open, logout should close it
// Pull the account DHT key, decode it and return it
final pool = await DHTRecordPool.instance();
final account = await (await pool.openOwned(