lbcd/mempool
Olaoluwa Osuntokun e7caccc866
mempool: transaction finality checks now use median-time-past
This coincides with the mempool only, policy change which enforces
transaction finality according to the median-time-past rather than
blockheader timestamps. The behavior is pre-cursor to full blown BIP
113 consensus deployment, and subsequent activation.

As a result, the TimeSource field in the mempoolConfig is no longer
needed so it has been removed. Additionally, checkTransactionStandard has been
modified to instead take a time.Time as the mempool is no longer explicitly
dependant on a Chain instance.
2016-10-19 11:13:34 -07:00
..
error.go mempool: Refactor mempool code to its own package. (#737) 2016-08-19 11:08:37 -05:00
log.go mempool: Refactor mempool code to its own package. (#737) 2016-08-19 11:08:37 -05:00
mempool.go mempool: transaction finality checks now use median-time-past 2016-10-19 11:13:34 -07:00
mempool_test.go mempool: add closure to compute median time past to config 2016-10-19 11:13:25 -07:00
policy.go mempool: transaction finality checks now use median-time-past 2016-10-19 11:13:34 -07:00
policy_test.go mempool: transaction finality checks now use median-time-past 2016-10-19 11:13:34 -07:00
README.md mempool: Refactor mempool code to its own package. (#737) 2016-08-19 11:08:37 -05:00

mempool

[Build Status] (https://travis-ci.org/btcsuite/btcd) ![ISC License] (http://img.shields.io/badge/license-ISC-blue.svg) [GoDoc] (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.