aboutsummaryrefslogtreecommitdiffstats
path: root/swarm
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #3325 from fjl/p2p-netrestrictFelix Lange2016-11-251-0/+5
|\ | | | | Prevent relay of invalid IPs, add --netrestrict
| * swarm/network: prevent relay of invalid IPsFelix Lange2016-11-231-0/+5
| |
* | common/httpclient, les: removed httpclientJeffrey Wilcke2016-11-251-6/+4
|/
* swarm/api/http: reject requests without content-lengthFelix Lange2016-11-111-1/+5
|
* swarm/network: skip TestSyncDbFelix Lange2016-11-111-0/+2
|
* swarm/api: add bzz prefix to swarm directoryFelix Lange2016-11-112-12/+7
|
* all: update license informationFelix Lange2016-11-091-1/+1
|
* internal/debug, internal/ethapi, rpc, swarm/storage: Ran "go fmt"Kenji Siu2016-11-011-1/+0
|
* Merge pull request #3111 from obscuren/gas-price-forkPéter Szilágyi2016-10-151-1/+1
|\ | | | | core, core/vm: added gas price variance table (EIP #150)
| * core, core/vm: added gas price variance tableJeffrey Wilcke2016-10-151-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | This implements 1b & 1c of EIP150 by adding a new GasTable which must be returned from the RuleSet config method. This table is used to determine the gas prices for the current epoch. Please note that when the CreateBySuicide gas price is set it is assumed that we're in the new epoch phase. In addition this PR will serve as temporary basis while refactorisation in being done in the EVM64 PR, which will substentially overhaul the gas price code.
* | swarm/storage: Allow EOF at the end of the reader in the chunker. Handle the ↵Daniel A. Nagy2016-10-141-5/+8
| | | | | | | | case when Read returns less than length of target slice
* | swarm/storage: fix chunker when reader is brokenaron2016-10-114-101/+89
|/ | | | | | | | * brokenLimitedReader gives error after half size * TestRandomBrokenData tests chunker with broken reader * add blocking quitC (instead of errC) and use errC only for errors * don't close chunkC in tester Split, * use quitC to quit chunk storage loop
* swarm: plan bee for content storage and distribution on web3ΞTHΞЯSPHΞЯΞ2016-08-3149-0/+10651
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