lbrycrd/contrib
Wladimir J. van der Laan fa4b9065a8
Merge #13066: Migrate verify-commits script to python, run in travis
e5b2cd8e75 Use python instead of slow shell script on verify-commits (Chun Kuan Lee)

Pull request description:

  The cron job that runs every day would fail because of git checkout a single commit, not a branch.

  #12708 introduce a method to check whether merges are clean.
  However, there are four merges are not clean.
  So, I add a list of merges that are dirty and ignore them.

  Also, I modify the current shell script to python, it makes the script speed up a lot.
  The python code `tree_sha512sum` was copied from `github-merge.py`

  I've re-designed this. Now we verify all the things by default.
  - Add `--disable-tree-check` option, not to check SHA-512 tree
  - Add `--clean-merge NUMBER` option, only verify commits after <NUMBER> days ago

  Travis running time:

  |option|time|
  |-|-|
  |verify-commits.py|[25m47.02s(1547.02s)](https://travis-ci.org/ken2812221/bitcoin/jobs/373321423)|
  |verify-commits.py --disable-tree-check|[19m10.08s(1150.08s)](https://travis-ci.org/ken2812221/bitcoin/jobs/373321423)|
  |verify-commits.py --clean-merge 30|[9m18.18s(558.18s)](https://travis-ci.org/ken2812221/bitcoin/jobs/373321423)|
  |verify-commits.py --disable-tree-check --clean-merge 30|[1m16.51s(76.51s)](https://travis-ci.org/ken2812221/bitcoin/jobs/373321423)|

  Since the cron job always fail, I've created a respository to verify this daily.
   [![Build Status](https://travis-ci.org/ken2812221/bitcoin-verify-commits.svg?branch=master)](https://travis-ci.org/ken2812221/bitcoin-verify-commits)

Tree-SHA512: 476bcf707d92ed3d431ca5642e013036df1506120d3dd2aa718f74240063ce856abd78f4c948336c2a6230dfe5c60c6f2d52d19bdb52d647a1c5f838eaa02e3b
2018-06-12 17:25:25 +02:00
..
debian [gui] Add proxy icon in statusbar 2018-05-15 23:23:56 +03:00
devtools utils: checking for bitcoin addresses in translations 2018-06-05 07:49:21 -04:00
gitian-descriptors gitian: bump descriptors for (0.)17 2018-02-15 17:29:39 -05:00
gitian-keys [gitian] Add kallewoof key for signing 2018-03-07 09:57:57 -05:00
init Rename “OS X” to the newer “macOS” convention 2018-06-04 13:04:04 +02:00
linearize Enable W191 and W291 flake8 checks. 2018-05-11 07:59:05 +10:00
macdeploy Change all python files to use Python3 2018-03-26 16:49:33 -04:00
qos Add IPv6 support to qos.sh 2017-01-19 09:35:58 +00:00
rpm Merge #10825: net: set regtest JSON-RPC port to 18443 to avoid conflict with testnet 18332 2017-09-06 01:18:35 +02:00
seeds Enable W191 and W291 flake8 checks. 2018-05-11 07:59:05 +10:00
testgen Minor Python cleanups to make flake8 pass with the new rules enabled 2018-04-16 17:25:11 +02:00
verify-commits Use python instead of slow shell script on verify-commits 2018-06-12 14:48:02 +00:00
verifybinaries Fix incorrect quoting of quotes (the previous quotes had no effect beyond unquoting) 2017-10-18 17:10:23 +02:00
windeploy release: add win detached sig creator and our cert chain 2017-01-10 18:58:09 -05:00
zmq Remove deprecated PyZMQ call from Python ZMQ example 2018-03-03 06:05:53 +01:00
bitcoin-cli.bash-completion bash-completion: Adapt for 0.12 and 0.13 2016-07-07 07:52:59 -04:00
bitcoin-qt.pro Rename rpcconsole.ui => debugwindow.ui 2015-09-23 10:27:39 +02:00
bitcoin-tx.bash-completion bash-completion: Adapt for 0.12 and 0.13 2016-07-07 07:52:59 -04:00
bitcoind.bash-completion Fix inconsistencies and grammar in various files 2017-06-27 19:59:07 +12:00
filter-lcov.py Filter subtrees and and benchmarks from coverage report 2017-06-12 15:53:30 -07:00
gitian-build.sh Ensure gitian-build.sh uses bash 2018-05-29 15:55:24 +02:00
install_db4.sh [contrib] Add --disable-replication to install_db4 2018-01-05 08:37:22 +08:00
README.md [docs] Remove partial gitian instructions from descriptors dir 2017-09-28 21:07:36 +08:00
valgrind.supp contrib: Add Valgrind suppressions file 2017-08-16 21:39:31 +02: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 Bitcoin network. This means one can have an always-on bitcoind instance running, and another local bitcoind/bitcoin-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 bitcoind/bitcoin-qt for Debian-based Linux systems. If you compile bitcoind/bitcoin-qt yourself, there are some useful files here.

Gitian-descriptors

Files used during the gitian build process. For more information about gitian, see the the Bitcoin Core documentation repository.

Gitian-keys

PGP keys used for signing Bitcoin Core Gitian release results.

MacDeploy

Scripts and notes for Mac builds.

RPM

RPM spec file for building bitcoin-core on RPM based distributions.

Gitian-build

Script for running full Gitian builds.

Test and Verify Tools

TestGen

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

Verify Binaries

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