OSDN Git Service

Support spend transaction with account or utxo (#72)
authoricodezjb <icodezjb@163.com>
Sat, 28 Oct 2017 06:37:20 +0000 (14:37 +0800)
committerGuanghua Guo <1536310027@qq.com>
Sat, 28 Oct 2017 06:37:20 +0000 (14:37 +0800)
commit9696f0e7d905f87364ec584e47d1ab318b60d9b7
tree9749ee6d1fc3c87b6bd269ad92db25476eed2eac
parent9b25ed34af4d8f9ed7feb66684d0e8ef530d6d0a
Support spend transaction with account or utxo (#72)

* Fix the restore issue parallel insert and delete accountutxos

* Add filter for wallet mode to index accountutxos

* Support spend transaction with account or utxo

* Use nil better to len for goleveldb.Get return

* Update log package

* Update transact.go

* Update code style

* Use better iterator which tmlibs's IteratorPrefix

* Optimize list-balances
17 files changed:
blockchain/account/accounts.go
blockchain/account/indexer.go
blockchain/account/reserve.go
blockchain/asset/asset.go
blockchain/pin/pin.go
blockchain/query.go
blockchain/signers/idgenerate.go
blockchain/transact.go
cmd/bytomcli/example/issue.go
cmd/bytomcli/example/spend.go
glide.lock
glide.yaml
node/node.go
protocol/block.go
protocol/protocol.go
sync/idempotency/group.go [new file with mode: 0644]
sync/idempotency/group_test.go [new file with mode: 0644]