Hank Stoever
1c5764ecb1
fix: expected reward cycle in integration test for pox info
2024-03-05 12:52:21 -08:00
Matthew Little
8b0b4b7bfa
Merge branch 'next' into chore/remove-self-signer
...
# Conflicts:
# testnet/stacks-node/src/tests/nakamoto_integrations.rs
# testnet/stacks-node/src/tests/signer.rs
2024-03-05 17:48:06 +01:00
Matthew Little
c0d4c28c40
chore: fix merge conflict
2024-03-05 16:27:09 +01:00
jferrant
2d82e60650
Merge pull request #4471 from stacks-network/feat/block-proposal-auth
...
Feat/block proposal authorization password for v2/block_proposal endpoint
2024-03-05 15:07:49 +00:00
Matthew Little
92a7fc7560
Merge branch 'next' into chore/remove-self-signer
2024-03-05 16:01:16 +01:00
Matthew Little
9760ced0a5
chore: pr feedback
2024-03-05 10:22:51 +01:00
Matthew Little
54a7fc3160
Merge branch 'next' into fix/stacks-client-endpoint-dns
2024-03-05 10:11:59 +01:00
Marzi
5ea730c224
Ctrl-C graceful shutdown during burnchain initialization + retry logic when adding a bootstrap node
2024-03-04 16:53:57 -05:00
Hank Stoever
60c9e333c4
fix: add block_proposal_token to file type
2024-03-04 11:53:45 -08:00
Brice Dobry
2493821cc9
fix: use the correct tip to retrieve signer nonces
2024-03-04 12:33:03 -05:00
Jacinta Ferrant
c1a6f2fe64
Add config option to provide authorization password to block proposal endpoint
...
Signed-off-by: Jacinta Ferrant <jacinta@trustmachines.co >
2024-03-04 12:18:10 -05:00
Matthew Little
e9290cb978
chore: pr feedback around string ownership
2024-03-04 17:59:19 +01:00
Brice Dobry
1fb9876412
Revert "feat: setup blind-signer lib and binary"
...
This reverts commit b04386d4f5 .
Since the signer is ready, this blind signer is not necessary and it is
better to not add this additional component that needs to be kept
updated.
2024-03-04 11:37:29 -05:00
Matthew Little
05e26e0805
fix: resolve DNS/hostnames for signer node_host value #4466
2024-03-04 15:34:49 +01:00
Brice Dobry
edbda596f2
Merge branch 'next' into chore/remove-self-signer
2024-03-01 13:18:07 -05:00
Jacinta Ferrant
73fd5e0309
Wrap signer slot ID in a struct to prevent conflation with signer ID
...
Signed-off-by: Jacinta Ferrant <jacinta@trustmachines.co >
2024-03-01 13:13:10 -05:00
Brice Dobry
b04386d4f5
feat: setup blind-signer lib and binary
...
This is a thread, for use in testing, that blindly signs blocks and
submits signer votes.
2024-03-01 13:11:12 -05:00
Aaron Blankstein
a0174b8de1
chore: remove mockamoto mode
2024-03-01 13:11:12 -05: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
Jacinta Ferrant
f6aa7e3514
Make filtering of signer transactions global and use in miner
...
Signed-off-by: Jacinta Ferrant <jacinta@trustmachines.co >
2024-03-01 09:31:08 -05:00
Jacinta Ferrant
206eca639f
Cast to f64 and use ceil instead
...
Signed-off-by: Jacinta Ferrant <jacinta@trustmachines.co >
2024-02-29 12:58:22 -05:00
Jacinta Ferrant
770ee39af0
Round up thresholds using +0.9
...
Signed-off-by: Jacinta Ferrant <jacinta@trustmachines.co >
2024-02-29 12:07:17 -05:00
Jeff Bencin
3c8d656b44
chore: Remove imports already included by std::prelude
2024-02-28 11:05:56 -05:00
ASuciuX
ff7ec086f5
Merge branch 'next' into mutants/add-skip-attribute-to-timeout-functions
2024-02-27 17:50:23 +02:00
Marzi
f502020bea
Delete UserBurnSupportOp definition and usage
2024-02-27 10:02:37 -05:00
ASuciuX
2ff19e8c07
Merge branch 'next' into mutants/add-skip-attribute-to-timeout-functions
2024-02-27 15:07:52 +02:00
Jacinta Ferrant
e22871d6af
Send DKG and sign to all senders and remove shutdown in hanging tests
...
Signed-off-by: Jacinta Ferrant <jacinta@trustmachines.co >
2024-02-24 16:50:24 -05:00
Jacinta Ferrant
1384084dd1
Do not trigger DKG if we have an approved DKG key set in the contract
...
Signed-off-by: Jacinta Ferrant <jacinta@trustmachines.co >
2024-02-23 15:07:13 -05:00
Jacinta Ferrant
6edec125ab
CRC: cleanup parse_function_args
...
Signed-off-by: Jacinta Ferrant <jacinta@trustmachines.co >
2024-02-23 13:33:11 -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
66c6862ecc
Move get_signer_weights function to signer_set.rs
...
Signed-off-by: Jacinta Ferrant <jacinta@trustmachines.co >
2024-02-22 21:58:00 -05:00
Jacinta Ferrant
1c8d6118c4
Fix reward cycle filter bad transactions test
...
Signed-off-by: Jacinta Ferrant <jacinta@trustmachines.co >
2024-02-22 21:58:00 -05:00
Jacinta Ferrant
51809a009b
Fix get_current_reward_cycle in stacks client
...
Signed-off-by: Jacinta Ferrant <jacinta@trustmachines.co >
2024-02-22 21:58:00 -05:00
Jacinta Ferrant
e99d6d8ce2
Cleanup reward cycle transitions test
...
Signed-off-by: Jacinta Ferrant <jacinta@trustmachines.co >
2024-02-22 21:58:00 -05:00
Jacinta Ferrant
5149d6fcd3
Always refresh configs, temp set consenus has to 0 in coordinator calculation, retrieve NEXT signers transactions in signer
...
Signed-off-by: Jacinta Ferrant <jacinta@trustmachines.co >
2024-02-22 21:58:00 -05:00
Jacinta Ferrant
b0d4a34a1a
Retreive the transactions from the NEXT signers in the miner
...
Signed-off-by: Jacinta Ferrant <jacinta@trustmachines.co >
2024-02-22 21:58:00 -05:00
Jacinta Ferrant
c0a0d74a26
Fix reward set boundary calculation
...
Signed-off-by: Jacinta Ferrant <jacinta@trustmachines.co >
2024-02-22 21:58:00 -05:00
Jacinta Ferrant
33a8a80787
Increase wait_for_signers timeout
...
Signed-off-by: Jacinta Ferrant <jacinta@trustmachines.co >
2024-02-22 21:58:00 -05:00
Jacinta Ferrant
74ec4bca4f
Fix prepare phase reward set calculation
...
Signed-off-by: Jacinta Ferrant <jacinta@trustmachines.co >
2024-02-22 21:58:00 -05:00
Jacinta Ferrant
867198119d
CRC: cleanup logging
...
Signed-off-by: Jacinta Ferrant <jacinta@trustmachines.co >
2024-02-22 21:58:00 -05:00
Jacinta Ferrant
9cce191a5b
WIP: add test for post epoch 3 reward cycle transition
...
Signed-off-by: Jacinta Ferrant <jacinta@trustmachines.co >
2024-02-22 21:58:00 -05:00
Jacinta Ferrant
62e2109259
CRC: use signer weights when calculating block rejection thresholds
...
Signed-off-by: Jacinta Ferrant <jacinta@trustmachines.co >
2024-02-22 21:58:00 -05:00
Jacinta Ferrant
14a15a682d
CRC: cleanup comments
...
Signed-off-by: Jacinta Ferrant <jacinta@trustmachines.co >
2024-02-22 21:58:00 -05:00
Jacinta Ferrant
48a4e08691
Fix missing transactions test and add TODOs for cleaning up logic
...
Signed-off-by: Jacinta Ferrant <jacinta@trustmachines.co >
2024-02-22 21:58:00 -05:00
Jacinta Ferrant
5ad797514e
Fix transaction logic and fix block proposal test
...
Signed-off-by: Jacinta Ferrant <jacinta@trustmachines.co >
2024-02-22 21:58:00 -05:00
Jacinta Ferrant
e49764f33c
Fix nonce retrieval and pox consensus tests
...
Signed-off-by: Jacinta Ferrant <jacinta@trustmachines.co >
2024-02-22 21:58:00 -05:00
Jacinta Ferrant
406c44244c
Update contract calls and update signer state when a nonce request is stashed
...
Signed-off-by: Jacinta Ferrant <jacinta@trustmachines.co >
2024-02-22 21:58:00 -05:00
Jacinta Ferrant
7784cafdee
Update coordinator id only once per run loop
...
Signed-off-by: Jacinta Ferrant <jacinta@trustmachines.co >
2024-02-22 21:58:00 -05:00
Jacinta Ferrant
784a0f35fc
CRC: add mainnet var and check transaction is on the correct network when filtering signer transactions
...
Signed-off-by: Jacinta Ferrant <jacinta@trustmachines.co >
2024-02-22 21:58:00 -05:00
Jacinta Ferrant
a57e431867
Cleanup reward cycle config into signer config
...
Signed-off-by: Jacinta Ferrant <jacinta@trustmachines.co >
2024-02-22 21:58:00 -05:00