c786f75389
* swarm/api: url scheme bzz-list for getting list of files from manifest Replace query parameter list=true for listing all files contained in a swarm manifest with a new URL scheme bzz-list. * swarm: replaace bzzr and bzzi schemes with bzz-raw and bzz-immutable New URI Shemes are added and old ones are deprecated, but not removed. Old Schemes bzzr and bzzi are functional for backward compatibility. * swarm/api: completely remove bzzr and bzzi schemes Remove old schemes in favour of bzz-raw and bzz-immutable. * swarm/api: revert "completely remove bzzr and bzzi schemes" Keep bzzr and bzzi schemes for backward compatibility. At least until 0.3 swarm release. |
||
---|---|---|
.. | ||
scripts | ||
.dockerignore | ||
.gitignore | ||
Dockerfile | ||
Makefile | ||
README.md | ||
bashrc | ||
run.sh |
README.md
Swarm development environment
The Swarm development environment is a Linux bash shell which can be run in a Docker container and provides a predictable build and test environment.
Start the Docker container
Run the run.sh
script to build the Docker image and run it, you will then be
at a bash prompt inside the swarm/dev
directory.
Build binaries
Run make
to build the swarm
, geth
and bootnode
binaries into the
swarm/dev/bin
directory.
Boot a cluster
Run make cluster
to start a 3 node Swarm cluster, or run
scripts/boot-cluster.sh --size N
to boot a cluster of size N.