Docs.rs
lightning-storage-server-0.3.0
lightning-storage-server 0.3.0
Docs.rs crate page
Apache-2.0
Links
Homepage
Repository
crates.io
Source
Owners
devrandom
ksedgwic
Dependencies
anyhow ^1.0
normal
async-trait ^0.1
normal
bitcoin_hashes ^0.11
normal
clap ^3.2
normal
ctrlc ^3
normal
deadpool-postgres ^0.10
normal
dirs ^4
normal
fern ^0.6
normal
futures ^0.3
normal
hex ^0.4
normal
itertools ^0.10
normal
log ^0.4
normal
prost ^0.11
normal
secp256k1 ^0.24
normal
serde ^1.0
normal
serde_cbor ^0.11
normal
sled ^0.34
normal
thiserror ^1.0
normal
time =0.3.17
normal
tokio ^1.27
normal
tokio-postgres ^0.7
normal
tonic ^0.8
normal
triggered ^0.1
normal
url ^2.3
normal
tempfile ^3
dev
tonic-build ^0.8
build
Versions
27.03%
of the crate is documented
Go to latest version
Platform
i686-unknown-linux-gnu
x86_64-unknown-linux-gnu
Feature flags
docs.rs
About docs.rs
Badges
Builds
Metadata
Shorthand URLs
Download
Rustdoc JSON
Build queue
Privacy policy
Rust
Rust website
The Book
Standard Library API Reference
Rust by Example
The Cargo Guide
Clippy Documentation
☰
Module util
Functions
?
Module
lightning_storage_server
::
util
source
·
[
−
]
Functions
add_to_hmac
Add key, version (8 bytes big endian) and value to HMAC
append_hmac_to_value
compute_shared_hmac
Compute a client/server HMAC - which proves the client or server initiated this call and no replay occurred.
crypt_value
init_secret_key
prepare_value_for_put
process_value_from_get
read_public_key
read_secret_key
remove_and_check_hmac
setup_logging
state_file_path