[accelerator] frontend on-demand polling support

This commit is contained in:
Mononaut
2024-07-23 15:17:22 +00:00
parent b49a6c4cac
commit 7b3cc6372b
2 changed files with 11 additions and 2 deletions

View File

@@ -536,6 +536,10 @@ export class ApiService {
);
}
logAccelerationRequest$(txid: string): Observable<any> {
return this.httpClient.post(this.apiBaseUrl + this.apiBasePath + '/api/v1/acceleration/request/' + txid, '');
}
// Cache methods
async setBlockAuditLoaded(hash: string) {
this.blockAuditLoaded[hash] = true;