OSDN Git Service

adjust format for golint (#419)
authoroysheng <33340252+oysheng@users.noreply.github.com>
Tue, 13 Mar 2018 06:06:23 +0000 (14:06 +0800)
committerPaladz <yzhu101@uottawa.ca>
Tue, 13 Mar 2018 06:06:23 +0000 (14:06 +0800)
commita6a76de487ac2ab62fbd2bbcf227f6312d7d111e
treef0a66dc17a92d90c8c71c341a3a46ac988e616d5
parent8a53e09af72745de7c5f34e3462694cfcc6f4cf0
adjust format for golint  (#419)

* standard transaction reserve utxo filter out contract utxo

* distinguish StandardUTXO and ContractUTXO
modfiy spendUTXOAction into no account, the contract utxo is not need to sign
wallet add contract utxo db
adjust function parameter format: the end of parameter is error

* delete ExtContractTag because contract utxo is stored in ContractUTXO

* spendUTXOAction add situation when account is empty
prevoutDBKeys delete return value
filterAccountTxs filter contract transaction to reduce unrelated transaction

* fix golint for blockchain/account/reserve.go

* optimise the import

* adjust format for golint

* adjust format
blockchain/account/accounts.go
blockchain/asset/asset_test.go
blockchain/rpc/net.go
blockchain/txbuilder/txbuilder.go
blockchain/wallet/indexer.go
protocol/txpool.go
protocol/validation/validation_test.go