Commit Graph

175 Commits

Author SHA1 Message Date
Jude Nelson
545f61b56b fix: upgrade time crate to 0.3.36 to fix compatibility with rust 1.80 2024-08-12 16:01:07 -04:00
Hank Stoever
a5bda55833 feat: signer monitoring server 2024-04-29 14:57:23 -07:00
Mårten Blankfors
f029c9296e refactor: Use Sha512Trunc256Sum for hashing 2024-04-12 10:33:07 +02:00
Mårten Blankfors
35d39170e2 fix: Skip unviable mutants 2024-04-09 13:31:02 +02:00
Mårten Blankfors
952275aba6 feat: (Signer) Persist encrypted dkg shares in StackerDB 2024-04-08 22:10:04 +02:00
Mårten Blankfors
93b9ee1014 Merge branch 'next' into 4388-nakamoto-stacks-signer-should-store-its-party-shares-on-the-side-to-enable-restart 2024-04-02 11:27:01 +02:00
Hank Stoever
0338c99d92 Merge branch 'next' into feat/signer-fix-parsing-btc-address 2024-03-29 17:53:49 -07:00
Hank Stoever
6efec78d18 fix: rustfmt error 2024-03-28 07:06:07 -07:00
ASuciuX
0ff3ccbbd8 added the mutants from PR #4483 2024-03-26 14:24:59 +02:00
Mårten Blankfors
818f0cf725 feat: Improved integration test isolation by reintroducing a random run stamp 2024-03-25 22:38:37 +01:00
Mårten Blankfors
fe01a6b2af feat: Update wsts commit to test latest PartyAPI changes 2024-03-25 11:28:41 +01:00
Mårten Blankfors
e358156e73 feat: Update wsts github rev 2024-03-25 09:55:11 +01:00
Mårten Blankfors
efd1f40260 feat: Signer persistence implemented 2024-03-25 09:55:11 +01:00
Mårten Blankfors
ea0766efe3 feat: Integration test with signer reboot 2024-03-25 09:55:11 +01:00
Aaron Blankstein
207cb690fe feat: naka miner acts as signer set coordinator during block signing
* Replaces msg_id u32 with an enum for message identification
* Adds an additional slot for miner messages
* Adds a sync channel for listening to StackerDB events
* Adds a StackerDBs method for pushing a chunk locally and emitting event
* Uses a new message type to store DKG results, to be read by miners to instantiate coordinator
* Uses a test signing channel for nakamoto integration tests
* Currently builds with a branch of wsts
2024-03-14 09:41:49 -05:00
Hank Stoever
574f73248c feat: setup basic signerDB 2024-03-06 10:23:25 +01:00
Matthew Little
72d473ace9 Merge branch 'next' into fix/stacks-client-endpoint-dns 2024-03-04 18:07:49 +01:00
Matthew Little
05e26e0805 fix: resolve DNS/hostnames for signer node_host value #4466 2024-03-04 15:34:49 +01:00
Mårten Blankfors
ac03fc769a fix: Port binding conflict in client::stackerdb::tests 2024-03-04 11:38:58 +01:00
Jeff Bencin
aa0f6d7e4b chore: Remove unnecessary sha2-asm dependency 2024-03-01 15:17:44 -05:00
ASuciuX
2ff19e8c07 Merge branch 'next' into mutants/add-skip-attribute-to-timeout-functions 2024-02-27 15:07:52 +02:00
Jeff Bencin
059ae88dea chore: Use jemalloc global allocator on supported platforms 2024-02-20 17:39:19 -05:00
Jeff Bencin
f8c6760734 chore: Replace HashMap and HashSet with Hashbrown versions (skip ./stackslib and ./testnet/stacks-node) 2024-02-20 11:10:01 -05:00
ASuciuX
9229511485 feat: add function headers for timeout functions in 'stacks-node' 2024-02-19 19:45:52 +02:00
Joey Yandle
7b42ff155c update wsts workspace dependency to v8.1 2024-02-15 16:09:45 -05:00
Aaron Blankstein
41df072c8d chore: update ed25519-dalek and rand libraries, use workspace versioning 2024-02-15 13:32:56 -06:00
ASuciuX
881993c5a9 feat: skip mutants on functions that previously timed out 2024-02-15 18:44:11 +02:00
Matthew Little
163bb08109 fix: buids on various archs/platforms 2024-02-09 16:29:57 +01:00
Joey Yandle
20d0ddbef9 rev wsts dep to get malicious dkg private handling; pass signer public keys in Point format to coordinator config
fmt fixes

implement StacksMessageCodecExtensions for DkgFailure and friends

flesh out skeleton StacksMessageCodecExtensions for DkgFailure

fix test to use proper DkgFailure enum not string
2024-02-08 17:34:49 -05:00
Jacinta Ferrant
20d78690fe Use serial to ensure tests do not clash
Signed-off-by: Jacinta Ferrant <jacinta@trustmachines.co>
2024-02-05 11:10:41 -08:00
Jacinta Ferrant
c84e4441cc Remove bincode by adding serialization functions for all wsts Packet types
Signed-off-by: Jacinta Ferrant <jacinta@trustmachines.co>
2024-02-02 15:17:08 -08:00
Jude Nelson
81ce70281d Merge branch 'chore/merge-2.4.0.1.0-to-develop' into chore/merge-2.4.0.1.0-develop-to-next 2024-02-01 17:45:48 -05:00
Jacinta Ferrant
a705604890 Move filtering of messages out ot stacks-signer into libsigner
Signed-off-by: Jacinta Ferrant <jacinta@trustmachines.co>
2024-01-25 09:16:34 -08:00
Marzi
f7751ae44d Fixes/improvements from review comments 2024-01-24 17:11:43 -05:00
Marzi
485164dbf9 Add unit tests for calculate_coordinator + incorporate review feedbacks 2024-01-23 17:44:29 -05:00
Marzi
6a048a7bb7 Select stacks-signer coordinator dynamically 2024-01-23 17:44:15 -05:00
Jacinta Ferrant
38d5a27f87 Broadcast block submissions in failure and success cases
Signed-off-by: Jacinta Ferrant <jacinta@trustmachines.co>
2024-01-23 11:36:58 -08:00
Jacinta Ferrant
3094df2b89 Update wsts version to 7.0
Signed-off-by: Jacinta Ferrant <jacinta@trustmachines.co>
2024-01-19 14:34:09 -08:00
Jude Nelson
58019925e4 Merge master to develop 2024-01-17 16:16:42 -05:00
Jacinta Ferrant
13ae8cdb81 Add stackerdb_dkg_sign test to CI
Signed-off-by: Jacinta Ferrant <jacinta@trustmachines.co>
2024-01-16 17:30:07 -05:00
Jacinta Ferrant
afd45fe7cd Remove use of pox contract and miners contract configs and update test
Signed-off-by: Jacinta Ferrant <jacinta@trustmachines.co>
2024-01-16 17:30:07 -05:00
Jacinta Ferrant
f46454c551 WIP: add block events to libsigner
Signed-off-by: Jacinta Ferrant <jacinta@trustmachines.co>
2024-01-16 17:30:07 -05:00
Jacinta Ferrant
f3226a9b20 Add naka integration test to check block written to stacker db .miners instance
Signed-off-by: Jacinta Ferrant <jacinta@trustmachines.co>
2024-01-09 16:25:15 -05:00
Jacinta Ferrant
3e21883fba Update wsts version to 6.0 and use Packet::verify function
Signed-off-by: Jacinta Ferrant <jacinta@trustmachines.co>
2024-01-04 09:50:43 -05:00
Jude Nelson
ea7b165363 chore: address PR feedback 2023-12-13 15:07:10 -05:00
Aaron Blankstein
636230795a requirements for configuring nakamoto-neon via CLI/toml 2023-12-13 07:55:33 -06:00
Aaron Blankstein
54916105fd chore: handle merge/rebase artifacts, address PR feedback 2023-12-13 07:55:33 -06:00
Jude Nelson
690fcdc0c5 Merge branch 'next' into feat/tenure-change-validation 2023-12-01 15:01:24 -05:00
Jacinta Ferrant
521d20fb35 Boot nakamoto by simulating signer DKG rounds to set dkg in contract
Signed-off-by: Jacinta Ferrant <jacinta@trustmachines.co>
2023-11-30 10:15:21 -05:00
Jacinta Ferrant
1a45811b37 Add a test for schnorr signature serde
Signed-off-by: Jacinta Ferrant <jacinta@trustmachines.co>
2023-11-30 10:15:21 -05:00