OSDN Git Service

Remove reference data in TxInput & TxOutput (#420)
authorYongfeng LI <wliyongfeng@gmail.com>
Wed, 14 Mar 2018 07:10:17 +0000 (15:10 +0800)
committerPaladz <yzhu101@uottawa.ca>
Wed, 14 Mar 2018 07:10:17 +0000 (15:10 +0800)
commit33bb0a19ab1effdc085f9829dc52c224843ccfed
tree6bb741f5eb934897260fe8e35aa2b24975cd30b5
parent21e9d45c2271ccff27dfffb24bfa80b7be34c45d
Remove reference data in TxInput & TxOutput (#420)

* remove ReferenceData in spendAction

* remove referenceData in controlAddressAction

* remove ReferenceData in controlReceiverAction and controlProgramAction

* remove ReferenceData in issueAction

* remove ReferenceData in spendUTXOAction and retireAction

* remove ReferenceData in TxInput

* fix typo

* fix validation_test

* remove ReferenceData in TxOutput

* remove more reference data

* remove RefDataHash in rawOutput

* delete the txinput/output vm level op
46 files changed:
blockchain/account/builder.go
blockchain/asset/builder.go
blockchain/hsm_test.go
blockchain/query/annotated.go
blockchain/transact.go
blockchain/txbuilder/actions.go
blockchain/txbuilder/constraint.go
blockchain/txbuilder/signature_program.go
blockchain/txbuilder/txbuilder_test.go
blockchain/txfeed/txfeed.go
blockchain/wallet/annotated.go
blockchain/wallet/indexer.go
blockchain/wallet/wallet_test.go
config/genesis.go
mining/mining.go
protocol/bc/bc.pb.go
protocol/bc/bc.proto
protocol/bc/bctest/tx.go
protocol/bc/entry_test.go
protocol/bc/issuance.go
protocol/bc/legacy/block_test.go
protocol/bc/legacy/coinbase.go
protocol/bc/legacy/fuzz_test.go
protocol/bc/legacy/issuance.go
protocol/bc/legacy/map.go
protocol/bc/legacy/map_test.go
protocol/bc/legacy/spend.go
protocol/bc/legacy/transaction_test.go
protocol/bc/legacy/tx_test.go
protocol/bc/legacy/txinput.go
protocol/bc/legacy/txoutput.go
protocol/bc/merkle_test.go
protocol/bc/output.go
protocol/bc/retirement.go
protocol/bc/spend.go
protocol/tx_test.go
protocol/txpool_test.go
protocol/validation/validation_test.go
protocol/validation/vmcontext.go
protocol/validation/vmcontext_test.go
protocol/vm/context.go
protocol/vm/introspection.go
protocol/vm/introspection_test.go
protocol/vm/ops.go
protocol/vm/stack_test.go
test/util.go