641182b2ad
This modifies the config for the new mempool package such that it takes a callback function to obtain the best chain height instead of requiring a fully initialized blockchain.BlockChain instance. This will make it much easier to test the mempool since the tests will be able to provide their own height function to test various functionality without having create and manipulate full blocks and chain instances. |
||
---|---|---|
.. | ||
error.go | ||
log.go | ||
mempool.go | ||
policy.go | ||
policy_test.go | ||
README.md |
mempool
[] (https://travis-ci.org/btcsuite/btcd) ![ISC License] (http://img.shields.io/badge/license-ISC-blue.svg) [] (http://godoc.org/github.com/btcsuite/btcd/mempool)
Overview
This package is currently a work in progress.
Installation and Updating
$ go get -u github.com/btcsuite/btcd/mempool
License
Package mempool is licensed under the copyfree ISC License.