mirror of
https://github.com/fluencelabs/registry.git
synced 2025-07-31 23:31: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:
|
data Record:
|
||||||
value: string
|
value: string
|
||||||
peer_id: string
|
peer_id: string
|
||||||
@@ -39,10 +10,34 @@ data GetValuesResult:
|
|||||||
error: string
|
error: string
|
||||||
result: []Record
|
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:
|
data RepublishKeyResult:
|
||||||
success: bool
|
success: bool
|
||||||
error: string
|
error: string
|
||||||
|
|
||||||
|
data RegisterKeyResult:
|
||||||
|
success: bool
|
||||||
|
error: string
|
||||||
|
|
||||||
|
data ClearExpiredResult:
|
||||||
|
success: bool
|
||||||
|
error: string
|
||||||
|
count_keys: u64
|
||||||
|
count_values: u64
|
||||||
|
|
||||||
data EvictStaleItem:
|
data EvictStaleItem:
|
||||||
key: Key
|
key: Key
|
||||||
records: []Record
|
records: []Record
|
||||||
@@ -52,23 +47,17 @@ data EvictStaleResult:
|
|||||||
error: string
|
error: string
|
||||||
results: []EvictStaleItem
|
results: []EvictStaleItem
|
||||||
|
|
||||||
service Aqua Dht:
|
data RepublishValuesResult:
|
||||||
republish_key: Key,u64 -> RepublishKeyResult
|
success: bool
|
||||||
|
error: string
|
||||||
|
updated: u64
|
||||||
|
|
||||||
put_value: string,string,u64,[]string,[]string -> PutValueResult
|
service AquaDht:
|
||||||
|
get_values(key: string, current_timestamp: u64) -> GetValuesResult
|
||||||
get_values: string,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
|
||||||
get_key_metadata: string,u64 -> GetKeyMetadataResult
|
register_key(key: string, current_timestamp: u64) -> RegisterKeyResult
|
||||||
|
republish_key(key: Key, current_timestamp: u64) -> RepublishKeyResult
|
||||||
register_key: string,u64 -> RegisterKeyResult
|
clear_expired(current_timestamp: u64) -> ClearExpiredResult
|
||||||
|
get_key_metadata(key: string, current_timestamp: u64) -> GetKeyMetadataResult
|
||||||
evict_stale: u64 -> EvictStaleResult
|
evict_stale(current_timestamp: 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
|
|
2
build.sh
2
build.sh
@@ -9,4 +9,4 @@ rm -f artifacts/*
|
|||||||
mkdir -p artifacts
|
mkdir -p artifacts
|
||||||
cp target/wasm32-wasi/release/aqua-dht.wasm 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
|
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