Matthew Little
9760ced0a5
chore: pr feedback
2024-03-05 10:22:51 +01:00
Matthew Little
e9290cb978
chore: pr feedback around string ownership
2024-03-04 17:59:19 +01:00
Matthew Little
05e26e0805
fix: resolve DNS/hostnames for signer node_host value #4466
2024-03-04 15:34:49 +01:00
Aaron Blankstein
83ac3276dc
chore: remove self_signing mode
...
* remove self_signing mode from nakamoto-node
* update integration tests that used self_signing to have a blind signing thread which reads/writes through stackerdb
2024-03-01 13:11:12 -05:00
wileyj
e00243f81f
conditionally exclude some crates when target os is windows or macos
2024-02-29 11:42:26 -08:00
Jacinta Ferrant
05518ad42b
CRC: cleanup comments
...
Signed-off-by: Jacinta Ferrant <jacinta@trustmachines.co >
2024-02-23 13:49:33 -05:00
Jacinta Ferrant
e24f223a98
Fix signer vote calculations into a struct
...
Signed-off-by: Jacinta Ferrant <jacinta@trustmachines.co >
2024-02-23 13:12:50 -05:00
Jacinta Ferrant
1de817b2f1
Fix fee calculation and always broadcast Sign errors as block rejections
...
Signed-off-by: Jacinta Ferrant <jacinta@trustmachines.co >
2024-02-23 10:25:39 -05:00
Jacinta Ferrant
69d25fb0dd
CRC: cleanup var names and add comment to SignerMessages
...
Signed-off-by: Jacinta Ferrant <jacinta@trustmachines.co >
2024-02-22 22:02:12 -05:00
Jacinta Ferrant
838f06fda2
Fix test simple signer test by fixing contract id
...
Signed-off-by: Jacinta Ferrant <jacinta@trustmachines.co >
2024-02-22 21:58:00 -05:00
Jacinta Ferrant
f1a7a32c37
Parse msg id and signer set out of the event conract id
...
Signed-off-by: Jacinta Ferrant <jacinta@trustmachines.co >
2024-02-22 21:57:59 -05:00
Jacinta Ferrant
32f407a015
Add Signer struct to handle multiple reward cycles
...
Signed-off-by: Jacinta Ferrant <jacinta@trustmachines.co >
2024-02-22 21:57:59 -05:00
Jeff Bencin
384f7da64d
Merge branch stacks/next into chore/fix-clippy-warnings
2024-02-20 11:22:15 -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
Jeff Bencin
60d02d906a
Merge branch stacks/next into chore/fix-clippy-warnings
2024-02-10 11:04:29 -05:00
Jude Nelson
33280f36b8
Merge branch 'next' into feat/larger-stackerdb
2024-02-09 11:49:54 -05:00
saralab
a301cc3be0
Merge branch 'next' into chore/fix-clippy-warnings
2024-02-08 21:07:28 -05: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
Jeff Bencin
5194588a10
Merge branch stacks/next into chore/fix-clippy-warnings
2024-02-08 12:57:53 -05:00
Jude Nelson
1f0e8c6ad0
chore: we only care about message ID now, not slot ID
2024-02-07 01:32:28 -05:00
Jude Nelson
c1fd04c41e
chore: clean up imports
2024-02-07 01:32:15 -05:00
Jude Nelson
8f6659566d
fix: use boot_code_id
2024-02-06 13:10:47 -05:00
Jude Nelson
02cdd05d0a
chore: remove slot_id calculation since there's one DB per message type
2024-02-06 13:10:27 -05:00
Jude Nelson
7ce897a39f
fix: signer DBs only have to start with .signers
2024-02-06 13:09:55 -05:00
Jude Nelson
76c75829b6
Merge branch 'next' into feat/larger-stackerdb
2024-02-05 13:34:33 -05:00
Jacinta Ferrant
4440414fb3
Cleanup RejectCode serde and fix tmissing transactions test
...
Signed-off-by: Jacinta Ferrant <jacinta@trustmachines.co >
2024-02-02 17:22:53 -08:00
Jacinta Ferrant
c4fb9fdece
Broadcast missing transactions to the miner as a hint
...
Signed-off-by: Jacinta Ferrant <jacinta@trustmachines.co >
2024-02-02 17:22:53 -08:00
Jacinta Ferrant
8997b22729
Add SignerMessage::Transactions to event.rs and update rest of code
...
Signed-off-by: Jacinta Ferrant <jacinta@trustmachines.co >
2024-02-02 17:22:53 -08:00
Jacinta Ferrant
dd006d49fb
CRC: add trait for wsts struct serde
...
Signed-off-by: Jacinta Ferrant <jacinta@trustmachines.co >
2024-02-02 15:17:08 -08:00
Jacinta Ferrant
75e50ac0a4
CRC: cleanup type prefix enum and move wait_for_signature and broadcast into the same function
...
Signed-off-by: Jacinta Ferrant <jacinta@trustmachines.co >
2024-02-02 15:17:08 -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
Jeff Bencin
cc6fb99d8f
chore: Fix clippy::redundant_clone
2024-02-02 13:54:42 -05:00
Jeff Bencin
a0e633a924
chore: Fix clippy::perf warnings introduced by merge
2024-02-02 12:08:04 -05:00
Jude Nelson
c9376e4333
chore: log headers on failure to decode http resposne
2024-02-02 10:35:09 -05:00
Aaron Blankstein
d79de76cff
feat: update .signers to use StackerDB paging
...
* make signer-slots a const in stacks-common
* update the .signers maintenance to separate voting share from StackerDB slots
* update .signers to use and alternate 2 pages of signers
2024-02-01 09:19:55 -06:00
Hank Stoever
43d869593a
fix: modify simple signer test to fix intermittent failure
2024-01-30 11:21:33 -08:00
Hank Stoever
bdb2e3c02e
chore: add test for signer status endpoint
2024-01-29 13:09:52 -08:00
Hank Stoever
9501bd2caf
feat: add GET /status endpoint to signer
2024-01-29 13:09:52 -08:00
Jacinta Ferrant
4e124e9ae5
Make signer_signature_hash infallible and use it instead of block for proposal results and sending signatures back to miners
...
Signed-off-by: Jacinta Ferrant <jacinta@trustmachines.co >
2024-01-29 08:37:29 -08:00
Jacinta Ferrant
0969079197
Cleanup processing operation results
...
Signed-off-by: Jacinta Ferrant <jacinta@trustmachines.co >
2024-01-25 13:16:15 -08:00
Jacinta Ferrant
2652810f26
Cleanup expects inside events.rs
...
Signed-off-by: Jacinta Ferrant <jacinta@trustmachines.co >
2024-01-25 13:15:07 -08: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
Jacinta Ferrant
24aa81bb4a
Process out of order nonce requests and block validation responses
...
Signed-off-by: Jacinta Ferrant <jacinta@trustmachines.co >
2024-01-23 11:36:58 -08:00
Jacinta Ferrant
f394a3b1d1
CRC: add copyright to all files, remove commented out code, and move StackerDBChunksEvent to event.rs
...
Signed-off-by: Jacinta Ferrant <jacinta@trustmachines.co >
2024-01-16 17:30:07 -05:00
Jacinta Ferrant
ea82c27e85
CRC: add rustdocs to test, cleanup error handling in event.rs, and revert postblock_proposal api changes
...
Signed-off-by: Jacinta Ferrant <jacinta@trustmachines.co >
2024-01-16 17:30:07 -05:00
Jacinta Ferrant
186fa2e35e
Filter out unknown contract ids from libsigner events
...
Signed-off-by: Jacinta Ferrant <jacinta@trustmachines.co >
2024-01-16 17:30:07 -05:00
Jacinta Ferrant
8216918288
CRC: remove unused EventPrefix and fix copyright year from 2023 to 2024 in stacks-signer code
...
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
0fcb1f0cc0
Update put_chunk to take a ref and cleanup clippy
...
Signed-off-by: Jacinta Ferrant <jacinta@trustmachines.co >
2024-01-16 17:30:07 -05:00