44 Commits

Author SHA1 Message Date
Jude Nelson
1c9a458900 fix: cause a transaction-broadcast to fail if we can't get the unconfirmed nonce for some reason, and log the commands we use to generate the transaction 2021-05-25 19:46:18 -04:00
Jude Nelson
880b283fcf fix: retry sending a microblock transaction if it fails for some reason 2021-05-25 19:45:56 -04:00
wileyj
f834ec9950 Rename a metric
other fixes recommended in PR 2461
2021-03-15 10:06:56 -04:00
wileyj
6bb06053fd Merge remote-tracking branch 'fork/develop' into feat/more-metrics
* fork/develop: (58 commits)
  only announce non-empty mempool drop events
  disable criterion build
  add 2.0.9 release section
  fix a TOCTTOU bug in preprocessing an anchored block, since both the relayer and p2p threads can do it
  fix: temporarily remove criterion dependency due to rustc regression in nightly
  add changelog entry, fix mempool db lookup
  chainstate directory is getting reset in this version anyways
  fix git merge artifact
  fix: improved analysis db storage, code smell cleanup in set_block_hash
  cargo fmt
  fix: tests
  address feedback
  chore: cargo fmt
  fix: use PathBuf in config.rs
  update changelog for 2.0.7
  do NOT delete the parent anchored block if it has a too-heavy microblock stream!
  do NOT delete the parent anchored block when truncating a bad microblock stream!
  changelog entries, document in event-dispatcher.md
  add test for mempool replace-by-fee event
  feat: add mempool drop tx events
  ...
2021-03-08 17:20:01 -05:00
wileyj
98ac581cde update puppet-chain controller config 2021-02-16 18:24:12 -05:00
Ludo Galabru
464ec5ac76 fix: leftovers in internal tooling 2021-02-05 18:16:24 -05:00
Ludo Galabru
791b048180 fix: clean working_dir architecture 2021-02-05 13:32:32 -05:00
Ludo Galabru
3336b8b3b9 fix: devops / net-test 2021-01-19 18:54:42 -05:00
Jude Nelson
d9714946f8 boost delay for node boot-up 2021-01-12 14:31:13 -05:00
Jude Nelson
62c3e2c59c use tx_fee 2021-01-12 02:42:04 -05:00
wileyj
a763eedabe increase the number of attempts to confrim BTC transaction from 10->20 2020-12-23 15:13:52 -05:00
Matthew Little
5a23ebc3df fix: update toml files and readme from mstx_balance to ustx_balance 2020-12-11 15:51:51 +01:00
Jude Nelson
02064f240b enable/disable microblock mining 2020-12-03 03:19:51 -05:00
Jude Nelson
01a2ea429d expose microblock miner config fields 2020-12-03 03:19:38 -05:00
Jude Nelson
dc2bcc0cfa expose microblock config fields 2020-12-03 03:19:26 -05:00
Jude Nelson
0945aca8ee bump block time in net-tests to accomodate extra work being done by the p2p network 2020-12-03 03:19:07 -05:00
Jude Nelson
d3c7909913 expose microblock config options 2020-12-03 03:18:51 -05:00
Jude Nelson
eedc83c49d expand testlib for token transfers 2020-12-02 18:30:19 -05:00
Jude Nelson
fe071376a4 drop follower's wait-for-microblocks config param 2020-12-02 18:30:06 -05:00
Jude Nelson
76e0b0675e initial microblock miner net-test 2020-12-02 18:29:39 -05:00
Jude Nelson
ef12cde1b7 config options for microblocks 2020-12-02 18:19:03 -05:00
Jude Nelson
2717080eb7 wait for microblocks 2020-12-02 18:18:42 -05:00
Jude Nelson
14b1fc1a97 Merge branch 'next' into feat/poison-microblock 2020-11-23 23:12:32 -05:00
Jude Nelson
3697f45e96 consolidate blocks and headers DB -- make the tooling agree 2020-11-21 00:29:07 -05:00
Pascal
8f4dbe0c19 bump max chaining to 25 2020-11-18 19:03:35 -08:00
Jude Nelson
ffb91078be add test-runner 2020-10-29 14:01:04 -04:00
Jude Nelson
33406f8816 rewrite cleanup helper 2020-10-29 00:36:59 -04:00
Jude Nelson
6880703018 set walk interval to be something shorter than the burn block time 2020-10-29 00:36:31 -04:00
Jude Nelson
36ffeb6371 add end-to-end integration tests to verify that blocks propagate between two NAT'ed miners, and between two NAT'ed miners where the only shared node may fall behind (i.e. is not the master node) 2020-10-28 19:50:26 -04:00
Jude Nelson
21d8ba87d8 test library for checking chain quality 2020-10-28 19:50:14 -04:00
Jude Nelson
60e57faac6 make start.sh into a shell library, and make it use environs loaded from config.sh 2020-10-28 19:49:55 -04:00
Jude Nelson
f745e948f4 vastly expand the faucet.sh code so it generates reports on mined blocks and miner power, and make it so the faucet.sh can generate one-off reports for the tty (and for testing) 2020-10-28 19:49:23 -04:00
Jude Nelson
e14d77a5ff put config.sh into the tests dir 2020-10-28 19:49:07 -04:00
Jude Nelson
2711e18ac3 set inv_sync_interval and download_interval; plumb through denied peers and NAT emulation 2020-10-28 19:48:39 -04:00
Jude Nelson
977a2d41c3 better cleanup.sh 2020-10-28 19:48:25 -04:00
Aaron Blankstein
7ed580f722 Merge pull request #1982 from blockstack/feat/net-test-docker
Add Dockerfile that can run net-test scripts
2020-10-20 15:45:43 -05:00
Aaron Blankstein
a8a24571d4 add Dockerfile that can run net-test scripts, add 500 logging to faucet.sh, add fallback fee 2020-10-20 07:58:09 -05:00
Jude Nelson
1825fbc3a1 remove artifact 2020-10-19 22:45:29 -04:00
Jude Nelson
79544131ef use /usr/bin/env to find the right bash 2020-10-19 10:04:56 -04:00
Jude Nelson
3cba385564 require bash 4.x or higher 2020-10-18 17:28:27 -04:00
Jude Nelson
cf014f8436 make faucet port configurable; require bash 4.x or higher 2020-10-18 17:28:14 -04:00
Jude Nelson
83e9cd8805 bash 4.x or higher is required 2020-10-18 17:27:56 -04:00
Jude Nelson
244ddbc42a make faucet port configurable, fix typo 2020-10-18 16:32:13 -04:00
Jude Nelson
119cc47421 add rudimentary network testing tools, which helped reproduce and diagnose several networking bugs that have been plaguing production krypton 2020-10-17 03:28:10 -04:00