mirror of
https://github.com/stakwork/sphinx-key.git
synced 2026-02-03 23:04:24 +01:00
this points to a relaxation of the thiserror dependency back to 1.0.44 and up. the memory growth was not due to v1.0.44 of thiserror, but rather to the increase of the version of thiserror without doing a complete rebuild from scratch ie. cargo clean + rm -rf .embuild"
build w docker
navigate to top level (sphinx-key)
docker build -f broker/Dockerfile -t sphinx-key-broker .
test locally
To run the broker test against the esp32-c3:
cargo run -- --test
w docker
cid=$(docker create sphinx-key-broker) docker cp $cid:/usr/src/sphinx-key-broker - > local-key-broker docker rm -v $cid
c-lightning
get the version
git describe --tags --long --always --match='v*.*'
and only take the last 8 chars of the last string
or
docker run -it --entrypoint "/bin/bash" sphinx-cln
lightningd --version
build c-lightning
docker build . -t sphinx-cln
docker tag sphinx-cln sphinxlightning/sphinx-cln-vls:0.1.4
docker push sphinxlightning/sphinx-cln-vls:0.1.4
testing
cargo run --bin sphinx-key-tester -- --log
find pid
ps aux | grep -i sphinx-key-broker
Run against LSS
export VLS_LSS=http://127.0.0.1:55551