Commit Graph

23361 Commits

Author SHA1 Message Date
jude
1f989fbbe6 fix: if we're not mining, then set the poll time to be 5s (otherwise we waste a *ton* of CPU) 2024-05-09 12:55:24 -04: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
wileyj
74f6303819 Minor cleanup, teams have been adjusted upstream 2024-05-09 09:09:44 -07:00
wileyj
d0de1af451 remove extra character from vi typo 2024-05-09 07:04:19 -07: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
ASuciuX
6d5b66853f signer-messages 2024-05-08 20:29:42 +03: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
dd75f78cf6 test: add new integration test to bitcoin-tests.yml 2024-05-08 13:04:31 -04:00
Brice Dobry
aa83223479 docs: add rustdocs to get_(min|max)_version 2024-05-08 12:51:31 -04:00
Brice Dobry
aef35a1a57 refactor: move lookup_by_name_at_version into the macro
Instead of defining it separately in each of several different types,
just add this method to the macro. h/t @kantai's review suggestion.
2024-05-08 12:44:35 -04:00
wileyj
01bb95624a remove paths-ignore 2024-05-08 09:35:04 -07:00
wileyj
2a729d32c1 remove paths-ignore 2024-05-08 09:33:58 -07:00
wileyj
384e381fd7 4746 - avoid extra ci runs 2024-05-08 09:17:30 -07:00
wileyj
d4f40d17b2 4746 - avoid extra ci runs 2024-05-08 09:16:37 -07:00
Brice Dobry
1d7464f88e test: check handling of block height keywords across versions 2024-05-08 12:02:17 -04:00
Brice Dobry
02e3d89a15 feat: add analysis error for use of block-height in Clarity 3 2024-05-08 12:00:45 -04:00
Brice Dobry
7a63f899e8 chore: address simple review comments 2024-05-07 22:16:09 -04:00
Brice Dobry
fd90705f3c test: add integration test verifying block height values 2024-05-07 21:43:19 -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
Jude Nelson
51ef7d4723 chore: add test to see if a connection to a neighbor is pending 2024-05-07 21:27:02 -04:00
Jude Nelson
329c27c448 Merge pull request #4748 from stacks-network/fix/4721
Fix/4721
2024-05-08 01:21:57 +00:00
Jude Nelson
28ee6dc32a Merge pull request #4733 from stacks-network/feat/bitcoin-mev
Feat/Bitcoin MEV
2024-05-07 20:05:53 +00:00
Jude Nelson
6e624586cc chore: remove length= 2024-05-07 14:13:08 -04:00
Jude Nelson
48a9d88b75 Merge branch 'develop' into feat/bitcoin-mev 2024-05-07 17:25:58 +00:00
Jude Nelson
a29b1628e0 chore: fix comment typo 2024-05-07 13:35:24 -04:00
Jude Nelson
6ab2fd2828 Merge pull request #4750 from stacks-network/fix/4734
Fix/4734
2024-05-07 16:56:31 +00:00
Jude Nelson
e59f9f569e Merge branch 'develop' into fix/4721 2024-05-07 16:56:13 +00:00
Hank Stoever
738c4c8210 Merge pull request #4719 from stacks-network/feat/signer-metrics
feat: signer monitoring server
2024-05-07 15:36:03 +00:00
Jude Nelson
5908391497 fix: avoid divide-by-zero with estimated length min 2024-05-07 09:38:41 -04:00
Brice Dobry
2dc5bc3c41 fix: update tests 2024-05-07 01:44:04 -04:00
Brice Dobry
741726e676 fix: setup tenure height in test environments 2024-05-07 01:02:07 -04:00
Brice Dobry
d8ee58efef feat: simplify tenure-height implementation
With this commit, undo the MARF changes following the mechanism used for
`block-height` and replace it with a Clarity based solution.
2024-05-07 00:24:09 -04:00
Jude Nelson
dbc91b5b16 fix: this endpoint returns the fee _rate_, not the absolute fee 2024-05-06 22:34:40 -04:00
Jude Nelson
e72ca43501 Merge branch 'feat/bitcoin-mev' of https://github.com/stacks-network/stacks-blockchain into feat/bitcoin-mev 2024-05-06 22:05:05 -04:00
Jude Nelson
95163e291e fix: more PR feedback -- better, more-complete AtcRational tests and better abstraction over the inner u256 2024-05-06 22:03:54 -04:00
wileyj
5338de44d8 Merge branch 'next' into feat/codeowners
* next:
  update per 4638
  removing portable flag
  fix: dont warn about aggregate key in 2.5
2024-05-06 13:17:36 -07:00
Jude Nelson
fa66891c78 chore: address PR feedback and add more test coverage 2024-05-06 16:08:11 -04:00