bestmike007
6b2a562d90
feat: puppet mode mocknet
2022-09-01 17:02:01 +00:00
Jude Nelson
1a34c11508
feat: release 2.05.0.3.0
2022-08-31 13:41:12 -04:00
Jude Nelson
74771773c2
Merge branch 'develop' into feat/drop-problematic-transactions
2022-08-03 00:55:05 +00:00
Jude Nelson
c21870f33a
refactor: make PeerNetwork::with_inv_state() take a closure that returns R instead of Result<R, net_error>
2022-08-02 11:22:15 -04:00
Jude Nelson
155e0a5809
fix: make the network state-machine processing steps (in particular, mempool sync) infallible -- make them absorb all errors and simply retry their execution instead of propagating them to the caller of PeerNetwork::run()
2022-07-31 09:29:19 -04:00
Jude Nelson
2545a64437
fix: make process_new_sockets() infallible -- it doesn't need to return Err(..) if the http server isn't initialized
2022-07-31 09:28:53 -04:00
Jude Nelson
960cdf82e4
fix: make top-level inv sync state machine infallible -- it absorbs all errors that could happen
2022-07-31 09:28:23 -04:00
Jude Nelson
dc2d1e06a1
fix: make attachment enqueuing fail specifically due to DB errors, since that's the only way it can fail
2022-07-31 09:27:55 -04:00
Jude Nelson
5ead5882d2
Merge branch 'develop' into feat/drop-problematic-transactions
2022-07-29 19:47:31 +00:00
Jude Nelson
b364c213b5
fix: store the private key to local_peer if given to PeerDB::connect()
2022-07-25 14:28:07 -04:00
Jude Nelson
606640f80b
feat: unit test to verify that blacklisted transactions never get relayed
2022-07-22 12:43:50 -04:00
Jude Nelson
dfc4c4984e
fix: an always-allowed peer is already authenticated since we have its public key, so also make sure that the last contact time is positive when considering timeouts
2022-04-22 11:36:05 -04:00
Jude Nelson
67ea9f82a4
Merge branch 'develop' into fix/fix-always-allowed-walks
2022-04-18 14:12:34 +00:00
Jude Nelson
e4b600e225
fix: don't unconditionally connect to always-allowed neighbors when not in IBD -- they may be offline
2022-04-13 14:14:29 -04:00
Jude Nelson
2e30732636
Merge branch 'develop' into feat/marf-node-cache
2022-04-09 11:37:08 -04:00
Jude Nelson
f06db72a89
refactor: plumb through marf opts
2022-04-08 23:39:44 -04:00
Jude Nelson
9a5e390395
Merge branch 'develop' into fix/3045
2022-04-08 14:12:46 -04:00
Aaron Blankstein
659b2c45cf
fix: use send() for atlas channel + increase channel size
2022-03-28 15:40:42 -05:00
Aaron Blankstein
5a8b19508f
Merge remote-tracking branch 'origin/develop' into fix/smooth-coordinator-shutdown
2022-03-28 15:39:45 -05:00
Aaron Blankstein
e6d0f54ed9
Merge remote-tracking branch 'origin/develop' into chore/edition-2021
2022-03-28 12:07:27 -05:00
Aaron Blankstein
f969b356c0
chore: conform blockstack_lib to edition="2021"
2022-03-24 15:53:02 -05:00
Aaron Blankstein
d1f02b1435
Merge remote-tracking branch 'origin/develop' into fix/smooth-coordinator-shutdown
2022-03-24 14:41:39 -05:00
Jude Nelson
5c20ea5313
Merge branch 'fix/node-public-key' of https://github.com/stacks-network/stacks-blockchain into fix/node-public-key
2022-03-22 12:56:33 -04:00
Jude Nelson
288b6d8a5f
fix: use StacksPublicKeyBuffer so we can represent public keys as hex strings instead of JSON objects; also, test decoding into the new RPCGetInfo structure
2022-03-22 12:55:27 -04:00
Jude Nelson
7e2b7e7511
Merge branch 'develop' into fix/node-public-key
2022-03-16 02:35:53 +00:00
Jude Nelson
5c184e19ac
Merge branch 'develop' into fix/3045
2022-03-16 02:35:35 +00:00
Jude Nelson
3d9ffcb8b3
fix: also add hash160 of public key as well, since that's what's reported in /v2/neighbors
2022-03-10 14:19:48 -05:00
Jude Nelson
5e2003203e
feat: include the node public key in /v2/info
2022-03-10 14:13:55 -05:00
Jude Nelson
77c69c87e0
chore: remove needless map_err()
2022-03-09 13:50:17 -05:00
Aaron Blankstein
17d4b221a2
Merge remote-tracking branch 'origin/develop' into fix/smooth-coordinator-shutdown
2022-03-07 14:47:35 -06:00
Jude Nelson
83a69414ed
Merge pull request #3053 from stacks-network/fix/3051
...
reduce DB contention between relayer and chains coordinator threads
2022-03-05 15:09:29 +00:00
Jude Nelson
c76ba9cbce
Merge branch 'develop' into feat/faster-inv-generation
2022-03-02 14:04:26 -05:00
Matthew Little
78729e1519
chore: update hash dependencies, adding ASM support for arm64 targets
2022-02-25 20:41:08 +01:00
Aaron Blankstein
11f0111dea
Merge branch 'develop' into fix/smooth-coordinator-shutdown
2022-02-21 09:05:57 -06:00
Jude Nelson
82c9ad1326
fix: only do relaying stuff if we're not IBD
2022-02-18 14:58:20 -05:00
Jude Nelson
8ef6d92985
fix: only calculate a burnchain snapshot once
2022-02-18 14:55:55 -05:00
Jude Nelson
9b1d2267f2
fix: only reload unconfirmed state if we're not IBD
2022-02-17 14:17:29 -05:00
Jude Nelson
9d5bd566c5
fix: remove a block or microblock stream from requested status if the request times out
2022-02-15 15:59:33 -05:00
Aaron Blankstein
9c85c4b4d1
Merge remote-tracking branch 'origin/develop' into feat/develop-libclarity-separation
2022-02-14 11:28:54 -06:00
pavitthrap
687da5e277
Merge branch 'develop' into fix/smooth-coordinator-shutdown
2022-02-11 14:22:24 -05:00
pavitthrap
66a7b50101
Merge branch 'develop' into feat/add-stacks-height-http-header
2022-02-11 12:02:01 -05:00
Pavitthra Pandurangan
6683b571d4
Feat: emitting new stacks block event before processing
2022-02-10 15:32:36 -05:00
pavitthrap
0bbe9943dd
Merge branch 'develop' into fix/network-code
2022-02-10 10:44:10 -05:00
Pavitthra Pandurangan
86899023ba
Fix: update function parameters
2022-02-09 11:26:25 -05:00
Pavitthra Pandurangan
27bed15572
Fix typo and ownership
2022-02-08 18:15:15 -05:00
Pavitthra Pandurangan
e3dd1b51d4
fix: ensured that the canonical stacks tip height is being properly set in the http headers
2022-02-08 17:36:22 -05:00
pavitthrap
00382afa60
Merge branch 'develop' into feat/add-stacks-height-http-header
2022-02-08 14:35:13 -05:00
Aaron Blankstein
2a13d6a6ed
Merge remote-tracking branch 'origin/master' into feat/develop-libclarity-separation
2022-02-07 14:41:28 -06:00
Jude Nelson
3c7f7879ee
Merge branch 'develop' into feat/faster-inv-generation
2022-02-07 10:18:23 -05:00
wileyj
2a0f1bc2e8
updating metrics for issue 2987
...
2 metrics weren't as correct as they should be.
- `stacks_node_stacks_tip_height` was moved to the relayer. in tests, this proved to be a more effective location to track the data vs what `/v2/info` was reporting
- moved `stacks_node_neighbors_*` out of the pruning loop. this resulted in the metric being set more often, but the actual count of neighbors was far more accurate when compared to `/v2/neighbors`
- no changes were made to the mempool tx metric, to get this more accurate will be a far heavier lift. leaving for future work
- script used for testing: https://gist.github.com/wileyj/881eda423366134bc25e3fb5ec39ccbb
2022-02-03 13:40:49 -08:00