mirror of
https://github.com/logos-storage/logos-storage-nim-cs-dist-tests.git
synced 2026-01-02 13:33:07 +00:00
19 lines
743 B
C#
19 lines
743 B
C#
using Utils;
|
|
|
|
namespace CodexClient.Hooks
|
|
{
|
|
public interface ICodexNodeHooks
|
|
{
|
|
void OnNodeStarting(DateTime startUtc, string image, EthAccount? ethAccount);
|
|
void OnNodeStarted(string peerId, string nodeId);
|
|
void OnNodeStopping();
|
|
void OnFileUploading(string uid, ByteSize size);
|
|
void OnFileUploaded(string uid, ByteSize size, ContentId cid);
|
|
void OnFileDownloading(ContentId cid);
|
|
void OnFileDownloaded(ByteSize size, ContentId cid);
|
|
void OnStorageContractSubmitted(StoragePurchaseContract storagePurchaseContract);
|
|
void OnStorageContractUpdated(StoragePurchase purchaseStatus);
|
|
void OnStorageAvailabilityCreated(StorageAvailability response);
|
|
}
|
|
}
|