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

Feat/stacks signer #3850

Merged
merged 82 commits into from
Sep 21, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
82 commits
Select commit Hold shift + click to select a range
0dbe22e
refactor: put httparse into stacks-common so it can be used in other …
jcnelson Aug 18, 2023
aa6bcd1
Merge branch 'feat/stackerdb-rpc' into feat/stacks-signer
jcnelson Aug 18, 2023
74389d8
fix: fix comment
jcnelson Aug 18, 2023
08e876a
chore: update imports
jcnelson Aug 18, 2023
555c19f
fix: clear bootstrap node in testnet so we don't fail a test due to D…
jcnelson Aug 18, 2023
de927bd
fix: clear bootstrap nodes for tests so we don't fail due to a lack o…
jcnelson Aug 18, 2023
8b22d19
feat: prototype stacks-signer daemon (just a CLI front-end to stacker…
jcnelson Aug 18, 2023
0c203ca
chore: fix failing test case
jcnelson Aug 21, 2023
469ab96
fix: remove commented-out code
jcnelson Aug 21, 2023
95ab139
Merge branch 'feat/stackerdb-event-observer' into feat/stacks-signer
jcnelson Aug 23, 2023
944d3a5
fix: fix compile-time error in unit tests due to new API
jcnelson Aug 23, 2023
2ade75e
chore: cargo fmt
jcnelson Aug 23, 2023
f50a49a
Merge branch 'feat/stackerdb-event-observer' into feat/stacks-signer
jcnelson Aug 25, 2023
4f53702
Merge branch 'feat/stackerdb-event-observer' into feat/stacks-signer
jcnelson Aug 25, 2023
be79b1a
refactor: move all remaining vendored deps into stacks_common, since …
jcnelson Aug 28, 2023
ea67dc0
refactor: HTTP code will be moved to a separate libsigner crate
jcnelson Aug 28, 2023
4e306ce
feat: new libsigner implementation. Stacker signers and sBTC signers…
jcnelson Aug 28, 2023
21144da
chore: update cargo deps with new vendored deps' needs
jcnelson Aug 28, 2023
29543fc
chore: update Cargo.lock with refactored vendored deps
jcnelson Aug 28, 2023
199d5ed
chore: libsigner is now a compilation unit
jcnelson Aug 28, 2023
a773687
refactor: use libsigner
jcnelson Aug 28, 2023
8a01733
chore: vendored ctrlc deps live in stacks_common
jcnelson Aug 28, 2023
26e12d7
fix: include demo target
jcnelson Aug 28, 2023
501352f
docs: update docs with event observer changes
jcnelson Aug 28, 2023
6997659
chore: address PR feedback
jcnelson Aug 29, 2023
1026151
chore: remove unused macro imports
jcnelson Aug 29, 2023
3a33766
chore: silence unused argument warning
jcnelson Aug 29, 2023
c3e3c6f
Merge branch 'feat/stackerdb-event-observer' into feat/stacks-signer
jcnelson Aug 29, 2023
8a3ed3a
Merge branch 'feat/stackerdb-event-observer' into feat/stacks-signer
jcnelson Aug 29, 2023
b243914
Chore/stacks signer cli cleanup (#3885)
jferrant Aug 31, 2023
3a998f6
Merge branch 'develop' into feat/stacks-signer
jcnelson Sep 2, 2023
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
5dee84f
Merge pull request #3911 from stacks-network/chore/port-dkg-signer-first
xoloki Sep 18, 2023
d0999bf
use a channel to send the results from the SignerRunLoop to whoever i…
xoloki Sep 14, 2023
ff66188
Cleanup command and state machine within signer runloop
jferrant Sep 15, 2023
505a31d
Stop signers in test
jferrant Sep 15, 2023
18c6a60
don't need to clone OperationResult, Signature, or SchnorrProof
xoloki Sep 19, 2023
82359be
CRC to retry commands on failure and clippy cleanup
jferrant Sep 19, 2023
602564e
CRC: assert the length of the sign and dkg results instead of warning
jferrant Sep 19, 2023
0189324
Clippy fixes for main.rs
jferrant Sep 19, 2023
0bf6285
Merge branch 'develop' into feat/stacks-signer
jcnelson Sep 20, 2023
bbc91d2
Cleanup clippy, add comments, and use thiserror
jferrant Aug 29, 2023
904c7ab
Merge branch 'develop' into feat/stacks-signer
jcnelson Sep 21, 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