OSDN Git Service

init version of charge tx size gas (#394)
authorPaladz <yzhu101@uottawa.ca>
Tue, 6 Mar 2018 06:32:32 +0000 (14:32 +0800)
committerGitHub <noreply@github.com>
Tue, 6 Mar 2018 06:32:32 +0000 (14:32 +0800)
commitf42e00e54e4d33e989de593e8ec38b07d057f45d
treea7ecdadac5789c38e3a249ec712367f8406be79c
parent58fe7674cf842858244161c62d96c3faed36777e
init version of charge tx size gas (#394)

* init version of charge tx size gas

* edit the code a little bit

* change the storage gate rate

* fix a tx size bug

* fix for code review
15 files changed:
blockchain/blockchain_reactor.go
blockchain/transact.go
blockchain/txbuilder/builder.go
blockchain/txbuilder/txbuilder.go
blockchain/txbuilder/txbuilder_test.go
blockchain/txbuilder/witness.go
consensus/general.go
mining/mining.go
protocol/bc/bc.pb.go
protocol/bc/bc.proto
protocol/bc/legacy/map.go
protocol/tx.go
protocol/validation/validation.go
protocol/validation/validation_test.go
test/integration/standard_transaction_test.go