Commit Graph

12703 Commits

Author SHA1 Message Date
Ludo Galabru
3e9b430b8d Merge branch 'next' into feat/clarity-strings 2020-08-23 22:59:57 -04:00
Ludo Galabru
4ac47e580e Address more feedbacks 2020-08-23 22:59:40 -04:00
Aaron Blankstein
f3f4d7cafa Merge branch 'master' into next 2020-08-22 12:49:58 -05:00
Aaron Blankstein
d913a4d070 Merge pull request #1807 from blockstack/feat/anchor-block-detect
PoX anchor block detection
2020-08-22 11:07:20 -05:00
Aaron Blankstein
964a6b02aa address feedback in PR 2020-08-21 15:15:26 -05:00
Ludo Galabru
b168a9df92 Merge branch 'next' into feat/clarity-strings
# Conflicts:
#	testnet/stacks-node/src/tests/bitcoin_regtest.rs
#	testnet/stacks-node/src/tests/mod.rs
2020-08-18 09:15:28 -04:00
Ludo Galabru
ddbb4736a0 Merge branch 'master' into feat/clarity-strings 2020-08-18 09:04:04 -04:00
Ludo Galabru
0e995a9915 Fix invalid escaping 2020-08-17 21:31:58 -04:00
Ludo Galabru
ef6fe58ee7 Fix tests 2020-08-17 07:15:10 -04:00
Aaron Blankstein
2fb1dcfce5 Merge pull request #1809 from blockstack/fix/update-reference
fix: update auto generated file for reference
2020-08-14 15:29:11 -05:00
Thomas Osmonson
3499c74e52 fix: update workflow 2020-08-13 12:23:29 -05:00
Thomas Osmonson
c0e9254046 fix: change clarity-reference filename 2020-08-13 12:20:21 -05:00
Aaron Blankstein
39481b46cd Merge branch 'next' into feat/anchor-block-detect 2020-08-12 11:27:03 -05:00
Jude Nelson
ddbc8930eb fix test 2020-08-12 12:26:08 -04:00
Aaron Blankstein
b9f6a716fe correct comments of parent_consensus_hash 2020-08-12 11:24:49 -05:00
Jude Nelson
b0c2f13ce0 Merge branch 'fix/net-p2p-handle-deadlock' into next 2020-08-12 12:14:28 -04:00
Jude Nelson
d6d894151d Merge branch 'fix/net-1750' into next 2020-08-12 12:13:18 -04:00
Jude Nelson
9e7aa18d37 Merge branch 'fix/marf-1557' into next 2020-08-12 11:59:27 -04:00
Aaron Blankstein
82f6a140ee Merge branch 'next' into feat/anchor-block-detect 2020-08-12 10:42:33 -05:00
Aaron Blankstein
58c98fe1f6 mark test [should_panic] 2020-08-12 09:56:21 -05:00
Aaron Blankstein
00612f1a01 witnessing test for trie identifier / block hash vs. trie root hash issue 2020-08-11 17:14:22 -05:00
Aaron Blankstein
c1bdc970f2 no anchor selection test + fork out of order processing test 2020-08-11 16:46:06 -05:00
Jude Nelson
cb75c8f9a5 Merge pull request #1802 from blockstack/fix/net-p2p-handle-deadlock
Fix/net p2p handle deadlock
2020-08-11 17:45:07 +00:00
Aaron Blankstein
9a38e87aac Merge pull request #1787 from blockstack/feat/chain-view-integration
Chains Coordinator Integration
2020-08-11 09:20:54 -05:00
Aaron Blankstein
389990ac03 backport the poxid calculation fix in processing 2020-08-11 07:30:01 -05:00
Jude Nelson
7dc0aa7966 fix failing tests 2020-08-10 16:18:02 -04:00
Jude Nelson
fa8650a834 only send p2p thread requests if there's actually any work to do 2020-08-10 09:27:17 -04:00
Jude Nelson
7553cf4417 drop NetworkRequest variants to connect and disconnect peers; make all p2p thread requests asynchronous and uni-directional (PeerNetwork::send_request will not reply any processing state). Make the peer network log all error messages 2020-08-10 09:26:16 -04:00
Ludo Galabru
79ae83ed55 String ASCII can't be hashed 2020-08-10 01:21:17 -04:00
Ludo Galabru
c860c8928b Avoid extra clone 2020-08-10 00:41:10 -04:00
Jude Nelson
c03cb6a86f no longer need to drain error messages -- the send_request() method will always do a blocking recv() on its behalf 2020-08-09 22:55:59 -04:00
Jude Nelson
19fcf1b03b Drop the Request type variant since it's no longer used anywhere. Make it so that any attempt to send a request to the p2p thread can fail if the channel is full, and make it so the p2p thread can't block on returning an error message to a client (e.g. the relayer). Do not bother buffering up errors -- if the client's channel is full, drop them and log them (since that's all the client will be doing anyway) 2020-08-09 22:54:07 -04:00
Jude Nelson
8c60bb3cfb add a FullHandle error type 2020-08-09 22:52:28 -04:00
Aaron Blankstein
06756cd07f working test with quadratic pox unwinds and reprocessing 2020-08-07 17:20:05 -05:00
Aaron Blankstein
a4338bbab9 Merge branch 'feat/chain-view-integration' into feat/anchor-block-detect 2020-08-07 12:14:43 -05:00
Aaron Blankstein
f9198ca271 no random selection in multi-bool condvar 2020-08-07 11:14:57 -05:00
Aaron Blankstein
07f4c26cef Merge branch 'feat/chain-view-integration' into feat/anchor-block-detect 2020-08-07 10:08:00 -05:00
Aaron Blankstein
a25f6a1103 oops, not unique! 2020-08-07 10:04:55 -05:00
Aaron Blankstein
72514b889f implement get_parent with headers_db internal field 2020-08-07 09:17:58 -05:00
Aaron Blankstein
2f9467106b update some rustdoc comments, better cleanup of bitcoin regtest controller after coordinator stops 2020-08-07 08:54:51 -05:00
Aaron Blankstein
5b4cd3e279 use multiple bool condvar rather than channel selects 2020-08-07 00:09:12 -05:00
Aaron Blankstein
d1a5c03ea3 goodbye singletons 2020-08-06 22:32:29 -05:00
Ludo Galabru
3d4a57d42e Forbid negative len 2020-08-06 22:35:28 -04:00
Aaron Blankstein
c823853f56 test that sortition ids diverge at the start of a reward cycle. solve off-by-one errs 2020-08-06 16:21:41 -05:00
Aaron Blankstein
ed367ce4c9 Merge branch 'feat/chain-view-integration' into feat/anchor-block-detect 2020-08-06 15:28:32 -05:00
Aaron Blankstein
09a44c010e mark process_blocks_at_tip cfg(test), fix comment typo 2020-08-06 14:27:40 -05:00
Ludo Galabru
dc6b52da39 Merge branch 'master' into feat/clarity-strings 2020-08-06 15:09:58 -04:00
Aaron Blankstein
7c89e7f275 yay, working anchor block detection test! 2020-08-06 13:43:16 -05:00
Ludo Galabru
1ec1af406f Fix integration test 2020-08-06 14:35:41 -04:00
Aaron Blankstein
be0f72ac82 use saturating sub, correct placement of rustdoc 2020-08-06 12:49:23 -05:00