Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement full DkgSign over StackerDB #3911

Merged
merged 40 commits into from
Sep 18, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
40 commits
Select commit Hold shift + click to select a range
4efee83
Port DKG logic to stacks-signer
jferrant Sep 6, 2023
0ec99a8
Cleanup state and event processing
jferrant Sep 6, 2023
ec96ebb
Add integration test
jferrant Sep 7, 2023
cd42690
WIP: test broken
jferrant Sep 7, 2023
733c3d7
add endpoint config key for the stackerdb receiver endpoint; turn log…
xoloki Sep 8, 2023
21c2fd6
Cleanup node setup in test and add version control to stacks client
jferrant Sep 8, 2023
d5b915a
fix off by one error
xoloki Sep 8, 2023
659a6c3
duct tape the test_observer into the SignerRunLoop so I can debug the…
xoloki Sep 10, 2023
e18b197
fix off-by-one with signer_id and key_ids
xoloki Sep 10, 2023
4a3fa4d
full taproot signing works
xoloki Sep 12, 2023
8c4da6f
move creation of Signers to before stacks-node
xoloki Sep 13, 2023
ea4cd76
add command channel for Signer; try to get EventReceiver to serve HTT…
xoloki Sep 13, 2023
16f8973
use tiny http instead of hand rolled, dkg-sign now works with StacksD…
xoloki Sep 13, 2023
1ea77a1
Add issues to various TODOs
jferrant Sep 13, 2023
176a9b2
Cleanup with fmt and clippy
jferrant Sep 13, 2023
b9a764d
fix commented out and unnecessary logging; wait 60 seconds for DkgSig…
xoloki Sep 14, 2023
3994c6d
debug doesn't work unless you include it
xoloki Sep 14, 2023
9228f59
don't count on order of operations between multiplication and division
xoloki Sep 14, 2023
87590fd
fix aggregate nonce computation
xoloki Sep 14, 2023
41de629
remove extraneous logging from StacksClient
xoloki Sep 14, 2023
e80749e
check all round IDs when receiving frost messages, but don't inc dkg_…
xoloki Sep 14, 2023
9f9ea62
CRC: add an issue to update slots_per_user function
jferrant Sep 14, 2023
6586230
CRC: add an issue to update with_socket in session.rs in libsigner
jferrant Sep 14, 2023
e6b6592
CRC: cleanup comment on RawConfigFile.stacks_private_key and add issu…
jferrant Sep 14, 2023
8d2ff2e
Add generate-files to cli for testing purposes and update readme
jferrant Sep 13, 2023
eea519c
CRC: Update host port and make contract ID into CLI arg instead of ju…
jferrant Sep 14, 2023
c6c5d72
Fix comment on utils helper functions
jferrant Sep 14, 2023
cc9dd4a
Use SLOTS_PER_USER in build_stackerdb_contract
jferrant Sep 14, 2023
79001cd
Update build_signer_config_tomls to have Option<Duration> for event_t…
jferrant Sep 14, 2023
7afa742
try to fix CI by installing libclang-dev
xoloki Sep 15, 2023
cbd77a5
add rustfmt which somehow wasn't installed before
xoloki Sep 15, 2023
9c5416a
Fix hanging of thread due to failure to send data to the listener
jferrant Sep 15, 2023
8bee21e
Clippy fixes for libsigner
jferrant Sep 15, 2023
6d7e05a
Fix accidental typo in forward_event during clippy changes
jferrant Sep 15, 2023
3f36dbc
try setting shm size so we can keep building in tmpfs
xoloki Sep 18, 2023
dff0001
try without tmpfs
xoloki Sep 18, 2023
7b5694e
add libclang-dev to Dockerfile.large-genesis to fix full genesis test…
xoloki Sep 18, 2023
5318cbf
had to add rustfmt to large genesis dockerfile too
xoloki Sep 18, 2023
e52b3da
sort the chunk events in test_simple_signer
xoloki Sep 18, 2023
99c1218
signer_id starts at 0 not 1
xoloki Sep 18, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .github/actions/bitcoin-int-tests/Dockerfile.large-genesis
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,15 @@ WORKDIR /src

COPY . .

RUN apt-get update && apt-get install -y libclang-dev

RUN cd / && wget https://bitcoin.org/bin/bitcoin-core-25.0/bitcoin-25.0-x86_64-linux-gnu.tar.gz
RUN cd / && tar -xvzf bitcoin-25.0-x86_64-linux-gnu.tar.gz

RUN ln -s /bitcoin-25.0/bin/bitcoind /bin/

RUN rustup component add llvm-tools-preview && \
rustup component add rustfmt && \
cargo install grcov

ENV RUSTFLAGS="-Cinstrument-coverage" \
Expand Down
5 changes: 3 additions & 2 deletions .github/actions/dockerfiles/Dockerfile.debian-source
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,13 @@ WORKDIR /src

COPY . .

RUN apt-get update && apt-get install -y git
RUN apt-get update && apt-get install -y git libclang-dev

# Run all the build steps in ramdisk in an attempt to speed things up
RUN --mount=type=tmpfs,target=${BUILD_DIR} cp -R /src/. ${BUILD_DIR}/ \
RUN target=${BUILD_DIR} cp -R /src/. ${BUILD_DIR}/ \
&& cd ${BUILD_DIR} \
&& rustup target add ${TARGET} \
&& rustup component add rustfmt \
&& cargo build --features monitoring_prom,slog_json --release --workspace --target ${TARGET} \
&& mkdir -p /out \
&& cp -R ${BUILD_DIR}/target/${TARGET}/release/. /out
Expand Down
Loading