Commit Graph

18946 Commits

Author SHA1 Message Date
Jude Nelson
8be2bee28e chore: remove dispatch_boot_receipts, and add fault injection for hiding blocks 2022-12-02 17:25:33 -05:00
Jude Nelson
3947d3c1b7 chore: remove dispatch_boot_receipts() from block event dispatcher, and add some more debugging and test mechanisms for testing block withholding 2022-12-02 17:24:55 -05:00
Jude Nelson
9c7aa3cb90 chore: unused import 2022-12-02 17:23:54 -05:00
Jude Nelson
8ab42735e4 fix: the genesis block always had version 0 2022-12-02 17:23:39 -05:00
Jude Nelson
ab7ca1ede5 feat: has_burnchain_block_at_height() for helping skip needless sortition processing at bootup 2022-12-02 17:23:02 -05:00
Jude Nelson
8343390942 fix: fix #34233 by checking for an already-locked error in the special cc handler 2022-11-29 12:33:02 -05:00
Jude Nelson
ca11f823b9 fix: debug! instead of info! for a commonly-emitted line 2022-11-28 12:12:29 -05:00
Jude Nelson
b89e7ded9a fix: use epoch 2.1 data to satisfy the new config checker 2022-11-23 11:21:38 -05:00
Jude Nelson
fa3cb94a0f fix: runtime 2022-11-23 11:02:20 -05:00
Jude Nelson
f2f0e72532 fix: use the original epochs that caused these tests to pass 2022-11-23 10:03:55 -05:00
Jude Nelson
d338beddb0 fix: restore original epochs used for testing pre-2.1 2022-11-23 00:16:54 -05:00
Jude Nelson
49adb3e5b6 fix: antientropy should include the current reward cycle 2022-11-23 00:16:36 -05:00
Jude Nelson
f5a43fb4e2 fix: antientropy up to and including the current reward cycle 2022-11-22 22:28:45 -05:00
Jude Nelson
8c2931d2f0 Merge branch 'next' into feat/check-pox-2-params 2022-11-22 21:54:33 +00:00
Jude Nelson
748eff4a8a Merge pull request #3318 from stacks-network/events/pox-2
Events/pox 2
2022-11-22 21:54:15 +00:00
Jude Nelson
9475b9983c fix: revert new runtime 2022-11-21 23:27:28 -05:00
Jude Nelson
c03d2ec014 fix: use 2.1 peer version 2022-11-21 23:27:02 -05:00
Jude Nelson
2c966bd2c2 chore: log unaffirmed anchor block hash and txid 2022-11-21 23:26:40 -05:00
Jude Nelson
1bb3a552de fix: increase highest supported epochs in earlier epochs (since we have to do a genesis sync anyway) 2022-11-21 18:22:36 -05:00
Jude Nelson
efbdb1c66a Merge branch 'feat/check-pox-2-params' of https://github.com/stacks-network/stacks-blockchain into feat/check-pox-2-params 2022-11-21 18:21:21 -05:00
Jude Nelson
d6a45c9ffb fix: new runtime limit 2022-11-21 18:20:55 -05:00
Jude Nelson
5fbc6ac1ab fix: uew new burnchain constructor 2022-11-21 18:20:39 -05:00
Jude Nelson
98c42e48e7 fix: make PoX sunset configurable, as well as the wallet name, and add a way to build a Burnchain from config 2022-11-21 18:20:17 -05:00
Jude Nelson
377f46306d fix: use burnchain constructor in config 2022-11-21 18:20:03 -05:00
Jude Nelson
920542f597 fix: use burnchain constructor in config, and append wallet path for listunspent 2022-11-21 18:19:40 -05:00
Jude Nelson
2cca4fe359 fix: bump network epoch version for mainnet and testnet 2022-11-21 18:19:22 -05:00
Jude Nelson
e2f6d6a710 Merge branch 'next' into feat/check-pox-2-params 2022-11-21 22:52:35 +00:00
Jude Nelson
ecd6f2de43 Merge branch 'draft/set-testnet-height' into feat/check-pox-2-params 2022-11-21 17:31:58 -05:00
Jude Nelson
39545606cd Merge pull request #3415 from stacks-network/feat/contract-in-stx-lock-event
[Stacks 2.1] Include pox contract in `stx_lock_event` payloads
2022-11-21 19:43:39 +00:00
Matthew Little
baab8b9bb2 feat: include the pox contract id in stx_lock_event payloads (e.g. <addr>.pox or <addr>.pox-2) 2022-11-21 20:06:32 +01:00
Jude Nelson
8b6a62103d Merge branch 'next' into events/pox-2 2022-11-21 16:31:58 +00:00
Jude Nelson
9a2e0a7321 Merge pull request #3394 from stacks-network/style/remove-unnecessary-whitespace-pox-2
style: remove trailing whitespace from pox-2 contract
2022-11-21 16:29:17 +00:00
Jude Nelson
cb4321836e fix: neon_integration tests largely run in epoch 2.05, so make it so. However, update integration tests to run in epoch 2.1 2022-11-21 10:55:51 -05:00
Jude Nelson
ded5602c09 fix: since the test begins in epoch 2.1, there are no lockup events 2022-11-20 13:30:02 -05:00
Jude Nelson
8de70755de fix: use epoch 2.1 in integration tests 2022-11-20 00:03:26 -05:00
Jude Nelson
d69eb3edf6 fix: use epoch 2.1 by default in integration tests 2022-11-20 00:03:10 -05:00
Jude Nelson
f7f41a98b8 fix: use epoch 2.1 in block-limit test 2022-11-20 00:02:53 -05:00
Jude Nelson
99639a2c57 chore: debug epochs to validate 2022-11-20 00:02:19 -05:00
Jude Nelson
9b0a5bfb3e fix: add an epoch 2.1 block limit 2022-11-20 00:02:02 -05:00
Jude Nelson
e77708c678 fix: make all event-generation fallible. If the event-info or data-info tuples don't evaluate, it's _not_ a reason to crash the network. 2022-11-20 00:00:26 -05:00
Jude Nelson
7a8abc667d feat: validate epoch 2.1 settings early 2022-11-18 18:41:50 -05:00
Jude Nelson
54260be759 feat: validate epoch 2.1 settings early 2022-11-18 18:41:35 -05:00
Jude Nelson
c348161541 chore: remove unused import 2022-11-18 18:41:24 -05:00
Jude Nelson
d06335907e feat: new method to verify that epoch 2.1 settings are correct 2022-11-18 18:40:52 -05:00
Jude Nelson
4ddbdbc626 refactor: remove update_pox_constants 2022-11-18 18:40:17 -05:00
Jude Nelson
4ffedc3403 fix: require rustls-tls to avoid reqwest segfault 2022-11-18 18:39:53 -05:00
Jude Nelson
becc83ca91 feat: new method find_epoch_by_id() for a list of epochs 2022-11-18 18:39:39 -05:00
Jude Nelson
89e523fe01 chore: move STACKS_EPOCH_MAX into stacks-common 2022-11-18 18:39:25 -05:00
Jude Nelson
a10efec7e5 refactor: move validate_epochs() into StacksEpoch 2022-11-18 18:39:08 -05:00
Jude Nelson
a51a6f176a refactor: move epoch validation logic into StacksEpoch 2022-11-18 18:38:39 -05:00