Search
Preparing search index...
The search index is not available
Celer Light Client API Docs
Options
All
Public
Public/Protected
All
Inherited
Externals
Only exported
Menu
Globals
"data/hash_lock"
HashLock
Class HashLock
Hierarchy
HashLock
Index
Constructors
constructor
Properties
hash
secret
Methods
generate
Hash
Lock
Condition
remove
Hash
Lock
Condition
Constructors
constructor
new
Hash
Lock
(
secret
:
Uint8Array
, hash
:
string
)
:
HashLock
Parameters
secret:
Uint8Array
hash:
string
Returns
HashLock
Properties
hash
hash
:
string
secret
secret
:
Uint8Array
Methods
Static
generate
Hash
Lock
Condition
generate
Hash
Lock
Condition
(
db
:
Database
)
:
Promise
<
Condition
>
Parameters
db:
Database
Returns
Promise
<
Condition
>
Static
remove
Hash
Lock
Condition
remove
Hash
Lock
Condition
(
db
:
Database
, condition
:
Condition
)
:
Promise
<
void
>
Parameters
db:
Database
condition:
Condition
Returns
Promise
<
void
>
Globals
"data/hash_
lock"
Hash
Lock
constructor
hash
secret
generate
Hash
Lock
Condition
remove
Hash
Lock
Condition
Made by
Horyus
. Documentation generated by
TypeDoc.