aboutsummaryrefslogtreecommitdiffstats
path: root/cmd/swarm
Commit message (Collapse)AuthorAgeFilesLines
* all: update license informationFelix Lange2017-04-143-10/+10
|
* swarm/api: better name resolver handling (#3754)holisticode2017-04-131-0/+2
| | | Fixes #3608
* cmd/geth: add --config file flag (#13875)Felix Lange2017-04-121-13/+25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * p2p/discover, p2p/discv5: add marshaling methods to Node * p2p/netutil: make Netlist decodable from TOML * common/math: encode nil HexOrDecimal256 as 0x0 * cmd/geth: add --config file flag * cmd/geth: add missing license header * eth: prettify Config again, fix tests * eth: use gasprice.Config instead of duplicating its fields * eth/gasprice: hide nil default from dumpconfig output * cmd/geth: hide genesis block in dumpconfig output * node: make tests compile * console: fix tests * cmd/geth: make TOML keys look exactly like Go struct fields * p2p: use discovery by default This makes the zero Config slightly more useful. It also fixes package node tests because Node detects reuse of the datadir through the NodeDatabase. * cmd/geth: make ethstats URL settable through config file * cmd/faucet: fix configuration * cmd/geth: dedup attach tests * eth: add comment for DefaultConfig * eth: pass downloader.SyncMode in Config This removes the FastSync, LightSync flags in favour of a more general SyncMode flag. * cmd/utils: remove jitvm flags * cmd/utils: make mutually exclusive flag error prettier It now reads: Fatal: flags --dev, --testnet can't be used at the same time * p2p: fix typo * node: add DefaultConfig, use it for geth * mobile: add missing NoDiscovery option * cmd/utils: drop MakeNode This exposed a couple of places that needed to be updated to use node.DefaultConfig. * node: fix typo * eth: make fast sync the default mode * cmd/utils: remove IPCApiFlag (unused) * node: remove default IPC path Set it in the frontends instead. * cmd/geth: add --syncmode * cmd/utils: make --ipcdisable and --ipcpath mutually exclusive * cmd/utils: don't enable WS, HTTP when setting addr * cmd/utils: fix --identity
* cmd/swarm: add --password (#3748)Victor Farazdagi2017-04-121-6/+18
|
* swarm/api: refactor and improve HTTP API (#3773)Lewis Marshall2017-04-073-71/+77
| | | | | | | This PR deprecates the file related RPC calls in favour of an improved HTTP API. The main aim is to expose a simple to use API which can be consumed by thin clients (e.g. curl and HTML forms) without the need for complex logic (e.g. manipulating prefix trie manifests).
* cmd/swarm: allow uploading from stdin (#3744)Louis Holbrook2017-04-062-6/+39
| | | | | | - intended to be a swarm alternative to termbin.com - added --stdin flag to swarm executable. if set, swarm will read data from stdin and postRaw it.
* cmd/swarm, swarm/api/client: add HTTP API client and 'swarm ls' command (#3742)Lewis Marshall2017-04-054-182/+99
| | | | | | | | This adds a swarm ls command which lists files and directories stored in a manifest. Rather than listing all files, it uses "directory prefixes" in case there are a lot of files in a manifest but you just want to traverse it. This also includes some refactoring to the tests and the introduction of a swarm/api/client package to make things easier to test.
* swarm/api: support mounting manifests via FUSE (#3690)Zahoor Mohamed2017-03-231-1/+1
|
* Logger updates 3 (#3730)Péter Szilágyi2017-03-025-39/+36
| | | | | | | | * accounts, cmd, eth, ethdb: port logs over to new system * ethdb: drop concept of cache distribution between dbs * eth: fix some log nitpicks to make them nicer
* cmd, whisper/mailserver: revert to utils.FatalfPéter Szilágyi2017-02-231-9/+9
|
* all: blidly swap out glog to our log15, logs need reworkPéter Szilágyi2017-02-233-67/+55
|
* cmd/swarm: handle SIGTERM unix signal for clean exitzelig2017-02-131-0/+10
|
* Merge pull request #3592 from karalabe/hw-walletsPéter Szilágyi2017-02-131-7/+15
|\ | | | | accounts: initial support for Ledger hardware wallets
| * accounts, cmd, internal, mobile, node: canonical account URLsPéter Szilágyi2017-02-131-1/+1
| |
| * accounts, cmd, eth, internal, miner, node: wallets and HD APIsPéter Szilágyi2017-02-131-1/+1
| |
| * accounts, cmd, eth, internal, mobile, node: split account backendsPéter Szilágyi2017-02-131-7/+15
| |
* | swarm/network: fix chunk integrity checks (#3665)Viktor Trón2017-02-132-0/+48
|/ | | | | | | | | | * swarm/network: integrity on incoming known chunks * swarm/network: fix integrity check for incoming chunks * swarm/storage: imrpoved integrity checking on chunks * dbstore panics on corrupt chunk entry an prompts user to run cleandb * memstore adds logging for garbage collection * dbstore refactor item delete. correct partial deletes in Get * cmd/swarm: added cleandb subcommand
* cmd/swarm: manifest manipulation commands (#3645)Zahoor Mohamed2017-02-133-0/+423
|
* Merge pull request #3615 from nolash/bzzpathfix_real5Péter Szilágyi2017-01-301-2/+3
|\ | | | | cmd/swarm, swarm/api: bzzr improve + networkid prio
| * cmd/swarm, swarm/api: bzzr improve + networkid prionolash2017-01-271-2/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | fixes #3444 fixes #3494 networkid override Added comments to explain why test against 0 appears twice * Command line overrides saved config, saved config overrides system default --- fixes #3476 bzzr get with path Finally a hopefully clean commit for this PR Added check for empty path to avoid SIGSEGV in path parser and resolver Added requested tests for empty path and non-existing manifest. However signature for StartHTTPServer had changed. Now it's hacked as so: StartHttpServer(api.API, &Server{Addr: "127.0.0.1:8504", CorsString: ""}) * Parse url before resolve when path and ENS is supplied, example * swarm/api/http proxy server test for retrieval of subpath through get * Removed nil entry assignment on subtrie leaf in recursive key retrieval * Cleaned up path-or-no-path condition in proxy server get handler * swarm: processed with gofmt refers to lash/go-ethereum@90daa7a * swarm: Added public access method Parse alias to parse * swarm: processed with gofmt References nolash/go-ethereum@2ec3fd7 * Rename parse to Parse, removed alias
* | cmd/geth, cmd/swarm: Fix to close file handler appropriatelyShintaro Kaneko2017-01-301-0/+1
|/
* cmd/swarm: uploader uses HTTP PUT for directories (#3488)Viktor Trón2017-01-091-26/+56
|
* all: fix spelling errorsPéter Szilágyi2017-01-071-1/+1
|
* all: gofmt -w -sFelix Lange2017-01-061-3/+3
|
* swarm/api/http: add support for CORS headers (#3388)Maran2017-01-051-10/+16
|
* cmd/swarm: testnet bootnodes IP address changezelig2016-12-141-5/+5
|
* cmd/swarm: improve uploader output and add defaultpath optionzelig2016-12-132-22/+68
|
* cmd/swarm: ethapi not requiredzelig2016-12-131-6/+4
|
* cmd/swarm: trim trailing slash from bzzapi urlzelig2016-12-131-1/+1
|
* cmd/swarm: add default bootnodes for testnet 3zelig2016-12-131-6/+13
|
* swarm/network, cmd/swarm: swarm default network id is 3 (to match Ropsten)zelig2016-12-131-1/+1
|
* cmd/swarm: subsume cmd/bzz* as subcommands under swarmzelig2016-12-133-0/+535
cmd/swarm: subsume cmd/bzz* under cmd/swarm as subcommands