Janoš Guljaš
6d1e292eef
Manifest cli fix and upload defaultpath only once ( #17375 )
...
* cmd/swarm: fix manifest subcommands and add tests
* cmd/swarm: manifest update: update default entry for non-encrypted uploads
* swarm/api: upload defaultpath file only once
* swarm/api/client: improve UploadDirectory default path handling
* cmd/swarm: support absolute and relative default path values
* cmd/swarm: fix a typo in test
* cmd/swarm: check encrypted uploads in manifest update tests
2018-08-10 16:12:55 +02:00
Elad
3ec5dda4d2
swarm/api/http: added logging to denote request ended ( #17371 )
2018-08-10 13:49:37 +02:00
Janoš Guljaš
45eaef2431
cmd/swarm: solve rare cases of using the same random port in tests ( #17352 )
2018-08-09 16:15:59 +02:00
Janoš Guljaš
3bcb501c8f
swarm/api: close tar writer in GetDirectoryTar to flush and clean ( #17339 )
2018-08-09 16:15:07 +02:00
Janoš Guljaš
d3e4c2dcb0
cmd/swarm: disable TestCLISwarmFs fuse test on darwin ( #17340 )
2018-08-09 16:14:30 +02:00
Anton Evangelatov
7b5c375825
cmd/swarm: remove shadow err ( #17360 )
2018-08-09 12:37:00 +03:00
Péter Szilágyi
beade042d1
Merge pull request #17357 from karalabe/tracer-trie-deref-bug
...
eth, trie: fix tracer GC which accidentally pruned the metaroot
2018-08-09 12:35:12 +03:00
Péter Szilágyi
11bbc66082
eth, trie: fix tracer GC which accidentally pruned the metaroot
2018-08-09 12:33:30 +03:00
libotony
834057592f
p2p/discv5: fix negative index after uint convert to int ( #17274 )
2018-08-09 10:03:42 +03:00
Jay
abbb219933
rpc: fix a subscription name ( #17345 )
2018-08-09 08:56:35 +03:00
Mymskmkt
8051a0768a
trie: fix comment typo ( #17350 )
2018-08-08 16:08:40 +03:00
Giulio M
a1eb9c7d13
swarm/api/http: fixed list leaf links ( #17342 )
2018-08-08 09:33:06 +02:00
Janoš Guljaš
00e6da9704
swarm/bmt: ignore data longer then 4096 bytes in Hasher.Write ( #17338 )
2018-08-07 15:34:33 +02:00
Attila Gazso
9df16f3468
swarm: Added lightnode flag ( #17291 )
...
* swarm: Added lightnode flag
Added --lightnode command line parameter
Added LightNode to Handshake message
* swarm/config: Fixed variable naming
* cmd/swarm: Changed BoolTFlag to BoolFlag for SwarmLightNodeEnabled
* swarm/network: Changed logging
* swarm/network: Changed protocol version testing
* swarm/network: Renamed DefaultNetworkID variable to TestProtocolNetworkID
* swarm/network: Bumped protocol version
* swarm/network: Changed LightNode handhsake test to table driven
* swarm/network: Changed back TestProtocolVersion to 5 for now
* swarm/network: Moved the test configuration inside the test function scope
2018-08-07 15:34:11 +02:00
b00ris
8461fea44b
whisper: remove unused error ( #17315 )
2018-08-07 15:16:56 +02:00
Elad
4bb2dc3d09
swarm/api/http: test fixes ( #17334 )
2018-08-07 13:40:38 +02:00
Oleg Kovalov
cf05ef9106
p2p, swarm, trie: avoid copying slices in loops ( #17265 )
2018-08-07 13:56:40 +03:00
Anton Evangelatov
de9b0660ac
swarm/README: add more sections to easily onboard developers ( #17333 )
2018-08-07 12:56:01 +02:00
Andrew Chiw
042191338d
swarm/api/http: GET/PUT/PATCH/DELETE/POST multipart form unit tests. ( #17277 )
...
httpDo has a verbose option that dumps the HTTP request
2018-08-07 12:00:12 +02:00
Elad
93fe16b0a5
swarm/api/http: refactored http package ( #17309 )
2018-08-07 11:56:55 +02:00
Javier Peletier
64a4e89504
swarm/storage/mru: HOTFIX - fix panic in Handler.update ( #17313 )
2018-08-07 11:53:56 +02:00
Felföldi Zsolt
eef65b20fc
p2p: use safe atomic operations when changing connFlags ( #17325 )
2018-08-06 15:46:30 +03:00
Felföldi Zsolt
c4df67461f
Merge pull request #16333 from shazow/addremovetrustedpeer
...
rpc: Add admin_addTrustedPeer and admin_removeTrustedPeer.
2018-08-06 13:30:04 +02:00
gary rong
941018b570
miner: seperate state, receipts for different mining work ( #17323 )
2018-08-06 12:55:44 +03:00
Janoš Guljaš
a72ba5a55b
cmd/swarm, swarm: various test fixes ( #17299 )
...
* swarm/network/simulation: increase the sleep duration for TestRun
* cmd/swarm, swarm: fix failing tests on mac
* cmd/swarm: update TestCLISwarmFs skip comment
* swarm/network/simulation: adjust disconnections on simulation close
* swarm/network/simulation: call cleanups after net shutdown
2018-08-06 12:33:22 +03:00
stormpang
6711f098d5
core/vm: fix comment typo ( #17319 )
...
antything --> anything
:P
2018-08-06 11:42:49 +03:00
Péter Szilágyi
c376a5263f
Merge pull request #17318 from ligi/fix_punctuation
...
Fix punctuation - closes #17317
2018-08-06 11:11:58 +03:00
ligi
2901b8b2d2
README: Fix punctuation - closes #17317
2018-08-05 15:40:22 +02:00
Péter Szilágyi
35fcd2f423
Merge pull request #17311 from karalabe/puppeth-graceful-stop
...
cmd/puppeth: graceful shutdown on redeploys
2018-08-03 13:26:39 +03:00
Péter Szilágyi
faf0e06ed8
cmd/puppeth: graceful shutdown on redeploys
2018-08-03 12:08:19 +03:00
gary rong
51db5975cc
consensus/ethash: move remote agent logic to ethash internal ( #15853 )
...
* consensus/ethash: start remote ggoroutine to handle remote mining
* consensus/ethash: expose remote miner api
* consensus/ethash: expose submitHashrate api
* miner, ethash: push empty block to sealer without waiting execution
* consensus, internal: add getHashrate API for ethash
* consensus: add three method for consensus interface
* miner: expose consensus engine running status to miner
* eth, miner: specify etherbase when miner created
* miner: commit new work when consensus engine is started
* consensus, miner: fix some logics
* all: delete useless interfaces
* consensus: polish a bit
2018-08-03 11:33:37 +03:00
Roc Yu
70176cda0e
accounts/keystore: rename skipKeyFile to nonKeyFile to better reveal the function purpose ( #17290 )
2018-08-03 10:25:17 +03:00
Péter Szilágyi
d56fa8a659
Merge pull request #17310 from karalabe/mobile-nil-panic
...
mobile: fix missing return for CallMsg.SetTo(nil)
2018-08-03 09:37:57 +03:00
Péter Szilágyi
e4cb158d01
mobile: fix missing return for CallMsg.SetTo(nil)
2018-08-03 08:42:31 +03:00
Hyung-Kyu Hqueue Choi
0ab54de1a5
core/vm: update benchmarks for core/vm ( #17308 )
...
- Update benchmarks to use a pool of int pools.
Unless benchmarks are aborted with segmentation fault.
Signed-off-by: Hyung-Kyu Choi <hqueue@users.noreply.github.com>
2018-08-03 08:15:33 +03:00
Péter Szilágyi
adc2944b4c
Merge pull request #17301 from karalabe/tests-enable-constantinople
...
tests: enable the Constantinople fork definition
2018-08-02 14:42:06 +03:00
Péter Szilágyi
16eaf2b158
Merge pull request #17302 from karalabe/revert-evm-nil-panic
...
Revert "cmd/evm: change error msg output to stderr (#17118 )"
2018-08-01 19:43:01 +03:00
Péter Szilágyi
83e2761c3a
Revert "cmd/evm: change error msg output to stderr ( #17118 )"
...
This reverts commit fb9f7261ec51e38eedb454594fc19f00de1a6834.
2018-08-01 19:09:08 +03:00
Péter Szilágyi
353a82385b
tests: enable the Constantinople fork definition
2018-08-01 18:47:09 +03:00
Anton Evangelatov
46d4721519
build: explicitly name all packages to be cross-compiled ( #17288 )
2018-07-31 16:34:54 +03:00
Péter Szilágyi
454382e81a
params, swarm/version: begin Geth v1.8.14, Swarm v0.3.2 cycle
2018-07-31 13:39:22 +03:00
Péter Szilágyi
225171a4bf
params, swarm/version: release Geth v1.8.13, Swarm 0.3.1
2018-07-31 13:35:53 +03:00
Ha ĐANG
702b8a7aec
core/vm: fix typo in cryptographic hash function name ( #17285 )
2018-07-31 13:27:51 +03:00
Ryan Schneider
5d7e18539e
rpc: make HTTP RPC timeouts configurable, raise defaults ( #17240 )
...
* rpc: Make HTTP server timeout values configurable
* rpc: Remove flags for setting HTTP Timeouts, configuring via .toml is sufficient.
* rpc: Replace separate constants with a single default struct.
* rpc: Update HTTP Server Read and Write Timeouts to 30s.
* rpc: Remove redundant NewDefaultHTTPTimeouts function.
* rpc: document HTTPTimeouts.
* rpc: sanitize timeout values for library use
2018-07-31 12:16:14 +03:00
gary rong
c4a1d4fecf
eth/filters: fix the block range assignment for log filter ( #17284 )
2018-07-31 12:10:38 +03:00
Chen Quan
fb9f7261ec
cmd/evm: change error msg output to stderr ( #17118 )
...
* cmd/evm: change error msg output to stderr
* cmd/evm: fix some linter error
2018-07-31 10:48:27 +03:00
Péter Szilágyi
d927cbb638
Merge pull request #17282 from karalabe/trie-flushlist-fixes
...
trie: handle removing the freshest node too
2018-07-31 10:41:53 +03:00
ledgerwatch
2fbc454355
miner: fix state locking while writing to chain (issue #16933 ) ( #17173 )
2018-07-31 10:22:33 +03:00
holisticode
d6efa69187
Merge netsim mig to master ( #17241 )
...
* swarm: merged stream-tests migration to develop
* swarm/network: expose simulation RandomUpNode to use in stream tests
* swarm/network: wait for subs in PeerEvents and fix stream.runSyncTest
* swarm: enforce waitkademlia for snapshot tests
* swarm: fixed syncer tests and snapshot_sync_test
* swarm: linting of simulation package
* swarm: address review comments
* swarm/network/stream: fix delivery_test bugs and refactor
* swarm/network/stream: addressed PR comments @janos
* swarm/network/stream: enforce waitKademlia, improve TestIntervals
* swarm/network/stream: TestIntervals not waiting for chunk to be stored
2018-07-30 22:55:25 +02:00
Péter Szilágyi
3ea8ac6a9a
Merge pull request #17281 from karalabe/puppeth-cachewarn-fix
...
cmd/puppeth: force tiny memory for geth attach in id lookup
2018-07-30 16:32:10 +03:00