Commit Graph

1523 Commits

Author SHA1 Message Date
Jude Nelson
7638706004 chore: document all nack codes 2024-08-12 16:14:04 -04:00
Jude Nelson
c443f82fbf fix: immediately retry sync if a getchunk/putchunk fails due to stale inventory data 2024-08-12 14:24:29 -04:00
Jude Nelson
7c37f89dce chore: info accept/reject 2024-08-12 14:24:13 -04:00
Jude Nelson
b3645c7e83 chore: more debug output 2024-08-12 14:24:03 -04:00
Jude Nelson
99f0736d45 chore: more debug output 2024-08-12 14:23:44 -04:00
Jude Nelson
e167337786 chore: pass coordinator comms 2024-08-12 14:23:29 -04:00
Jude Nelson
c1b6e6061f chore: more debug output 2024-08-12 14:22:45 -04:00
wileyj
ad14bed76a fix formatting 2024-07-01 11:35:15 -07:00
wileyj
43216b167f change defatult antientropy_retry to one hour 2024-07-01 11:20:29 -07:00
wileyj
3906688766 Revert "Fix/signer slot count" 2024-06-04 09:40:04 -07:00
Jude Nelson
5d9f472142 fix: fix stacks-inspect so that the block ranges correspond to heights, not rowids 2024-06-03 18:07:34 -04:00
Brice Dobry
cf01028d65 Merge pull request #4791 from stacks-network/feat/sqlite-feature-flag
Make rusqlite optional
2024-05-17 17:39:47 +00:00
Fess
9addd7e69c fix: validate_transaction_static_epoch function added 2024-05-16 21:36:57 +04:00
Jeff Bencin
6766e653a3 Merge branch 'develop' into draft/multisig-order-independence 2024-05-16 13:04:04 -04:00
Vlad
2e67fa900b Update stackslib/src/chainstate/stacks/transaction.rs
Co-authored-by: Brice Dobry <brice@obycode.com>
2024-05-16 20:47:10 +04:00
Brice Dobry
83d338d7fe Merge pull request #4745 from stacks-network/feat/stacks-block-height
Add/update block height keywords in Clarity
2024-05-15 21:13:29 +00:00
Jude Nelson
ebe1703891 Merge branch 'develop' into feat/sqlite-feature-flag 2024-05-15 18:45:18 +00:00
Brice Dobry
c94d9e3040 test: pass Clarity 2 contract to Clarity 3 contract
Ensure new keywords are still handled as expected.
2024-05-15 11:23:42 -04:00
Brice Dobry
369d00fafc fix: move tenure setting after epoch transition
This is necessary after the new check was added to ensure that the
tenure height is not set before epoch 3.0.
2024-05-15 09:25:32 -04:00
Brice Dobry
2b4b1c14bf feat: handle tenure-height with at-block before epoch 3.0
Also including some other improvements from PR review.
2024-05-14 16:48:42 -04:00
Jude Nelson
e6021f5bee chore: fix compile issues in stacks-node 2024-05-14 14:19:19 -04:00
Hugo Caillard
11fb999e2a feat: add a canonical feature in stacks-common and in clarity 2024-05-14 17:19:03 +02:00
Jude Nelson
a71abf7b59 Merge branch 'develop' into fix/4732 2024-05-13 20:46:15 +00:00
Jude Nelson
88517e4ccb chore: address PR feedback by adding more regression tests 2024-05-13 16:56:00 -04:00
Jeff Bencin
c65fa5ce59 fix: Skip PeerNetwork::bind() if re-using object 2024-05-13 13:47:22 -04:00
Vlad
d7865cf273 Merge branch 'develop' into draft/multisig-order-independence 2024-05-11 21:21:25 +04:00
Jude Nelson
75341d901b Merge pull request #4754 from stacks-network/fix/4752
Fix/4752
2024-05-10 21:26:43 +00:00
Jude Nelson
6e2b54bd3c Merge branch 'develop' into draft/multisig-order-independence 2024-05-10 21:23:16 +00:00
Jude Nelson
0f6b82987c Merge branch 'develop' into fix/4732 2024-05-10 19:46:41 +00:00
Jacinta Ferrant
57b345807b Implement this error for MonitoringError and fix clippy warnings
Signed-off-by: Jacinta Ferrant <jacinta@trustmachines.co>
2024-05-09 14:32:39 -07:00
Jude Nelson
05bf8a80b6 Merge branch 'develop' into fix/4752 2024-05-09 16:57:02 +00:00
Jude Nelson
1725915661 Merge branch 'develop' into fix/4732 2024-05-09 16:56:09 +00:00
jude
2ae1c2d43a fix: typo 2024-05-09 12:55:16 -04:00
jude
bba307b8a9 fix: when in IBD, don't bother with antientropy or inv re-sync -- the latter happens fast enough on its own (it only needs to be done once per reward cycle) 2024-05-09 12:54:46 -04:00
jude
eb78eb0dd7 fix: when in IBD, be aggressive about neighbor walks (since inv sync depends on bootstrap nodes staying connected) 2024-05-09 12:54:17 -04:00
jude
4cee411521 fix: when in IBD mode, verify that we're connecting to bootstrap peers, and don't use the PoX bitvec length to determine when to retry an inv sync 2024-05-09 12:53:47 -04:00
Brice Dobry
ed4afb632f fix: resolve issues with tenure-height initialization 2024-05-09 08:13:57 -04:00
Jude Nelson
032c4861cd chore: check to see if the *network* is connecting to a given neighbor, not that the stackerdb sync state machine is 2024-05-08 22:28:31 -04:00
Brice Dobry
7a01d75873 Merge branch 'develop' into feat/stacks-block-height 2024-05-08 21:41:30 -04:00
Brice Dobry
00ae1b18e9 fix: test_block_heights_across_versions
Needed to call `save_analysis` for the deployed contracts.
2024-05-08 21:40:23 -04:00
Brice Dobry
745e07488d test: default tenure height for testing 2024-05-08 21:08:41 -04:00
Brice Dobry
1bff5b7ce7 test: add tests for block height keyword behavior across versions 2024-05-08 17:36:04 -04:00
Brice Dobry
117c41cf76 fix: finish resolving issues with previous changes 2024-05-08 14:54:15 -04:00
Jude Nelson
e036ef03ba fix: pub, not pub(crate), to remove warning about visibility 2024-05-08 14:51:39 -04:00
Jude Nelson
464a335ea3 fix: determine that a neighbor is connecting by either its event ID or its neighbor key 2024-05-08 14:33:34 -04:00
Brice Dobry
008f73bf4e refactor: move tenure-height increment
This new location avoids the need to pass `new_tenure` around to the
block begin methods. h/t @kantai
2024-05-08 13:20:46 -04:00
Brice Dobry
7a63f899e8 chore: address simple review comments 2024-05-07 22:16:09 -04:00
Jude Nelson
e81d6e95ba chore: verify that we don't try to connect more often than we connect 2024-05-07 21:28:16 -04:00
Jude Nelson
d5e0a7f9a1 fix: don't attempt to connect to a neighbor if we're already trying to do so 2024-05-07 21:27:58 -04:00
Jude Nelson
9da1120489 chore: don't track dead or broken neighbors (don't disconnect from them; just don't talk to them). instead, track connections and connection attempts 2024-05-07 21:27:20 -04:00