igorsyl
|
feb873ea86
|
Merge branch 'develop' into tip-mine
|
2022-11-18 18:28:27 -06:00 |
|
Jude Nelson
|
adb0d86815
|
Merge pull request #3406 from stacks-network/fix/3400
Fix/3400
|
2022-11-18 14:35:21 +00:00 |
|
Jude Nelson
|
84d643d3d0
|
fix: fix a regression in how we calculate the new microblock miner chain tip so the cost_so_far gets reset on a new tip
|
2022-11-17 21:40:15 -05:00 |
|
Jude Nelson
|
5a68f54a8e
|
fix: logical bug in new integration test; also run cargo fmt
|
2022-11-17 10:49:20 -05:00 |
|
Jude Nelson
|
78dd49e9f4
|
fix: unset the microblock public key hash at the end of fault testing
|
2022-11-17 10:37:26 -05:00 |
|
Jude Nelson
|
3f10a0ef6a
|
Merge branch 'develop' into fix/3400
|
2022-11-17 09:22:43 -05:00 |
|
Brice Dobry
|
8d7e864c05
|
Merge pull request #3401 from stacks-network/feat/bootstrap-nodes
feat: add bootstrap nodes to /v2/neighbors
|
2022-11-17 08:07:54 -05:00 |
|
Brice Dobry
|
5d3be72d39
|
fix: update unit test for new result
|
2022-11-16 15:48:33 -05:00 |
|
Jude Nelson
|
2f6248b195
|
chore: add new integration test to CI
|
2022-11-16 15:26:39 -05:00 |
|
Jude Nelson
|
5e10bd55d1
|
feat: verify that the node can produce invalid blocks but continue to mine valid blocks afterwards (simulating a transient mining bug)
|
2022-11-16 15:25:41 -05:00 |
|
Jude Nelson
|
8b1fa1722f
|
fix: verify that the canonical tip matches the miner tip, and only mine microblocks if not. They may not match if the miner creates an invalid block for some reason (e.g. due to a bug)
|
2022-11-16 15:25:07 -05:00 |
|
Jude Nelson
|
86c0913c5c
|
fix: push empty epoch receipts if the block was invalid
|
2022-11-16 15:23:58 -05:00 |
|
Jude Nelson
|
e5c7ed5005
|
fix: an empty epoch receipt means the stacks chainstate block processor encountered an invalid block
|
2022-11-16 15:23:26 -05:00 |
|
Brice Dobry
|
ca23adfda9
|
feat: add bootstrap nodes to /v2/neighbors
Adding the bootstrap nodes to this endpoint will help new nodes discover
reliable nodes to boot from.
|
2022-11-16 13:45:52 -05:00 |
|
Jude Nelson
|
c64044e16a
|
Merge pull request #3387 from stacks-network/feat/immutable-keychain
Feat/immutable keychain
|
2022-11-16 04:33:04 +00:00 |
|
Jude Nelson
|
1ef197a87a
|
fix: fix broken test constants
|
2022-11-14 18:12:33 -05:00 |
|
Jude Nelson
|
76037902fa
|
Merge branch 'feat/immutable-keychain' of https://github.com/stacks-network/stacks-blockchain into feat/immutable-keychain
|
2022-11-13 22:13:12 -05:00 |
|
Jude Nelson
|
e9a9d206ba
|
fix: In test mode, use the block height's big-endian bytes as the microblock keypair salt. In prod, use the parent index block hash.
|
2022-11-13 22:11:46 -05:00 |
|
Jude Nelson
|
1eb69c2e5d
|
fix: flip test/not-test
|
2022-11-11 14:05:28 -05:00 |
|
Jude Nelson
|
8a618d2f79
|
fix: address PR feedback
|
2022-11-11 13:36:16 -05:00 |
|
Jude Nelson
|
189eadfde6
|
fix: use the same mocked microblock key salt when we find a private key
|
2022-11-10 18:10:07 -05:00 |
|
Jude Nelson
|
64838abd87
|
fix: use the right tip hash
|
2022-11-10 18:09:54 -05:00 |
|
Jude Nelson
|
e3a92a9640
|
chore: API sync
|
2022-11-10 18:09:45 -05:00 |
|
Jude Nelson
|
2c535e8935
|
feat: the microblock key salt, outside of tests, is now a function of both the burnchain block height and the parent's index block hash
|
2022-11-10 18:09:22 -05:00 |
|
Jude Nelson
|
f0c66f6c4c
|
feat: making a microblock key now takes a salt
|
2022-11-10 18:09:06 -05:00 |
|
Jude Nelson
|
57e7b94040
|
fix: API sync, and also, the beginnings of a smoke test for microblock mining
|
2022-11-10 16:54:03 -05:00 |
|
Jude Nelson
|
10c4afc5fc
|
fix: remove commented code
|
2022-11-10 16:53:08 -05:00 |
|
Jude Nelson
|
853e0ff08e
|
chore: API sync
|
2022-11-10 16:52:54 -05:00 |
|
Jude Nelson
|
6c6df6a7ef
|
chore: use new tip since we changed the VRF key generation code
|
2022-11-10 16:52:35 -05:00 |
|
Jude Nelson
|
2028ad1490
|
chore: document RegisteredKey
|
2022-11-10 16:52:23 -05:00 |
|
Jude Nelson
|
8c2d1d58eb
|
refactor: use the new keychain methods
|
2022-11-10 16:52:14 -05:00 |
|
Jude Nelson
|
0977fabf53
|
refactor: use the new keychain methods
|
2022-11-10 16:52:03 -05:00 |
|
Jude Nelson
|
e843648f82
|
feat: rewrite Keychain so that it's immutable -- all key generation happens with respect to function arguments, not internal state
|
2022-11-10 16:51:28 -05:00 |
|
Igor
|
2b1be1eab0
|
Merge branch 'develop' of https://github.com/stacks-network/stacks-blockchain into tip-mine
|
2022-10-28 09:17:12 -05:00 |
|
Jude Nelson
|
9d897256b6
|
Merge pull request #3335 from stacks-network/feat/interruptable-miner
[DRAFT] [miner] Reduce fork and orphan rate with an interruptable miner
|
2022-10-22 00:49:33 +00:00 |
|
Jude Nelson
|
aba47e4228
|
fix: only disable the miner thread if the relayer reports that a network result contained new data
|
2022-10-21 16:21:56 -04:00 |
|
Jude Nelson
|
b1b0e2c092
|
feat: report number of *new* blocks, confirmed microblocks, and unconfirmed microblocks when processing a NetworkResult
|
2022-10-21 16:21:22 -04:00 |
|
Jude Nelson
|
1f7b295ea0
|
fix: remove mining fairness test, since this is no longer the desired behavior of mempool walks
|
2022-10-20 21:44:33 -04:00 |
|
Jude Nelson
|
049da9dcce
|
Merge pull request #3352 from stacks-network/fix/retry-store-nonces
Fix/retry store nonces
|
2022-10-20 19:05:13 +00:00 |
|
Jude Nelson
|
33458fb878
|
fix: when mock-mining, always re-try minig an anchored block even if we haven't mined a microblock yet. Also, remove gratuitous debug messages.
|
2022-10-20 15:06:53 -04:00 |
|
Jude Nelson
|
a0fddb7aaf
|
chore: add changelog
|
2022-10-20 15:06:04 -04:00 |
|
Igor
|
ff440e58d9
|
rustfmt
|
2022-10-20 13:43:12 -05:00 |
|
Jude Nelson
|
83f54f2eb5
|
fix: add a test to verify that a concurrent writer thread may delay the mempool walk from caching updated nonces, but it cannot prevent it
|
2022-10-20 13:52:31 -04:00 |
|
Jude Nelson
|
2896e40632
|
fix: if the act of storing mempool nonces in a write-through manner fails for some reason, then cache them until the end of the iteration loop and store them then as a transaction
|
2022-10-20 13:51:41 -04:00 |
|
Jude Nelson
|
6338cd3b1b
|
chore: test-only deps shouldn't be included as top-level imports
|
2022-10-20 10:42:31 -04:00 |
|
Jude Nelson
|
940969e41d
|
chore: require rust 1.61
|
2022-10-20 10:42:06 -04:00 |
|
Jude Nelson
|
0929f2b65f
|
chore: update test comments to indicate that we're not supposed to consider transactions if they have higher nonces than an unmineable transaction
|
2022-10-20 10:41:44 -04:00 |
|
Jude Nelson
|
34189b62fc
|
fix: calculate poll time in millis, not seconds; generate mock-miner VRF keypair in the miner thread if we're in mock-mining mode
|
2022-10-20 10:36:40 -04:00 |
|
Igor
|
3ddf88f466
|
Merge branch 'develop' of https://github.com/stacks-network/stacks-blockchain into tip-mine
|
2022-10-20 09:15:22 -05:00 |
|
Jude Nelson
|
458e055fbb
|
fix: use new config options to get tests to pass
|
2022-10-19 21:54:12 -04:00 |
|