Merge pull request #4 from simple-rules/stopConsensus

some typos added changes to deploy linux
pull/5/head
alajko 7 years ago committed by GitHub
commit 05836c0cd9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  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