Skip to content
This repository has been archived by the owner on Mar 5, 2020. It is now read-only.

Commit

Permalink
Clean-up
Browse files Browse the repository at this point in the history
  • Loading branch information
abourget committed May 1, 2018
1 parent 879f2ce commit 0407b08
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 24 deletions.
2 changes: 1 addition & 1 deletion bios.go
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,7 @@ func (b *BIOS) RunBootSequence(secretP2PAddress string) error {
pubKey := ephemeralPrivateKey.PublicKey().String()
privKey := ephemeralPrivateKey.String()

fmt.Println("Generated ephemeral private keys:", pubKey, privKey)
fmt.Printf("Generated ephemeral keys: pub=%s priv=%s..%s\n", pubKey, privKey[:7], privKey[len(privKey)-7:])

// Store keys in wallet, to sign `SetCode` and friends..
if err := b.EOSAPI.Signer.ImportPrivateKey(privKey); err != nil {
Expand Down
4 changes: 4 additions & 0 deletions network.go
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,10 @@ func (c *Network) TraverseGraph() error {

c.visitedFiles[ipfsRef] = true

c.MyPeer = &Peer{
Discovery: disco,
}

return c.traversePeer(disco, IPNSRef("local "+c.myDiscoveryFile), ipfsRef)
}

Expand Down
13 changes: 0 additions & 13 deletions sample_config/publish_discovery_file.sh

This file was deleted.

10 changes: 0 additions & 10 deletions sample_config/run_ipfs.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,4 @@ if [ ! -f ./ipfs ]; then
exit 1
fi

# ./ipfs config swarm.preseed.addres /ip4/1.2.3.4/tcp/4001/
# ./ipfs config swarm.preseed.addres /ip4/1.2.3.4/tcp/4001/
# ./ipfs config swarm.preseed.addres /ip4/1.2.3.4/tcp/4001/
# ./ipfs config swarm.preseed.addres /ip4/1.2.3.4/tcp/4001/
# ./ipfs config swarm.preseed.addres /ip4/1.2.3.4/tcp/4001/
# ./ipfs config swarm.preseed.addres /ip4/1.2.3.4/tcp/4001/
# ./ipfs config swarm.preseed.addres /ip4/1.2.3.4/tcp/4001/
# ./ipfs config swarm.preseed.addres /ip4/1.2.3.4/tcp/4001/
# ./ipfs config swarm.preseed.addres /ip4/1.2.3.4/tcp/4001/

./ipfs daemon --init

0 comments on commit 0407b08

Please sign in to comment.