dash/contrib
fanquake ecbaf20937
Merge #17393: doc: Added regtest config for linearize script
582e66b6e75d58033987a7b0474226cfdd724ce0 doc: Added regtest config for linearize script (Gr0kchain)

Pull request description:

  Updated the example-linearize.cfg file to include support for the regtest chain network config which is used by the ./linearize-data.py

  Problem:
  Without the regtest magic, genesis hash and path config, the `linearize-data.py` script cannot generate a bootstrap.dat file.

  Example:

  ./linearize-data.py ./linearize.cfg
  Read 102 hashes
  Genesis block not found in hashlist

  Solution:

  Added netmagic, genesis and input example parameters to file.

  Resolution

  1. Starting bitcoind in regtest mode
  2. bitcoin-cli generatetoaddress 101 $(bitcoin-cli getnewaddress)
  3. ./linearize-hashes.py ./linearize.cfg > ./hashlist.txt
  4. ./linearize-data.py ./linearize.cfg

  ```
  $ ./linearize-data.py ./linearize.cfg
  Read 102 hashes
  Input file /Users/gr0kchain/.bitcoin/regtest/blocks/blk00000.dat
  Output file /Users/gr0kchain/Downloads/bootstrap.dat
  Done (102 blocks written)
  ```

ACKs for top commit:
  fanquake:
    ACK 582e66b6e75d58033987a7b0474226cfdd724ce0

Tree-SHA512: 699e92e740e68e2e5190ba37538efbbe3e4d4e725ebd6af704a0cf5517683b691754f7ea097bf840845d2b53b793c63258d406e9bd37922db810cf58bed053c3
2021-07-14 18:44:42 -05:00
..
auto_gdb refactor: PrivateSend -> CoinJoin + Move the tab (#4038) 2021-03-17 18:36:11 -04:00
debian dashification 2021-07-13 13:14:09 -05:00
devtools Merge #17545: build: remove libanl.so.1 from ALLOWED_LIBRARIES 2021-07-14 18:43:47 -05:00
gitian-descriptors Merge #15549: gitian: Improve error handling 2021-07-10 12:10:51 -05:00
gitian-keys contrib: Added thephez.pgp (#3750) 2020-09-30 15:30:55 +03:00
init Merge #13366: Docs: Rename “OS X” to the newer “macOS” convention 2021-06-28 02:31:48 +03:00
linearize Merge #17393: doc: Added regtest config for linearize script 2021-07-14 18:44:42 -05:00
macdeploy Merge #15175: build: Drop macports support 2021-06-28 13:40:56 -05:00
qos Make shellcheck happy 2020-07-29 11:20:12 -05:00
seeds contrib|src: Update hard coded seeds (#4152) 2021-05-13 12:31:45 +03:00
testgen Merge #13935: contrib: Adjust output to current test format 2021-07-08 13:09:43 -04:00
verify-commits Merge #16162: scripts: add key for Michael Ford (fanquake) to trusted keys list 2021-07-12 17:11:12 -05:00
verifybinaries Merge #16330: docs: Use placeholder instead of key expiration date 2021-07-12 20:16:37 -05:00
windeploy update public part of windows code signing certificate (#3749) 2020-10-05 14:57:01 +03:00
zmq Merge #13699: contrib: correct version check 2020-07-26 19:39:13 -05:00
dash-cli.bash-completion Merge #8289: bash-completion: Adapt for 0.12 and 0.13 2017-12-28 11:44:59 +01:00
dash-qt.pro qt: Introduce appearance tab and setup dialog (#3568) 2020-07-26 14:19:11 +03:00
dash-tx.bash-completion Merge #8289: bash-completion: Adapt for 0.12 and 0.13 2017-12-28 11:44:59 +01:00
dashd.bash-completion Merge #10680: Fix inconsistencies and grammar in various files 2020-01-10 10:33:53 -06:00
filter-lcov.py Merge #13448: Add linter: Make sure we explicitly open all text files using UTF-8 encoding in Python 2020-07-07 11:50:56 -05:00
gitian-build.py Merge #15863: scripts and tools: Ensure repos are up-to-date in gitian-build.py 2021-07-12 17:11:08 -05:00
README.md Slightly adjust some README.md files (#3175) 2019-10-29 21:37:18 +03:00
valgrind.supp bitcoin -> Dash 2020-01-30 07:37:50 -06:00

Repository Tools

Developer tools

Specific tools for developers working on this repository. Contains the script github-merge.py for merging GitHub pull requests securely and signing them using GPG.

Verify-Commits

Tool to verify that every merge commit was signed by a developer using the above github-merge.py script.

Linearize

Construct a linear, no-fork, best version of the blockchain.

Qos

A Linux bash script that will set up traffic control (tc) to limit the outgoing bandwidth for connections to the Dash network. This means one can have an always-on dashd instance running, and another local dashd/dash-qt instance which connects to this node and receives blocks from it.

Seeds

Utility to generate the pnSeed[] array that is compiled into the client.

Build Tools and Keys

Debian

Contains files used to package dashd/dash-qt for Debian-based Linux systems. If you compile dashd/dash-qt yourself, there are some useful files here.

Gitian-descriptors

Notes on getting Gitian builds up and running using KVM.

Gitian-keys

PGP keys used for signing Dash Core Gitian release results.

MacDeploy

Scripts and notes for Mac builds.

Gitian-build

Script for running full Gitian builds.

Test and Verify Tools

TestGen

Utilities to generate test vectors for the data-driven Dash tests.

Verify Binaries

This script attempts to download and verify the signature file SHA256SUMS.asc from bitcoin.org.