Rename tx package to txstore.

Prodded by @davecgh, and I had this change in the back of my head for
a while now anyways.
This commit is contained in:
Josh Rickmar 2014-05-08 14:48:42 -05:00
parent c086267521
commit f36a83b3cc
11 changed files with 51 additions and 51 deletions

View file

@ -28,7 +28,7 @@ import (
"github.com/conformal/btcjson"
"github.com/conformal/btcscript"
"github.com/conformal/btcutil"
"github.com/conformal/btcwallet/tx"
"github.com/conformal/btcwallet/txstore"
"github.com/conformal/btcwallet/wallet"
"github.com/conformal/btcwire"
"github.com/conformal/btcws"
@ -226,7 +226,7 @@ func WalletRequestProcessor() {
err := f(n)
AcctMgr.Release()
switch err {
case tx.ErrInconsistentStore:
case txstore.ErrInconsistentStore:
// Assume this is a broken btcd reordered
// notifications. Restart the connection
// to reload accounts files from their last
@ -952,7 +952,7 @@ func GetTransaction(icmd btcjson.Cmd) (interface{}, *btcjson.Error) {
}
received := btcutil.Amount(0)
var debitTx *tx.TxRecord
var debitTx *txstore.TxRecord
var debitAccount string
ret := btcjson.GetTransactionResult{