dcrd/mempool
Dave Collins d357113bf0
stake: Static assert of vote commitment.
This modifies the SSGenBlockVotedOn function to directly copy the hash
the vote commits to into a statically sized array versus calling the
hash function and thus can remove the potential runtime error.

This is preferred because the code will fail to compile if the size
of chainhash.HashSize is every changed which is desirable because it
would mean the assumptions the code makes would be invalidated.

It also updates all callers in the repository accordingly.
2018-02-02 14:19:59 -06:00
..
doc.go docs: document packages and fix typo 2018-01-08 16:04:45 -06:00
error.go mempool: Refactor mempool code to its own package. 2016-11-29 15:32:22 -06:00
log.go mempool: Refactor mempool code to its own package. 2016-11-29 15:32:22 -06:00
mempool_test.go sec256k1: update func signatures. 2017-12-21 19:38:42 -06:00
mempool.go stake: Static assert of vote commitment. 2018-02-02 14:19:59 -06:00
policy_test.go Merge remaining dcrutil code into a dcrd package. 2017-10-11 22:06:36 -04:00
policy.go Merge remaining dcrutil code into a dcrd package. 2017-10-11 22:06:36 -04:00
README.md multi: Update markdown in README files to match change in github parser. 2017-05-26 12:06:19 -04:00

mempool

Build Status ISC License GoDoc

Overview

This package is currently a work in progress.

Installation and Updating

$ go get -u github.com/decred/dcrd/mempool

License

Package mempool is licensed under the copyfree ISC License.