Jacinta Ferrant
505a31d227
Stop signers in test
...
Signed-off-by: Jacinta Ferrant <jacinta@trustmachines.co >
2023-09-20 09:23:52 -07:00
Jacinta Ferrant
ff66188981
Cleanup command and state machine within signer runloop
...
Signed-off-by: Jacinta Ferrant <jacinta@trustmachines.co >
2023-09-20 09:23:52 -07:00
Joey Yandle
d0999bfe68
use a channel to send the results from the SignerRunLoop to whoever is interested; remove sleep calls in test since we know when it's done
2023-09-20 09:23:52 -07:00
Joey Yandle
5dee84faf8
Merge pull request #3911 from stacks-network/chore/port-dkg-signer-first
...
Implement full DkgSign over StackerDB
2023-09-18 16:48:13 -04:00
Joey Yandle
99c1218fc6
signer_id starts at 0 not 1
2023-09-18 15:37:09 -04:00
Joey Yandle
e52b3da399
sort the chunk events in test_simple_signer
2023-09-18 13:34:24 -04:00
Joey Yandle
5318cbfb8d
had to add rustfmt to large genesis dockerfile too
2023-09-18 12:05:02 -04:00
Joey Yandle
7b5694e7cf
add libclang-dev to Dockerfile.large-genesis to fix full genesis test in CI
2023-09-18 11:48:26 -04:00
Joey Yandle
dff0001c35
try without tmpfs
2023-09-18 11:27:50 -04:00
Joey Yandle
3f36dbc93d
try setting shm size so we can keep building in tmpfs
2023-09-18 11:24:39 -04:00
Jacinta Ferrant
6d7e05a5c9
Fix accidental typo in forward_event during clippy changes
...
Signed-off-by: Jacinta Ferrant <jacinta@trustmachines.co >
2023-09-15 16:17:16 -07:00
Jacinta Ferrant
8bee21e096
Clippy fixes for libsigner
...
Signed-off-by: Jacinta Ferrant <jacinta@trustmachines.co >
2023-09-15 15:36:07 -07:00
Jacinta Ferrant
9c5416a3ed
Fix hanging of thread due to failure to send data to the listener
...
Signed-off-by: Jacinta Ferrant <jacinta@trustmachines.co >
2023-09-15 15:31:40 -07:00
Joey Yandle
cbd77a5096
add rustfmt which somehow wasn't installed before
2023-09-15 17:37:21 -04:00
Joey Yandle
7afa742f84
try to fix CI by installing libclang-dev
2023-09-15 17:24:40 -04:00
Jacinta Ferrant
79001cd73a
Update build_signer_config_tomls to have Option<Duration> for event_timeout
...
Signed-off-by: Jacinta Ferrant <jacinta@trustmachines.co >
2023-09-15 08:18:39 -07:00
Jacinta Ferrant
cc9dd4a364
Use SLOTS_PER_USER in build_stackerdb_contract
...
Signed-off-by: Jacinta Ferrant <jacinta@trustmachines.co >
2023-09-15 08:18:39 -07:00
Jacinta Ferrant
c6c5d72a73
Fix comment on utils helper functions
...
Signed-off-by: Jacinta Ferrant <jacinta@trustmachines.co >
2023-09-15 08:18:39 -07:00
Jacinta Ferrant
eea519ca95
CRC: Update host port and make contract ID into CLI arg instead of just name
...
Signed-off-by: Jacinta Ferrant <jacinta@trustmachines.co >
2023-09-15 08:18:39 -07:00
Jacinta Ferrant
8d2ff2e75a
Add generate-files to cli for testing purposes and update readme
...
Signed-off-by: Jacinta Ferrant <jacinta@trustmachines.co >
2023-09-15 08:18:39 -07:00
Jacinta Ferrant
e6b6592a86
CRC: cleanup comment on RawConfigFile.stacks_private_key and add issue for DKG even y coord incrementation bug
...
Signed-off-by: Jacinta Ferrant <jacinta@trustmachines.co >
2023-09-14 13:17:24 -07:00
Jacinta Ferrant
65862302de
CRC: add an issue to update with_socket in session.rs in libsigner
...
Signed-off-by: Jacinta Ferrant <jacinta@trustmachines.co >
2023-09-14 10:11:15 -07:00
Jacinta Ferrant
9f9ea621ab
CRC: add an issue to update slots_per_user function
...
Signed-off-by: Jacinta Ferrant <jacinta@trustmachines.co >
2023-09-14 09:52:35 -07:00
Joey Yandle
e80749ecb9
check all round IDs when receiving frost messages, but don't inc dkg_public_id because that breaks stacks-sbtc
2023-09-14 05:58:53 -04:00
Joey Yandle
41de629035
remove extraneous logging from StacksClient
2023-09-14 05:49:00 -04:00
Joey Yandle
87590fd7ef
fix aggregate nonce computation
2023-09-14 04:13:36 -04:00
Joey Yandle
9228f59e8d
don't count on order of operations between multiplication and division
2023-09-14 03:45:47 -04:00
Joey Yandle
3994c6d2fc
debug doesn't work unless you include it
2023-09-14 03:20:40 -04:00
Joey Yandle
b9a764d20c
fix commented out and unnecessary logging; wait 60 seconds for DkgSign to finish
2023-09-14 03:19:15 -04:00
Jacinta Ferrant
176a9b2acb
Cleanup with fmt and clippy
...
Signed-off-by: Jacinta Ferrant <jacinta@trustmachines.co >
2023-09-13 13:40:08 -07:00
Jacinta Ferrant
1ea77a1905
Add issues to various TODOs
...
Signed-off-by: Jacinta Ferrant <jacinta@trustmachines.co >
2023-09-13 11:04:33 -07:00
Joey Yandle
16f8973e59
use tiny http instead of hand rolled, dkg-sign now works with StacksDBEventReceiver
2023-09-13 11:50:18 -04:00
Joey Yandle
ea4cd76dd4
add command channel for Signer; try to get EventReceiver to serve HTTP properly
2023-09-13 10:12:43 -04:00
Joey Yandle
8c4da6fa83
move creation of Signers to before stacks-node
2023-09-13 02:12:00 -04:00
Joey Yandle
4a3fa4d128
full taproot signing works
2023-09-12 02:41:16 -04:00
Joey Yandle
e18b197a8a
fix off-by-one with signer_id and key_ids
2023-09-10 06:37:51 -04:00
Joey Yandle
659a6c384e
duct tape the test_observer into the SignerRunLoop so I can debug the crypto while jude and jacinta fix the networking chicken-egg problem
2023-09-10 04:06:29 -04:00
Joey Yandle
d5b915a47e
fix off by one error
2023-09-08 14:53:56 -04:00
Jacinta Ferrant
21c2fd6813
Cleanup node setup in test and add version control to stacks client
...
Signed-off-by: Jacinta Ferrant <jacinta@trustmachines.co >
2023-09-08 12:02:45 -04:00
Joey Yandle
733c3d74fa
add endpoint config key for the stackerdb receiver endpoint; turn logging up
2023-09-08 04:12:52 -04:00
Jacinta Ferrant
cd426900c5
WIP: test broken
...
Signed-off-by: Jacinta Ferrant <jacinta@trustmachines.co >
2023-09-07 13:55:45 -04:00
Jacinta Ferrant
ec96ebb1fd
Add integration test
...
Signed-off-by: Jacinta Ferrant <jacinta@trustmachines.co >
2023-09-07 10:22:57 -04:00
Jacinta Ferrant
0ec99a8fd7
Cleanup state and event processing
...
Signed-off-by: Jacinta Ferrant <jacinta@trustmachines.co >
2023-09-06 17:01:25 -04:00
Jacinta Ferrant
4efee83ee9
Port DKG logic to stacks-signer
...
Signed-off-by: Jacinta Ferrant <jacinta@trustmachines.co >
2023-09-06 14:40:00 -04:00
Jude Nelson
3a998f6c54
Merge branch 'develop' into feat/stacks-signer
2023-09-02 01:15:15 +00:00
Jude Nelson
f4808469e2
Merge pull request #3848 from stacks-network/feat/stackerdb-rpc
...
Feat/stackerdb rpc
2023-09-02 01:14:46 +00:00
Jude Nelson
ef6c5a4d66
Merge pull request #3870 from stacks-network/feat/stackerdb-event-observer
...
Feat/stackerdb event observer
2023-09-01 22:50:14 +00:00
Jude Nelson
a5cd26e197
Merge branch 'develop' into feat/stackerdb-rpc
2023-09-01 22:49:31 +00:00
Jude Nelson
7c107dca5f
Merge pull request #3846 from stacks-network/feat/stackerdb-config
...
Feat/stackerdb config
2023-09-01 22:48:53 +00:00
jferrant
b24391412e
Chore/stacks signer cli cleanup ( #3885 )
...
* Cleanup documentation and CLI using clap and errors using thiserror
Signed-off-by: Jacinta Ferrant <jacinta@trustmachines.co >
* Do not enable host, contract, or private key to be specified if using the config option
Signed-off-by: Jacinta Ferrant <jacinta@trustmachines.co >
* Fix typo in comment
Signed-off-by: Jacinta Ferrant <jacinta@trustmachines.co >
---------
Signed-off-by: Jacinta Ferrant <jacinta@trustmachines.co >
2023-08-31 10:39:21 -04:00