mirror of
https://github.com/fluencelabs/registry.git
synced 2025-07-30 23:01:56 +00:00
create separate dir for aqua
This commit is contained in:
@@ -1,32 +1,3 @@
|
||||
data RegisterKeyResult:
|
||||
success: bool
|
||||
error: string
|
||||
|
||||
data PutValueResult:
|
||||
success: bool
|
||||
error: string
|
||||
|
||||
data RepublishValuesResult:
|
||||
success: bool
|
||||
error: string
|
||||
updated: u64
|
||||
|
||||
data ClearExpiredResult:
|
||||
success: bool
|
||||
error: string
|
||||
count_keys: u64
|
||||
count_values: u64
|
||||
|
||||
data Key:
|
||||
key: string
|
||||
peer_id: string
|
||||
timestamp_created: u64
|
||||
|
||||
data GetKeyMetadataResult:
|
||||
success: bool
|
||||
error: string
|
||||
key: Key
|
||||
|
||||
data Record:
|
||||
value: string
|
||||
peer_id: string
|
||||
@@ -39,10 +10,34 @@ data GetValuesResult:
|
||||
error: string
|
||||
result: []Record
|
||||
|
||||
data PutValueResult:
|
||||
success: bool
|
||||
error: string
|
||||
|
||||
data Key:
|
||||
key: string
|
||||
peer_id: string
|
||||
timestamp_created: u64
|
||||
|
||||
data GetKeyMetadataResult:
|
||||
success: bool
|
||||
error: string
|
||||
key: Key
|
||||
|
||||
data RepublishKeyResult:
|
||||
success: bool
|
||||
error: string
|
||||
|
||||
data RegisterKeyResult:
|
||||
success: bool
|
||||
error: string
|
||||
|
||||
data ClearExpiredResult:
|
||||
success: bool
|
||||
error: string
|
||||
count_keys: u64
|
||||
count_values: u64
|
||||
|
||||
data EvictStaleItem:
|
||||
key: Key
|
||||
records: []Record
|
||||
@@ -52,23 +47,17 @@ data EvictStaleResult:
|
||||
error: string
|
||||
results: []EvictStaleItem
|
||||
|
||||
service Aqua Dht:
|
||||
republish_key: Key,u64 -> RepublishKeyResult
|
||||
data RepublishValuesResult:
|
||||
success: bool
|
||||
error: string
|
||||
updated: u64
|
||||
|
||||
put_value: string,string,u64,[]string,[]string -> PutValueResult
|
||||
|
||||
get_values: string,u64 -> GetValuesResult
|
||||
|
||||
get_key_metadata: string,u64 -> GetKeyMetadataResult
|
||||
|
||||
register_key: string,u64 -> RegisterKeyResult
|
||||
|
||||
evict_stale: u64 -> EvictStaleResult
|
||||
|
||||
clear_expired: u64 -> ClearExpiredResult
|
||||
|
||||
republish_values: string,[]Record,u64 -> RepublishValuesResult
|
||||
|
||||
|
||||
New version is available! [38;5;1m0.6.3 -> [38;5;4m0.6.4
|
||||
[39mTo update run: [38;5;8mcargo +nightly install marine --force[39m
|
||||
service AquaDht:
|
||||
get_values(key: string, current_timestamp: u64) -> GetValuesResult
|
||||
put_value(key: string, value: string, current_timestamp: u64, relay_id: []string, service_id: []string) -> PutValueResult
|
||||
republish_values(key: string, records: []Record, current_timestamp: u64) -> RepublishValuesResult
|
||||
register_key(key: string, current_timestamp: u64) -> RegisterKeyResult
|
||||
republish_key(key: Key, current_timestamp: u64) -> RepublishKeyResult
|
||||
clear_expired(current_timestamp: u64) -> ClearExpiredResult
|
||||
get_key_metadata(key: string, current_timestamp: u64) -> GetKeyMetadataResult
|
||||
evict_stale(current_timestamp: u64) -> EvictStaleResult
|
2
build.sh
2
build.sh
@@ -9,4 +9,4 @@ rm -f artifacts/*
|
||||
mkdir -p artifacts
|
||||
cp target/wasm32-wasi/release/aqua-dht.wasm artifacts/
|
||||
curl -L https://github.com/fluencelabs/sqlite/releases/download/v0.14.0_w/sqlite3.wasm -o artifacts/sqlite3.wasm
|
||||
marine aqua artifacts/aqua-dht.wasm > artifacts/aqua-dht.aqua
|
||||
marine aqua artifacts/aqua-dht.wasm > aqua/aqua-dht.aqua
|
||||
|
Reference in New Issue
Block a user