File: README.md

package info (click to toggle)
golang-github-btcsuite-btcd-chaincfg-chainhash 0.0%2Bgit20161209.0.7a4cc89-1
  • links: PTS, VCS
  • area: main
  • in suites: buster, stretch
  • size: 84 kB
  • ctags: 25
  • sloc: makefile: 2
file content (42 lines) | stat: -rw-r--r-- 1,259 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
chainhash
=========

[![Build Status](http://img.shields.io/travis/btcsuite/btcd.svg)]
(https://travis-ci.org/btcsuite/btcd) [![ISC License]
(http://img.shields.io/badge/license-ISC-blue.svg)](http://copyfree.org)
[![GoDoc](https://img.shields.io/badge/godoc-reference-blue.svg)]
(http://godoc.org/github.com/btcsuite/btcd/chaincfg/chainhash)

chainhash provides a generic hash type and associated functions that allows the
specific hash algorithm to be abstracted.

## Installation and Updating

```bash
$ go get -u github.com/btcsuite/btcd/chaincfg/chainhash
```

## GPG Verification Key

All official release tags are signed by Conformal so users can ensure the code
has not been tampered with and is coming from the btcsuite developers.  To
verify the signature perform the following:

- Download the public key from the Conformal website at
  https://opensource.conformal.com/GIT-GPG-KEY-conformal.txt

- Import the public key into your GPG keyring:
  ```bash
  gpg --import GIT-GPG-KEY-conformal.txt
  ```

- Verify the release tag with the following command where `TAG_NAME` is a
  placeholder for the specific tag:
  ```bash
  git tag -v TAG_NAME
  ```

## License

Package chainhash is licensed under the [copyfree](http://copyfree.org) ISC
License.