some typos added changes to deploy linux

pull/4/head
alok 7 years ago
parent fbe3d42731
commit 3fb20b4a4a
  1. 1
      aws-code/transaction_generator.go
  2. 1
      deploy_linux.sh
  3. 1
      node/node.go

@ -46,7 +46,6 @@ func main() {
start := time.Now()
totalTime := 60.0
txs := make([]blockchain.Transaction, 10)
txCount := 0
for true {
t := time.Now()
if t.Sub(start).Seconds() >= totalTime {

@ -19,3 +19,4 @@ while read ip port mode; do
#echo $ip $port $mode $ipfile
go run ./benchmark_main.go -ip $ip -port $port -ipfile $ipfile&
done < $ipfile
go run ./aws-code/transaction_generator.go -ipfile $ipfile

@ -15,7 +15,6 @@ import (
// A node represents a program (machine) participating in the network
type Node struct {
consensus *consensus.Consensus
consensus *consensus.Consensus
BlockChannel chan blockchain.Block
pendingTransactions []blockchain.Transaction

Loading…
Cancel
Save