Commit Graph

11431 Commits

Author SHA1 Message Date
Diwaker Gupta
38847fcf63 Add a code of conduct.
Also configuration for stale bot.
2020-04-17 13:57:39 -04:00
Aaron Blankstein
2abd7503d8 Merge pull request #1431 from blockstack/fix/1429
Fix #1429
2020-04-17 12:11:55 -05:00
Aaron Blankstein
712776a11d Merge branch 'fix/1429' of github.com:blockstack/stacks-blockchain into fix/1429 2020-04-17 11:05:54 -05:00
Aaron Blankstein
3d52e9c106 ignore some more tests that are causing problems in unit_tests 2020-04-17 10:58:29 -05:00
Matthew Little
76bd1bd1de Merge branch 'master' into fix/1429 2020-04-17 11:01:07 +02:00
Aaron Blankstein
a3b60aec00 Merge pull request #1422 from blockstack/feature/rename-program-to-contract
Rename sample-programs to sample-contracts
2020-04-16 14:14:51 -05:00
Aaron Blankstein
b54f90262f Merge branch 'fix/1429' of github.com:blockstack/stacks-blockchain into fix/1429 2020-04-16 13:56:23 -05:00
Aaron Blankstein
da122c50e9 increase tarpaulin timeout 2020-04-16 13:56:11 -05:00
Matthew Little
964d822d93 Merge branch 'master' into fix/1429 2020-04-16 19:51:43 +02:00
Aaron Blankstein
98cdfd4d7f Merge branch 'master' into feature/rename-program-to-contract 2020-04-16 11:35:46 -05:00
Jude Nelson
062dbc1b51 Merge pull request #1426 from blockstack/fix/1423-net-poll-unification
Unified net server socket polling
2020-04-16 16:18:41 +00:00
Matthew Little
d4d2012d8c fix: update vscode debug config 2020-04-16 17:56:16 +02:00
Aaron Blankstein
cb17d2d660 add test that witnesses the bug 2020-04-16 10:26:00 -05:00
Aaron Blankstein
edcb30e23c fix: 1429 - bug in nft initialization which can lead to panic 2020-04-16 09:50:51 -05:00
Aaron Blankstein
1eb6a9b618 Merge pull request #1408 from blockstack/feature/ignore-slow-serial-tests
#[ignore] slow or serial tests
2020-04-16 09:23:11 -05:00
Jude Nelson
0c1cdd239c HttpPeer is no longer bundled with its own networking state, but instead just maintains conversation states. It receives a NetworkState from its parent PeerNetwork instance for it to use to (de)register events. 2020-04-16 02:06:59 -04:00
Jude Nelson
cd0626ad2d unified polling system for multiple server sockets. There is now a single list of pollable events for all server sockets, and we poll on all of them at once. 2020-04-16 02:06:26 -04:00
Jude Nelson
b2439eb099 use the unified poller to poll both http and p2p messages at once. Also, HttpPeer no longer has any of its own network state, so it doesn't need to be Optional. In addition, fix a subtle bug that could cause network tokens to get clobberred 2020-04-16 02:05:31 -04:00
Jude Nelson
9c4ec23512 when handshaking with a neighbor (or a list of them), wait for them to finish connecting before trying to talk to them 2020-04-16 02:05:04 -04:00
Jude Nelson
7093a7a9a7 network.http is no longer an Option, but a full HttpPeer 2020-04-16 02:04:42 -04:00
Jude Nelson
2eecc498fc do a slightly better job at logging message transmission, in a way that helps us detect if a network pipe gets accidentally dropped (leading to socket poisoning) 2020-04-16 02:04:04 -04:00
Aaron Blankstein
1fb10b9ffd use tarpaulin for code coverage on unit tests. seems to avoid the ooms we started to get with grcov. 2020-04-15 22:01:56 -05:00
Aaron Blankstein
976e547025 ignore test_http_slow_client 2020-04-15 12:27:40 -05:00
Aaron Blankstein
034a15b1a9 Merge branch 'master' into feature/ignore-slow-serial-tests 2020-04-15 12:08:43 -05:00
Jude Nelson
d8856e3e09 Merge pull request #1413 from blockstack/feature/mempool-relay
Feature/mempool relay
2020-04-15 16:48:04 +00:00
Aaron Blankstein
7d2dadee17 add readme note for adding tests 2020-04-15 06:40:27 -05:00
Matthew Little
a356f8b4a3 chore: delete legacy directory 2020-04-15 09:34:25 +02:00
Aaron Blankstein
27b16482ce rename sample-programs to sample-contracts 2020-04-14 17:16:53 -05:00
Jude Nelson
ca46ead451 whoops, fix compilation errors 2020-04-14 17:03:27 -04:00
Jude Nelson
b18d328ba8 Merge branch 'master' into feature/mempool-relay 2020-04-14 16:46:45 -04:00
Jude Nelson
d27c54d3ea key transactions by (origin address, origin nonce, sponsor address, sponsor nonce), not txid. This is required to do both replace-by-fee and (later) transaction chaining 2020-04-14 16:22:58 -04:00
Jude Nelson
6d83def441 relay errors back from the p2p network 2020-04-14 16:22:25 -04:00
Aaron Blankstein
ee862645a3 Merge branch 'njordhov-feature/boolean-constants': PR #1343 2020-04-14 08:32:04 -05:00
Aaron Blankstein
aeb75117d7 more unique names for test dbs 2020-04-14 07:56:02 -05:00
Aaron Blankstein
e85f314cd9 unique names for test dbs 2020-04-14 07:46:05 -05:00
Aaron Blankstein
7c06763300 Merge pull request #1415 from blockstack/fix/1376-tx-rollbacks
Enable TX-level rollbacks in Clarity connections
2020-04-14 07:20:28 -05:00
Jude Nelson
a9d457565a disable new state-machines for neighbor tests 2020-04-13 20:26:24 -04:00
Jude Nelson
62d418f617 style lint 2020-04-13 17:59:16 -04:00
Jude Nelson
6134d0793a remvoe more commented code 2020-04-13 17:59:07 -04:00
Jude Nelson
a23566e747 remove commented code 2020-04-13 17:58:48 -04:00
Aaron Blankstein
712787e32d ? -> expect 2020-04-13 16:46:51 -05:00
Aaron Blankstein
e17873955d wrap take/replace usage in a macro 2020-04-13 16:43:20 -05:00
Aaron Blankstein
fcf4b158ae for some reason opt-level=1 is causing the compilation to fail. 2020-04-13 15:55:58 -05:00
Jude Nelson
c220362162 Merge branch 'master' into feature/mempool-relay 2020-04-13 15:59:04 -04:00
Jude Nelson
51035e9d11 add u64_to_sql() and use it in place of redundant checks and as i64 in sqlite statements 2020-04-13 15:57:06 -04:00
Jude Nelson
3631e876f8 explain how to add more initial account balances, and explain the transaction fee argument in the CLI 2020-04-13 13:06:20 -04:00
Matthew Little
1c83de757a fix: move event observer envvar check into config.rs 2020-04-13 19:01:20 +02:00
Matthew Little
a27582732a feat: add info logging to event observer endpoint config 2020-04-13 19:01:20 +02:00
Matthew Little
00d3c506b2 feat: allow specifying endpoint (hostnames) in event observer config 2020-04-13 19:01:20 +02:00
Jude Nelson
9dff58d9cd fix: repair a regression from refactoring -- advertize blocks or microblocks based on the right bitvector 2020-04-13 13:01:14 -04:00