mirror of
https://gitlab.com/veilid/veilid.git
synced 2025-07-27 17:05:27 -04:00
refactor create dht value
This commit is contained in:
parent
9f9feeb325
commit
19f384ab33
13 changed files with 53 additions and 40 deletions
|
@ -234,8 +234,8 @@ abstract class VeilidRoutingContext {
|
|||
Future<void> appMessage(String target, Uint8List message);
|
||||
|
||||
// DHT Operations
|
||||
Future<DHTRecordDescriptor> createDHTRecord(
|
||||
CryptoKind kind, DHTSchema schema);
|
||||
Future<DHTRecordDescriptor> createDHTRecord(DHTSchema schema,
|
||||
{CryptoKind kind = 0});
|
||||
Future<DHTRecordDescriptor> openDHTRecord(TypedKey key, KeyPair? writer);
|
||||
Future<void> closeDHTRecord(TypedKey key);
|
||||
Future<void> deleteDHTRecord(TypedKey key);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue