Implemented signup and login users with JWT and MongoDB connection. Added runTmuxTextPeers.sh to deploy the different peers and servers in a unique console

This commit is contained in:
arnaucode
2017-12-26 18:52:09 +01:00
parent c83cbc0ec2
commit 08e3915994
14 changed files with 327 additions and 51 deletions

View File

@@ -68,7 +68,9 @@ func reconstructBlockchainFromBlock(urlAPI string, h string) {
var err error
block, err = blockchain.getBlockByHash(h)
check(err)
if err != nil {
fmt.Println("reconstructBlockFromBlock: block with " + h + " not found. Getting genesis block")
}
if h == "" {
//no genesis block yet