dcrd/database2/export_test.go
Dave Collins 0e47daf6ba database: Update for Decred.
This commit ports the database2 package from btcsuite pulled in via the
previous commit to Decred.

It includes updating all necessary package imports, types, logic,
copyrights, and documentation as well as replacing the first 256 Bitcoin
blocks in the test data with the first 256 Decred blocks.
2016-05-25 23:09:31 -05:00

19 lines
685 B
Go

// Copyright (c) 2015-2016 The btcsuite developers
// Copyright (c) 2016 The Decred developers
// Use of this source code is governed by an ISC
// license that can be found in the LICENSE file.
/*
This test file is part of the database package rather than than the
database_test package so it can bridge access to the internals to properly test
cases which are either not possible or can't reliably be tested via the public
interface. The functions, constants, and variables are only exported while the
tests are being run.
*/
package database2
// TstNumErrorCodes makes the internal numErrorCodes parameter available to the
// test package.
const TstNumErrorCodes = numErrorCodes