Errata

Decentralized Applications

Errata for Decentralized Applications

Submit your own errata for this product.

The errata list is a list of errors and their corrections that were found after the product was released. If the error was corrected in a later version or reprint the date of the correction will be displayed in the column titled "Date Corrected".

The following errata were submitted by our customers and approved as valid errors by the author or editor.

Color key: Serious technical mistake Minor technical mistake Language or formatting error Typo Question Note Update

Version Location Description Submitted By Date submitted Date corrected
PDF
Page 48
5th code/command sample (printed in monospace font)

The instructions provided to install IPFS are the following command:

go get -u github.com/jbenet/go-ipfs/cmd/ipfs

This results in an error.

See https://github.com/ipfs/go-ipfs/#download--compile-ipfs for correct instructions for install IPFS.

Note from the Author or Editor:
The correct command is:

go get -d github.com/ipfs/go-ipfs

Stephen Muss  Jun 08, 2016  Jul 11, 2016
PDF
Page 50
2nd command/code sample (in monospaced font)

The author instructs the reader to install a required dependency with the command:

go get -u github.com/llSourcell/go-kerala/kerala

Not only does this command not work but the repository does not exist.

Note from the Author or Editor:
The correct command is:

go get -u https://github.com/llSourcell/kerala

Stephen Muss  Jun 08, 2016  Jul 11, 2016
PDF
Page 51
3rd monospaced paragraph (main code sample for page)

The auhor discusses the imports within his own dapp application.

The imports are completely outdated and do not work.

import (
“net/http”
“github.com/julienschmidt/httprouter”
“github.com/jbenet/go-ipfs/core”
“path”
“html/template”
“fmt”
“log”
“github.com/go-kerala/kerala”
peer “github.com/jbenet/go-ipfs/p2p/peer”
)

The repository github.com/jbenet/go-ipfs no longs exists and is now github.com/ipfs/go-ipfs.

The import github.com/jbenet/go-ipfs/p2p/peer is no longer valid. Even if we substitute github.com/jbenet/go-ipfs for github.com/ipfs/go-ipfs

Note from the Author or Editor:
The imports with the word 'ipfs' in them in that list should be removed and replaced with a single import:

https://github.com/ipfs/go-ipfs/

and the import “github.com/go-kerala/kerala” should be changed to:

https://github.com/llSourcell/kerala

Stephen Muss  Jun 08, 2016  Jul 11, 2016