Transaction: remove TxIn/TxOut exports
This commit is contained in:
parent
b0317be4d5
commit
8b5647b0b9
6 changed files with 6 additions and 12 deletions
|
@ -15,9 +15,7 @@ module.exports = {
|
|||
HDNode: require('./hdnode'),
|
||||
Script: require('./script'),
|
||||
scripts: require('./scripts'),
|
||||
Transaction: T.Transaction,
|
||||
TransactionIn: T.TransactionIn,
|
||||
TransactionOut: T.TransactionOut,
|
||||
Transaction: require('./transaction'),
|
||||
networks: require('./networks'),
|
||||
Wallet: require('./wallet')
|
||||
}
|
||||
|
|
|
@ -416,8 +416,4 @@ TransactionOut.prototype.clone = function() {
|
|||
})
|
||||
}
|
||||
|
||||
module.exports = {
|
||||
Transaction: Transaction,
|
||||
TransactionIn: TransactionIn,
|
||||
TransactionOut: TransactionOut
|
||||
}
|
||||
module.exports = Transaction
|
||||
|
|
|
@ -4,7 +4,7 @@ var rng = require('secure-random')
|
|||
|
||||
var Address = require('./address')
|
||||
var HDNode = require('./hdnode')
|
||||
var Transaction = require('./transaction').Transaction
|
||||
var Transaction = require('./transaction')
|
||||
|
||||
function Wallet(seed, network) {
|
||||
network = network || networks.bitcoin
|
||||
|
|
|
@ -6,7 +6,7 @@ var networks = require('../src/networks')
|
|||
var Address = require('../src/address')
|
||||
var BigInteger = require('bigi')
|
||||
var ECKey = require('../src/eckey')
|
||||
var Transaction = require('../src/transaction').Transaction
|
||||
var Transaction = require('../src/transaction')
|
||||
var Script = require('../src/script')
|
||||
|
||||
var base58_encode_decode = require("./fixtures/core/base58_encode_decode.json")
|
||||
|
|
|
@ -4,7 +4,7 @@ var scripts = require('../src/scripts')
|
|||
|
||||
var Address = require('../src/address')
|
||||
var ECKey = require('../src/eckey')
|
||||
var Transaction = require('../src/transaction').Transaction
|
||||
var Transaction = require('../src/transaction')
|
||||
var Script = require('../src/script')
|
||||
|
||||
var fixtureTxes = require('./fixtures/mainnet_tx')
|
||||
|
|
|
@ -6,7 +6,7 @@ var scripts = require('../src/scripts')
|
|||
|
||||
var Address = require('../src/address')
|
||||
var HDNode = require('../src/hdnode')
|
||||
var Transaction = require('../src/transaction').Transaction
|
||||
var Transaction = require('../src/transaction')
|
||||
var Wallet = require('../src/wallet')
|
||||
|
||||
var fixtureTxes = require('./fixtures/mainnet_tx')
|
||||
|
|
Loading…
Add table
Reference in a new issue