swarm: plan bee for content storage and distribution on web3
This change imports the Swarm protocol codebase. Compared to the 'swarm' branch, a few mostly cosmetic changes had to be made: * The various redundant log message prefixes are gone. * All files now have LGPLv3 license headers. * Minor code changes were needed to please go vet and make the tests pass on Windows. * Further changes were required to adapt to the go-ethereum develop branch and its new Go APIs. Some code has not (yet) been brought over: * swarm/cmd/bzzhash: will reappear as cmd/bzzhash later * swarm/cmd/bzzup.sh: will be reimplemented in cmd/bzzup * swarm/cmd/makegenesis: will reappear somehow * swarm/examples/album: will move to a separate repository * swarm/examples/filemanager: ditto * swarm/examples/files: will not be merged * swarm/test/*: will not be merged * swarm/services/swear: will reappear as contracts/swear when needed
Showing
- contracts/chequebook/cheque.go 3 additions, 4 deletionscontracts/chequebook/cheque.go
- internal/web3ext/web3ext.go 151 additions, 9 deletionsinternal/web3ext/web3ext.go
- swarm/api/api.go 191 additions, 0 deletionsswarm/api/api.go
- swarm/api/api_test.go 117 additions, 0 deletionsswarm/api/api_test.go
- swarm/api/config.go 132 additions, 0 deletionsswarm/api/config.go
- swarm/api/config_test.go 124 additions, 0 deletionsswarm/api/config_test.go
- swarm/api/filesystem.go 283 additions, 0 deletionsswarm/api/filesystem.go
- swarm/api/filesystem_test.go 187 additions, 0 deletionsswarm/api/filesystem_test.go
- swarm/api/http/roundtripper.go 69 additions, 0 deletionsswarm/api/http/roundtripper.go
- swarm/api/http/roundtripper_test.go 68 additions, 0 deletionsswarm/api/http/roundtripper_test.go
- swarm/api/http/server.go 286 additions, 0 deletionsswarm/api/http/server.go
- swarm/api/manifest.go 336 additions, 0 deletionsswarm/api/manifest.go
- swarm/api/manifest_test.go 80 additions, 0 deletionsswarm/api/manifest_test.go
- swarm/api/storage.go 70 additions, 0 deletionsswarm/api/storage.go
- swarm/api/storage_test.go 49 additions, 0 deletionsswarm/api/storage_test.go
- swarm/api/testapi.go 46 additions, 0 deletionsswarm/api/testapi.go
- swarm/api/testdata/test0/img/logo.png 0 additions, 0 deletionsswarm/api/testdata/test0/img/logo.png
- swarm/api/testdata/test0/index.css 9 additions, 0 deletionsswarm/api/testdata/test0/index.css
- swarm/api/testdata/test0/index.html 10 additions, 0 deletionsswarm/api/testdata/test0/index.html
- swarm/network/depo.go 211 additions, 0 deletionsswarm/network/depo.go
Loading
Please register or sign in to comment